/* EspressoSnob design system r2 (ES-DESIGN-20261119-r1).
   Derived from the recovered owner reference package EspressoSnob-Design-Package-1795135144548.zip
   (sha256 7787787c...; AGENT_IMPLEMENTATION_BRIEF.md section 2 tokens, styles.css components, buying-guide screenshots).
   Scope: only pages whose <body> carries .es-ds. Loads after /css/style.css and re-points its custom properties, so shared
   rules pick up the system without editing style.css or any other page. No network requests: no fonts, images or imports.
   Measured deviations from the reference sample:
   - Focus ring on light surfaces is copper (5.57:1 on paper) instead of the sample's #DB9E56 (2.12:1 on paper, below the
     3:1 non-text minimum); #DB9E56 is kept on the dark header (6.4:1) and footer (7.0:1).
   - Ribbon badges use a deeper gold (#8C5B1C to #9A6724, white text 5.79 to 4.84:1) instead of #AE782B to #C5984C (white text
     3.8 to 2.63:1); the brief itself rules out small white text on light gold.
   - Display weight 700 where the sample says 750: on macOS, 750 resolves to IowanOldStyle-Black (measured with CDP
     getPlatformFontsForNode), visibly heavier than the approved reference screenshots; 700 resolves to IowanOldStyle-Bold.
   - Partial product photography (r3): one licensed photograph (CC BY 2.0, Craft Coffee Spot) shows the Barista Pro in its
     quick card and detailed section through a Pro-focused CSS frame; the file is unchanged and the caption carries the full
     attribution. GO and Victoria stay text-only (no cleared exact-model image). No hero photograph (none licensed), no demo
     bar, no sample icons or copy. */

:root:has(body.es-ds) { background: #F7F4EE; }

body.es-ds {
  /* Reference tokens */
  --es-ink: #231C19;
  --es-paper: #F7F4EE;
  --es-surface: #FFFDF8;
  --es-copper: #A34524;
  --es-copper-hover: #823519;
  --es-cocoa: #655850;
  --es-gold: #C89B56;
  --es-gold-ink: #94601D;
  --es-beige: #EEE7DD;
  --es-border: #E5DCD0;
  --es-strong-border: #CBBBAB;
  --es-card-border: #EEE6DA;
  --es-success: #496843;
  --es-lead: #43372F;
  --es-body-text: #433932;
  --es-note: #F0E9DE;
  --es-note-text: #55473D;
  --es-hero-band: #EFE7DB;
  --es-header: linear-gradient(90deg, #241A17, #33241F 72%, #231916);
  --es-footer: #281E1A;
  --es-ribbon: linear-gradient(90deg, #8C5B1C, #9A6724);
  --es-focus-dark: #DB9E56;
  --es-shadow: 0 14px 34px rgba(51, 37, 27, 0.065), 0 2px 3px rgba(51, 37, 27, 0.045);
  --es-radius-card: 16px;
  --es-radius-button: 9px;
  --es-content-max: 1210px;
  --es-font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --es-font-display: 'Iowan Old Style', 'Baskerville', 'Palatino Linotype', 'Book Antiqua', Georgia, serif;

  /* style.css properties re-pointed to the reference system */
  --es-base: var(--es-paper);
  --es-surface-2: var(--es-beige);
  --es-accent: var(--es-copper);
  --es-accent-hover: var(--es-copper-hover);
  --es-on-accent: #FFFFFF;
  --es-accent-tint: var(--es-note);
  --es-product-tile: #FFFFFF;
  --text: var(--es-ink);
  --text-secondary: var(--es-lead);
  --text-muted: var(--es-cocoa);
  --border: var(--es-border);
  --border-dark: var(--es-strong-border);
  --green: var(--es-success);
  --red: var(--es-gold-ink);
  --font-body: var(--es-font-body);
  --font-ui: var(--es-font-body);
  --font-display: var(--es-font-display);
  --max-width: calc(var(--es-content-max) + 80px);

  background: var(--es-paper);
  color: var(--es-ink);
  font-family: var(--es-font-body);
  font-size: 16px;
  line-height: 1.52;
}

/* Typography */
body.es-ds h1, body.es-ds h2, body.es-ds h3, body.es-ds h4 { font-family: var(--es-font-display); color: var(--es-ink); line-height: 1.08; letter-spacing: -0.026em; }
body.es-ds h1 { font-size: clamp(36px, 4vw, 59px); font-weight: 700; margin: 0 0 14px; }
body.es-ds h2 { font-size: clamp(28px, 3vw, 37px); font-weight: 700; }
body.es-ds h3 { font-size: 22px; font-weight: 700; }
body.es-ds .site-main h2 { margin: 44px 0 14px; }
body.es-ds .lead { font-size: 18px; line-height: 1.52; color: var(--es-lead); max-width: 640px; margin: 0; }
body.es-ds .site-main p, body.es-ds .site-main li { line-height: 1.7; }
body.es-ds .article-section p, body.es-ds .article-section li, body.es-ds .article-list { color: var(--es-body-text); }
/* :where() keeps in-content link styling at low specificity so component rules (breadcrumb, table actions) can override it. */
body.es-ds .site-main a:where(:not(.btn):not(.btn-secondary):not(.cta-btn)) { color: var(--es-copper); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
body.es-ds .site-main a:where(:not(.btn):not(.btn-secondary):not(.cta-btn)):hover { color: var(--es-copper-hover); }
body.es-ds :focus-visible { outline: 3px solid var(--es-copper); outline-offset: 3px; }
body.es-ds .site-header :focus-visible, body.es-ds .site-footer :focus-visible, body.es-ds .skip-link:focus-visible { outline-color: var(--es-focus-dark); }

/* SiteHeader: dark espresso bar */
body.es-ds .top-bar { display: none; }
body.es-ds .site-header { background: var(--es-header); border-bottom: 0; padding: 0; color: #FFFFFF; }
body.es-ds .header-inner { min-height: 72px; gap: 8px 30px; }
body.es-ds .site-logo { font-family: var(--es-font-display); font-size: 27px; font-weight: 700; letter-spacing: -1.2px; color: #FFFFFF; white-space: nowrap; }
body.es-ds .site-logo span { color: inherit; font-weight: inherit; }
body.es-ds .site-logo:hover { color: #FFFFFF; }
body.es-ds .main-nav { gap: 4px 6px; align-items: center; }
body.es-ds .main-nav a {
  font-family: var(--es-font-body); font-size: 14px; font-weight: 650; line-height: 1.2; text-transform: none; letter-spacing: 0;
  color: #F8F3EC; padding: 9px 11px; border-radius: 8px; border-bottom: 0; white-space: nowrap;
}
body.es-ds .main-nav a:hover, body.es-ds .main-nav a[aria-current] { background: #6A482D; color: #FFFFFF; }
body.es-ds .nav-toggle { color: #FFFFFF; background: transparent; border: 1px solid #77645B; border-radius: 6px; }

/* Breadcrumbs and hero band (no photograph) */
body.es-ds .es-hero {
  position: relative; margin: -80px 0 0; padding: 22px 0 46px;
  background: var(--es-hero-band); box-shadow: 0 0 0 100vmax var(--es-hero-band); clip-path: inset(0 -100vmax);
}
body.es-ds .es-breadcrumb { font-size: 12px; color: var(--es-cocoa); margin: 0 0 14px; }
body.es-ds .es-breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 0; margin: 0; padding: 0; }
body.es-ds .es-breadcrumb li { display: inline-flex; align-items: center; }
body.es-ds .es-breadcrumb li + li::before { content: ""; width: 5px; height: 5px; margin: 0 9px 0 7px; border-top: 1.5px solid var(--es-cocoa); border-right: 1.5px solid var(--es-cocoa); transform: rotate(45deg); }
body.es-ds .site-main .es-breadcrumb a { color: var(--es-copper); font-weight: 650; text-decoration: none; display: inline-block; padding: 6px 0; }
body.es-ds .site-main .es-breadcrumb a:hover { text-decoration: underline; }
body.es-ds .es-hero h1 { max-width: 760px; }

/* DisclosureStrip */
body.es-ds .disclosure-inline {
  font-family: var(--es-font-body); font-size: 13px; line-height: 1.5; color: var(--es-note-text);
  background: transparent; border: 0; border-left: 3px solid var(--es-gold); border-radius: 0; padding: 2px 0 2px 11px; margin: 18px 0 0; max-width: 760px;
}

/* Buttons: copper primary, warm outlined secondary */
body.es-ds .btn, body.es-ds a.btn, body.es-ds .cta-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 12px 17px;
  background: var(--es-copper); color: #FFFFFF; border: 2px solid transparent; border-radius: var(--es-radius-button);
  font-family: var(--es-font-body); font-size: 14px; font-weight: 800; line-height: 1.15; text-transform: none; letter-spacing: 0;
  text-decoration: none; text-align: center; box-shadow: none; transition: transform 0.12s, background-color 0.12s;
}
body.es-ds .btn:hover, body.es-ds a.btn:hover, body.es-ds .cta-btn:hover { background: var(--es-copper-hover); color: #FFFFFF; transform: translateY(-1px); }
body.es-ds .btn-secondary, body.es-ds a.btn-secondary {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 17px;
  background: transparent; color: var(--es-ink); border: 2px solid #BBA99C; border-radius: var(--es-radius-button);
  font-family: var(--es-font-body); font-size: 14px; font-weight: 800; line-height: 1.15; text-transform: none; letter-spacing: 0;
  text-decoration: none; text-align: center; transition: background-color 0.12s;
}
body.es-ds .btn-secondary:hover, body.es-ds a.btn-secondary:hover { background: #F3EBDF; color: var(--es-ink); border-color: #BBA99C; }

/* IntentSelector: the existing setup chooser */
body.es-ds.es-conversion .decision-summary {
  position: relative; z-index: 2; margin: -18px 0 0; padding: 18px 20px 18px 24px; border: 0; border-radius: 14px;
  background: linear-gradient(115deg, #ECE3D7, #F3EEE6); box-shadow: 0 7px 24px rgba(61, 42, 27, 0.06);
  display: grid; grid-template-columns: minmax(190px, 235px) minmax(0, 1fr); grid-template-areas: "title text" "title actions"; gap: 4px 22px; align-items: center;
}
body.es-ds.es-conversion .decision-summary h2 { grid-area: title; margin: 0; font-size: 25px; line-height: 1.05; }
body.es-ds.es-conversion .decision-summary > p { grid-area: text; margin: 0; font-size: 14px; line-height: 1.5; color: var(--es-note-text); }
body.es-ds.es-conversion .decision-summary .decision-actions { grid-area: actions; margin: 8px 0 0; gap: 10px; }
body.es-ds.es-conversion .decision-summary .btn-secondary {
  justify-content: space-between; gap: 14px; background: rgba(255, 255, 255, 0.8); border: 1px solid #C9B7A6; border-radius: 10px;
  min-height: 52px; padding: 12px 17px 12px 19px; font-weight: 700;
}
body.es-ds.es-conversion .decision-summary .btn-secondary::after {
  content: ""; flex: none; width: 7px; height: 7px; border-top: 2px solid var(--es-copper); border-right: 2px solid var(--es-copper); transform: rotate(45deg);
}
body.es-ds.es-conversion .decision-summary .btn-secondary:hover { border-color: var(--es-copper); background: #FFFFFF; }
body.es-ds.es-conversion .decision-summary .btn { min-height: 52px; }

/* ProductRecommendationCard: buyer-pick cards and detailed product cards, image-free */
body.es-ds .pick-label, body.es-ds .product-card .product-badge, body.es-ds .product-card.top-pick .product-badge {
  align-self: flex-start; display: inline-block; margin: 0 0 12px; padding: 6px 11px; border-radius: 20px;
  background: var(--es-ribbon); color: #FFFFFF; font-family: var(--es-font-body); font-size: 12px; font-weight: 800; line-height: 1.2;
  letter-spacing: 0.02em; text-transform: uppercase;
}
body.es-ds.es-conversion .decision-grid { gap: 17px; margin: 22px 0 8px; }
body.es-ds.es-conversion .decision-card {
  display: flex; flex-direction: column; padding: 22px 20px 20px; background: var(--es-surface);
  border: 1px solid var(--es-card-border); border-radius: var(--es-radius-card); box-shadow: var(--es-shadow);
}
body.es-ds.es-conversion .decision-card h3 { font-size: 23px; margin: 2px 0 12px; }
body.es-ds.es-conversion .decision-card p { font-size: 14.5px; line-height: 1.5; color: var(--es-note-text); margin: 0 0 10px; }
body.es-ds.es-conversion .decision-card p strong { color: var(--es-ink); }
body.es-ds.es-conversion .decision-card > .decision-actions { margin: auto 0 0; padding-top: 12px; }
body.es-ds.es-conversion .decision-card .decision-actions a { width: 100%; }

body.es-ds .product-card, body.es-ds .product-card.top-pick {
  background: var(--es-surface); border: 1px solid var(--es-card-border); border-radius: var(--es-radius-card);
  box-shadow: var(--es-shadow); padding: 24px 28px 26px; margin: 0 0 22px; overflow: visible;
}
body.es-ds .product-card .product-badge { margin: 0 0 4px; }
body.es-ds .product-card-inner { display: block; }
body.es-ds .product-card-inner > div:first-child, body.es-ds .product-card-inner > div:last-child { padding: 0; }
body.es-ds .product-card h3 { font-size: 25px; margin: 10px 0 10px; }
body.es-ds .product-card .cta-btns { padding-bottom: 0; margin-top: 18px; }
body.es-ds .key-specs { margin: 14px 0 18px; }
body.es-ds .key-specs li { font-size: 14px; color: var(--es-note-text); border-bottom-color: var(--es-border); }
body.es-ds .key-specs li strong { color: var(--es-ink); }
body.es-ds .pros-heading, body.es-ds .cons-heading { font-family: var(--es-font-body); font-size: 13px; font-weight: 800; letter-spacing: 0.08em; }
body.es-ds .pros-heading { color: var(--es-success); }
body.es-ds .cons-heading { color: var(--es-gold-ink); }
body.es-ds .verdict, body.es-ds .callout-tint { background: var(--es-note); color: var(--es-note-text); border: 0; border-radius: 12px; padding: 18px 22px; margin: 18px 0 0; }
body.es-ds .verdict strong:first-child { color: var(--es-ink); }

/* ProductComparison: readable table in an accessible scroll region */
body.es-ds .table-scroll { background: var(--es-surface); border: 1px solid var(--es-border); border-radius: 12px; margin: 18px 0 8px; }
body.es-ds .comparison-table { margin: 0; font-size: 14px; }
body.es-ds .comparison-table th {
  background: #EBE3D8; color: var(--es-ink); font-family: var(--es-font-body); font-size: 13px; font-weight: 800; line-height: 1.3;
  text-transform: none; letter-spacing: 0; padding: 12px 15px; border-bottom: 0; vertical-align: bottom;
}
body.es-ds .comparison-table td { padding: 11px 15px; border-bottom: 0; border-top: 1px solid var(--es-border); color: var(--es-ink); background: transparent; }
body.es-ds .comparison-table tbody tr:nth-child(odd) td { background: rgba(246, 242, 235, 0.5); }
body.es-ds .comparison-table tbody tr:hover td { background: #F6F0E6; }
body.es-ds .comparison-table td:first-child { font-weight: 800; }
body.es-ds td a[href*="amazon."], body.es-ds td a.cta-btn, body.es-ds .comparison-table td a.btn {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; background: var(--es-copper); color: #FFFFFF;
  border-radius: 8px; font-family: var(--es-font-body); font-size: 13px; font-weight: 800;
}

/* FAQ and article sections */
body.es-ds .faq-item { border-bottom: 1px solid var(--es-border); padding: 20px 0; }
body.es-ds .faq-item h3 { font-family: var(--es-font-display); font-size: 19px; font-weight: 700; line-height: 1.25; color: var(--es-ink); }
body.es-ds .faq-item p { font-size: 15.5px; color: var(--es-body-text); }
body.es-ds .article-section > h2:first-child { margin-top: 48px; }

/* SiteFooter: espresso band */
body.es-ds .site-footer {
  background: var(--es-footer); color: #F2E8DD; border-top: 0; margin-top: 70px; padding: 40px var(--gutter) 28px;
  --text: #F2E8DD; --text-secondary: #D8CABE; --text-muted: #D4C4B8; --border: #49382F; --es-accent: #E4C6AA; --es-accent-hover: #F2E8DD;
}
body.es-ds .footer-inner { max-width: var(--es-content-max); }
body.es-ds .footer-brand { font-family: var(--es-font-display); font-size: 24px; font-weight: 700; letter-spacing: -0.8px; color: #F2E8DD; }
body.es-ds .footer-brand span { color: inherit; font-weight: inherit; }
body.es-ds .footer-nav a { font-family: var(--es-font-body); font-size: 13px; text-transform: none; letter-spacing: 0; color: #E4C6AA; padding: 9px 2px; }
body.es-ds .footer-nav a:hover { color: #FFFFFF; }
body.es-ds .footer-legal { font-family: var(--es-font-body); font-size: 12px; color: #D4C4B8; border-top-color: #49382F; }

/* Responsive */
@media (max-width: 1060px) {
  body.es-ds .main-nav { gap: 2px 0; }
  body.es-ds .main-nav a { font-size: 12.5px; padding: 8px; }
  body.es-ds.es-conversion .decision-summary { grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "text" "actions"; gap: 8px; }
  body.es-ds.es-conversion .decision-grid { grid-template-columns: minmax(0, 1fr); gap: 15px; }
}
@media (max-width: 768px) {
  body.es-ds .header-inner { min-height: 65px; }
  body.es-ds .site-logo { font-size: 24px; }
  body.es-ds .main-nav.open { align-items: stretch; background: #30221C; padding: 12px 19px 16px; border-bottom: 0; box-shadow: 0 12px 24px rgba(34, 20, 12, 0.3); }
  body.es-ds .main-nav.open a { display: block; text-align: left; color: #F8F3EC; font-size: 15px; padding: 12px 11px; border-radius: 0; border-bottom: 1px solid rgba(248, 243, 236, 0.12); }
  body.es-ds .es-hero { margin-top: -60px; padding: 16px 0 38px; }
  body.es-ds .es-hero h1 { font-size: 38px; }
  body.es-ds .lead { font-size: 17px; }
  body.es-ds .site-main h2 { margin-top: 36px; }
  body.es-ds.es-conversion .decision-summary { padding: 18px 16px; }
  body.es-ds.es-conversion .decision-card { padding: 20px 18px 18px; }
  body.es-ds .product-card, body.es-ds .product-card.top-pick { padding: 20px 18px 20px; }
  body.es-ds .btn, body.es-ds .btn-secondary { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  body.es-ds * { transition: none !important; scroll-behavior: auto !important; }
  body.es-ds .btn:hover, body.es-ds a.btn:hover, body.es-ds .cta-btn:hover { transform: none; }
}

/* r3: licensed primary-product photograph. The 1024x768 file is served unchanged; a 3:4 cover frame keeps the whole
   Barista Pro (source x 50 to 580 px) and at most a sliver of the neighbouring Express, which the caption discloses. */
body.es-ds .es-photo { margin: 0; }
body.es-ds .es-photo img {
  display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: 4% 50%;
  border-radius: 12px; background: var(--es-beige);
}
body.es-ds .es-photo figcaption { margin-top: 8px; font-size: 12px; line-height: 1.45; color: var(--es-cocoa); }
body.es-ds.es-conversion .decision-card > .es-photo { margin: 2px 0 14px; max-width: 300px; }
body.es-ds .product-card-inner > .es-photo { margin: 8px 0 18px; max-width: 300px; }
/* Featured primary pick: photo beside the text from tablet up; the text-only GO and Victoria cards share the next row. */
@media (min-width: 769px) {
  body.es-ds.es-conversion .decision-card:has(> .es-photo) {
    display: grid; grid-template-columns: minmax(200px, 260px) minmax(0, 1fr); grid-template-rows: repeat(6, auto) 1fr;
    column-gap: 28px; align-content: start;
  }
  body.es-ds.es-conversion .decision-card:has(> .es-photo) > * { grid-column: 2; }
  body.es-ds.es-conversion .decision-card:has(> .es-photo) > .es-photo { grid-column: 1; grid-row: 1 / -1; margin: 0; max-width: none; }
  body.es-ds.es-conversion .decision-card:has(> .es-photo) > .pick-label { justify-self: start; }
  body.es-ds.es-conversion .decision-card:has(> .es-photo) .decision-actions a { width: auto; min-width: 260px; }
  body.es-ds .product-card-inner:has(> .es-photo) { display: grid; grid-template-columns: minmax(200px, 260px) minmax(0, 1fr); column-gap: 32px; align-items: start; }
  body.es-ds .product-card-inner:has(> .es-photo) > .es-photo { margin: 6px 0 0; max-width: none; }
}
@media (min-width: 1061px) {
  body.es-ds.es-conversion .decision-grid:has(> .decision-card > .es-photo) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.es-ds.es-conversion .decision-grid > .decision-card:has(> .es-photo) { grid-column: 1 / -1; }
}
/* Comparison scroll hint, shown only where the table is wider than its region. */
body.es-ds .es-table-hint { display: none; }
@media (max-width: 608px) {
  body.es-ds .es-table-hint { display: block; margin: 16px 0 -6px; font-size: 13px; line-height: 1.4; color: var(--es-cocoa); }
}

/* r4: product-review family (ES-DESIGN-20261119-r4). Every selector below requires body.es-ds.es-review, so the live pilot
   and every other page render exactly as before. Reference: product-review.html (readable column, quick-verdict card
   row). The licensed two-machine photograph is shown full frame (no crop); captions say which machine is where.
   The verdict text, Bottom Line and first Amazon action run full width so the action stays near the top of the page. */
body.es-ds.es-review .site-main > .container { max-width: 860px; }
body.es-ds.es-review .es-hero h1 { font-size: clamp(30px, 2.9vw, 42px); max-width: none; }
body.es-ds.es-review .es-hero .lead { max-width: none; }
body.es-ds.es-review .es-verdict > h2:first-child { margin-top: 40px; }
body.es-ds.es-review .es-verdict-text > p { margin: 0; }
body.es-ds.es-review .es-verdict-main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; margin-top: 26px; }
body.es-ds.es-review .es-figure { margin: 0; max-width: 520px; }
body.es-ds.es-review .es-figure img { display: block; width: 100%; height: auto; border-radius: 12px; background: var(--es-beige); }
body.es-ds.es-review .es-figure figcaption { margin-top: 8px; font-size: 12px; line-height: 1.45; color: var(--es-cocoa); }
body.es-ds.es-review .es-figure-compare { margin: 18px 0 20px; }
body.es-ds.es-review .es-verdict-panels { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
body.es-ds.es-review .es-verdict-panel {
  background: var(--es-surface); border: 1px solid var(--es-card-border); border-radius: var(--es-radius-card);
  box-shadow: var(--es-shadow); padding: 18px 18px 16px;
}
body.es-ds.es-review .es-verdict-label {
  margin: 0 0 6px; font-family: var(--es-font-body); font-size: 12px; font-weight: 800; line-height: 1.3;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--es-copper);
}
body.es-ds.es-review .es-verdict-panel p:last-child { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--es-note-text); }
/* Two-column specification table: let it fit narrow screens instead of scrolling sideways. */
body.es-ds.es-review .table-scroll > table.comparison-table { min-width: 0; }
body.es-ds.es-review .table-scroll > table.comparison-table td:first-child { width: 36%; }
@media (min-width: 768px) {
  body.es-ds.es-review .es-verdict-panels { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  body.es-ds.es-review .es-verdict-main { grid-template-columns: minmax(260px, 340px) minmax(0, 1fr); gap: 24px; }
  body.es-ds.es-review .es-verdict-main > .es-figure { max-width: none; }
  body.es-ds.es-review .es-verdict-main > .es-verdict-panels { grid-template-columns: minmax(0, 1fr); gap: 12px; }
}

/* r5: homepage and machine directory (ES-DESIGN-20261119-r5). Every selector below requires body.es-ds.es-home or
   body.es-ds.es-directory, so the live pilot, the Express review and every other page render exactly as before.
   Reference: index.html and machines.html in the owner package (warm photo-free hero band, intent selector, ivory path and
   catalog cards, budget grid, warm method panel); no sample copy, images, icons or proof points were taken.
   Home: the inherited .hero::before background (hero-espresso.jpg) is suppressed. The licensed two-machine photograph is
   shown full frame once, in the first-setup path beside the built-in-grinder route; its caption says which machine is where.
   The four journey links keep their markup; the first-setup choice is the filled primary option.
   Directory: image-free; every card is an internal navigation link, never a product endorsement. */

/* Home: hero band and intent selector */
body.es-ds.es-home .hero { background: var(--es-hero-band); border-radius: 0 0 17px 17px; }
body.es-ds.es-home .hero::before { content: none; background: none; }
body.es-ds.es-home .hero-inner { max-width: calc(var(--es-content-max) + 80px); padding: 34px 20px 38px; gap: 26px; }
body.es-ds.es-home .hero-copy h1 { font-size: clamp(38px, 4.6vw, 62px); line-height: 1.04; margin: 0 0 14px; max-width: 640px; text-wrap: balance; }
body.es-ds.es-home .hero-copy p { font-size: 18px; line-height: 1.55; color: var(--es-lead); max-width: 540px; }
body.es-ds.es-home .help-panel {
  background: var(--es-surface); border: 1px solid var(--es-card-border); border-radius: var(--es-radius-card);
  box-shadow: 0 14px 34px rgba(51, 37, 27, 0.09), 0 2px 3px rgba(51, 37, 27, 0.05); padding: 20px 18px 18px;
}
body.es-ds.es-home .help-panel-title { font-size: 23px; line-height: 1.1; margin: 0 0 14px; }
body.es-ds.es-home .help-choices { display: grid; gap: 10px; }
body.es-ds.es-home a.choice {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 54px; padding: 12px 16px 12px 18px;
  background: rgba(255, 255, 255, 0.85); color: var(--es-ink); border: 1px solid #C9B7A6; border-radius: 10px; text-decoration: none;
}
body.es-ds.es-home a.choice:hover { background: #FFFFFF; border-color: var(--es-copper); color: var(--es-ink); }
body.es-ds.es-home a.choice:first-child { background: var(--es-copper); border-color: var(--es-copper); color: #FFFFFF; }
body.es-ds.es-home a.choice:first-child:hover { background: var(--es-copper-hover); border-color: var(--es-copper-hover); color: #FFFFFF; }
body.es-ds.es-home .choice-label { font-family: var(--es-font-body); font-size: 15.5px; font-weight: 700; line-height: 1.3; }
body.es-ds.es-home .choice-arrow { color: var(--es-copper); font-size: 18px; }
body.es-ds.es-home a.choice:first-child .choice-arrow { color: #FFFFFF; }

/* Home: journey sections */
body.es-ds.es-home .es-home-path, body.es-ds.es-home .es-home-block { max-width: calc(var(--es-content-max) + 80px); margin: 0 auto; padding: 48px 20px 0; }
body.es-ds.es-home .es-home-cheat { padding-top: 36px; }
body.es-ds.es-home .es-home-method { padding-top: 44px; }
body.es-ds.es-home .es-home-intro { min-width: 0; }
body.es-ds.es-home .accent-rule { display: none; }
body.es-ds.es-home .path-num { margin: 0 0 8px; font-family: var(--es-font-body); font-size: 12px; font-weight: 800; letter-spacing: 0.12em; color: var(--es-copper); }
body.es-ds.es-home .site-main .es-home-path h2 { margin: 0 0 12px; }
body.es-ds.es-home .site-main .es-path-intro { max-width: 680px; margin: 0 0 18px; font-size: 16px; line-height: 1.6; color: var(--es-lead); }
body.es-ds.es-home .es-budget-split { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; max-width: 760px; }
body.es-ds.es-home .site-main .es-budget-split li {
  margin: 0; padding: 12px 16px 13px; background: var(--es-surface); border: 1px solid var(--es-card-border); border-left: 3px solid var(--es-gold);
  border-radius: 10px; font-size: 15px; line-height: 1.5; color: var(--es-note-text);
}
body.es-ds.es-home .es-budget-split strong { display: block; color: var(--es-ink); }
body.es-ds.es-home .setup-paths { margin: 0 0 22px; }
body.es-ds.es-home .site-main .setup-existing { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 700; }
body.es-ds.es-home .es-figure { margin: 0 0 24px; max-width: 520px; }
body.es-ds.es-home .es-figure img { display: block; width: 100%; height: auto; border-radius: 12px; background: var(--es-beige); }
body.es-ds.es-home .es-figure figcaption { margin-top: 8px; font-size: 12px; line-height: 1.45; color: var(--es-cocoa); }
body.es-ds.es-home .es-chips { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 0 0 22px; }
body.es-ds.es-home .budget-label { padding: 6px 11px; border-radius: 12px; font-size: 12px; font-weight: 800; }

/* Home: fit/limitation cards (no product-card class or id, so affiliate placement stays inline) */
body.es-ds.es-home .pick-section { max-width: none; margin: 0; padding: 0; }
body.es-ds.es-home .pick-section > .divider-top { border-top: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
body.es-ds.es-home .pick-section .disclosure-inline { margin: 0 0 2px; }
body.es-ds.es-home .pick-row {
  display: flex; flex-direction: column; padding: 20px 18px 18px; background: var(--es-surface);
  border: 1px solid var(--es-card-border); border-radius: var(--es-radius-card); box-shadow: var(--es-shadow);
}
body.es-ds.es-home .pick-row > div { display: flex; flex-direction: column; flex: 1 1 auto; }
body.es-ds.es-home .pick-name { font-family: var(--es-font-display); font-size: 23px; font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; color: var(--es-ink); margin: 0 0 8px; }
body.es-ds.es-home .pick-meta { font-size: 13px; line-height: 1.45; color: var(--es-cocoa); margin: 0 0 12px; }
body.es-ds.es-home .site-main .pick-row .small-print { margin: -4px 0 10px; font-size: 13px; line-height: 1.45; color: var(--es-cocoa); }
body.es-ds.es-home .pick-suits { font-size: 14.5px; line-height: 1.55; color: var(--es-note-text); margin: 0 0 8px; }
body.es-ds.es-home .pick-limit { font-size: 14px; line-height: 1.55; color: var(--es-note-text); font-style: normal; }
body.es-ds.es-home .pick-suits strong, body.es-ds.es-home .pick-limit strong { color: var(--es-ink); }
body.es-ds.es-home .es-pick-action { margin-top: auto; padding-top: 16px; }
body.es-ds.es-home .es-pick-action a { width: 100%; }
body.es-ds.es-home .es-path-links { display: flex; flex-wrap: wrap; align-items: center; margin: 18px 0 0; }
body.es-ds.es-home .site-main .es-path-links .ui-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 700; }
body.es-ds.es-home .es-path-links .separator { margin: 0 10px; }

/* Home: troubleshooting cards */
body.es-ds.es-home .ts-grid { max-width: none; margin: 0; gap: 14px; }
body.es-ds.es-home a.ts-card {
  padding: 18px 18px 16px; background: var(--es-surface); color: var(--es-ink); text-decoration: none;
  border: 1px solid var(--es-card-border); border-top: 3px solid var(--es-copper); border-radius: 14px; box-shadow: var(--es-shadow);
}
body.es-ds.es-home a.ts-card:hover { border-color: var(--es-copper); color: var(--es-ink); }
body.es-ds.es-home .ts-card h4 { font-size: 20px; font-weight: 700; line-height: 1.15; margin: 0 0 8px; }
body.es-ds.es-home .site-main .ts-card p { font-size: 14.5px; line-height: 1.55; color: var(--es-note-text); }

/* Home: cheat-sheet note (subordinate; no photograph) */
body.es-ds.es-home .cheat-callout { max-width: none; padding: 22px 20px; background: var(--es-note); border: 1px solid var(--es-card-border); border-radius: var(--es-radius-card); }
body.es-ds.es-home .cheat-callout-bg { display: none; }
body.es-ds.es-home .cheat-grid { text-align: left; }
body.es-ds.es-home .icon-glyph-lg {
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 12px; background: var(--es-surface);
  border: 1px solid var(--es-card-border); font-family: var(--es-font-display); font-size: 18px; font-weight: 700; color: var(--es-copper);
}
body.es-ds.es-home .cheat-callout h3 { font-size: 23px; color: var(--es-ink); margin: 0 0 8px; }
body.es-ds.es-home .site-main .cheat-callout .text-primary { margin: 0 0 12px; color: var(--es-note-text); }
body.es-ds.es-home .cheat-callout ul { margin: 0 0 16px; padding-left: 20px; color: var(--es-note-text); }
body.es-ds.es-home .es-cheat-action { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }

/* Home: guide cards */
body.es-ds.es-home .es-home-guides-head { margin: 0 0 22px; text-align: left; }
body.es-ds.es-home .site-main .es-home-guides-head h2 { margin: 0; }
body.es-ds.es-home .es-home-guides > .divider-top { border-top: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
body.es-ds.es-home a.guide-row {
  display: flex; flex-direction: column; align-items: flex-start; gap: 0; padding: 20px 20px 12px; background: var(--es-surface);
  color: var(--es-ink); text-decoration: none; border: 1px solid var(--es-card-border); border-radius: var(--es-radius-card); box-shadow: var(--es-shadow);
}
body.es-ds.es-home a.guide-row:hover { border-color: var(--es-copper); color: var(--es-ink); }
body.es-ds.es-home a.guide-row > div:not(.callout):not(.guide-row-cta) { flex: 1 1 auto; width: 100%; }
/* The two decorative VS tiles become a corner badge, clear of the title. */
body.es-ds.es-home a.guide-row:has(> .callout) { position: relative; }
body.es-ds.es-home a.guide-row:has(> .callout) > div:not(.callout):not(.guide-row-cta) { padding-right: 46px; }
body.es-ds.es-home .guide-row .caps, body.es-ds.es-home .guide-row > .callout {
  display: inline-flex; width: auto; height: auto; margin: 0 0 10px; padding: 4px 9px; border: 0; border-radius: 20px; background: var(--es-beige);
  color: #7B5418; font-family: var(--es-font-body); font-size: 11px; font-weight: 800; line-height: 1.3; letter-spacing: 0.06em; text-transform: uppercase;
}
body.es-ds.es-home .guide-row > .callout { position: absolute; top: 18px; right: 18px; margin: 0; }
body.es-ds.es-home .guide-row-title { font-family: var(--es-font-display); font-size: 21px; font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; color: var(--es-ink); margin: 0 0 8px; }
body.es-ds.es-home .guide-row-desc { font-size: 14px; line-height: 1.55; color: var(--es-note-text); }
body.es-ds.es-home .guide-row-cta {
  display: inline-flex; align-items: center; min-height: 40px; margin-top: 6px; font-size: 14px; font-weight: 800; color: var(--es-copper);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px;
}

/* Home: method panel and disclosure */
body.es-ds.es-home .method-box { max-width: none; margin: 0; padding: 24px 20px; background: #EBE2D5; border: 0; border-radius: var(--es-radius-card); }
body.es-ds.es-home .method-box h3 { font-size: clamp(25px, 2.4vw, 32px); margin: 0 0 12px; }
body.es-ds.es-home .site-main .method-box p { font-size: 15.5px; line-height: 1.65; color: var(--es-lead); margin: 0; }
body.es-ds.es-home .site-main .es-home-disclosure { max-width: 1000px; margin: 36px auto 0; padding: 0 20px; background: transparent; border: 0; font-size: 13px; line-height: 1.6; color: var(--es-cocoa); }

/* Below 1000px the full-frame photograph sits beside its caption as a compact row, so the first pick card stays close to the
   setup choices; from 1000px it moves beside the setup intro. Same file, same DOM order, no crop. */
@media (max-width: 999px) {
  body.es-ds.es-home .es-home-first > .es-figure { display: grid; grid-template-columns: minmax(120px, 38%) minmax(0, 1fr); gap: 12px; align-items: center; max-width: 640px; }
  body.es-ds.es-home .es-home-first > .es-figure figcaption { margin-top: 0; }
}
@media (max-width: 639px) {
  body.es-ds.es-home .es-path-links { gap: 0 18px; }
  body.es-ds.es-home .es-path-links .separator { display: none; }
}
@media (min-width: 640px) {
  body.es-ds.es-home .ts-grid, body.es-ds.es-home .es-home-guides > .divider-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 769px) {
  body.es-ds.es-home .hero-inner { padding: 54px 40px 58px; }
  body.es-ds.es-home .help-panel { padding: 24px 24px 22px; }
  body.es-ds.es-home .es-home-path, body.es-ds.es-home .es-home-block { padding: 64px 40px 0; }
  body.es-ds.es-home .es-home-cheat { padding-top: 48px; }
  body.es-ds.es-home .es-home-method { padding-top: 56px; }
  body.es-ds.es-home .es-budget-split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.es-ds.es-home .pick-row { padding: 22px 20px 20px; }
  body.es-ds.es-home .cheat-callout { padding: 26px 28px; }
  body.es-ds.es-home .cheat-grid { grid-template-columns: 64px minmax(0, 1fr); gap: 22px; }
}
@media (min-width: 900px) {
  body.es-ds.es-home .method-box { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 32px; align-items: start; padding: 30px 32px; }
}
@media (min-width: 901px) {
  body.es-ds.es-home .hero-inner { grid-template-columns: minmax(0, 1fr) minmax(340px, 460px); gap: 48px; }
}
@media (min-width: 1000px) {
  body.es-ds.es-home .es-home-first { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 440px); column-gap: 44px; align-items: center; }
  body.es-ds.es-home .es-home-first > .pick-section, body.es-ds.es-home .es-home-first > .es-path-links { grid-column: 1 / -1; }
  body.es-ds.es-home .es-home-first > .es-figure { margin: 0; }
  body.es-ds.es-home .es-home-first > .pick-section { margin-top: 28px; }
  body.es-ds.es-home .pick-section > .divider-top { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  body.es-ds.es-home .pick-section .disclosure-inline { grid-column: 1 / -1; }
  body.es-ds.es-home .ts-grid, body.es-ds.es-home .es-home-guides > .divider-top { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
}

/* Directory: hero band, budget grid, route explainer, review cards */
body.es-ds.es-directory .idx-wrap { max-width: calc(var(--es-content-max) + 80px); padding: 0 20px; }
body.es-ds.es-directory .es-dir-hero {
  padding-top: 34px; padding-bottom: 38px; background: var(--es-hero-band);
  box-shadow: 0 0 0 100vmax var(--es-hero-band); clip-path: inset(0 -100vmax);
}
body.es-ds.es-directory .es-dir-hero h1 { margin: 0 0 12px; }
body.es-ds.es-directory .idx-intro { font-size: 18px; line-height: 1.55; color: var(--es-lead); max-width: 660px; margin: 0; }
body.es-ds.es-directory .idx-group { margin-top: 44px; }
body.es-ds.es-directory .idx-group h2 { margin: 0 0 6px; }
body.es-ds.es-directory .idx-group h2 + .idx-list { margin-top: 16px; }
body.es-ds.es-directory .idx-group > p { font-size: 16px; line-height: 1.6; color: var(--es-lead); max-width: 700px; margin: 0 0 18px; }
body.es-ds.es-directory .idx-list { grid-template-columns: minmax(0, 1fr); gap: 14px; }
body.es-ds.es-directory a.idx-item {
  display: flex; flex-direction: column; padding: 20px 20px 16px; background: var(--es-surface); color: var(--es-ink); text-decoration: none;
  border: 1px solid var(--es-card-border); border-radius: var(--es-radius-card); box-shadow: var(--es-shadow);
}
body.es-ds.es-directory a.idx-item:hover { border-color: var(--es-copper); color: var(--es-ink); }
body.es-ds.es-directory a.idx-item h3 { font-size: 22px; line-height: 1.15; margin: 0 0 8px; }
body.es-ds.es-directory a.idx-item p { font-size: 14.5px; line-height: 1.55; color: var(--es-note-text); margin: 0 0 12px; }
body.es-ds.es-directory a.idx-item::after {
  content: ""; flex: none; margin: auto 4px 4px auto; width: 8px; height: 8px;
  border-top: 2px solid var(--es-copper); border-right: 2px solid var(--es-copper); transform: rotate(45deg);
}
body.es-ds.es-directory .es-dir-explainer > p { max-width: 760px; }
body.es-ds.es-directory .es-dir-routes { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
body.es-ds.es-directory .es-dir-route { padding: 18px 20px; background: var(--es-note); border: 1px solid var(--es-card-border); border-left: 3px solid var(--es-gold); border-radius: 12px; }
body.es-ds.es-directory .es-dir-route h3 { font-size: 21px; line-height: 1.15; margin: 0 0 6px; }
body.es-ds.es-directory .es-dir-route p { font-size: 14.5px; line-height: 1.55; color: var(--es-note-text); margin: 0; }
body.es-ds.es-directory .es-dir-disclosure { max-width: calc(var(--es-content-max) + 80px); margin: 40px auto 0; padding: 0 20px; }
body.es-ds.es-directory .es-dir-disclosure p { max-width: 760px; font-size: 13px; line-height: 1.6; color: var(--es-cocoa); }

@media (min-width: 640px) {
  body.es-ds.es-directory .idx-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  body.es-ds.es-directory .idx-list:has(> :only-child) { grid-template-columns: minmax(0, 560px); }
  body.es-ds.es-directory .es-dir-routes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 769px) {
  body.es-ds.es-directory .idx-wrap, body.es-ds.es-directory .es-dir-disclosure { padding: 0 40px; }
  body.es-ds.es-directory .es-dir-hero { padding-top: 50px; padding-bottom: 54px; }
  body.es-ds.es-directory .idx-group { margin-top: 52px; }
}
@media (min-width: 1061px) {
  body.es-ds.es-directory .es-dir-budget .idx-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  body.es-ds.es-directory .es-dir-reviews .idx-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* vf-r2: homepage fidelity correction with the selected hero photograph (ES-DESIGN-20261119 VF-r2; owner correction
   96cd4b91 "This does not look the same as the sample"). Every selector below requires body.es-ds.es-home, so the pilot, the
   Express review, the machine directory and every other page render exactly as before. Reference: index.html,
   index-desktop.png and index-mobile.png in the owner package (coffee-led right-subject hero with a cream text fade, cup and
   serif wordmark, a two-choice setup selector that overlaps the hero edge, three intent cards, three featured guides, airy
   spacing). Geometry and colors follow the package's styles.css; no sample copy, product images, claims or noindex were taken.
   The cup mark is the package's own 48x48 vector. Hero photograph: Pexels 16648743 by Linken Van Zyl (MAIN selection,
   self-hosted, unmodified bytes), credited on the image with links to the source page and to Pexels. No motion is added. */

/* Brand mark */
body.es-ds.es-home .site-logo, body.es-ds.es-home .footer-brand { display: inline-flex; align-items: center; }
body.es-ds.es-home .es-logo-mark { flex: none; width: 40px; height: 40px; margin-right: 9px; }
body.es-ds.es-home .footer-brand .es-logo-mark { width: 34px; height: 34px; }

/* Shared horizontal box: matches the lower .es-home-path sections */
body.es-ds.es-home .es-home-wrap { width: 100%; max-width: calc(var(--es-content-max) + 80px); margin: 0 auto; padding-left: 20px; padding-right: 20px; }

/* Hero: photograph on the right, cream fade behind the copy */
body.es-ds.es-home .es-home-hero {
  position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: 395px;
  background: #E8E0D3; border-radius: 0 0 17px 17px;
}
body.es-ds.es-home .es-home-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, #F6F0E7 0%, #F6F0E7 37%, rgba(246, 240, 231, 0.94) 50%, rgba(246, 240, 231, 0.08) 74%, rgba(246, 240, 231, 0.02) 100%);
}
body.es-ds.es-home .es-home-hero-media { position: absolute; z-index: -2; inset: 0 0 0 auto; width: 65%; }
body.es-ds.es-home .es-home-hero-media { overflow: hidden; }
body.es-ds.es-home .es-home-hero-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 0% 55%; filter: sepia(0.4) saturate(1.1); }
body.es-ds.es-home .es-home-hero-inner { padding-top: 48px; padding-bottom: 64px; }
body.es-ds.es-home .site-main .es-home-eyebrow { margin: 0 0 9px; font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--es-copper); }
body.es-ds.es-home .es-home-hero h1 { max-width: 650px; margin: 0; font-size: clamp(36px, 4vw, 59px); line-height: 1.06; text-wrap: balance; }
body.es-ds.es-home .site-main .es-home-lead { max-width: 620px; margin: 14px 0 0; font-size: 18px; line-height: 1.52; color: var(--es-lead); }
body.es-ds.es-home .es-home-proof { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; margin: 20px 0 0; padding: 0; list-style: none; font-size: 13px; font-weight: 650; color: var(--es-ink); }
body.es-ds.es-home .es-home-proof li { display: inline-flex; align-items: center; margin: 0; }
body.es-ds.es-home .es-home-proof li::before {
  content: "\2713"; display: inline-grid; place-items: center; flex: none; width: 19px; height: 19px; margin-right: 8px;
  border: 1px solid var(--es-gold-ink); border-radius: 50%; color: var(--es-gold-ink); font-size: 11px; font-weight: 800; line-height: 1;
}


/* Photo credit: discreet, on the image, linked to the source and to Pexels */
body.es-ds.es-home .site-main .es-home-hero-credit {
  position: absolute; z-index: 1; top: 12px; right: 14px; margin: 0; padding: 3px 9px; border-radius: 6px;
  background: rgba(35, 28, 25, 0.68); color: #F8F3EC; font-size: 11px; font-weight: 600; line-height: 1.5;
}
body.es-ds.es-home .site-main .es-home-hero-credit a { color: #FFFFFF; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
body.es-ds.es-home .site-main .es-home-hero-credit a:hover { color: #FFFFFF; }
body.es-ds.es-home .site-main .es-home-hero-credit a:focus-visible { outline-color: var(--es-focus-dark); }

/* Setup selector: two choices, overlapping the hero's lower edge */
body.es-ds.es-home .es-home-selector-wrap { position: relative; z-index: 2; margin-top: -18px; }
body.es-ds.es-home .es-home-selector {
  display: grid; grid-template-columns: 235px minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: center;
  padding: 16px 18px 16px 22px; border-radius: 14px; background: linear-gradient(115deg, #ECE3D7, #F3EEE6);
  box-shadow: 0 7px 24px rgba(61, 42, 27, 0.06);
}
body.es-ds.es-home .site-main .es-home-selector-title { margin: 0; font: 700 25px/1.05 var(--es-font-display); letter-spacing: -0.026em; color: var(--es-ink); }
body.es-ds.es-home .site-main a.es-home-option {
  display: flex; align-items: center; gap: 14px; min-height: 70px; padding: 12px 19px; background: rgba(255, 255, 255, 0.8);
  border: 1px solid #C9B7A6; border-radius: 10px; color: var(--es-ink); text-decoration: none;
}
body.es-ds.es-home .site-main a.es-home-option:hover, body.es-ds.es-home .site-main a.es-home-option-featured { border-color: var(--es-copper); color: var(--es-ink); }
body.es-ds.es-home .es-home-option-icon { flex: none; width: 32px; height: 32px; color: var(--es-copper); }
body.es-ds.es-home .es-home-option-icon svg { display: block; width: 100%; height: 100%; }
body.es-ds.es-home .es-home-option-text strong { display: block; font-size: 14px; line-height: 1.2; color: var(--es-ink); }
body.es-ds.es-home .es-home-option-text small { display: block; margin-top: 3px; font-size: 12px; line-height: 1.35; color: var(--es-cocoa); }
body.es-ds.es-home .es-home-option-arrow { margin-left: auto; font-size: 22px; line-height: 1; color: var(--es-copper); }

/* Section heads */
body.es-ds.es-home .es-home-head { margin: 0 0 20px; }
body.es-ds.es-home .site-main .es-home-head h2 { margin: 0; }
body.es-ds.es-home .site-main .es-home-head p { margin: 6px 0 0; font-size: 16px; line-height: 1.5; color: var(--es-cocoa); }
body.es-ds.es-home .es-home-head-split { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
body.es-ds.es-home .site-main a.es-home-more { flex: none; display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 800; }

/* Three intent cards; the fourth journey (milk drinks) stays a visible, subordinate link */
body.es-ds.es-home .es-home-intents { padding-top: 40px; }
body.es-ds.es-home .es-home-intent-grid, body.es-ds.es-home .es-home-guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
body.es-ds.es-home .es-intent-card, body.es-ds.es-home .es-guide-card {
  display: flex; flex-direction: column; background: var(--es-surface); border: 1px solid var(--es-card-border);
  border-radius: var(--es-radius-card); box-shadow: var(--es-shadow);
}
body.es-ds.es-home .es-intent-card { min-height: 242px; padding: 26px; }
body.es-ds.es-home .site-main .es-intent-step { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--es-copper); }
body.es-ds.es-home .site-main .es-intent-card h3 { margin: 20px 0 9px; font-size: 25px; }
body.es-ds.es-home .site-main .es-intent-card > p:not(.es-intent-step) { margin: 0 0 22px; font-size: 14px; line-height: 1.5; color: var(--es-cocoa); }
body.es-ds.es-home .site-main .es-intent-card a.choice {
  display: inline-flex; align-self: flex-start; align-items: center; justify-content: center; gap: 8px; width: auto; min-height: 44px;
  margin-top: auto; padding: 11px 17px; background: transparent; border: 2px solid #BBA99C; border-radius: var(--es-radius-button);
  color: var(--es-ink); text-decoration: none;
}
body.es-ds.es-home .site-main .es-intent-card a.choice:hover { background: #F3EBDF; border-color: #BBA99C; color: var(--es-ink); }
body.es-ds.es-home .site-main .es-intent-card:first-child a.choice { background: var(--es-copper); border-color: var(--es-copper); color: #FFFFFF; }
body.es-ds.es-home .site-main .es-intent-card:first-child a.choice:hover { background: var(--es-copper-hover); border-color: var(--es-copper-hover); color: #FFFFFF; }
body.es-ds.es-home .site-main .es-intent-card .choice-label { font-size: 14px; font-weight: 800; line-height: 1.15; }
body.es-ds.es-home .site-main .es-intent-card .choice-arrow { font-size: 15px; color: inherit; }
body.es-ds.es-home .site-main .es-home-milk { margin: 18px 0 0; font-size: 15px; line-height: 1.5; color: var(--es-lead); }
body.es-ds.es-home .site-main .es-home-milk a.choice {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-left: 4px; padding: 0; background: transparent;
  border: 0; border-radius: 0; color: var(--es-copper); text-decoration: none;
}
body.es-ds.es-home .site-main .es-home-milk a.choice .choice-label { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
body.es-ds.es-home .site-main .es-home-milk a.choice:hover { background: transparent; color: var(--es-copper-hover); }
body.es-ds.es-home .site-main .es-home-milk .choice-label { font-size: 15px; font-weight: 700; line-height: 1.3; }
body.es-ds.es-home .site-main .es-home-milk a.choice .choice-arrow { font-size: 15px; color: inherit; }

/* Three featured guides */
body.es-ds.es-home .es-home-featured { padding-top: 56px; }
body.es-ds.es-home .es-guide-card { gap: 13px; min-height: 230px; padding: 22px; }
body.es-ds.es-home .site-main .es-guide-kicker {
  align-self: flex-start; margin: 0; padding: 4px 8px; border-radius: 20px; background: var(--es-beige); color: #75532A;
  font-size: 11px; font-weight: 800; letter-spacing: 0.02em; text-transform: uppercase;
}
body.es-ds.es-home .site-main .es-guide-card h3 { margin: 0; font-size: 25px; }
body.es-ds.es-home .site-main .es-guide-card p:not(.es-guide-kicker) { margin: 0; font-size: 14px; line-height: 1.5; color: var(--es-cocoa); }
body.es-ds.es-home .site-main .es-guide-card a { display: inline-flex; align-items: center; align-self: flex-start; min-height: 44px; margin-top: auto; font-size: 14px; font-weight: 800; }

@media (max-width: 1060px) {
  body.es-ds.es-home .es-home-hero-media { width: 58%; }
  body.es-ds.es-home .es-intent-card { padding: 22px; }
  body.es-ds.es-home .site-main .es-intent-card a.choice { padding: 10px 14px; }
  body.es-ds.es-home .es-home-selector { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.es-ds.es-home .site-main .es-home-selector-title { grid-column: 1 / -1; }
}
@media (min-width: 769px) {
  body.es-ds.es-home .es-home-wrap { padding-left: 40px; padding-right: 40px; }
}
/* Tablet: the photo slot is narrower than the photo. Keep the copy left of the cup, keep the fade solid across the slot's left
   edge (no seam), and from 900px zoom in on the cup so it dominates and the teapot is cut by the frame, as at desktop. */
@media (min-width: 761px) and (max-width: 1060px) {
  body.es-ds.es-home .es-home-hero h1, body.es-ds.es-home .site-main .es-home-lead, body.es-ds.es-home .es-home-proof { max-width: min(560px, 50vw); }
}
@media (min-width: 1061px) and (max-width: 1350px) {
  body.es-ds.es-home .es-home-hero h1, body.es-ds.es-home .site-main .es-home-lead, body.es-ds.es-home .es-home-proof { max-width: min(540px, 46vw); }
}
@media (min-width: 761px) and (max-width: 1060px) {
  body.es-ds.es-home .es-home-hero::after {
    background: linear-gradient(90deg, #F6F0E7 0%, #F6F0E7 44%, rgba(246, 240, 231, 0.94) 54%, rgba(246, 240, 231, 0.08) 78%, rgba(246, 240, 231, 0.02) 100%);
  }
}
@media (min-width: 840px) and (max-width: 899px) {
  body.es-ds.es-home .es-home-hero-media img { transform: scale(1.2); transform-origin: 51% 61%; }
}
@media (min-width: 900px) and (max-width: 1060px) {
  body.es-ds.es-home .es-home-hero-media img { transform: scale(1.4); transform-origin: 51% 61%; }
}
/* 1061-1240px: the 65% slot shows the photo's full width, so keep the cup-centred zoom until the slot is wide enough to
   crop the teapot and the background corner on its own (as at 1440) */
@media (min-width: 1061px) and (max-width: 1240px) {
  body.es-ds.es-home .es-home-hero-media img { transform: scale(1.25); transform-origin: 51% 61%; }
}
@media (min-width: 1241px) and (max-width: 1350px) {
  body.es-ds.es-home .es-home-hero-media img { transform: scale(1.12); transform-origin: 51% 61%; }
}
@media (max-width: 768px) {
  body.es-ds.es-home .es-logo-mark { width: 34px; height: 34px; margin-right: 8px; }
}
@media (max-width: 760px) {
  body.es-ds.es-home .es-home-hero { align-items: flex-start; min-height: 500px; }
  body.es-ds.es-home .es-home-hero::after {
    background: linear-gradient(180deg, #F5EEE5 0%, rgba(245, 238, 229, 0.99) 31%, rgba(245, 238, 229, 0.9) 51%, rgba(245, 238, 229, 0.1) 100%);
  }
  body.es-ds.es-home .es-home-hero-media { inset: auto 0 0 0; width: 100%; height: 66%; }
  body.es-ds.es-home .es-home-hero-media img { object-position: 15% 50%; transform: scale(1.35); transform-origin: 61% 61%; }
  body.es-ds.es-home .site-main .es-home-hero-credit { top: auto; bottom: 20px; right: 12px; max-width: 190px; padding: 1px 7px; line-height: 1.25; text-align: right; }
  body.es-ds.es-home .site-main .es-home-hero-credit a { white-space: nowrap; }
  body.es-ds.es-home .es-home-hero-inner { padding-top: 38px; padding-bottom: 162px; }
  body.es-ds.es-home .es-home-hero h1 { font-size: 40px; }
  body.es-ds.es-home .site-main .es-home-lead { max-width: 95%; font-size: 15px; }
  body.es-ds.es-home .es-home-proof { gap: 9px 17px; margin-top: 12px; font-size: 12px; }
  body.es-ds.es-home .es-home-proof li::before { width: 16px; height: 16px; font-size: 10px; }
  body.es-ds.es-home .es-home-selector-wrap { margin-top: -13px; }
  body.es-ds.es-home .es-home-selector { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 15px; }
  body.es-ds.es-home .site-main .es-home-selector-title { font-size: 24px; }
  body.es-ds.es-home .site-main a.es-home-option { min-height: 65px; }
  body.es-ds.es-home .es-home-intent-grid, body.es-ds.es-home .es-home-guide-grid { grid-template-columns: minmax(0, 1fr); gap: 15px; }
  body.es-ds.es-home .es-home-head-split { display: block; }
  body.es-ds.es-home .site-main a.es-home-more { margin-top: 6px; }
}

/* r6: learn family, dial-in guide (ES-DESIGN-20261120-r6). Every selector below requires body.es-ds.es-learn, so the live
   pilot, the Express review, home, machines and every other page render exactly as before. Reference: learn-article.html in
   the owner package (warm photo-free hero band, starting-recipe summary, "on this page" card beside a readable column).
   No sample copy, proof points, cheat-sheet promotion, photographs or shot-log form were taken. The two original
   instructional illustrations are reused unchanged in figures; the code-native diagrams keep their geometry. No motion. */
body.es-ds.es-learn .site-main > .container { max-width: 1160px; }
body.es-ds.es-learn .es-hero h1 { font-size: clamp(32px, 3.6vw, 50px); max-width: 820px; text-wrap: balance; }
body.es-ds.es-learn .es-hero .lead { margin: 14px 0 0; max-width: 700px; }
body.es-ds.es-learn .es-learn-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 16px; font-size: 14px; }
body.es-ds.es-learn .article-section[id] { scroll-margin-top: 16px; }

/* Starting-recipe summary */
body.es-ds.es-learn .es-learn-summary {
  background: var(--es-surface); border: 1px solid var(--es-card-border); border-radius: var(--es-radius-card);
  box-shadow: var(--es-shadow); padding: 24px 26px 22px; margin: 34px 0 28px;
}
body.es-ds.es-learn .site-main .es-learn-summary > h2:first-child { margin: 0 0 10px; font-size: clamp(25px, 2.3vw, 31px); }
body.es-ds.es-learn .es-learn-summary p { font-size: 15.5px; line-height: 1.6; color: var(--es-body-text); margin: 0 0 12px; }
body.es-ds.es-learn .es-learn-summary .table-scroll { margin: 14px 0 16px; }
body.es-ds.es-learn .table-scroll > table.es-learn-recipe { min-width: 0; }
body.es-ds.es-learn .es-learn-recipe th[scope="row"] {
  background: transparent; border-top: 1px solid var(--es-border); font-size: 14px; text-align: left; vertical-align: top; white-space: nowrap;
}
body.es-ds.es-learn .es-learn-recipe tbody tr:nth-child(odd) th[scope="row"] { background: rgba(246, 242, 235, 0.5); }
body.es-ds.es-learn .es-learn-recipe tbody tr:hover th[scope="row"] { background: #F6F0E6; }
body.es-ds.es-learn .es-learn-recipe td { vertical-align: top; line-height: 1.5; font-weight: 400; }
body.es-ds.es-learn .es-learn-recipe td strong { font-weight: 700; }
body.es-ds.es-learn .es-learn-summary .es-learn-rule { background: var(--es-note); color: var(--es-note-text); border-radius: 12px; padding: 14px 18px; }
body.es-ds.es-learn .es-learn-rule strong { color: var(--es-ink); }
body.es-ds.es-learn .es-learn-summary .es-learn-tools { margin: 0; }

/* Table of contents card */
body.es-ds.es-learn .es-learn-toc {
  background: var(--es-surface); border: 1px solid var(--es-card-border); border-radius: var(--es-radius-card);
  box-shadow: var(--es-shadow); padding: 20px 22px; margin: 0 0 30px;
}
body.es-ds.es-learn .site-main .es-learn-toc > h2:first-child { margin: 0 0 8px; font-size: 21px; line-height: 1.2; color: var(--es-ink); }
body.es-ds.es-learn .es-learn-toc ul { list-style: none; margin: 0; padding: 0; }
body.es-ds.es-learn .es-learn-toc li { margin: 0; }
body.es-ds.es-learn .site-main .es-learn-toc a { display: block; padding: 7px 0; font-size: 14.5px; font-weight: 600; line-height: 1.35; }

/* Instructional figures and FAQ */
body.es-ds.es-learn .es-figure { margin: 22px 0 26px; max-width: 600px; }
body.es-ds.es-learn .es-figure img { display: block; width: 100%; height: auto; border-radius: 12px; background: var(--es-beige); }
body.es-ds.es-learn .es-figure figcaption { margin-top: 8px; font-size: 13px; line-height: 1.5; color: var(--es-cocoa); }
body.es-ds.es-learn .faq-item h4 { font-size: 19px; font-weight: 700; line-height: 1.25; margin: 0; }
body.es-ds.es-learn .faq-item p { margin: 8px 0 0; }

@media (min-width: 1000px) {
  body.es-ds.es-learn .es-learn-layout {
    display: grid; grid-template-columns: minmax(0, 1fr) 270px; grid-template-areas: "summary toc" "body toc";
    column-gap: 44px; align-items: start;
  }
  body.es-ds.es-learn .es-learn-summary { grid-area: summary; }
  body.es-ds.es-learn .es-learn-toc { grid-area: toc; position: sticky; top: 20px; margin: 34px 0 0; max-height: calc(100vh - 40px); overflow-y: auto; }
  body.es-ds.es-learn .es-learn-body { grid-area: body; min-width: 0; }
}
@media (max-width: 768px) {
  body.es-ds.es-learn .es-hero h1 { font-size: 34px; }
  body.es-ds.es-learn .es-learn-meta { flex-direction: column; align-items: flex-start; gap: 2px; }
  body.es-ds.es-learn .es-learn-meta [aria-hidden="true"] { display: none; }
  body.es-ds.es-learn .es-learn-summary { padding: 18px 16px 16px; margin-top: 26px; }
  body.es-ds.es-learn .es-learn-recipe th[scope="row"], body.es-ds.es-learn .es-learn-recipe td { padding: 10px 11px; }
  body.es-ds.es-learn .es-learn-recipe th[scope="row"] { white-space: normal; }
  body.es-ds.es-learn .es-learn-toc { padding: 16px 18px; }
}

/* r6-r2: learn hierarchy fixes from the strict original-reference review (M1-M5) plus polish P2, P4 and P6. Every selector
   still requires body.es-ds.es-learn. M1: the article's own starting numbers (18g / 36g / 1:2) as tiles above the recipe table,
   which stays as the detail layer. M2: two-column contents below 1000px; on phones a wrapped inline contents list and a stacked
   recipe table (the markup keeps explicit table roles). M3: quiet cocoa contents links, copper only on hover and focus. M4: code
   diagrams keep their drawn size on phones and scroll sideways inside a keyboard-focusable region. M5: a closing "Keep learning"
   block linking pages the article already links. P2: one-row byline on tablets. P4: diagrams and figures centred. P6 is in the
   markup (the five diagrams may render at their drawn 600px). Tokens only; no motion, images or fonts. */
body.es-ds.es-learn .es-learn-figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 16px 0 18px; padding: 0; list-style: none; }
body.es-ds.es-learn .es-learn-figures li { margin: 0; padding: 16px 8px 14px; background: var(--es-hero-band); border: 1px solid var(--es-border); border-radius: 10px; text-align: center; }
body.es-ds.es-learn .es-learn-figures strong { display: block; font: 700 30px/1.1 var(--es-font-display); letter-spacing: -0.02em; color: var(--es-ink); }
body.es-ds.es-learn .es-learn-figures span { display: block; margin-top: 5px; font-size: 12px; line-height: 1.35; color: var(--es-cocoa); }
body.es-ds.es-learn .site-main .es-learn-toc > h2:first-child { font-size: 20px; margin-bottom: 6px; }
body.es-ds.es-learn .site-main .es-learn-toc a { padding: 5px 0; font-size: 13.5px; font-weight: 400; line-height: 1.4; color: var(--es-cocoa); }
body.es-ds.es-learn .site-main .es-learn-toc a:hover, body.es-ds.es-learn .site-main .es-learn-toc a:focus-visible { color: var(--es-copper); }
body.es-ds.es-learn .es-learn-diagram { text-align: center; }
body.es-ds.es-learn .es-figure { margin-left: auto; margin-right: auto; }
body.es-ds.es-learn .es-learn-next { margin: 40px 0 0; padding: 22px 24px; border-radius: 12px; background: var(--es-note); }
body.es-ds.es-learn .site-main .es-learn-next > h2 { margin: 0 0 12px; font-size: clamp(24px, 2.4vw, 30px); }
body.es-ds.es-learn .es-learn-next ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
body.es-ds.es-learn .es-learn-next li { margin: 0; }
body.es-ds.es-learn .site-main .es-learn-next a { display: block; height: 100%; padding: 14px 16px; background: var(--es-surface); border: 1px solid var(--es-card-border); border-radius: 10px; text-decoration: none; color: var(--es-ink); }
body.es-ds.es-learn .site-main .es-learn-next a:hover { border-color: var(--es-strong-border); }
body.es-ds.es-learn .es-learn-next a strong { display: block; font: 700 18px/1.2 var(--es-font-display); color: var(--es-ink); }
body.es-ds.es-learn .site-main .es-learn-next a:hover strong { color: var(--es-copper); }
body.es-ds.es-learn .es-learn-next a span { display: block; margin-top: 4px; font-size: 13.5px; line-height: 1.45; color: var(--es-cocoa); }
@media (max-width: 999px) {
  body.es-ds.es-learn .es-learn-toc ul { columns: 2; column-gap: 28px; }
  body.es-ds.es-learn .es-learn-toc li { break-inside: avoid; }
}
@media (min-width: 601px) and (max-width: 768px) {
  body.es-ds.es-learn .es-learn-meta { flex-direction: row; gap: 4px 12px; }
  body.es-ds.es-learn .es-learn-meta [aria-hidden="true"] { display: inline; }
}
@media (max-width: 600px) {
  body.es-ds.es-learn .es-learn-figures { gap: 8px; }
  body.es-ds.es-learn .es-learn-figures li { padding: 12px 4px 10px; }
  body.es-ds.es-learn .es-learn-figures strong { font-size: 24px; }
  body.es-ds.es-learn .es-learn-recipe, body.es-ds.es-learn .es-learn-recipe tbody, body.es-ds.es-learn .es-learn-recipe tr,
  body.es-ds.es-learn .es-learn-recipe th[scope="row"], body.es-ds.es-learn .es-learn-recipe td { display: block; width: auto; }
  body.es-ds.es-learn .es-learn-recipe thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  body.es-ds.es-learn .es-learn-recipe th[scope="row"] { padding: 10px 12px 2px; border-top: 1px solid var(--es-border); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--es-cocoa); }
  body.es-ds.es-learn .es-learn-recipe td { padding: 0 12px 10px; border-top: 0; }
  body.es-ds.es-learn .es-learn-recipe tbody tr:first-child th[scope="row"] { border-top: 0; }
  body.es-ds.es-learn .es-learn-toc ul { columns: auto; }
  body.es-ds.es-learn .es-learn-toc li { display: inline; }
  body.es-ds.es-learn .site-main .es-learn-toc a { display: inline-block; padding: 4px 0; margin: 0 14px 2px 0; font-size: 13px; }
  body.es-ds.es-learn .es-learn-next { padding: 18px 16px; }
  body.es-ds.es-learn .es-learn-next ul { grid-template-columns: minmax(0, 1fr); }
  body.es-ds.es-learn .es-learn-diagram { overflow-x: auto; text-align: left; padding-bottom: 4px; }
  body.es-ds.es-learn .es-learn-diagram > svg { display: block; min-width: 600px; }
}

/* r6-r3: learning-page photographic hero (EDUCATION-HERO-HANDOFF-r6-r3). Restores the learn reference's composition with the live,
   already-credited homepage photograph (/images/home-coffee-cup-linken-van-zyl-16648743.jpg, decorative, empty alt): copy on a cream
   fade at the left, the cup on the right, rounded lower edge; on phones the copy sits above a band showing the cup. Same gradient
   geometry as the reference and the homepage, same warm photo treatment as the homepage. The hero sits inside the article column,
   so its photo and fade are full-bleed layers sized in cqw against .site-main, whose width excludes a classic scrollbar (vw would
   include it and the clip below would cut the rounded corners). .site-main clips horizontal overflow as a safety net. Its inline-size
   containment keeps the article's 60px bottom margin inside .site-main, so that margin is zeroed to keep the 60px gap above the
   footer exactly as before. Every selector requires body.es-ds.es-learn. No motion. */
body.es-ds.es-learn .site-main { overflow-x: clip; container-type: inline-size; }
body.es-ds.es-learn .site-main > .container { margin-bottom: 0 !important; }
body.es-ds.es-learn .es-hero.es-learn-hero {
  isolation: isolate; display: flex; flex-direction: column; justify-content: center; min-height: 265px; padding: 24px 0 44px;
  background: transparent; box-shadow: none; clip-path: none;
}
body.es-ds.es-learn .es-learn-hero::before {
  content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: calc(50% - 50cqw); right: calc(50% - 50cqw); border-radius: 0 0 17px 17px;
  background: linear-gradient(90deg, #F6F0E7 0%, #F6F0E7 37%, rgba(246, 240, 231, 0.94) 50%, rgba(246, 240, 231, 0.08) 74%, rgba(246, 240, 231, 0.02) 100%);
}
body.es-ds.es-learn .es-learn-hero-media {
  position: absolute; z-index: -2; top: 0; bottom: 0; right: calc(50% - 50cqw); width: 65cqw; overflow: hidden; border-radius: 0 0 17px 0; background: #E8E0D3;
}
body.es-ds.es-learn .es-learn-hero-media img {
  display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; filter: sepia(0.4) saturate(1.1);
}
body.es-ds.es-learn .es-learn-hero .es-breadcrumb, body.es-ds.es-learn .es-learn-hero h1, body.es-ds.es-learn .es-learn-hero .lead,
body.es-ds.es-learn .es-learn-hero .es-learn-meta { max-width: min(600px, 44cqw); }
/* The narrower copy column can wrap the byline; spacing replaces the decorative bullets so no line ends on a separator. */
body.es-ds.es-learn .es-learn-hero .es-learn-meta { gap: 4px 20px; }
body.es-ds.es-learn .es-learn-hero .es-learn-meta [aria-hidden="true"] { display: none; }
body.es-ds.es-learn .site-main .es-learn-hero-credit {
  position: absolute; z-index: 1; top: 12px; right: calc(50% - 50cqw + 14px); margin: 0; padding: 3px 9px; border-radius: 6px;
  background: rgba(35, 28, 25, 0.68); color: #F8F3EC; font-size: 11px; font-weight: 600; line-height: 1.5;
}
body.es-ds.es-learn .site-main .es-learn-hero-credit a { color: #FFFFFF; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
body.es-ds.es-learn .site-main .es-learn-hero-credit a:hover { color: #FFFFFF; }
body.es-ds.es-learn .site-main .es-learn-hero-credit a:focus-visible { outline-color: var(--es-focus-dark); }
@media (min-width: 761px) and (max-width: 1060px) {
  body.es-ds.es-learn .es-learn-hero::before {
    background: linear-gradient(90deg, #F6F0E7 0%, #F6F0E7 44%, rgba(246, 240, 231, 0.94) 54%, rgba(246, 240, 231, 0.08) 78%, rgba(246, 240, 231, 0.02) 100%);
  }
  body.es-ds.es-learn .es-learn-hero-media { width: 63cqw; }
  /* Near 761px the slot is taller than the photo's aspect, so the photo overflows sideways; framing it 40% from the left keeps the
     saucer's rim clear of the copy column. */
  body.es-ds.es-learn .es-learn-hero-media img { object-position: 40% 60%; }
  body.es-ds.es-learn .es-learn-hero .es-breadcrumb, body.es-ds.es-learn .es-learn-hero h1, body.es-ds.es-learn .es-learn-hero .lead,
  body.es-ds.es-learn .es-learn-hero .es-learn-meta { max-width: min(560px, 50cqw); }
  body.es-ds.es-learn .es-learn-hero .es-learn-meta [aria-hidden="true"] { display: none; }
}
/* Wide screens: the wider slot crops the saucer's base at 60%; frame lower in the photo so the whole cup and saucer show. */
@media (min-width: 1600px) {
  body.es-ds.es-learn .es-learn-hero-media img { object-position: 50% 66%; }
}
/* Phones: the copy stays on solid cream and the photograph is a band below it (the band starts under the byline), fading in
   from the cream; the credit sits at the top of the band, above the cup. --es-learn-band is the band height. */
@media (max-width: 760px) {
  body.es-ds.es-learn .es-hero.es-learn-hero {
    --es-learn-band: clamp(226px, 36cqw, 270px); justify-content: flex-start; min-height: 0; padding-bottom: calc(var(--es-learn-band) + 14px);
  }
  body.es-ds.es-learn .es-learn-hero::before {
    background: linear-gradient(180deg, #F5EEE5 0, #F5EEE5 calc(100% - var(--es-learn-band) + 10px), rgba(245, 238, 229, 0) calc(100% - var(--es-learn-band) + 64px));
  }
  body.es-ds.es-learn .es-learn-hero-media { top: auto; height: var(--es-learn-band); left: calc(50% - 50cqw); right: auto; width: 100cqw; border-radius: 0 0 17px 17px; }
  body.es-ds.es-learn .es-learn-hero-media img { object-position: 50% 66%; }
  body.es-ds.es-learn .es-learn-hero .es-breadcrumb, body.es-ds.es-learn .es-learn-hero h1, body.es-ds.es-learn .es-learn-hero .lead,
  body.es-ds.es-learn .es-learn-hero .es-learn-meta { max-width: none; }
  body.es-ds.es-learn .es-learn-hero .lead { font-size: 15px; }
  body.es-ds.es-learn .site-main .es-learn-hero-credit { top: calc(100% - var(--es-learn-band) + 10px); right: calc(50% - 50cqw + 10px); padding: 1px 7px; }
}
/* Small screens: the byline wraps as a row (no separators) instead of three stacked lines, to keep the preamble short. */
@media (max-width: 600px) {
  body.es-ds.es-learn .es-learn-hero .es-learn-meta { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 2px 16px; }
}
@media (max-width: 480px) {
  body.es-ds.es-learn .es-hero.es-learn-hero { --es-learn-band: 210px; }
  body.es-ds.es-learn .es-learn-hero .es-learn-meta { font-size: 13px; }
  body.es-ds.es-learn .es-learn-hero-media img { transform: scale(1.3); transform-origin: 51% 64%; }
}

/* best-home-r1: pictured buying guide (BEST-HOME-HANDOFF-r1). Every selector below requires body.es-ds.es-best-home, so the pilot,
   the Express review, home, machines, the learning page and every other page render exactly as before. Reference: buying-guide.html
   and its desktop/mobile screenshots in the owner package: a photo-led hero with a cream fade and rounded lower edge, a two-choice
   setup strip overlapping that edge, airy three-column pick cards with ribbons, a compact comparison, then numbered buying guidance
   beside a quiet "Our take" note. Production adaptations: the six real models in their existing order, the live homepage coffee
   photograph (decorative, credited) instead of the sample's, the licensed Barista Pro/Express photograph framed in those two cards
   only (the other four cards stay text-led), real navigation, the existing FAQ and an honest research method. The hero reuses the
   learning page's full-bleed layers sized in cqw against .site-main, so classic scrollbars never clip its corners; containment
   keeps the article's bottom margin inside .site-main, so that margin is zeroed to keep the gap above the footer. No motion. */
body.es-ds.es-best-home .site-logo, body.es-ds.es-best-home .footer-brand { display: inline-flex; align-items: center; }
body.es-ds.es-best-home .es-logo-mark { flex: none; width: 40px; height: 40px; margin-right: 9px; }
body.es-ds.es-best-home .footer-brand .es-logo-mark { width: 34px; height: 34px; }
body.es-ds.es-best-home .site-main { overflow-x: clip; container-type: inline-size; }
body.es-ds.es-best-home .site-main > .container { margin-bottom: 0 !important; }

/* Hero: copy on a cream fade at the left, the cup on the right, rounded lower edge */
body.es-ds.es-best-home .es-hero.es-bh-hero {
  isolation: isolate; display: flex; flex-direction: column; justify-content: center; min-height: 300px; padding: 26px 0 50px;
  background: transparent; box-shadow: none; clip-path: none;
}
body.es-ds.es-best-home .es-bh-hero::before {
  content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: calc(50% - 50cqw); right: calc(50% - 50cqw); border-radius: 0 0 17px 17px;
  background: linear-gradient(90deg, #F6F0E7 0%, #F6F0E7 37%, rgba(246, 240, 231, 0.94) 50%, rgba(246, 240, 231, 0.08) 74%, rgba(246, 240, 231, 0.02) 100%);
}
body.es-ds.es-best-home .es-bh-hero-media {
  position: absolute; z-index: -2; top: 0; bottom: 0; right: calc(50% - 50cqw); width: 65cqw; overflow: hidden; border-radius: 0 0 17px 0; background: #E8E0D3;
}
body.es-ds.es-best-home .es-bh-hero-media img {
  display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; filter: sepia(0.4) saturate(1.1);
}
body.es-ds.es-best-home .es-bh-hero .es-breadcrumb { margin-bottom: 10px; }
body.es-ds.es-best-home .es-bh-hero h1 { margin: 0; line-height: 1.06; text-wrap: balance; }
body.es-ds.es-best-home .es-bh-hero .lead { margin: 14px 0 0; }
body.es-ds.es-best-home .es-bh-hero .es-breadcrumb, body.es-ds.es-best-home .es-bh-hero h1, body.es-ds.es-best-home .es-bh-hero .lead,
body.es-ds.es-best-home .es-bh-proof, body.es-ds.es-best-home .site-main .es-bh-meta { max-width: min(620px, 45cqw); }
body.es-ds.es-best-home .es-bh-proof {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; margin: 20px 0 0; padding: 0; list-style: none; font-size: 13px; font-weight: 650; color: var(--es-ink);
}
body.es-ds.es-best-home .site-main .es-bh-proof li { display: inline-flex; align-items: center; margin: 0; line-height: 1.3; }
body.es-ds.es-best-home .es-bh-proof li::before {
  content: "\2713"; display: inline-grid; place-items: center; flex: none; width: 19px; height: 19px; margin-right: 8px;
  border: 1px solid var(--es-gold-ink); border-radius: 50%; color: var(--es-gold-ink); font-size: 11px; font-weight: 800; line-height: 1;
}
body.es-ds.es-best-home .site-main .es-bh-meta { display: flex; flex-wrap: wrap; gap: 2px 18px; margin: 14px 0 0; font-size: 13px; line-height: 1.5; color: var(--es-cocoa); }
body.es-ds.es-best-home .site-main .es-bh-hero-credit {
  position: absolute; z-index: 1; top: 12px; right: calc(50% - 50cqw + 14px); margin: 0; padding: 3px 9px; border-radius: 6px;
  background: rgba(35, 28, 25, 0.68); color: #F8F3EC; font-size: 11px; font-weight: 600; line-height: 1.5;
}
body.es-ds.es-best-home .site-main .es-bh-hero-credit a { color: #FFFFFF; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
body.es-ds.es-best-home .site-main .es-bh-hero-credit a:hover { color: #FFFFFF; }
body.es-ds.es-best-home .site-main .es-bh-hero-credit a:focus-visible { outline-color: var(--es-focus-dark); }

/* Setup selector: two local choices overlapping the hero's lower edge (no merchant links, no journey tracking) */
body.es-ds.es-best-home .es-bh-selector-wrap { position: relative; z-index: 2; margin-top: -18px; }
body.es-ds.es-best-home .es-bh-selector {
  display: grid; grid-template-columns: 235px minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: center;
  padding: 16px 18px 16px 22px; border-radius: 14px; background: linear-gradient(115deg, #ECE3D7, #F3EEE6);
  box-shadow: 0 7px 24px rgba(61, 42, 27, 0.06);
}
body.es-ds.es-best-home .site-main .es-bh-selector-title { margin: 0; font: 700 25px/1.05 var(--es-font-display); letter-spacing: -0.026em; color: var(--es-ink); }
body.es-ds.es-best-home .site-main a.es-bh-option {
  display: flex; align-items: center; gap: 14px; min-height: 70px; padding: 12px 19px; background: rgba(255, 255, 255, 0.8);
  border: 1px solid #C9B7A6; border-radius: 10px; color: var(--es-ink); text-decoration: none;
}
body.es-ds.es-best-home .site-main a.es-bh-option:hover, body.es-ds.es-best-home .site-main a.es-bh-option-featured { border-color: var(--es-copper); color: var(--es-ink); }
body.es-ds.es-best-home .es-bh-option-icon { flex: none; width: 32px; height: 32px; color: var(--es-copper); }
body.es-ds.es-best-home .es-bh-option-icon svg { display: block; width: 100%; height: 100%; }
body.es-ds.es-best-home .es-bh-option-text strong { display: block; font-size: 14px; line-height: 1.2; color: var(--es-ink); }
body.es-ds.es-best-home .es-bh-option-text small { display: block; margin-top: 3px; font-size: 12px; line-height: 1.35; color: var(--es-cocoa); }
body.es-ds.es-best-home .es-bh-option-arrow { margin-left: auto; font-size: 22px; line-height: 1; color: var(--es-copper); }
body.es-ds.es-best-home .site-main .disclosure-inline { margin: 22px 0 0; max-width: 860px; }

/* Sections and heads */
body.es-ds.es-best-home .es-bh-section { margin: 0; padding: 40px 0 0; }
body.es-ds.es-best-home .es-bh-section[id], body.es-ds.es-best-home .es-bh-steps li[id] { scroll-margin-top: 16px; }
body.es-ds.es-best-home .es-bh-head { margin: 0 0 20px; }
body.es-ds.es-best-home .site-main .es-bh-head h2, body.es-ds.es-best-home .site-main .es-bh-section > h2 { margin: 0; }
body.es-ds.es-best-home .site-main .es-bh-section > h2 { margin-bottom: 14px; }
body.es-ds.es-best-home .site-main .es-bh-head p { margin: 6px 0 0; font-size: 16px; line-height: 1.5; color: var(--es-cocoa); }

/* Pick cards: ribbon, a 150px media row (the licensed photo beside its credit, or three key facts on the text-led cards, so the
   model names line up across a row), model, buyer fit, three points, actions. Three columns from 1000px, two on tablets. */
body.es-ds.es-best-home .es-bh-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
body.es-ds.es-best-home .es-bh-card {
  display: flex; flex-direction: column; min-width: 0; padding: 20px; background: var(--es-surface);
  border: 1px solid var(--es-card-border); border-radius: var(--es-radius-card); box-shadow: var(--es-shadow);
}
body.es-ds.es-best-home .site-main .es-bh-ribbon {
  align-self: flex-start; margin: 0; padding: 6px 11px; border-radius: 20px; background: var(--es-ribbon); color: #FFFFFF;
  font-size: 12px; font-weight: 800; line-height: 1.2; letter-spacing: 0.02em; text-transform: uppercase;
}
body.es-ds.es-best-home .es-bh-media { min-height: 150px; margin: 16px 0 0; }
body.es-ds.es-best-home .es-bh-photo { display: grid; grid-template-columns: 112px minmax(0, 1fr); column-gap: 14px; align-items: center; }
body.es-ds.es-best-home .es-bh-photo-frame { width: 112px; height: 150px; overflow: hidden; border-radius: 12px; background: var(--es-beige); }
body.es-ds.es-best-home .es-bh-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* The 1024x768 file is served unchanged. Pro card: a 3:4 frame from the left edge keeps the whole Barista Pro (source x 50 to 580)
   and at most a sliver of the Express. Express card: framed on the Express (source x 530 to 945), which sits behind the Pro's
   steam wand; the caption names both machines and says the photo is cropped. */
body.es-ds.es-best-home .es-bh-photo-pro img { object-position: 4% 50%; }
body.es-ds.es-best-home .es-bh-photo-express img { object-position: 100% 50%; transform: scale(1.37); transform-origin: 51% 29%; }
body.es-ds.es-best-home .site-main .es-bh-photo figcaption { margin: 0; font-size: 11.5px; line-height: 1.45; color: var(--es-cocoa); }
body.es-ds.es-best-home .es-bh-facts {
  display: grid; align-content: center; gap: 9px; padding: 12px 16px; border: 1px solid var(--es-border); border-radius: 12px; background: #F6F0E7;
}
body.es-ds.es-best-home .es-bh-facts div { min-width: 0; }
body.es-ds.es-best-home .es-bh-facts dt { margin: 0; font-size: 11px; font-weight: 800; line-height: 1.3; letter-spacing: 0.08em; text-transform: uppercase; color: var(--es-cocoa); }
body.es-ds.es-best-home .es-bh-facts dd { margin: 1px 0 0; font: 700 16px/1.25 var(--es-font-display); color: var(--es-ink); }
body.es-ds.es-best-home .site-main .es-bh-card h3 { margin: 16px 0 6px; font-size: 21px; line-height: 1.12; }
body.es-ds.es-best-home .site-main .es-bh-card > p:not(.es-bh-ribbon) { margin: 0 0 10px; font-size: 14px; line-height: 1.45; color: var(--es-cocoa); }
body.es-ds.es-best-home .es-bh-benefits { margin: 2px 0 16px; padding: 0; list-style: none; }
body.es-ds.es-best-home .site-main .es-bh-benefits li { display: flex; gap: 9px; margin: 6px 0; font-size: 13.5px; line-height: 1.35; color: var(--es-ink); }
body.es-ds.es-best-home .es-bh-benefits li::before { content: "\2714"; flex: none; color: #A67829; font-weight: 900; }
body.es-ds.es-best-home .es-bh-card-actions { display: grid; gap: 6px; margin-top: auto; }
body.es-ds.es-best-home .es-bh-card-actions .cta-btn { width: 100%; white-space: normal; }
/* The review links keep their inline 16px right margin; a matching left margin keeps them centred. */
body.es-ds.es-best-home .site-main .es-bh-card-actions a.fw-semibold {
  justify-self: center; display: inline-flex; align-items: center; min-height: 44px; margin-left: 16px; font-size: 13px; font-weight: 700;
}
/* Gaggia: the linked listing was a different generation at the last check, so its action is secondary and sits under the note. */
body.es-ds.es-best-home .site-main .es-bh-listing-note {
  margin: 0 0 8px; padding: 2px 0 2px 11px; border-left: 3px solid var(--es-gold); color: var(--es-note-text); font-size: 13px; line-height: 1.45;
}
body.es-ds.es-best-home .es-bh-listing-note strong { color: var(--es-ink); }
body.es-ds.es-best-home .es-bh-card-check .es-bh-card-actions .cta-btn { background: transparent; color: var(--es-ink); border-color: #BBA99C; }
body.es-ds.es-best-home .es-bh-card-check .es-bh-card-actions .cta-btn:hover { background: #F3EBDF; color: var(--es-ink); border-color: #BBA99C; }

/* Compact comparison */
body.es-ds.es-best-home .es-bh-compare .table-scroll { margin: 0; }
/* Wide enough that phone rows stay short; the labelled region scrolls sideways, and the hint above it says so. */
body.es-ds.es-best-home .es-bh-compare .table-scroll > table { min-width: 680px; }
body.es-ds.es-best-home .es-bh-compare .comparison-table td:nth-child(2), body.es-ds.es-best-home .es-bh-compare .comparison-table td:nth-child(4) { color: var(--es-body-text); }
body.es-ds.es-best-home .es-bh-compare .comparison-table td { vertical-align: middle; }
body.es-ds.es-best-home .es-bh-compare .comparison-table td:last-child { white-space: nowrap; }
body.es-ds.es-best-home .site-main .es-bh-compare td a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }

/* Numbered guidance beside a quiet take */
body.es-ds.es-best-home .es-bh-guidance { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr); gap: 24px 34px; align-items: start; }
body.es-ds.es-best-home .es-bh-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 30px; margin: 0; padding: 0; list-style: none; }
body.es-ds.es-best-home .es-bh-steps li { margin: 0; }
body.es-ds.es-best-home .es-bh-step-num {
  display: grid; place-items: center; width: 41px; height: 41px; margin: 0 0 12px; border: 1px solid var(--es-border); border-radius: 50%;
  font-size: 18px; font-weight: 900; line-height: 1; color: #8A6122;
}
body.es-ds.es-best-home .site-main .es-bh-steps h3 { margin: 0 0 7px; font-family: var(--es-font-body); font-size: 15px; font-weight: 800; line-height: 1.3; letter-spacing: 0; }
body.es-ds.es-best-home .site-main .es-bh-steps p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--es-cocoa); }
body.es-ds.es-best-home .es-bh-take { margin-top: 8px; padding: 22px; border-radius: 12px; background: var(--es-note); }
body.es-ds.es-best-home .site-main .es-bh-take h3 { margin: 0 0 10px; font-size: 21px; }
body.es-ds.es-best-home .site-main .es-bh-take p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--es-note-text); }

/* Related reading, method and FAQ */
body.es-ds.es-best-home .es-bh-related ul { margin: 0; padding: 0 0 0 20px; }
body.es-ds.es-best-home .site-main .es-bh-related li { margin: 0 0 8px; font-size: 15.5px; line-height: 1.55; color: var(--es-body-text); }
body.es-ds.es-best-home .site-main .es-bh-method p { margin: 0 0 12px; max-width: 860px; font-size: 15.5px; line-height: 1.7; color: var(--es-body-text); }
body.es-ds.es-best-home .es-bh-faq details { border-bottom: 1px solid var(--es-border); }
body.es-ds.es-best-home .es-bh-faq details:first-of-type { border-top: 1px solid var(--es-border); }
body.es-ds.es-best-home .es-bh-faq summary {
  display: flex; align-items: center; min-height: 52px; padding: 12px 34px 12px 0; position: relative; cursor: pointer; list-style: none;
  font-family: var(--es-font-display); font-size: 19px; line-height: 1.25; color: var(--es-ink);
}
body.es-ds.es-best-home .es-bh-faq summary::-webkit-details-marker { display: none; }
body.es-ds.es-best-home .es-bh-faq summary strong { font-weight: 700; }
body.es-ds.es-best-home .es-bh-faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 8px; height: 8px; margin-top: -6px;
  border-right: 2px solid var(--es-copper); border-bottom: 2px solid var(--es-copper); transform: rotate(45deg);
}
body.es-ds.es-best-home .es-bh-faq details[open] summary::after { margin-top: -1px; transform: rotate(225deg); }
body.es-ds.es-best-home .site-main .es-bh-faq details p { margin: 0 0 18px; max-width: 860px; font-size: 15.5px; line-height: 1.7; color: var(--es-body-text); }

/* Tablet */
@media (max-width: 1060px) {
  body.es-ds.es-best-home .es-bh-selector { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.es-ds.es-best-home .site-main .es-bh-selector-title { grid-column: 1 / -1; }
  body.es-ds.es-best-home .es-bh-guidance { grid-template-columns: minmax(0, 1fr); }
  body.es-ds.es-best-home .es-bh-take { margin-top: 0; max-width: 760px; }
}
@media (min-width: 761px) and (max-width: 1060px) {
  body.es-ds.es-best-home .es-bh-hero::before {
    background: linear-gradient(90deg, #F6F0E7 0%, #F6F0E7 44%, rgba(246, 240, 231, 0.94) 54%, rgba(246, 240, 231, 0.08) 78%, rgba(246, 240, 231, 0.02) 100%);
  }
  body.es-ds.es-best-home .es-bh-hero-media { width: 63cqw; }
  /* The taller tablet hero shows nearly the whole photo. Below 840px the slot is narrow, so frame 40% from the left (as on the
     learning page) to keep the whole cup in view with either scrollbar type; from 840px align the photo's left edge and zoom
     toward the cup (as the homepage does), so the pot stays secondary and the saucer stays clear of the copy column. */
  body.es-ds.es-best-home .es-bh-hero-media img { object-position: 40% 60%; }
  body.es-ds.es-best-home .es-bh-hero .es-breadcrumb, body.es-ds.es-best-home .es-bh-hero h1, body.es-ds.es-best-home .es-bh-hero .lead,
  body.es-ds.es-best-home .es-bh-proof, body.es-ds.es-best-home .site-main .es-bh-meta { max-width: min(520px, 47cqw); }
}
@media (min-width: 840px) and (max-width: 899px) {
  body.es-ds.es-best-home .es-bh-hero-media img { object-position: 0% 60%; transform: scale(1.15); transform-origin: 70% 61%; }
}
@media (min-width: 900px) and (max-width: 1060px) {
  body.es-ds.es-best-home .es-bh-hero-media img { object-position: 0% 60%; transform: scale(1.3); transform-origin: 58% 61%; }
}
@media (min-width: 761px) and (max-width: 999px) {
  body.es-ds.es-best-home .es-bh-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
}
@media (min-width: 1061px) and (max-width: 1350px) {
  body.es-ds.es-best-home .es-bh-hero-media img { transform: scale(1.15); transform-origin: 51% 61%; }
}
@media (min-width: 1600px) {
  body.es-ds.es-best-home .es-bh-hero-media img { object-position: 50% 66%; }
}
/* Phones: the copy stays on solid cream and the photograph is a band below it showing the cup; one-column cards and steps. */
@media (max-width: 760px) {
  body.es-ds.es-best-home .es-hero.es-bh-hero {
    --es-bh-band: clamp(220px, 36cqw, 270px); justify-content: flex-start; min-height: 0; padding-bottom: calc(var(--es-bh-band) + 12px);
  }
  body.es-ds.es-best-home .es-bh-hero::before {
    background: linear-gradient(180deg, #F5EEE5 0, #F5EEE5 calc(100% - var(--es-bh-band) + 10px), rgba(245, 238, 229, 0) calc(100% - var(--es-bh-band) + 64px));
  }
  body.es-ds.es-best-home .es-bh-hero-media { top: auto; height: var(--es-bh-band); left: calc(50% - 50cqw); right: auto; width: 100cqw; border-radius: 0 0 17px 17px; }
  body.es-ds.es-best-home .es-bh-hero-media img { object-position: 50% 66%; }
  body.es-ds.es-best-home .es-bh-hero .es-breadcrumb, body.es-ds.es-best-home .es-bh-hero h1, body.es-ds.es-best-home .es-bh-hero .lead,
  body.es-ds.es-best-home .es-bh-proof, body.es-ds.es-best-home .site-main .es-bh-meta { max-width: none; }
  body.es-ds.es-best-home .es-bh-hero h1 { font-size: 40px; }
  body.es-ds.es-best-home .es-bh-hero .lead { font-size: 15px; }
  body.es-ds.es-best-home .es-bh-proof { gap: 8px 17px; margin-top: 12px; font-size: 12px; }
  body.es-ds.es-best-home .es-bh-proof li::before { width: 16px; height: 16px; font-size: 10px; }
  body.es-ds.es-best-home .site-main .es-bh-meta { margin-top: 10px; font-size: 12.5px; }
  body.es-ds.es-best-home .site-main .es-bh-hero-credit { top: calc(100% - var(--es-bh-band) + 10px); right: calc(50% - 50cqw + 10px); padding: 1px 7px; }
  body.es-ds.es-best-home .es-bh-selector-wrap { margin-top: -13px; }
  body.es-ds.es-best-home .es-bh-selector { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 15px; }
  body.es-ds.es-best-home .site-main .es-bh-selector-title { font-size: 24px; }
  body.es-ds.es-best-home .site-main a.es-bh-option { min-height: 65px; }
  body.es-ds.es-best-home .es-bh-section { padding-top: 33px; }
  body.es-ds.es-best-home .es-bh-grid { grid-template-columns: minmax(0, 1fr); gap: 15px; }
  body.es-ds.es-best-home .es-bh-steps { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  body.es-ds.es-best-home .es-bh-steps li { display: grid; grid-template-columns: 41px minmax(0, 1fr); column-gap: 12px; }
  body.es-ds.es-best-home .es-bh-step-num { grid-row: 1 / 3; margin: 0; }
  body.es-ds.es-best-home .site-main .es-bh-steps h3 { align-self: center; }
  body.es-ds.es-best-home .es-bh-faq summary { font-size: 17.5px; }
}
@media (max-width: 480px) {
  body.es-ds.es-best-home .es-hero.es-bh-hero { --es-bh-band: 210px; }
  body.es-ds.es-best-home .es-bh-hero h1 { font-size: 36px; }
  body.es-ds.es-best-home .es-bh-hero-media img { transform: scale(1.3); transform-origin: 51% 64%; }
}

/* directory-support-r1: five directories and three support pages (ES-DESIGN-20261119-r1 DIRECTORY-SUPPORT-r1). Every selector
   below requires body.es-ds.es-catalog (machines, Learn, guides, reviews, Espresso Hub) or body.es-ds.es-support (About,
   Privacy, 404), so the homepage, the pilot, the Express review, the education page, the best-home guide and every other page
   render exactly as before. The machine directory leaves the r5 .es-directory scope, so the r5 directory rules above no longer
   match anything.
   Reference: machines.html, machines-desktop.png and machines-mobile.png in the owner package (photographic coffee hero with
   a cream text fade and rounded lower edge, the cup in a band below the copy on phones, airy grouped catalog cards with a
   text cue). No sample copy, kickers, proof points, ratings or product images were taken. The hero reuses the already-credited
   homepage photograph (Pexels 16648743 by Linken Van Zyl, self-hosted, unmodified, decorative with empty alt), credited on the
   image, framed as on the best-home guide (same full-width slot geometry). Every card is the page's existing internal link;
   its "Read the ..." cue is generated text with empty alternative text, so the link's accessible name is unchanged.
   Support pages keep their wording inside a quiet cream head band and a 760px reading column; no photograph.
   No motion, imported sheets, font files, CSS image references or important flags are added. */

/* Brand mark */
body.es-ds.es-catalog .site-logo, body.es-ds.es-catalog .footer-brand,
body.es-ds.es-support .site-logo, body.es-ds.es-support .footer-brand { display: inline-flex; align-items: center; }
body.es-ds.es-catalog .es-logo-mark, body.es-ds.es-support .es-logo-mark { flex: none; width: 40px; height: 40px; margin-right: 9px; }
body.es-ds.es-catalog .footer-brand .es-logo-mark, body.es-ds.es-support .footer-brand .es-logo-mark { width: 34px; height: 34px; }

/* Catalog: shared horizontal box */
body.es-ds.es-catalog .es-cat-wrap { width: 100%; max-width: calc(var(--es-content-max) + 80px); margin: 0 auto; padding-left: 20px; padding-right: 20px; }

/* Catalog hero: photograph on the right, cream fade behind the copy, rounded lower edge */
body.es-ds.es-catalog .es-cat-hero {
  position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: 300px;
  background: #E8E0D3; border-radius: 0 0 17px 17px;
}
body.es-ds.es-catalog .es-cat-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, #F6F0E7 0%, #F6F0E7 37%, rgba(246, 240, 231, 0.94) 50%, rgba(246, 240, 231, 0.08) 74%, rgba(246, 240, 231, 0.02) 100%);
}
body.es-ds.es-catalog .es-cat-hero-media { position: absolute; z-index: -2; inset: 0 0 0 auto; width: 65%; overflow: hidden; }
body.es-ds.es-catalog .es-cat-hero-media img {
  display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 60%; filter: sepia(0.4) saturate(1.1);
}
body.es-ds.es-catalog .es-cat-hero-inner { padding-top: 34px; padding-bottom: 46px; }
body.es-ds.es-catalog .es-cat-hero .es-cat-eyebrow {
  margin: 0 0 9px; font-size: 12px; font-weight: 800; line-height: 1.5; letter-spacing: 0.12em; text-transform: uppercase; color: var(--es-copper);
}
body.es-ds.es-catalog .es-cat-hero h1 { margin: 0; line-height: 1.06; text-wrap: balance; }
body.es-ds.es-catalog .es-cat-hero .idx-intro, body.es-ds.es-catalog .es-cat-hero .es-cat-lead {
  margin: 14px 0 0; font-size: 18px; line-height: 1.52; color: var(--es-lead);
}
body.es-ds.es-catalog .es-cat-hero .es-cat-eyebrow, body.es-ds.es-catalog .es-cat-hero h1,
body.es-ds.es-catalog .es-cat-hero .idx-intro, body.es-ds.es-catalog .es-cat-hero .es-cat-lead { max-width: min(620px, 45vw); }
body.es-ds.es-catalog .es-cat-hero .es-cat-lead a { color: var(--es-copper); font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
body.es-ds.es-catalog .es-cat-hero .es-cat-lead a:hover { color: var(--es-copper-hover); }

/* Photo credit: discreet, on the image, linked to the source and to Pexels */
body.es-ds.es-catalog .es-cat-hero .es-cat-hero-credit {
  position: absolute; z-index: 1; top: 12px; right: 14px; margin: 0; padding: 3px 9px; border-radius: 6px;
  background: rgba(35, 28, 25, 0.68); color: #F8F3EC; font-size: 11px; font-weight: 600; line-height: 1.5;
}
body.es-ds.es-catalog .es-cat-hero .es-cat-hero-credit a { color: #FFFFFF; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
body.es-ds.es-catalog .es-cat-hero .es-cat-hero-credit a:hover { color: #FFFFFF; }
body.es-ds.es-catalog .es-cat-hero .es-cat-hero-credit a:focus-visible { outline-color: var(--es-focus-dark); }

/* Grouped sections */
body.es-ds.es-catalog .es-cat-group { max-width: none; margin: 44px 0 0; padding: 0; }
body.es-ds.es-catalog .es-cat-group > h2 { margin: 0 0 6px; font-size: clamp(28px, 3vw, 37px); }
body.es-ds.es-catalog .es-cat-group > p { max-width: 720px; margin: 0 0 20px; font-size: 16px; line-height: 1.6; color: var(--es-cocoa); }
body.es-ds.es-catalog .es-cat-group > h2 + .es-cat-grid { margin-top: 18px; }

/* Catalog cards: the existing internal links, airy, with a text cue at the foot */
body.es-ds.es-catalog .es-cat-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 15px; margin: 0; }
body.es-ds.es-catalog .es-cat-grid > a {
  display: flex; flex-direction: column; gap: 10px; min-height: 0; margin: 0; padding: 22px;
  background: var(--es-surface); border: 1px solid var(--es-card-border); border-radius: var(--es-radius-card); box-shadow: var(--es-shadow);
  color: var(--es-ink); text-decoration: none; overflow: visible;
}
body.es-ds.es-catalog .es-cat-grid > a:hover { border-color: var(--es-copper); color: var(--es-ink); box-shadow: var(--es-shadow); }
body.es-ds.es-catalog .es-cat-grid > a h2, body.es-ds.es-catalog .es-cat-grid > a h3 {
  margin: 0; font-family: var(--es-font-display); font-size: 23px; font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; color: var(--es-ink);
}
body.es-ds.es-catalog .es-cat-grid > a p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--es-cocoa); }
body.es-ds.es-catalog .es-cat-grid > a .post-card-body { display: flex; flex-direction: column; gap: 10px; padding: 0; }
body.es-ds.es-catalog .es-cat-grid > a .post-card-date { font-family: var(--es-font-body); font-size: 13px; font-weight: 650; line-height: 1.4; color: var(--es-cocoa); }
body.es-ds.es-catalog .es-cat-grid > a::after {
  display: block; margin-top: auto; padding-top: 6px; font-family: var(--es-font-body); font-size: 14px; font-weight: 800; line-height: 1.4;
  color: var(--es-copper); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px;
}
body.es-ds.es-catalog .es-cat-grid > a:hover::after { color: var(--es-copper-hover); }
body.es-ds.es-catalog .es-cat-body > .es-cat-grid:first-child { margin-top: 40px; }
body.es-ds.es-catalog .es-cat-cue-guide > a::after { content: "Read the guide \2192"; content: "Read the guide \2192" / ""; }
body.es-ds.es-catalog .es-cat-cue-review > a::after { content: "Read the review \2192"; content: "Read the review \2192" / ""; }
body.es-ds.es-catalog .es-cat-cue-roundup > a::after { content: "See the ranked list \2192"; content: "See the ranked list \2192" / ""; }
body.es-ds.es-catalog .es-cat-cue-compare > a::after { content: "Read the comparison \2192"; content: "Read the comparison \2192" / ""; }
body.es-ds.es-catalog .es-cat-cue-article > a::after { content: "Read the article \2192"; content: "Read the article \2192" / ""; }

/* Machine directory: machine-only or full-setup explanation */
body.es-ds.es-catalog .es-cat-routes { display: grid; grid-template-columns: minmax(0, 1fr); gap: 15px; }
body.es-ds.es-catalog .es-cat-route { padding: 20px 22px; background: var(--es-note); border: 1px solid var(--es-card-border); border-left: 3px solid var(--es-gold); border-radius: 12px; }
body.es-ds.es-catalog .es-cat-route h3 { margin: 0 0 6px; font-size: 21px; line-height: 1.15; }
body.es-ds.es-catalog .es-cat-route p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--es-note-text); }

/* Learn and Hub: subordinate notes (the Learn shopping pointer and the cheat-sheet information link) */
body.es-ds.es-catalog .es-cat-note, body.es-ds.es-catalog .hub-cta {
  max-width: 760px; margin: 44px 0 0; padding: 18px 22px; background: var(--es-note); border: 0; border-left: 3px solid var(--es-gold);
  border-radius: 12px; text-align: left; box-shadow: none;
}
body.es-ds.es-catalog .es-cat-note p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--es-note-text); }
body.es-ds.es-catalog .es-cat-note a { color: var(--es-copper); font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
body.es-ds.es-catalog .es-cat-note a:hover { color: var(--es-copper-hover); }
body.es-ds.es-catalog .hub-cta h3 { margin: 0 0 4px; font-size: 21px; line-height: 1.2; }
body.es-ds.es-catalog .hub-cta p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--es-note-text); }
body.es-ds.es-catalog .hub-cta a {
  display: inline-flex; align-items: center; min-height: 44px; margin: 2px 0 0; padding: 0; background: transparent; border: 0; border-radius: 0;
  color: var(--es-copper); font-family: var(--es-font-body); font-size: 15px; font-weight: 700; line-height: 1.3; letter-spacing: 0; text-transform: none;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px;
}
body.es-ds.es-catalog .hub-cta a:hover { background: transparent; color: var(--es-copper-hover); }

/* Disclosure */
body.es-ds.es-catalog .es-cat-disclosure, body.es-ds.es-support .es-sup-disclosure {
  width: 100%; max-width: calc(var(--es-content-max) + 80px); margin: 48px auto 0; padding: 0 20px;
}
body.es-ds.es-support .es-sup-disclosure { max-width: 840px; }
body.es-ds.es-catalog .es-cat-disclosure p, body.es-ds.es-support .es-sup-disclosure p { max-width: 760px; margin: 0; font-size: 13px; line-height: 1.6; color: var(--es-cocoa); }
body.es-ds.es-catalog .es-cat-disclosure a, body.es-ds.es-support .es-sup-disclosure a { color: var(--es-copper); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* Support pages: quiet head band, readable column */
body.es-ds.es-support .es-sup-wrap { width: 100%; max-width: 840px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
body.es-ds.es-support .es-sup-head { padding: 46px 0 42px; background: var(--es-hero-band); border-radius: 0 0 17px 17px; }
body.es-ds.es-support .es-sup-head h1 { margin: 0; font-size: clamp(36px, 3.6vw, 50px); line-height: 1.06; text-wrap: balance; }
body.es-ds.es-support .es-sup-head p { max-width: 640px; margin: 12px 0 0; font-size: 18px; line-height: 1.52; color: var(--es-lead); }
body.es-ds.es-support .es-sup-body { margin-top: 8px; }
body.es-ds.es-support .es-sup-body .article-section { margin: 0; }
body.es-ds.es-support .site-main .es-sup-body .article-section > h2 { margin: 40px 0 12px; font-size: clamp(26px, 2.4vw, 30px); line-height: 1.15; }
body.es-ds.es-support .site-main .es-sup-body h3 { margin: 24px 0 8px; font-size: 20px; line-height: 1.25; }
body.es-ds.es-support .es-sup-body p, body.es-ds.es-support .es-sup-body li { font-size: 16.5px; line-height: 1.7; color: var(--es-body-text); }
body.es-ds.es-support .es-sup-body p { margin: 0 0 14px; }
body.es-ds.es-support .es-sup-body ul { margin: 0 0 16px; padding-left: 0; }
body.es-ds.es-support .es-sup-body li strong, body.es-ds.es-support .es-sup-body p strong { color: var(--es-ink); }

/* 404: one quiet card with the existing way-out links */
body.es-ds.es-support .es-sup-error { min-height: 0; display: block; padding: 48px 20px 8px; background: transparent; border: 0; }
body.es-ds.es-support .es-sup-error .error-card {
  max-width: 640px; margin: 0 auto; padding: 40px 40px 36px; background: var(--es-surface); border: 1px solid var(--es-card-border);
  border-radius: var(--es-radius-card); box-shadow: var(--es-shadow); text-align: center;
}
body.es-ds.es-support .es-sup-error .error-code { margin: 0 0 10px; font-family: var(--es-font-display); font-size: 72px; font-weight: 700; line-height: 1; letter-spacing: -0.03em; color: var(--es-copper); }
body.es-ds.es-support .es-sup-error .error-title { margin: 0 0 12px; font-size: 36px; line-height: 1.1; }
body.es-ds.es-support .site-main .es-sup-error .error-msg { margin: 0 auto 26px; max-width: 480px; font-size: 16.5px; line-height: 1.6; color: var(--es-lead); }
body.es-ds.es-support .es-sup-error .error-links { gap: 10px; }
body.es-ds.es-support .site-main .es-sup-error a.error-link {
  display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 13px 18px; background: var(--es-paper); border: 1px solid var(--es-border);
  border-radius: 10px; color: var(--es-ink); font-size: 15.5px; font-weight: 650; line-height: 1.35; text-decoration: none;
}
body.es-ds.es-support .site-main .es-sup-error a.error-link:hover { border-color: var(--es-copper); color: var(--es-ink); }
body.es-ds.es-support .es-sup-error .error-link-arrow { margin-left: auto; color: var(--es-copper); font-weight: 800; }

/* Tablet and up */
@media (min-width: 761px) {
  body.es-ds.es-catalog .es-cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  body.es-ds.es-catalog .es-cat-grid:has(> :only-child) { grid-template-columns: minmax(0, 560px); }
  body.es-ds.es-catalog .es-cat-grid > a { min-height: 196px; }
  body.es-ds.es-catalog .es-cat-grid > a:only-child { min-height: 0; }
  body.es-ds.es-catalog .es-cat-routes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  body.es-ds.es-catalog .es-cat-group { margin-top: 52px; }
}
@media (min-width: 769px) {
  body.es-ds.es-catalog .es-cat-wrap, body.es-ds.es-catalog .es-cat-disclosure, body.es-ds.es-support .es-sup-disclosure { padding-left: 40px; padding-right: 40px; }
  body.es-ds.es-support .es-sup-wrap { padding-left: 40px; padding-right: 40px; }
}
@media (min-width: 1061px) {
  body.es-ds.es-catalog .es-cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
  body.es-ds.es-catalog .es-cat-grid:has(> :nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  body.es-ds.es-catalog .es-cat-grid:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  body.es-ds.es-catalog .es-cat-grid:has(> :only-child) { grid-template-columns: minmax(0, 560px); }
  body.es-ds.es-catalog .es-cat-grid-3, body.es-ds.es-catalog .es-cat-grid-3:has(> :nth-child(4):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.es-ds.es-catalog .es-cat-grid > a { min-height: 206px; }
  body.es-ds.es-catalog .es-cat-grid > a:only-child { min-height: 0; }
}

/* Hero framing by range (same slot geometry as the best-home guide) */
@media (min-width: 761px) and (max-width: 1060px) {
  body.es-ds.es-catalog .es-cat-hero::after {
    background: linear-gradient(90deg, #F6F0E7 0%, #F6F0E7 44%, rgba(246, 240, 231, 0.94) 54%, rgba(246, 240, 231, 0.08) 78%, rgba(246, 240, 231, 0.02) 100%);
  }
  body.es-ds.es-catalog .es-cat-hero-media { width: 63%; }
  body.es-ds.es-catalog .es-cat-hero-media img { object-position: 40% 60%; }
  body.es-ds.es-catalog .es-cat-hero .es-cat-eyebrow, body.es-ds.es-catalog .es-cat-hero h1,
  body.es-ds.es-catalog .es-cat-hero .idx-intro, body.es-ds.es-catalog .es-cat-hero .es-cat-lead { max-width: min(520px, 47vw); }
}
/* Below 900px the copy column narrows so the zoomed cup stays clear of it with either scrollbar type; from 900px the zoom is
   anchored left of the cup so the cup moves right, away from the copy. */
@media (min-width: 761px) and (max-width: 899px) {
  body.es-ds.es-catalog .es-cat-hero .es-cat-eyebrow, body.es-ds.es-catalog .es-cat-hero h1,
  body.es-ds.es-catalog .es-cat-hero .idx-intro, body.es-ds.es-catalog .es-cat-hero .es-cat-lead { max-width: min(480px, 45vw); }
}
@media (min-width: 761px) and (max-width: 839px) {
  body.es-ds.es-catalog .es-cat-hero-media img { transform: scale(1.15); transform-origin: 51% 60%; }
}
@media (min-width: 840px) and (max-width: 899px) {
  body.es-ds.es-catalog .es-cat-hero-media img { object-position: 0% 60%; transform: scale(1.15); transform-origin: 70% 61%; }
}
@media (min-width: 900px) and (max-width: 1060px) {
  body.es-ds.es-catalog .es-cat-hero .es-cat-eyebrow, body.es-ds.es-catalog .es-cat-hero h1,
  body.es-ds.es-catalog .es-cat-hero .idx-intro, body.es-ds.es-catalog .es-cat-hero .es-cat-lead { max-width: min(500px, 46vw); }
  body.es-ds.es-catalog .es-cat-hero-media img { object-position: 0% 60%; transform: scale(1.3); transform-origin: 40% 61%; }
}
@media (min-width: 1061px) and (max-width: 1350px) {
  body.es-ds.es-catalog .es-cat-hero-media img { transform: scale(1.15); transform-origin: 51% 61%; }
}
/* Wide screens: a slightly taller hero keeps the whole cup in the wider slot, below the credit. */
@media (min-width: 1500px) {
  body.es-ds.es-catalog .es-cat-hero { min-height: 340px; }
  body.es-ds.es-catalog .es-cat-hero-media img { object-position: 50% 62%; }
}
@media (max-width: 768px) {
  body.es-ds.es-catalog .es-logo-mark, body.es-ds.es-support .es-logo-mark { width: 34px; height: 34px; margin-right: 8px; }
}

/* Phones: the copy stays on solid cream and the photograph is a band below it showing the cup; one-column cards */
@media (max-width: 760px) {
  body.es-ds.es-catalog .es-cat-hero {
    --es-cat-band: clamp(220px, 36vw, 270px); display: block; min-height: 0; padding-bottom: calc(var(--es-cat-band) + 12px);
  }
  body.es-ds.es-catalog .es-cat-hero::after {
    background: linear-gradient(180deg, #F5EEE5 0, #F5EEE5 calc(100% - var(--es-cat-band) + 10px), rgba(245, 238, 229, 0) calc(100% - var(--es-cat-band) + 64px));
  }
  body.es-ds.es-catalog .es-cat-hero-media { inset: auto 0 0 0; width: 100%; height: var(--es-cat-band); }
  body.es-ds.es-catalog .es-cat-hero-media img { object-position: 50% 66%; }
  body.es-ds.es-catalog .es-cat-hero-inner { padding-top: 30px; padding-bottom: 0; }
  body.es-ds.es-catalog .es-cat-hero .es-cat-eyebrow, body.es-ds.es-catalog .es-cat-hero h1,
  body.es-ds.es-catalog .es-cat-hero .idx-intro, body.es-ds.es-catalog .es-cat-hero .es-cat-lead { max-width: none; }
  body.es-ds.es-catalog .es-cat-hero h1 { font-size: 40px; }
  body.es-ds.es-catalog .es-cat-hero .idx-intro, body.es-ds.es-catalog .es-cat-hero .es-cat-lead { font-size: 15.5px; }
  body.es-ds.es-catalog .es-cat-hero .es-cat-hero-credit { top: calc(100% - var(--es-cat-band) + 10px); right: 10px; padding: 1px 7px; }
  body.es-ds.es-catalog .es-cat-group { margin-top: 40px; }
  body.es-ds.es-catalog .es-cat-body > .es-cat-grid:first-child { margin-top: 32px; }
  body.es-ds.es-catalog .es-cat-group > p { font-size: 15px; }
  body.es-ds.es-catalog .es-cat-grid > a { padding: 20px; }
  body.es-ds.es-catalog .es-cat-grid > a h2, body.es-ds.es-catalog .es-cat-grid > a h3 { font-size: 22px; }
  body.es-ds.es-support .es-sup-head { padding: 34px 0 32px; }
  body.es-ds.es-support .es-sup-head h1 { font-size: 36px; }
  body.es-ds.es-support .es-sup-head p { font-size: 16px; }
  body.es-ds.es-support .es-sup-error { padding: 32px 16px 0; }
  body.es-ds.es-support .es-sup-error .error-card { padding: 30px 20px 24px; }
  body.es-ds.es-support .es-sup-error .error-code { font-size: 60px; }
  body.es-ds.es-support .es-sup-error .error-title { font-size: 30px; }
}
@media (max-width: 480px) {
  body.es-ds.es-catalog .es-cat-hero { --es-cat-band: 210px; }
  body.es-ds.es-catalog .es-cat-hero h1 { font-size: 36px; }
  body.es-ds.es-catalog .es-cat-hero-media img { transform: scale(1.3); transform-origin: 51% 64%; }
}

/* learning-help-r1: the free course path, the unavailable Pocket Guide and the after-checkout help page (ES-DESIGN-20261119-r1
   LEARNING-HELP-r1). Every selector below requires the new body opt-in body.es-ds.es-lh, which only these three pages carry.
   The course and Pocket pages combine it with the accepted es-catalog family, so they reuse its photographic hero (live homepage
   coffee photo, cream fade, rounded edge, phone cup band, credit on the image) and wrap; the checkout-help page combines it with
   the accepted es-support family, so it reuses the quiet head band and reading column. Rules here only add what those pages need:
   a prominent availability notice before the alternatives, airy ordered learning cards, whole-link alternative cards with a
   generated cue whose alternative text is empty (link names unchanged), a short guidance note, and readable help steps with a
   clearly separate help route. No celebratory mark, status badge or download control. No motion, imported sheets, font files,
   CSS image references or important flags are added. */

/* Shared: body wrap and the two-tone heading kept from the original page */
body.es-ds.es-lh .es-lh-body { padding-top: 40px; }
body.es-ds.es-lh .es-cat-hero h1 span { color: var(--es-copper); }

/* Availability notice: prominent, first after the hero */
body.es-ds.es-lh .es-lh-notice {
  max-width: 820px; margin: 0; padding: 20px 24px; background: var(--es-note); border: 1px solid var(--es-card-border);
  border-left: 4px solid var(--es-copper); border-radius: 12px; box-shadow: none;
}
body.es-ds.es-lh .site-main .es-lh-notice .notice-title {
  margin: 0 0 8px; font-family: var(--es-font-display); font-size: 23px; font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; color: var(--es-ink);
}
body.es-ds.es-lh .site-main .es-lh-notice p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--es-note-text); }
body.es-ds.es-lh .site-main .es-lh-notice p.notice-title { margin-bottom: 8px; color: var(--es-ink); }

/* Section heads */
body.es-ds.es-lh .site-main .es-lh-path > h2, body.es-ds.es-lh .site-main .es-lh-group > h2 {
  margin: 52px 0 18px; font-size: clamp(28px, 3vw, 37px); line-height: 1.08;
}

/* Course: seven ordered learning cards (the existing list items; text and links unchanged) */
body.es-ds.es-lh .es-lh-steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 15px; margin: 0; padding: 0; list-style: none; }
body.es-ds.es-lh .site-main .es-lh-steps li {
  display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 22px; background: var(--es-surface);
  border: 1px solid var(--es-card-border); border-radius: var(--es-radius-card); box-shadow: var(--es-shadow);
  font-family: var(--es-font-display); font-size: 20px; font-weight: 700; line-height: 1.25; letter-spacing: -0.015em; color: var(--es-ink);
}
body.es-ds.es-lh .es-lh-steps .lesson-day {
  display: inline-block; align-self: flex-start; padding: 4px 9px; border-radius: 20px; background: var(--es-beige); color: #75532A;
  font-family: var(--es-font-body); font-size: 11px; font-weight: 800; line-height: 1.3; letter-spacing: 0.06em; text-transform: uppercase;
}
body.es-ds.es-lh .site-main .es-lh-steps a {
  display: block; margin-top: auto; padding-top: 4px; font-family: var(--es-font-body); font-size: 15px; font-weight: 700; line-height: 1.45;
  letter-spacing: 0; color: var(--es-copper); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px;
}
body.es-ds.es-lh .site-main .es-lh-steps a::after { content: " \2192"; content: " \2192" / ""; }
body.es-ds.es-lh .site-main .es-lh-steps a:hover { color: var(--es-copper-hover); }

/* Closing pointer */
body.es-ds.es-lh .site-main .es-lh-closing { max-width: 760px; margin: 40px 0 0; font-size: 16px; line-height: 1.6; color: var(--es-lead); }
body.es-ds.es-lh .site-main .es-lh-closing a { color: var(--es-copper); font-weight: 700; }

/* Pocket Guide: the six free alternatives as whole-link cards (hrefs, order and link text from the page) */
body.es-ds.es-lh .es-lh-links { display: grid; grid-template-columns: minmax(0, 1fr); gap: 15px; margin: 0; padding: 0; list-style: none; }
body.es-ds.es-lh .es-lh-links li { margin: 0; padding: 0; border: 0; }
body.es-ds.es-lh .site-main .es-lh-links a {
  display: flex; flex-direction: column; gap: 12px; height: 100%; min-height: 118px; padding: 22px; background: var(--es-surface);
  border: 1px solid var(--es-card-border); border-radius: var(--es-radius-card); box-shadow: var(--es-shadow); color: var(--es-ink); text-decoration: none;
  font-family: var(--es-font-display); font-size: 21px; font-weight: 700; line-height: 1.2; letter-spacing: -0.015em;
}
body.es-ds.es-lh .site-main .es-lh-links a:hover { border-color: var(--es-copper); color: var(--es-ink); }
body.es-ds.es-lh .site-main .es-lh-links a::after {
  content: "Read the guide \2192"; content: "Read the guide \2192" / ""; display: block; margin-top: auto; font-family: var(--es-font-body); font-size: 14px;
  font-weight: 800; line-height: 1.4; letter-spacing: 0; color: var(--es-copper); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px;
}
body.es-ds.es-lh .site-main .es-lh-links a[href^="/tools/"]::after { content: "Use the tool \2192"; content: "Use the tool \2192" / ""; }
body.es-ds.es-lh .site-main .es-lh-links a:hover::after { color: var(--es-copper-hover); }

/* Pocket Guide: short conditional guidance */
body.es-ds.es-lh .es-lh-guidance {
  max-width: 820px; margin: 44px 0 0; padding: 20px 24px; background: var(--es-note); border: 0; border-left: 3px solid var(--es-gold); border-radius: 12px;
}
body.es-ds.es-lh .site-main .es-lh-guidance h2 { margin: 0 0 8px; font-size: 22px; line-height: 1.2; }
body.es-ds.es-lh .site-main .es-lh-guidance p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--es-note-text); }

/* Checkout help: readable steps, a quiet caveat and a clearly separate help route */
body.es-ds.es-lh .es-lh-help { padding-top: 36px; }
body.es-ds.es-lh .es-lh-panel {
  padding: 24px 26px 22px; background: var(--es-surface); border: 1px solid var(--es-card-border); border-radius: var(--es-radius-card); box-shadow: var(--es-shadow);
}
body.es-ds.es-lh .site-main .es-lh-help h2 { margin: 0 0 14px; font-size: 25px; line-height: 1.15; }
body.es-ds.es-lh .es-lh-steps-list { margin: 0; padding: 0; list-style: none; counter-reset: lh-step; }
body.es-ds.es-lh .site-main .es-lh-steps-list li {
  position: relative; margin: 0 0 12px; padding-left: 44px; min-height: 30px; font-size: 16.5px; line-height: 1.6; color: var(--es-body-text); counter-increment: lh-step;
}
body.es-ds.es-lh .es-lh-steps-list li::before {
  content: counter(lh-step); content: counter(lh-step) / ""; position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 30px; height: 30px;
  border: 1px solid var(--es-strong-border); border-radius: 50%; background: var(--es-paper); color: var(--es-ink);
  font-family: var(--es-font-body); font-size: 14px; font-weight: 800; line-height: 1;
}
body.es-ds.es-lh .site-main .es-lh-caveat {
  margin: 16px 0 0; padding: 12px 16px; background: var(--es-note); border-radius: 10px; font-size: 15.5px; line-height: 1.55; color: var(--es-note-text);
}
body.es-ds.es-lh .es-lh-route {
  margin: 24px 0 0; padding: 22px 26px; background: var(--es-surface); border: 1px solid var(--es-card-border); border-left: 4px solid var(--es-gold); border-radius: 12px;
}
body.es-ds.es-lh .site-main .es-lh-route h2 { margin: 0 0 8px; font-size: 22px; line-height: 1.2; }
body.es-ds.es-lh .site-main .es-lh-route p { margin: 0; font-size: 16.5px; line-height: 1.6; color: var(--es-body-text); }
body.es-ds.es-lh .site-main .es-lh-route a, body.es-ds.es-lh .site-main .es-lh-help .es-lh-closing a { color: var(--es-copper); font-weight: 700; word-break: break-word; }
body.es-ds.es-lh .site-main .es-lh-help .es-lh-closing { margin: 28px 0 0; font-size: 16px; line-height: 1.6; color: var(--es-lead); }

/* Tablet and up */
@media (min-width: 761px) {
  body.es-ds.es-lh .es-lh-steps, body.es-ds.es-lh .es-lh-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  body.es-ds.es-lh .site-main .es-lh-steps li { min-height: 190px; }
}
@media (min-width: 1061px) {
  body.es-ds.es-lh .es-lh-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  body.es-ds.es-lh .es-lh-links { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
}

/* Phones */
@media (max-width: 760px) {
  body.es-ds.es-lh .es-lh-body { padding-top: 32px; }
  body.es-ds.es-lh .es-lh-notice { padding: 18px 18px; }
  body.es-ds.es-lh .site-main .es-lh-notice .notice-title { font-size: 21px; }
  body.es-ds.es-lh .site-main .es-lh-path > h2, body.es-ds.es-lh .site-main .es-lh-group > h2 { margin-top: 40px; }
  body.es-ds.es-lh .site-main .es-lh-steps li { padding: 20px; font-size: 19px; }
  body.es-ds.es-lh .site-main .es-lh-links a { min-height: 0; padding: 20px; font-size: 20px; }
  body.es-ds.es-lh .es-lh-guidance { padding: 18px; }
  body.es-ds.es-lh .es-lh-help { padding-top: 28px; }
  body.es-ds.es-lh .es-lh-panel { padding: 20px 18px; }
  body.es-ds.es-lh .site-main .es-lh-help h2 { font-size: 23px; }
  body.es-ds.es-lh .es-lh-route { padding: 18px; }
}

/* tools-r1: the brew ratio calculator and the grind dial-in tool as working utilities (ES-DESIGN-20261119-r1 TOOLS-r1). Every
   selector below requires body.es-ds.es-tools, so the homepage, the pilot and every other adopted or unadopted page render
   exactly as before. Reference: learn-article.html and its desktop/mobile captures (cream-faded photographic head, serif
   headings, formula tiles for the recipe numbers, quiet cream notes for advice). A compact head reuses the already-credited
   homepage photograph (Pexels 16648743 by Linken Van Zyl, self-hosted, unmodified, decorative with empty alt) with the same
   sepia treatment as the catalog head, so the first control stays in the first phone screen. Calculated numbers sit in
   tiles, the time reference is marked as a reference, advice sits in notes and optional equipment in plain text rows with
   text links. Visibility of results, mode panels and the basket row stays with the existing classes and inline display
   values; nothing here sets display on those elements. No motion, imported sheets, font files, CSS image references or
   important flags are added. */

/* The generated diagnostic markup colours its links with the legacy var(--copper) inline; point it at the reference copper */
body.es-ds.es-tools { --copper: var(--es-copper); }

/* Brand mark */
body.es-ds.es-tools .site-logo, body.es-ds.es-tools .footer-brand { display: inline-flex; align-items: center; }
body.es-ds.es-tools .es-logo-mark { flex: none; width: 40px; height: 40px; margin-right: 9px; }
body.es-ds.es-tools .footer-brand .es-logo-mark { width: 34px; height: 34px; }

/* Compact head: photograph on the right, cream fade behind the copy, rounded lower edge */
body.es-ds.es-tools .es-tool-hero {
  position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: 236px;
  background: #E8E0D3; border-radius: 0 0 17px 17px;
}
body.es-ds.es-tools .es-tool-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, #F6F0E7 0%, #F6F0E7 46%, rgba(246, 240, 231, 0.94) 57%, rgba(246, 240, 231, 0.08) 79%, rgba(246, 240, 231, 0.02) 100%);
}
body.es-ds.es-tools .es-tool-hero-media { position: absolute; z-index: -2; inset: 0 0 0 auto; width: 56%; overflow: hidden; }
body.es-ds.es-tools .es-tool-hero-media img {
  display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 68%; filter: sepia(0.4) saturate(1.1);
}
body.es-ds.es-tools .es-tool-hero-inner { width: 100%; max-width: 960px; margin: 0 auto; padding: 30px 40px 34px; }
body.es-ds.es-tools .es-tool-hero .es-tool-eyebrow {
  margin: 0 0 9px; font-size: 12px; font-weight: 800; line-height: 1.5; letter-spacing: 0.12em; text-transform: uppercase; color: var(--es-copper);
}
body.es-ds.es-tools .es-tool-hero h1 { margin: 0; font-size: clamp(36px, 3.7vw, 52px); line-height: 1.06; text-wrap: balance; }
body.es-ds.es-tools .es-tool-hero .es-tool-lead { margin: 12px 0 0; font-size: 17px; line-height: 1.52; color: var(--es-lead); }
body.es-ds.es-tools .es-tool-hero .es-tool-eyebrow, body.es-ds.es-tools .es-tool-hero h1,
body.es-ds.es-tools .es-tool-hero .es-tool-lead { max-width: min(540px, calc(57vw - max(40px, 50vw - 440px))); }

/* Photo credit: discreet, on the image, linked to the source and to Pexels */
body.es-ds.es-tools .es-tool-hero .es-tool-hero-credit {
  position: absolute; z-index: 1; top: 12px; right: 14px; margin: 0; padding: 3px 9px; border-radius: 6px;
  background: rgba(35, 28, 25, 0.68); color: #F8F3EC; font-size: 11px; font-weight: 600; line-height: 1.5;
}
body.es-ds.es-tools .es-tool-hero .es-tool-hero-credit a { color: #FFFFFF; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
body.es-ds.es-tools .es-tool-hero .es-tool-hero-credit a:hover { color: #FFFFFF; }
body.es-ds.es-tools .es-tool-hero .es-tool-hero-credit a:focus-visible { outline-color: var(--es-focus-dark); }

/* Working column */
body.es-ds.es-tools .es-tool-wrap { width: 100%; max-width: 960px; margin: 0 auto; padding: 28px 40px 8px; }
body.es-ds.es-tools .tool-card {
  background: var(--es-surface); border: 1px solid var(--es-card-border); border-radius: var(--es-radius-card); box-shadow: var(--es-shadow);
  padding: 28px 32px 30px; margin: 0 0 22px;
}
body.es-ds.es-tools .site-main .tool-card h2 { margin: 0 0 8px; padding: 0; border: 0; font-size: 30px; line-height: 1.12; }
body.es-ds.es-tools .tool-card p { color: var(--es-body-text); }
body.es-ds.es-tools .tool-card .es-tool-hint { margin: 8px 0 0; font-size: 14px; line-height: 1.5; color: var(--es-cocoa); }

/* Calculator inputs */
body.es-ds.es-tools .form-group { margin: 0 0 20px; }
body.es-ds.es-tools .form-group label {
  display: block; margin: 0 0 8px; font-family: var(--es-font-body); font-size: 15px; font-weight: 750; line-height: 1.35;
  text-transform: none; letter-spacing: 0; color: var(--es-ink);
}
body.es-ds.es-tools .form-group select, body.es-ds.es-tools .form-group input#coffeeIn {
  min-height: 50px; padding: 11px 14px; background-color: #FFFFFF; border: 1px solid #9C8A7E; border-radius: var(--es-radius-button);
  font-family: var(--es-font-body); font-size: 16px; color: var(--es-ink);
}
body.es-ds.es-tools .form-group input#coffeeIn:user-invalid { border: 2px solid var(--es-gold-ink); padding: 10px 13px; }

/* Result and analyze buttons */
body.es-ds.es-tools .calc-button, body.es-ds.es-tools .analyze-btn {
  display: block; width: 100%; max-width: 340px; min-height: 52px; margin: 6px 0 0; padding: 14px 22px;
  background: var(--es-copper); color: #FFFFFF; border: 2px solid transparent; border-radius: var(--es-radius-button);
  font-family: var(--es-font-body); font-size: 16px; font-weight: 800; line-height: 1.2; text-transform: none; letter-spacing: 0;
}
body.es-ds.es-tools .calc-button:hover, body.es-ds.es-tools .analyze-btn:hover { background: var(--es-copper-hover); color: #FFFFFF; }
body.es-ds.es-tools .analyze-btn { margin-top: 26px; }
body.es-ds.es-tools .analyze-btn:disabled, body.es-ds.es-tools .analyze-btn:disabled:hover {
  background: var(--es-beige); color: var(--es-cocoa); border: 2px dashed var(--es-strong-border); cursor: not-allowed;
}
body.es-ds.es-tools .tool-card .es-tool-analyze-hint { margin-top: 10px; }

/* Calculator result: the numbers in tiles, the time as a marked reference, advice in a note */
body.es-ds.es-tools.page-brew-ratio .results {
  background: var(--es-surface); border: 1px solid var(--es-card-border); border-top: 4px solid var(--es-copper);
  border-radius: var(--es-radius-card); box-shadow: var(--es-shadow); padding: 24px 32px 28px; margin: 0 0 22px;
}
body.es-ds.es-tools .site-main .results h2 { margin-top: 0; font-size: 30px; line-height: 1.12; }
body.es-ds.es-tools .es-tool-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
body.es-ds.es-tools .es-tool-stats .result-row {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 4px; min-width: 0;
  padding: 16px 10px 15px; background: #EFE7DA; border: 1px solid var(--es-border); border-radius: 10px; text-align: center;
}
body.es-ds.es-tools .es-tool-stats .result-value {
  order: -1; font-family: var(--es-font-display); font-size: 32px; font-weight: 700; line-height: 1.1; color: var(--es-ink); overflow-wrap: anywhere;
}
body.es-ds.es-tools .es-tool-stats .result-label {
  font-family: var(--es-font-body); font-size: 13px; font-weight: 750; line-height: 1.35; text-transform: none; letter-spacing: 0; color: var(--es-cocoa);
}
body.es-ds.es-tools .es-tool-stats .es-tool-reference { background: transparent; border: 1px dashed var(--es-strong-border); }
body.es-ds.es-tools .es-tool-stats .es-tool-reference .result-value { font-size: 26px; color: var(--es-lead); }
body.es-ds.es-tools .es-tool-note { font-size: 12px; line-height: 1.35; color: var(--es-cocoa); }
body.es-ds.es-tools .info-box {
  margin: 18px 0 0; padding: 18px 22px; background: var(--es-note); color: var(--es-note-text); border: 0; border-radius: 12px;
  font-family: var(--es-font-body); font-size: 15px; line-height: 1.75;
}
body.es-ds.es-tools .info-box strong { color: var(--es-ink); }

/* Optional equipment: plain rows with text links, after the numbers and the advice */
body.es-ds.es-tools .es-tool-optional-title { margin: 28px 0 0; font-size: 22px; line-height: 1.2; }
body.es-ds.es-tools #recommendations .recommendation {
  margin: 10px 0 0; padding: 15px 20px 14px; background: var(--es-paper); border: 1px solid var(--es-border); border-radius: 12px;
}
body.es-ds.es-tools .recommendation h4 { margin: 0 0 6px; font-size: 19px; font-weight: 700; line-height: 1.2; }
body.es-ds.es-tools .recommendation p { margin: 0 0 4px; font-family: var(--es-font-body); font-size: 15px; line-height: 1.6; color: var(--es-body-text); }
body.es-ds.es-tools .recommendation a, body.es-ds.es-tools .grinder-card .cta {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0; background: transparent; color: var(--es-copper); border: 0; border-radius: 0;
  font-family: var(--es-font-body); font-size: 15px; font-weight: 750; line-height: 1.3; text-align: left; text-transform: none; letter-spacing: 0;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px;
}
body.es-ds.es-tools .recommendation a:hover, body.es-ds.es-tools .grinder-card .cta:hover { background: transparent; color: var(--es-copper-hover); }

/* Calculator explanation */
body.es-ds.es-tools .site-main .divider-top > h2 { margin-top: 0; }

/* Diagnostic questions */
body.es-ds.es-tools .tool-card .section-subtitle { margin: 0 0 22px; font-size: 15.5px; line-height: 1.6; color: var(--es-lead); }
body.es-ds.es-tools .question-group { margin: 0; padding: 18px 0 20px; border-top: 1px solid var(--es-border); }
body.es-ds.es-tools .question-label {
  display: block; margin: 0 0 12px; font-family: var(--es-font-display); font-size: 20px; font-weight: 700; line-height: 1.25;
  text-transform: none; letter-spacing: -0.01em; color: var(--es-ink);
}
body.es-ds.es-tools .option-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
body.es-ds.es-tools .option-btn {
  position: relative; display: block; width: 100%; min-height: 64px; margin: 0; padding: 13px 38px 13px 15px;
  background: #FFFFFF; border: 2px solid #9C8A7E; border-radius: 10px; color: var(--es-ink); text-align: left;
  font-family: var(--es-font-body); font-size: 15px; font-weight: 400; line-height: 1.35; cursor: pointer;
}
body.es-ds.es-tools .option-btn strong { display: block; margin: 0 0 3px; font-size: 15.5px; font-weight: 750; color: var(--es-ink); }
body.es-ds.es-tools .option-btn span { display: block; font-size: 13.5px; line-height: 1.4; color: var(--es-cocoa); }
body.es-ds.es-tools .option-btn:hover { background: #FBF7F1; border-color: #7E6C60; }
body.es-ds.es-tools .option-btn.selected, body.es-ds.es-tools .option-btn[aria-pressed="true"] { background: #F7ECE4; border-color: var(--es-copper); }
body.es-ds.es-tools .option-btn.selected::after {
  content: "\2713"; content: "\2713" / ""; position: absolute; top: 12px; right: 11px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--es-copper); color: #FFFFFF; font-size: 12px; font-weight: 800; line-height: 20px; text-align: center;
}

/* Diagnostic result: possible explanation in a note, steps in plain sections, optional grinders as text rows */
body.es-ds.es-tools .tool-card.results { border-top: 4px solid var(--es-copper); }
body.es-ds.es-tools #diagnosisContent .diagnosis { margin: 0 0 16px; padding: 18px 22px 20px; background: var(--es-note); border: 0; border-radius: 12px; }
body.es-ds.es-tools .diagnosis h3 { margin: 0 0 8px; font-size: 26px; line-height: 1.15; color: var(--es-ink); }
body.es-ds.es-tools .diagnosis p { margin: 0; font-size: 16px; line-height: 1.65; color: var(--es-note-text); }
body.es-ds.es-tools #diagnosisContent .fix-section { margin: 0 0 14px; padding: 16px 22px 14px; background: transparent; border: 1px solid var(--es-border); border-radius: 12px; }
body.es-ds.es-tools .fix-section h4 { margin: 0 0 6px; font-size: 20px; font-weight: 700; line-height: 1.2; color: var(--es-ink); }
body.es-ds.es-tools .fix-section p { margin: 0; line-height: 1.6; }
body.es-ds.es-tools .fix-list li { padding: 7px 0 7px 26px; font-size: 15.5px; line-height: 1.6; color: var(--es-body-text); }
body.es-ds.es-tools .grinder-recs { margin: 22px 0 0; padding: 20px 22px 18px; background: var(--es-paper); border: 1px solid var(--es-border); border-radius: 12px; }
body.es-ds.es-tools .grinder-recs h3 { margin: 0 0 8px; font-size: 21px; line-height: 1.2; color: var(--es-ink); }
body.es-ds.es-tools .grinder-recs p { line-height: 1.6; }
body.es-ds.es-tools .grinder-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin: 14px 0 0; }
body.es-ds.es-tools .grinder-card {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 18px; padding: 11px 16px;
  background: #FFFFFF; border: 1px solid var(--es-border); border-radius: 10px; text-align: left;
}
body.es-ds.es-tools .grinder-card:hover { box-shadow: none; }
body.es-ds.es-tools .grinder-card h4 { grid-column: 1; margin: 0; font-size: 18px; font-weight: 700; line-height: 1.25; }
body.es-ds.es-tools .grinder-card .features { grid-column: 1; margin: 2px 0 0; font-size: 14px; line-height: 1.45; color: var(--es-cocoa); }
body.es-ds.es-tools .grinder-card .cta { grid-column: 2; grid-row: 1 / span 2; justify-self: end; }
body.es-ds.es-tools .reset-btn {
  display: block; min-height: 48px; margin: 22px 0 0; padding: 11px 20px; background: transparent; color: var(--es-ink);
  border: 2px solid #9C8A7E; border-radius: var(--es-radius-button); font-family: var(--es-font-body); font-size: 15px; font-weight: 750;
}
body.es-ds.es-tools .reset-btn:hover { background: #F3EBDF; color: var(--es-ink); border-color: #7E6C60; }

/* Disclosure */
body.es-ds.es-tools .es-tool-disclosure { width: 100%; max-width: 960px; margin: 30px auto 0; padding: 0 40px; }
body.es-ds.es-tools .es-tool-disclosure p { max-width: 760px; margin: 0; font-size: 13px; line-height: 1.6; color: var(--es-cocoa); }

/* Head framing by range: a little more cup where the photo slot is narrow, a taller head on very wide screens so the credit
   stays clear of the cup */
@media (min-width: 761px) and (max-width: 899px) {
  body.es-ds.es-tools .es-tool-hero-media img { transform: scale(1.2); transform-origin: 51% 60%; }
}
@media (min-width: 1500px) {
  body.es-ds.es-tools .es-tool-hero { min-height: 340px; }
  body.es-ds.es-tools .es-tool-hero-media img { object-position: 50% 64%; }
}
@media (max-width: 768px) {
  body.es-ds.es-tools .es-logo-mark { width: 34px; height: 34px; margin-right: 8px; }
}

/* Phones: copy on solid cream, the cup in a short band below it, then one column: input, result, next action */
@media (max-width: 760px) {
  body.es-ds.es-tools .es-tool-hero { --es-tool-band: clamp(152px, 39vw, 250px); display: block; min-height: 0; padding-bottom: var(--es-tool-band); }
  body.es-ds.es-tools .es-tool-hero::after {
    background: linear-gradient(180deg, #F5EEE5 0, #F5EEE5 calc(100% - var(--es-tool-band)), rgba(245, 238, 229, 0) calc(100% - var(--es-tool-band) + 30px));
  }
  body.es-ds.es-tools .es-tool-hero-media { inset: auto 0 0 0; width: 100%; height: var(--es-tool-band); }
  body.es-ds.es-tools .es-tool-hero-media img { object-position: 50% 65%; }
  body.es-ds.es-tools .es-tool-hero-inner { padding: 22px 18px 18px; }
  body.es-ds.es-tools .es-tool-hero .es-tool-eyebrow, body.es-ds.es-tools .es-tool-hero h1,
  body.es-ds.es-tools .es-tool-hero .es-tool-lead { max-width: none; }
  body.es-ds.es-tools .es-tool-hero h1 { font-size: 34px; }
  body.es-ds.es-tools .es-tool-hero .es-tool-lead { margin-top: 10px; font-size: 15.5px; }
  body.es-ds.es-tools .es-tool-hero .es-tool-hero-credit { top: calc(100% - var(--es-tool-band) + 8px); right: 10px; padding: 1px 7px; }
  body.es-ds.es-tools .es-tool-wrap { padding: 20px 16px 4px; }
  body.es-ds.es-tools .tool-card { padding: 20px 18px 22px; }
  body.es-ds.es-tools.page-brew-ratio .results { padding: 20px 18px 22px; }
  body.es-ds.es-tools .site-main .tool-card h2, body.es-ds.es-tools .site-main .results h2 { font-size: 26px; }
  body.es-ds.es-tools .calc-button, body.es-ds.es-tools .analyze-btn { max-width: none; }
  body.es-ds.es-tools .question-label { font-size: 18px; }
  body.es-ds.es-tools .es-tool-disclosure { padding: 0 16px; }
}
@media (max-width: 560px) {
  body.es-ds.es-tools .es-tool-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  body.es-ds.es-tools .es-tool-stats .result-value { font-size: 27px; }
  body.es-ds.es-tools .es-tool-stats .es-tool-reference .result-value { font-size: 23px; }
  body.es-ds.es-tools .option-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  body.es-ds.es-tools .option-btn { min-height: 58px; padding: 11px 38px 11px 14px; }
  body.es-ds.es-tools .grinder-card { grid-template-columns: minmax(0, 1fr); }
  body.es-ds.es-tools .grinder-card .cta { grid-column: 1; grid-row: auto; justify-self: start; }
  body.es-ds.es-tools .diagnosis h3 { font-size: 23px; }
}
@media (max-width: 480px) {
  body.es-ds.es-tools .es-tool-hero h1 { font-size: 31px; }
}

/* maintenance-storage-r1: the bean-storage guide, the two cleaning guides, the descaling guide and the maintenance checklist
   (ES-DESIGN-20261119-r1 MAINTENANCE-STORAGE-r1). These pages reuse the accepted learning composition unchanged (body.es-ds.es-learn:
   photographic hero with the credited homepage cup, starting summary card, contents card, readable column, closing links). Every
   selector below requires body.es-ds.es-maintenance, which only these five pages carry, so the education page and every other
   adopted page render exactly as before. The hero photograph sits in a decorative figure (aria-hidden), so it needs its margins
   reset. The rest styles what the education page does not have: the manual-first summary list, the original storage diagram,
   the note under the inherited backflush heading, plain tables, details-based FAQs, the checklist (its checkboxes drawn in the light
   scheme to match the light card; the site root is color-scheme dark), and callouts. No motion, imported sheets, font files, CSS image references
   or important flags are added. */

/* Brand mark: the same cup mark and sizes as the other adopted pages */
body.es-ds.es-maintenance .site-logo, body.es-ds.es-maintenance .footer-brand { display: inline-flex; align-items: center; }
body.es-ds.es-maintenance .es-logo-mark { flex: none; width: 40px; height: 40px; margin-right: 9px; }
body.es-ds.es-maintenance .footer-brand .es-logo-mark { width: 34px; height: 34px; }

/* Hero photograph in a decorative figure */
body.es-ds.es-maintenance .es-learn-hero-media { margin: 0; }

/* Summary card: the manual-first rules or the storage basics */
body.es-ds.es-maintenance .es-maint-rules { list-style: none; margin: 4px 0 14px; padding: 0; display: grid; gap: 10px; }
body.es-ds.es-maintenance .es-maint-rules li {
  margin: 0; padding: 12px 14px 12px 16px; background: var(--es-note); border-left: 3px solid var(--es-copper); border-radius: 0 10px 10px 0;
  font-size: 15px; line-height: 1.55; color: var(--es-note-text);
}
body.es-ds.es-maintenance .es-maint-rules li strong { color: var(--es-ink); }
body.es-ds.es-maintenance .es-learn-summary .es-maint-example,
body.es-ds.es-maintenance .es-learn-summary .es-maint-source { margin: 0; font-size: 14px; line-height: 1.55; color: var(--es-cocoa); }
body.es-ds.es-maintenance .es-learn-summary .es-maint-source a { color: var(--es-copper); }

/* Original storage diagram and the note under the inherited backflush heading */
body.es-ds.es-maintenance .es-maint-diagram { max-width: 560px; }
body.es-ds.es-maintenance .es-maint-diagram img { border: 1px solid var(--es-border); background: var(--es-surface); }
body.es-ds.es-maintenance .es-learn-body .es-maint-heading-note {
  margin: 0 0 16px; padding: 12px 16px; background: var(--es-note); border-left: 3px solid var(--es-copper); border-radius: 0 10px 10px 0;
  font-size: 15.5px; line-height: 1.55; color: var(--es-note-text);
}
body.es-ds.es-maintenance .es-learn-body .es-maint-heading-note strong { color: var(--es-ink); }

/* Reading column: the education page's own spacing and colours (its sections are wrapped; two of these pages keep their headings
   directly in the column, so the rules target the column, not the section wrapper). Disclosures keep the system's DisclosureStrip. */
body.es-ds.es-maintenance .es-learn-body > h2 { margin-top: 48px; }
body.es-ds.es-maintenance .es-learn-body h3 { margin: 32px 0 16px; }
body.es-ds.es-maintenance .es-learn-body h2[id], body.es-ds.es-maintenance .es-learn-body section[id], body.es-ds.es-maintenance .es-learn-body div[id] { scroll-margin-top: 16px; }
body.es-ds.es-maintenance .es-learn-body p, body.es-ds.es-maintenance .es-learn-body li { color: var(--es-body-text); }

/* Tables: horizontal scrolling inside a labelled, focusable region on narrow screens */
body.es-ds.es-maintenance .es-learn-body .table-scroll { margin: 16px 0 22px; overflow-x: auto; }
body.es-ds.es-maintenance .es-learn-body .table-scroll > table { width: 100%; min-width: 560px; margin: 0; border-collapse: collapse; font-size: 14.5px; }
body.es-ds.es-maintenance .es-learn-body .table-scroll th {
  padding: 11px 14px; background: #EBE3D8; color: var(--es-ink); font-family: var(--es-font-body); font-size: 13px; font-weight: 800; line-height: 1.3;
  text-align: left; text-transform: none; letter-spacing: 0; vertical-align: bottom; border-bottom: 0;
}
body.es-ds.es-maintenance .es-learn-body .table-scroll td { padding: 11px 14px; border-top: 1px solid var(--es-border); color: var(--es-ink); line-height: 1.5; vertical-align: top; }
body.es-ds.es-maintenance .es-learn-body .table-scroll tbody tr:nth-child(odd) td { background: rgba(246, 242, 235, 0.5); }

/* Details-based FAQs */
body.es-ds.es-maintenance .es-learn-body .faq-section { margin: 44px 0 0; }
body.es-ds.es-maintenance .es-learn-body details { margin: 0; border-top: 1px solid var(--es-border); }
body.es-ds.es-maintenance .es-learn-body details:last-of-type { border-bottom: 1px solid var(--es-border); }
body.es-ds.es-maintenance .es-learn-body summary {
  display: list-item; padding: 14px 4px; cursor: pointer; font-family: var(--es-font-display); font-size: 19px; font-weight: 700; line-height: 1.3; color: var(--es-ink);
}
body.es-ds.es-maintenance .es-learn-body summary::marker { color: var(--es-copper); }
body.es-ds.es-maintenance .es-learn-body details > p { margin: 0 0 16px; padding: 0 4px; }

/* Checklists and callouts */
body.es-ds.es-maintenance .es-learn-body .callout {
  margin: 22px 0; padding: 20px 22px; background: var(--es-surface); border: 1px solid var(--es-card-border); border-radius: var(--es-radius-card); box-shadow: none;
}
body.es-ds.es-maintenance .es-learn-body .callout.surface-2 { background: var(--es-paper); }
body.es-ds.es-maintenance .es-learn-body .callout-tint { background: var(--es-note); border-color: transparent; }
body.es-ds.es-maintenance .es-learn-body .checklist { display: grid; gap: 6px; }
body.es-ds.es-maintenance .es-learn-body .checklist-item {
  display: flex; align-items: flex-start; gap: 10px; min-height: 44px; padding: 8px 10px; border-radius: 8px; cursor: pointer;
}
body.es-ds.es-maintenance .es-learn-body .checklist-item:hover { background: var(--es-note); }
body.es-ds.es-maintenance .es-learn-body .checklist-item input { flex: none; width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--es-copper); color-scheme: light; }
body.es-ds.es-maintenance .es-learn-body .checklist-item span { font-size: 15.5px; line-height: 1.5; color: var(--es-body-text); }

/* The longest breadcrumb here ("Home / Guides / Espresso Maintenance Checklist") runs past the opaque part of the hero's cream
   fade, which starts fading at 37% of the width (44% between 761px and 1060px). Its 12px text then sits over the photograph and
   measured 4.47:1 against it with a classic scrollbar at 1440px. Holding the breadcrumb inside the opaque part keeps it on cream
   at every width; a longer trail wraps instead, which the existing flex row already supports. Colours and layout are unchanged. */
body.es-ds.es-maintenance .es-learn-hero .es-breadcrumb { max-width: min(520px, 36cqw); }
@media (min-width: 761px) and (max-width: 1060px) {
  body.es-ds.es-maintenance .es-learn-hero .es-breadcrumb { max-width: min(520px, 42cqw); }
}
@media (max-width: 760px) { body.es-ds.es-maintenance .es-learn-hero .es-breadcrumb { max-width: none; } }

/* These articles carry longer titles and leads than the education page, and between 761px and 1060px the learning hero widens the
   copy column to 50cqw; at about 820px the lead's box then reached the cup. Holding the copy at 44cqw in that range keeps every
   line clear of the cup (at least 43px at every width measured) without changing the composition. */
@media (min-width: 761px) and (max-width: 1060px) {
  body.es-ds.es-maintenance .es-learn-hero .es-breadcrumb, body.es-ds.es-maintenance .es-learn-hero h1,
  body.es-ds.es-maintenance .es-learn-hero .lead, body.es-ds.es-maintenance .es-learn-hero .es-learn-meta { max-width: min(560px, 44cqw); }
}

@media (max-width: 768px) {
  body.es-ds.es-maintenance .es-logo-mark { width: 34px; height: 34px; margin-right: 8px; }
}

/* Phones */
@media (max-width: 600px) {
  body.es-ds.es-maintenance .es-maint-rules li { padding: 10px 12px; font-size: 14.5px; }
  body.es-ds.es-maintenance .es-learn-body summary { font-size: 17.5px; }
  body.es-ds.es-maintenance .es-learn-body .callout { padding: 16px 14px; }
}

/* troubleshooting-puck-r1: the nested channeling guide, the puck prep guide and the channeling troubleshooting guide
   (ES-DESIGN-20261119-r1 TROUBLESHOOTING-PUCK-r1). These pages reuse the accepted learning composition unchanged (body.es-ds.es-learn:
   photographic hero with the credited homepage cup, summary card, contents card, readable column, closing links). Every selector below
   requires body.es-ds.es-troubleshooting, which only these three pages carry, so the education page, the maintenance pages and every
   other adopted page render exactly as before. The hero photograph sits in a decorative figure (aria-hidden), so it needs its margins
   reset. The rest styles what the education page does not have: the numbered troubleshooting order in the summary card, the quick-pick
   and symptom tables, heading-based and details-based FAQs, the two disclosures, the photo credit line, and the related-guides close
   built from the page's existing links. No motion, imported sheets, font files, CSS image references or important flags are added. */

/* Brand mark: the same cup mark and sizes as the other adopted pages */
body.es-ds.es-troubleshooting .site-logo, body.es-ds.es-troubleshooting .footer-brand { display: inline-flex; align-items: center; }
body.es-ds.es-troubleshooting .es-logo-mark { flex: none; width: 40px; height: 40px; margin-right: 9px; }
body.es-ds.es-troubleshooting .footer-brand .es-logo-mark { width: 34px; height: 34px; }

/* Hero photograph in a decorative figure */
body.es-ds.es-troubleshooting .es-learn-hero-media { margin: 0; }

/* Summary card: the troubleshooting order (an ordered list keeps its native numbers) */
body.es-ds.es-troubleshooting .es-ts-checks { margin: 6px 0 14px; padding: 0 0 0 24px; }
body.es-ds.es-troubleshooting .es-ts-checks li {
  margin: 0; padding: 11px 14px 11px 12px; background: var(--es-note); border-radius: 10px;
  font-size: 15px; line-height: 1.55; color: var(--es-note-text);
}
body.es-ds.es-troubleshooting .es-ts-checks li + li { margin-top: 8px; }
body.es-ds.es-troubleshooting .es-ts-checks li::marker { color: var(--es-copper); font-weight: 800; }
body.es-ds.es-troubleshooting .es-ts-checks li strong { color: var(--es-ink); }
body.es-ds.es-troubleshooting .es-learn-summary .es-ts-note { margin: 0; font-size: 14px; line-height: 1.55; color: var(--es-cocoa); }

/* Reading column: the education page's spacing and colours. Two of these pages keep their headings directly in the column, so the
   rules target the column, not a section wrapper. The inherited introduction classes are set to body size so the hero lead stays
   the only lead-sized text. */
body.es-ds.es-troubleshooting .es-learn-body > h2 { margin-top: 48px; }
body.es-ds.es-troubleshooting .es-learn-body h3 { margin: 32px 0 14px; }
body.es-ds.es-troubleshooting .es-learn-body h2[id], body.es-ds.es-troubleshooting .es-learn-body section[id],
body.es-ds.es-troubleshooting .es-learn-body div[id] { scroll-margin-top: 16px; }
body.es-ds.es-troubleshooting .es-learn-body p, body.es-ds.es-troubleshooting .es-learn-body li { color: var(--es-body-text); }
body.es-ds.es-troubleshooting .es-learn-body .intro, body.es-ds.es-troubleshooting .es-learn-body .article-intro { font-size: 16px; color: var(--es-body-text); }
body.es-ds.es-troubleshooting .es-learn-body > .intro > p:first-child,
body.es-ds.es-troubleshooting .es-learn-body > .article-intro > p:first-child,
body.es-ds.es-troubleshooting .es-learn-body > p:first-child { margin-top: 0; }

/* Tables: the quick picks and the symptom table scroll inside their labelled, focusable regions on narrow screens */
body.es-ds.es-troubleshooting .es-learn-body .table-scroll { margin: 16px 0 22px; overflow-x: auto; }
body.es-ds.es-troubleshooting .es-learn-body .table-scroll > table { width: 100%; min-width: 520px; margin: 0; border-collapse: collapse; font-size: 14.5px; }
body.es-ds.es-troubleshooting .es-learn-body .table-scroll th {
  padding: 11px 14px; background: #EBE3D8; color: var(--es-ink); font-family: var(--es-font-body); font-size: 13px; font-weight: 800; line-height: 1.3;
  text-align: left; text-transform: none; letter-spacing: 0; vertical-align: bottom; border-bottom: 0;
}
body.es-ds.es-troubleshooting .es-learn-body .table-scroll td { padding: 11px 14px; border-top: 1px solid var(--es-border); color: var(--es-ink); line-height: 1.5; vertical-align: top; }
body.es-ds.es-troubleshooting .es-learn-body .table-scroll tbody tr:nth-child(odd) td { background: rgba(246, 242, 235, 0.5); }
body.es-ds.es-troubleshooting .es-learn-body .table-scroll td:first-child { font-weight: 600; }
body.es-ds.es-troubleshooting #quick-picks { scroll-margin-top: 16px; }
body.es-ds.es-troubleshooting #quick-picks > h2 { margin-top: 44px; }
/* The system draws these three merchant links as its 44px table buttons; on hover the generic in-content link colour would put dark
   copper text on the copper fill (1.39:1), so hover keeps white text on the deeper copper. */
body.es-ds.es-troubleshooting #quick-picks td a[href*="amazon."]:hover { color: #FFFFFF; background: var(--es-copper-hover); }

/* Heading-based FAQ (a question heading followed by its answer) */
body.es-ds.es-troubleshooting .es-learn-body #faq > h3 {
  margin: 0; padding: 16px 4px 6px; border-top: 1px solid var(--es-border);
  font-family: var(--es-font-display); font-size: 19px; font-weight: 700; line-height: 1.3; color: var(--es-ink);
}
body.es-ds.es-troubleshooting .es-learn-body #faq > p { margin: 0 0 14px; padding: 0 4px; }
body.es-ds.es-troubleshooting .es-learn-body #faq > p:last-child { padding-bottom: 14px; border-bottom: 1px solid var(--es-border); margin-bottom: 0; }

/* Details-based FAQ */
body.es-ds.es-troubleshooting .es-learn-body .faq-section { margin: 44px 0 0; }
body.es-ds.es-troubleshooting .es-learn-body details { margin: 0; border-top: 1px solid var(--es-border); }
body.es-ds.es-troubleshooting .es-learn-body details:last-of-type { border-bottom: 1px solid var(--es-border); }
body.es-ds.es-troubleshooting .es-learn-body summary {
  display: list-item; padding: 14px 4px; cursor: pointer; font-family: var(--es-font-display); font-size: 19px; font-weight: 700; line-height: 1.3; color: var(--es-ink);
}
body.es-ds.es-troubleshooting .es-learn-body summary::marker { color: var(--es-copper); }
body.es-ds.es-troubleshooting .es-learn-body details > p { margin: 0 0 16px; padding: 0 4px; }

/* Disclosures and the photo credit line */
body.es-ds.es-troubleshooting .es-learn-body .disclosure-inline { margin: 22px 0 8px; }
body.es-ds.es-troubleshooting .es-learn-body .disclosure-box {
  margin: 36px 0 0; padding: 16px 18px; background: var(--es-note); border: 0; border-radius: 12px;
}
body.es-ds.es-troubleshooting .es-learn-body .disclosure-box p { font-size: 13.5px; line-height: 1.55; color: var(--es-note-text); }
body.es-ds.es-troubleshooting .es-learn-body .photo-credit { margin: 14px 0 0; font-size: 12.5px; color: var(--es-cocoa); }

/* Related guides: the page's existing related links as the quiet closing block */
body.es-ds.es-troubleshooting .es-ts-related.es-learn-next { margin-top: 44px; }
body.es-ds.es-troubleshooting .site-main .es-ts-related a { font: 700 16.5px/1.3 var(--es-font-display); }
body.es-ds.es-troubleshooting .site-main .es-ts-related a:hover { color: var(--es-copper); }

/* The breadcrumb stays inside the opaque part of the hero's cream fade at every width (the maintenance pages' measured cap) */
body.es-ds.es-troubleshooting .es-learn-hero .es-breadcrumb { max-width: min(520px, 36cqw); }
@media (min-width: 761px) and (max-width: 1060px) {
  body.es-ds.es-troubleshooting .es-learn-hero .es-breadcrumb, body.es-ds.es-troubleshooting .es-learn-hero h1,
  body.es-ds.es-troubleshooting .es-learn-hero .lead, body.es-ds.es-troubleshooting .es-learn-hero .es-learn-meta { max-width: min(560px, 44cqw); }
}
@media (max-width: 760px) { body.es-ds.es-troubleshooting .es-learn-hero .es-breadcrumb { max-width: none; } }

@media (max-width: 768px) {
  body.es-ds.es-troubleshooting .es-logo-mark { width: 34px; height: 34px; margin-right: 8px; }
}

/* Phones */
@media (max-width: 600px) {
  body.es-ds.es-troubleshooting .es-ts-checks { padding-left: 22px; }
  body.es-ds.es-troubleshooting .es-ts-checks li { padding: 10px 12px 10px 10px; font-size: 14.5px; }
  body.es-ds.es-troubleshooting .es-learn-body summary, body.es-ds.es-troubleshooting .es-learn-body #faq > h3 { font-size: 17.5px; }
}


/* n4c-recipe-diagnosis-r1: the sour-or-bitter fixes guide, the sour espresso guide, the extraction ratio guide and the extraction time
   guide (ES-DESIGN-20261119-r1 N4C-RECIPE-DIAGNOSIS-r1). These pages reuse the accepted learning composition unchanged
   (body.es-ds.es-learn: photographic hero with the credited homepage cup, summary card, contents card, readable column, closing
   links). Every selector below requires body.es-ds.es-recipe-diagnosis, which only these pages carry, so every other adopted page
   renders exactly as before. The rules mirror the accepted troubleshooting family under this family's own scope: the cup mark, the
   decorative hero figure, the numbered order in the summary card, the reading column, the quick-pick and reading tables, the
   heading-, item- and details-based FAQs, the paid cheat-sheet callout, the disclosures, the photo credit line and the related close.
   On phones the header row may wrap, so enlarged text keeps the whole navigation inside the viewport. No motion, imported sheets,
   font files, CSS image references or important flags are added. */

/* Brand mark: the same cup mark and sizes as the other adopted pages */
body.es-ds.es-recipe-diagnosis .site-logo, body.es-ds.es-recipe-diagnosis .footer-brand { display: inline-flex; align-items: center; }
body.es-ds.es-recipe-diagnosis .es-logo-mark { flex: none; width: 40px; height: 40px; margin-right: 9px; }
body.es-ds.es-recipe-diagnosis .footer-brand .es-logo-mark { width: 34px; height: 34px; }

/* Hero photograph in a decorative figure */
body.es-ds.es-recipe-diagnosis .es-learn-hero-media { margin: 0; }

/* Summary card: the numbered order (an ordered list keeps its native numbers) */
body.es-ds.es-recipe-diagnosis .es-rd-checks { margin: 6px 0 14px; padding: 0 0 0 24px; }
body.es-ds.es-recipe-diagnosis .es-rd-checks li {
  margin: 0; padding: 11px 14px 11px 12px; background: var(--es-note); border-radius: 10px;
  font-size: 15px; line-height: 1.55; color: var(--es-note-text);
}
body.es-ds.es-recipe-diagnosis .es-rd-checks li + li { margin-top: 8px; }
body.es-ds.es-recipe-diagnosis .es-rd-checks li::marker { color: var(--es-copper); font-weight: 800; }
body.es-ds.es-recipe-diagnosis .es-rd-checks li strong { color: var(--es-ink); }
body.es-ds.es-recipe-diagnosis .es-learn-summary .es-rd-note { margin: 0; font-size: 14px; line-height: 1.55; color: var(--es-cocoa); }

/* Reading column: the education page's spacing and colours. Headings sit directly in the column on three pages and inside section
   wrappers on the sour guide, so both are covered. Inherited introduction classes are set to body size so the hero lead stays the
   only lead-sized text. */
body.es-ds.es-recipe-diagnosis .es-learn-body > h2, body.es-ds.es-recipe-diagnosis .es-learn-body > .article-section > h2:first-child,
body.es-ds.es-recipe-diagnosis .es-learn-body > #faq > h2:first-child { margin-top: 48px; }
body.es-ds.es-recipe-diagnosis .es-learn-body h3 { margin: 32px 0 14px; }
body.es-ds.es-recipe-diagnosis .es-learn-body h2[id], body.es-ds.es-recipe-diagnosis .es-learn-body section[id],
body.es-ds.es-recipe-diagnosis .es-learn-body div[id] { scroll-margin-top: 16px; }
body.es-ds.es-recipe-diagnosis .es-learn-body p, body.es-ds.es-recipe-diagnosis .es-learn-body li { color: var(--es-body-text); }
body.es-ds.es-recipe-diagnosis .es-learn-body .intro { font-size: 16px; color: var(--es-body-text); }
body.es-ds.es-recipe-diagnosis .es-learn-body > .intro > p:first-child,
body.es-ds.es-recipe-diagnosis .es-learn-body > p:first-child { margin-top: 0; }
body.es-ds.es-recipe-diagnosis .es-learn-body .article-section { margin: 0; }

/* Tables: quick picks and reading tables scroll inside their labelled, focusable regions on narrow screens */
body.es-ds.es-recipe-diagnosis .es-learn-body .table-scroll, body.es-ds.es-recipe-diagnosis .es-learn-body .repair-table-scroll {
  margin: 16px 0 22px; overflow-x: auto;
}
body.es-ds.es-recipe-diagnosis .es-learn-body .table-scroll > table, body.es-ds.es-recipe-diagnosis .es-learn-body .repair-table-scroll > table {
  width: 100%; min-width: 520px; margin: 0; border-collapse: collapse; font-size: 14.5px;
}
body.es-ds.es-recipe-diagnosis .es-learn-body .table-scroll th, body.es-ds.es-recipe-diagnosis .es-learn-body .repair-table-scroll th {
  padding: 11px 14px; background: #EBE3D8; color: var(--es-ink); font-family: var(--es-font-body); font-size: 13px; font-weight: 800; line-height: 1.3;
  text-align: left; text-transform: none; letter-spacing: 0; vertical-align: bottom; border-bottom: 0;
}
body.es-ds.es-recipe-diagnosis .es-learn-body .table-scroll td, body.es-ds.es-recipe-diagnosis .es-learn-body .repair-table-scroll td {
  padding: 11px 14px; border-top: 1px solid var(--es-border); color: var(--es-ink); line-height: 1.5; vertical-align: top;
}
body.es-ds.es-recipe-diagnosis .es-learn-body .table-scroll tbody tr:nth-child(odd) td,
body.es-ds.es-recipe-diagnosis .es-learn-body .repair-table-scroll tbody tr:nth-child(odd) td { background: rgba(246, 242, 235, 0.5); }
body.es-ds.es-recipe-diagnosis .es-learn-body .table-scroll td:first-child,
body.es-ds.es-recipe-diagnosis .es-learn-body .repair-table-scroll td:first-child { font-weight: 600; }
body.es-ds.es-recipe-diagnosis #quick-picks { scroll-margin-top: 16px; }
body.es-ds.es-recipe-diagnosis #quick-picks > h2 { margin-top: 44px; }
/* The system draws these merchant links as its 44px table buttons; on hover the generic in-content link colour would put dark copper
   text on the copper fill, so hover keeps white text on the deeper copper (the troubleshooting family's accepted rule). */
body.es-ds.es-recipe-diagnosis #quick-picks td a[href*="amazon."]:hover { color: #FFFFFF; background: var(--es-copper-hover); }

/* Heading-based FAQ (a question heading followed by its answer) */
body.es-ds.es-recipe-diagnosis .es-learn-body #faq > h3 {
  margin: 0; padding: 16px 4px 6px; border-top: 1px solid var(--es-border);
  font-family: var(--es-font-display); font-size: 19px; font-weight: 700; line-height: 1.3; color: var(--es-ink);
}
body.es-ds.es-recipe-diagnosis .es-learn-body #faq > h2 + h3 { margin-top: 8px; }
body.es-ds.es-recipe-diagnosis .es-learn-body #faq > p { margin: 0 0 14px; padding: 0 4px; }
body.es-ds.es-recipe-diagnosis .es-learn-body #faq > p:last-child { padding-bottom: 14px; border-bottom: 1px solid var(--es-border); margin-bottom: 0; }

/* Item-based FAQ (question h4 and answer inside each item) */
body.es-ds.es-recipe-diagnosis .es-learn-body .faq-item { padding: 16px 4px; border-top: 1px solid var(--es-border); border-bottom: 0; }
body.es-ds.es-recipe-diagnosis .es-learn-body .faq-item:last-child { border-bottom: 1px solid var(--es-border); }
body.es-ds.es-recipe-diagnosis .es-learn-body .faq-item h4 { font-family: var(--es-font-display); color: var(--es-ink); line-height: 1.3; }

/* Details-based FAQ */
body.es-ds.es-recipe-diagnosis .es-learn-body details { margin: 0; border-top: 1px solid var(--es-border); }
body.es-ds.es-recipe-diagnosis .es-learn-body details:last-of-type { border-bottom: 1px solid var(--es-border); }
body.es-ds.es-recipe-diagnosis .es-learn-body summary {
  display: list-item; padding: 14px 4px; cursor: pointer; font-family: var(--es-font-display); font-size: 19px; font-weight: 700; line-height: 1.3; color: var(--es-ink);
}
body.es-ds.es-recipe-diagnosis .es-learn-body summary::marker { color: var(--es-copper); }
body.es-ds.es-recipe-diagnosis .es-learn-body details > p { margin: 0 0 16px; padding: 0 4px; }

/* The paid cheat-sheet callout keeps its card and copper edge, with the system's card radius */
body.es-ds.es-recipe-diagnosis .es-learn-body .printable-callout { margin: 30px 0; border-radius: 12px; }

/* Disclosures and the photo credit line */
body.es-ds.es-recipe-diagnosis .es-learn-body .disclosure-inline { margin: 22px 0 8px; font-size: 14px; line-height: 1.55; color: var(--es-cocoa); }
body.es-ds.es-recipe-diagnosis .es-learn-body > .disclosure-inline:first-child { margin: 0 0 20px; }
body.es-ds.es-recipe-diagnosis .es-learn-body .disclosure-box {
  margin: 36px 0 0; padding: 16px 18px; background: var(--es-note); border: 0; border-radius: 12px;
}
body.es-ds.es-recipe-diagnosis .es-learn-body .disclosure-box p { font-size: 13.5px; line-height: 1.55; color: var(--es-note-text); }
body.es-ds.es-recipe-diagnosis .es-learn-body .photo-credit { margin: 14px 0 0; font-size: 12.5px; color: var(--es-cocoa); }

/* Related reading: the page's related links as the quiet closing block */
body.es-ds.es-recipe-diagnosis .es-rd-related.es-learn-next { margin-top: 44px; }
body.es-ds.es-recipe-diagnosis .site-main .es-rd-related > p { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--es-body-text); }
body.es-ds.es-recipe-diagnosis .site-main .es-rd-related ul.es-rd-plain a { font: 700 16.5px/1.3 var(--es-font-display); }
body.es-ds.es-recipe-diagnosis .site-main .es-rd-related ul.es-rd-plain a:hover { color: var(--es-copper); }
/* A related-reading paragraph (links inside the sentence) sits in the same quiet card without turning its links into blocks */
body.es-ds.es-recipe-diagnosis .es-learn-body > .es-rd-related-prose { margin: 44px 0 0; padding: 20px 22px 18px; background: var(--es-note); border-radius: 12px; }
body.es-ds.es-recipe-diagnosis .site-main .es-learn-body > .es-rd-related-prose > h2:first-child { margin: 0 0 10px; font-size: clamp(22px, 2.2vw, 28px); }
body.es-ds.es-recipe-diagnosis .site-main .es-learn-body > .es-rd-related-prose > p { margin: 0; }

/* The breadcrumb stays inside the opaque part of the hero's cream fade at every width (the maintenance pages' measured cap) */
body.es-ds.es-recipe-diagnosis .es-learn-hero .es-breadcrumb { max-width: min(520px, 36cqw); }
@media (min-width: 761px) and (max-width: 1060px) {
  body.es-ds.es-recipe-diagnosis .es-learn-hero .es-breadcrumb, body.es-ds.es-recipe-diagnosis .es-learn-hero h1,
  body.es-ds.es-recipe-diagnosis .es-learn-hero .lead, body.es-ds.es-recipe-diagnosis .es-learn-hero .es-learn-meta { max-width: min(560px, 44cqw); }
}
@media (max-width: 760px) { body.es-ds.es-recipe-diagnosis .es-learn-hero .es-breadcrumb { max-width: none; } }

@media (max-width: 768px) {
  body.es-ds.es-recipe-diagnosis .es-logo-mark { width: 34px; height: 34px; margin-right: 8px; }
  /* Keep enlarged-text navigation inside the viewport on this adopted family. */
  body.es-ds.es-recipe-diagnosis .header-inner { flex-wrap: wrap; }
}

/* Phones */
@media (max-width: 600px) {
  body.es-ds.es-recipe-diagnosis .es-rd-checks { padding-left: 22px; }
  body.es-ds.es-recipe-diagnosis .es-rd-checks li { padding: 10px 12px 10px 10px; font-size: 14.5px; }
  body.es-ds.es-recipe-diagnosis .es-learn-body summary, body.es-ds.es-recipe-diagnosis .es-learn-body #faq > h3,
  body.es-ds.es-recipe-diagnosis .es-learn-body .faq-item h4 { font-size: 17.5px; }
}


/* grinder-care-r1: the espresso grinder mistakes guide (ES-DESIGN-20261119-r1 GRINDER-CARE-r1). The page reuses the accepted learning
   composition unchanged (body.es-ds.es-learn: photographic hero with the credited homepage cup, summary card, contents card, readable
   column, closing links). Every selector below requires body.es-ds.es-grinder-care, which only this page carries, so every other adopted
   page renders exactly as before. The rules mirror the accepted troubleshooting family under this page's own scope: the cup mark, the
   decorative hero figure, the numbered checks in the summary card, the reading column, the two-row quick picks comparison, the
   heading-based FAQ, the two disclosures and the related-reading close built from the page's existing links. No motion, imported
   sheets, font files, CSS image references or important flags are added. */

/* Brand mark: the same cup mark and sizes as the other adopted pages */
body.es-ds.es-grinder-care .site-logo, body.es-ds.es-grinder-care .footer-brand { display: inline-flex; align-items: center; }
body.es-ds.es-grinder-care .es-logo-mark { flex: none; width: 40px; height: 40px; margin-right: 9px; }
body.es-ds.es-grinder-care .footer-brand .es-logo-mark { width: 34px; height: 34px; }

/* Hero photograph in a decorative figure */
body.es-ds.es-grinder-care .es-learn-hero-media { margin: 0; }

/* Summary card: the numbered checks (an ordered list keeps its native numbers) */
body.es-ds.es-grinder-care .es-gc-checks { margin: 6px 0 14px; padding: 0 0 0 24px; }
body.es-ds.es-grinder-care .es-gc-checks li {
  margin: 0; padding: 11px 14px 11px 12px; background: var(--es-note); border-radius: 10px;
  font-size: 15px; line-height: 1.55; color: var(--es-note-text);
}
body.es-ds.es-grinder-care .es-gc-checks li + li { margin-top: 8px; }
body.es-ds.es-grinder-care .es-gc-checks li::marker { color: var(--es-copper); font-weight: 800; }
body.es-ds.es-grinder-care .es-gc-checks li strong { color: var(--es-ink); }
body.es-ds.es-grinder-care .es-learn-summary .es-gc-note { margin: 0; font-size: 14px; line-height: 1.55; color: var(--es-cocoa); }

/* Reading column: the education page's spacing and colours; the headings sit directly in the column */
body.es-ds.es-grinder-care .es-learn-body > h2, body.es-ds.es-grinder-care .es-learn-body > .es-gc-faq > h2 { margin-top: 48px; }
body.es-ds.es-grinder-care .es-learn-body h3 { margin: 32px 0 14px; }
body.es-ds.es-grinder-care .es-learn-body h2[id], body.es-ds.es-grinder-care .es-learn-body section[id] { scroll-margin-top: 16px; }
body.es-ds.es-grinder-care .es-learn-body p, body.es-ds.es-grinder-care .es-learn-body li { color: var(--es-body-text); }

/* Quick picks: the two-row comparison scrolls inside its labelled, focusable region on narrow screens */
body.es-ds.es-grinder-care .es-learn-body .table-scroll { margin: 16px 0 22px; overflow-x: auto; }
body.es-ds.es-grinder-care .es-learn-body .table-scroll > table { width: 100%; min-width: 520px; margin: 0; border-collapse: collapse; font-size: 14.5px; }
body.es-ds.es-grinder-care .es-learn-body .table-scroll th {
  padding: 11px 14px; background: #EBE3D8; color: var(--es-ink); font-family: var(--es-font-body); font-size: 13px; font-weight: 800; line-height: 1.3;
  text-align: left; text-transform: none; letter-spacing: 0; vertical-align: bottom; border-bottom: 0;
}
body.es-ds.es-grinder-care .es-learn-body .table-scroll td { padding: 11px 14px; border-top: 1px solid var(--es-border); color: var(--es-ink); line-height: 1.5; vertical-align: top; }
body.es-ds.es-grinder-care .es-learn-body .table-scroll tbody tr:nth-child(odd) td { background: rgba(246, 242, 235, 0.5); }
body.es-ds.es-grinder-care .es-learn-body .table-scroll td:first-child { font-weight: 600; }
body.es-ds.es-grinder-care #quick-picks { scroll-margin-top: 16px; }
body.es-ds.es-grinder-care #quick-picks > h2 { margin-top: 36px; }
/* The system draws these merchant links as its 44px table buttons; on hover the generic in-content link colour would put dark copper
   text on the copper fill, so hover keeps white text on the deeper copper (the troubleshooting family's accepted rule). */
body.es-ds.es-grinder-care #quick-picks td a[href*="amazon."]:hover { color: #FFFFFF; background: var(--es-copper-hover); }

/* Heading-based FAQ (a question heading followed by its answer) */
body.es-ds.es-grinder-care .es-learn-body .es-gc-faq > h3 {
  margin: 0; padding: 16px 4px 6px; border-top: 1px solid var(--es-border);
  font-family: var(--es-font-display); font-size: 19px; font-weight: 700; line-height: 1.3; color: var(--es-ink);
}
body.es-ds.es-grinder-care .es-learn-body .es-gc-faq > h2 + h3 { margin-top: 8px; }
body.es-ds.es-grinder-care .es-learn-body .es-gc-faq > p { margin: 0 0 14px; padding: 0 4px; }
body.es-ds.es-grinder-care .es-learn-body .es-gc-faq > p:last-child { padding-bottom: 14px; border-bottom: 1px solid var(--es-border); margin-bottom: 0; }

/* Disclosures */
body.es-ds.es-grinder-care .es-learn-body .disclosure-inline { margin: 0 0 8px; }
body.es-ds.es-grinder-care .es-learn-body .disclosure-box {
  margin: 36px 0 0; padding: 16px 18px; background: var(--es-note); border: 0; border-radius: 12px;
}
body.es-ds.es-grinder-care .es-learn-body .disclosure-box p { font-size: 13.5px; line-height: 1.55; color: var(--es-note-text); }

/* Related reading: the page's existing related links as the quiet closing block */
body.es-ds.es-grinder-care .es-gc-related.es-learn-next { margin-top: 44px; }
body.es-ds.es-grinder-care .site-main .es-gc-related a { font: 700 16.5px/1.3 var(--es-font-display); }
body.es-ds.es-grinder-care .site-main .es-gc-related a:hover { color: var(--es-copper); }

/* The breadcrumb and the long title stay inside the opaque part of the hero's cream fade (the troubleshooting family's measured caps) */
body.es-ds.es-grinder-care .es-learn-hero .es-breadcrumb { max-width: min(520px, 36cqw); }
@media (min-width: 761px) and (max-width: 1060px) {
  body.es-ds.es-grinder-care .es-learn-hero .es-breadcrumb, body.es-ds.es-grinder-care .es-learn-hero h1,
  body.es-ds.es-grinder-care .es-learn-hero .lead, body.es-ds.es-grinder-care .es-learn-hero .es-learn-meta { max-width: min(560px, 44cqw); }
}
@media (max-width: 760px) { body.es-ds.es-grinder-care .es-learn-hero .es-breadcrumb { max-width: none; } }

@media (max-width: 768px) {
  body.es-ds.es-grinder-care .es-logo-mark { width: 34px; height: 34px; margin-right: 8px; }
}

/* Phones */
@media (max-width: 600px) {
  body.es-ds.es-grinder-care .es-gc-checks { padding-left: 22px; }
  body.es-ds.es-grinder-care .es-gc-checks li { padding: 10px 12px 10px 10px; font-size: 14.5px; }
  body.es-ds.es-grinder-care .es-learn-body .es-gc-faq > h3 { font-size: 17.5px; }
}

/* Keep enlarged-text navigation inside the viewport on this adopted family. */
@media (max-width: 768px) {
  body.es-ds.es-grinder-care .header-inner { flex-wrap: wrap; }
}

/* SITEWIDE-20261123-r1: structural adoption for previously unconverted pages.
   The 26 earlier adopted HTML files are untouched. All selectors below are opt-in,
   except the accepted grinder-page closing choice scoped to its existing family. */
body.es-ds.es-sitewide { --max-width: 1290px; --content-width: 820px; }
body.es-ds.es-sitewide .site-header .header-inner { max-width:1290px; margin:auto; padding:0 40px; flex-wrap:wrap; }
body.es-ds.es-sitewide .site-logo,body.es-ds.es-sitewide .footer-brand { display:inline-flex;align-items:center;gap:0;max-width:100%; }
body.es-ds.es-sitewide .es-logo-mark { flex:none;width:38px;height:38px;margin-right:9px; }
body.es-ds.es-sitewide .site-header .main-nav { margin-left:auto; }
body.es-ds.es-sitewide .es-sw-main { display:block;max-width:none;width:100%;margin:0;padding:0; }
body.es-ds.es-sitewide .es-sw-hero { position:relative;isolation:isolate;min-height:350px;display:flex;align-items:center;background:#F6F0E7;overflow:hidden;border-radius:0 0 17px 17px; }
body.es-ds.es-sitewide .es-sw-hero-media { position:absolute;z-index:-2;inset:0 0 0 auto;width:65%;margin:0; }
body.es-ds.es-sitewide .es-sw-hero-media img { width:100%;height:100%;object-fit:cover;object-position:50% 60%;filter:sepia(.4) saturate(1.1); }
body.es-ds.es-sitewide .es-sw-hero:after { content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,#F6F0E7 0%,#F6F0E7 37%,rgba(246,240,231,.94) 50%,rgba(246,240,231,.08) 74%,rgba(246,240,231,.02) 100%); }
body.es-ds.es-sitewide .es-sw-hero-inner { width:min(1210px,calc(100% - 80px));margin:0 auto;padding:28px 0 50px; }
body.es-ds.es-sitewide .es-sw-hero h1 { max-width:660px;font-size:clamp(36px,4vw,57px);line-height:1.08;margin:0 0 18px; }
body.es-ds.es-sitewide .es-sw-hero .es-sw-lead { max-width:620px;font-size:17px;line-height:1.55;color:#43372F;margin:0; }
body.es-ds.es-sitewide .es-sw-hero .es-sw-lead p { font-size:inherit;line-height:inherit; }
body.es-ds.es-sitewide .es-sw-breadcrumb { font-size:12px;line-height:1.5;color:var(--es-cocoa);margin:0 0 14px;padding:0;background:none; }
body.es-ds.es-sitewide .es-sw-eyebrow { font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--es-copper);margin:0 0 12px; }
body.es-ds.es-sitewide .es-sw-photo-credit { position:absolute;right:15px;bottom:12px;margin:0;padding:3px 8px;border-radius:6px;background:rgba(35,28,25,.78);font-size:11px;color:#fff; }
body.es-ds.es-sitewide .es-sw-photo-credit a { color:#fff; }
body.es-ds.es-sitewide .es-sw-shortcuts { position:relative;z-index:2;display:grid;grid-template-columns:180px repeat(3,minmax(0,1fr));align-items:center;gap:12px;max-width:1210px;width:calc(100% - 80px);margin:-18px auto 0;padding:16px 20px;background:linear-gradient(115deg,#ECE3D7,#F3EEE6);border-radius:14px;box-shadow:0 7px 24px rgba(61,42,27,.06); }
body.es-ds.es-sitewide .es-sw-shortcuts-label { font:700 24px/1.1 var(--es-font-display);margin:0; }
body.es-ds.es-sitewide .es-sw-shortcuts a { display:flex;align-items:center;min-height:65px;padding:12px 16px;background:rgba(255,255,255,.85);border:1px solid #C9B7A6;border-radius:9px;font-size:13px;font-weight:700;line-height:1.35;color:var(--es-ink);text-decoration:none; }
body.es-ds.es-sitewide .es-sw-shortcuts a:hover { border-color:var(--es-copper);color:var(--es-copper); }
body.es-ds.es-sitewide .es-sw-layout { display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:42px;max-width:1210px;width:calc(100% - 80px);margin:36px auto 0;align-items:start; }
body.es-ds.es-sitewide .es-sw-reading { min-width:0; }
body.es-ds.es-sitewide .es-sw-reading > .container,body.es-ds.es-sitewide .es-sw-reading > article,body.es-ds.es-sitewide .es-sw-reading > .article-section,body.es-ds.es-sitewide .es-sw-reading > .article-content { max-width:none!important;width:100%;margin:0!important;padding:0!important; }
body.es-ds.es-sitewide .es-sw-reading > .container > article,body.es-ds.es-sitewide .es-sw-reading .article-content .container { max-width:none;width:100%;margin:0;padding:0; }
body.es-ds.es-sitewide .es-sw-reading .container { max-width:100%; }
body.es-ds.es-sitewide .es-sw-reading h2 { font-size:clamp(27px,2.5vw,35px);line-height:1.16;margin:36px 0 14px;scroll-margin-top:28px; }
body.es-ds.es-sitewide .es-sw-reading h3 { font-size:23px;line-height:1.2; }
body.es-ds.es-sitewide .es-sw-reading p,body.es-ds.es-sitewide .es-sw-reading li { font-size:16px;line-height:1.7;color:var(--es-body-text); }
body.es-ds.es-sitewide .es-sw-reading img { max-width:100%;height:auto;border-radius:10px; }
body.es-ds.es-sitewide .es-sw-reading figure { margin:24px 0; }
body.es-ds.es-sitewide .es-sw-reading .hero-banner { margin:0 0 24px; }
body.es-ds.es-sitewide .es-sw-reading .hero-banner img { max-height:280px;object-fit:cover; }
body.es-ds.es-sitewide .es-sw-reading .hero:has(.es-sw-empty),body.es-ds.es-sitewide .es-sw-empty { display:none!important; }
body.es-ds.es-sitewide .es-sw-sidebar { position:sticky;top:24px;min-width:0; }
body.es-ds.es-sitewide .es-sw-toc { padding:23px;background:var(--es-surface);border:1px solid var(--es-border);border-radius:14px;box-shadow:var(--es-shadow); }
body.es-ds.es-sitewide .es-sw-toc h2 { font-size:22px;margin:0 0 15px; }
body.es-ds.es-sitewide .es-sw-toc a { display:block;padding:7px 0;font-size:13px;line-height:1.45;color:var(--es-cocoa);text-decoration:none;border-bottom:1px solid var(--es-border); }
body.es-ds.es-sitewide .es-sw-toc a:last-child { border-bottom:0; }
body.es-ds.es-sitewide .es-sw-toc a:hover { color:var(--es-copper);text-decoration:underline; }
body.es-ds.es-sitewide .es-sw-reading .table-scroll { max-width:100%;overflow:auto;overscroll-behavior-inline:contain; }
body.es-ds.es-sitewide .es-sw-reading table { min-width:600px;width:100%;background:var(--es-surface);font-size:14px;border-collapse:collapse; }
body.es-ds.es-sitewide .es-sw-reading th { background:var(--es-beige);color:var(--es-ink);text-transform:none;letter-spacing:0;padding:12px; }
body.es-ds.es-sitewide .es-sw-reading td { padding:12px;vertical-align:top;border-bottom:1px solid var(--es-border); }
body.es-ds.es-sitewide .es-sw-reading td p,body.es-ds.es-sitewide .es-sw-reading td li { font-size:14px; }
body.es-ds.es-sitewide .es-sw-reading .callout,body.es-ds.es-sitewide .es-sw-reading .sprint-answer,body.es-ds.es-sitewide .es-sw-reading .decision-summary,body.es-ds.es-sitewide .es-sw-verdict { padding:24px;background:var(--es-beige);border:1px solid var(--es-border);border-radius:14px;margin:0 0 25px; }
body.es-ds.es-sitewide .es-sw-reading .sprint-answer h2,body.es-ds.es-sitewide .es-sw-reading .decision-summary h2 { margin-top:0; }
body.es-ds.es-sitewide .es-sw-card-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding:0;margin:25px 0; }
body.es-ds.es-sitewide .es-sw-card-grid > .section-rule { display:none; }
body.es-ds.es-sitewide .es-sw-product-card { display:flex;flex-direction:column;gap:14px;align-items:stretch;padding:22px!important;margin:0 0 20px;min-width:0;background:var(--es-surface);border:1px solid var(--es-border);border-radius:16px;box-shadow:var(--es-shadow); }
body.es-ds.es-sitewide .es-sw-card-grid .es-sw-product-card { margin:0; }
body.es-ds.es-sitewide .es-sw-product-card .pick-media,body.es-ds.es-sitewide .es-sw-product-card .product-image { display:flex;order:-1;align-items:center;justify-content:center;height:190px!important;min-height:0!important;width:100%;padding:12px!important;background:#F4EEE5;border-radius:10px; }
body.es-ds.es-sitewide .es-sw-product-card .pick-media img,body.es-ds.es-sitewide .es-sw-product-card .product-image img { max-height:170px!important;width:auto!important;max-width:100%!important;object-fit:contain; }
body.es-ds.es-sitewide .es-sw-product-card .product-card-inner { display:flex;flex-direction:column;gap:14px; }
body.es-ds.es-sitewide .es-sw-product-card .product-card-inner > div { padding:0; }
body.es-ds.es-sitewide .es-sw-product-card h2,body.es-ds.es-sitewide .es-sw-product-card h3 { margin:8px 0 12px; }
body.es-ds.es-sitewide .es-sw-product-card p,body.es-ds.es-sitewide .es-sw-product-card li { font-size:14.5px;line-height:1.55; }
body.es-ds.es-sitewide .es-sw-product-card .btn,body.es-ds.es-sitewide .es-sw-product-card .cta-btn { width:100%; }
body.es-ds.es-sitewide details { background:var(--es-surface);border:1px solid var(--es-border);border-radius:10px;margin:12px 0;padding:16px 20px; }
body.es-ds.es-sitewide summary { font-weight:700;cursor:pointer;min-height:30px; }
body.es-ds.es-sitewide .es-sw-reading .disclosure-inline { margin:0 0 24px;font-size:13px; }
body.es-ds.es-sitewide .es-sw-main a,body.es-ds.es-sitewide .es-sw-main p,body.es-ds.es-sitewide .es-sw-main li { overflow-wrap:anywhere; }
/* Buying guides use the full editorial width for quick decision cards, with the TOC below rather than compressing product choices. */
body.es-ds.es-sw-buying-guide .es-sw-layout,body.es-ds.es-sw-single-product-review .es-sw-layout { grid-template-columns:minmax(0,1fr); }
body.es-ds.es-sw-buying-guide .es-sw-sidebar,body.es-ds.es-sw-single-product-review .es-sw-sidebar { display:none; }
body.es-ds.es-sw-buying-guide .es-sw-card-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
body.es-ds.es-sw-buying-guide .es-sw-reading > .container > .article-section,body.es-ds.es-sw-single-product-review .es-sw-reading > .container > .article-section { max-width:100%; }
body.es-ds.es-sw-single-product-review .es-sw-reading > .container { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px; }
body.es-ds.es-sw-single-product-review .es-sw-reading > .container > .disclosure-inline { grid-column:1/-1; }
body.es-ds.es-sw-single-product-review .es-sw-reading > .container > .article-section { padding:24px;background:var(--es-surface);border:1px solid var(--es-border);border-radius:14px;margin:0; }
body.es-ds.es-sw-single-product-review .es-sw-reading > .container > .article-section h2:first-child { margin-top:0; }
body.es-ds.es-sw-single-product-review .es-sw-reading > .container > .article-section:has(table),body.es-ds.es-sw-single-product-review .es-sw-reading > .container > .article-section:last-child { grid-column:1/-1; }
/* Actual digital product, not the sample sheet: original cover/preview and payment controls move intact. */
body.es-ds.es-sw-digital-product .es-sw-main { max-width:1210px;width:calc(100% - 80px);margin:0 auto; }
body.es-ds.es-sw-digital-product .es-sw-offer { display:grid;grid-template-columns:1.2fr .8fr;gap:50px;align-items:center;padding:46px 0 36px; }
body.es-ds.es-sw-digital-product .sales-hero { padding:0;background:transparent;text-align:left;border:0;max-width:none;margin:0; }
body.es-ds.es-sw-digital-product .sales-hero h1 { font-size:clamp(36px,4vw,55px);line-height:1.08; }
body.es-ds.es-sw-digital-product .sales-hero .subtitle { font-size:18px;color:var(--es-cocoa); }
body.es-ds.es-sw-digital-product .product-cover { padding:0;transform:rotate(-3deg);max-width:360px;margin:auto;background:none;border:0; }
body.es-ds.es-sw-digital-product .product-cover img { max-width:100%;max-height:450px;object-fit:contain;box-shadow:var(--es-shadow); }
body.es-ds.es-sw-digital-product .product-layout { display:block;max-width:none;padding:28px;background:var(--es-surface);border:1px solid var(--es-border);border-radius:16px; }
body.es-ds.es-sw-digital-product .buy-btn { display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:14px 20px;border-radius:9px;background:var(--es-copper);color:#fff;font-size:15px;text-transform:none;letter-spacing:0; }
body.es-ds.es-sw-digital-product .buy-box,body.es-ds.es-sw-digital-product .delivery-box,body.es-ds.es-sw-digital-product .social-proof { background:var(--es-beige);border:1px solid var(--es-border);border-radius:16px;color:var(--es-ink); }
body.es-ds.es-sw-digital-product .who-card { background:var(--es-surface);border:1px solid var(--es-border);box-shadow:var(--es-shadow);border-radius:16px; }
body.es-ds.es-grinder-care .es-gc-next-choice { margin:32px 0;padding:24px;background:var(--es-beige);border-radius:14px;border:1px solid var(--es-border); }
body.es-ds.es-grinder-care .es-gc-choice-actions { display:flex;flex-wrap:wrap;gap:12px;margin-top:18px; }
@media(max-width:1100px){
 body.es-ds.es-sitewide .es-sw-layout { gap:28px;grid-template-columns:minmax(0,1fr) 220px; }
 body.es-ds.es-sitewide .es-sw-hero h1 { max-width:60%;font-size:48px; }
 body.es-ds.es-sitewide .es-sw-hero .es-sw-lead { max-width:57%; }
 body.es-ds.es-sitewide .es-sw-shortcuts { grid-template-columns:1fr 1fr 1fr; }
 body.es-ds.es-sitewide .es-sw-shortcuts-label { grid-column:1/-1; }
 body.es-ds.es-sw-buying-guide .es-sw-layout,body.es-ds.es-sw-single-product-review .es-sw-layout { grid-template-columns:1fr; }
}
@media(max-width:800px){
 body.es-ds.es-sitewide .site-header .header-inner { padding:0 18px;gap:10px; }
 body.es-ds.es-sitewide .site-logo { white-space:normal;overflow-wrap:anywhere;line-height:1.2; }
 body.es-ds.es-sitewide .es-logo-mark { width:32px;height:32px; }
 body.es-ds.es-sitewide .es-sw-hero { display:block;min-height:0;padding-bottom:220px; }
 body.es-ds.es-sitewide .es-sw-hero-inner { width:calc(100% - 36px);padding:28px 0 18px; }
 body.es-ds.es-sitewide .es-sw-hero h1 { max-width:100%;font-size:38px; }
 body.es-ds.es-sitewide .es-sw-hero .es-sw-lead { max-width:100%;font-size:16px; }
 body.es-ds.es-sitewide .es-sw-hero-media { inset:auto 0 0;width:100%;height:240px; }
 body.es-ds.es-sitewide .es-sw-hero-media img { object-position:50% 65%; }
 body.es-ds.es-sitewide .es-sw-hero:after { background:linear-gradient(180deg,#F6F0E7 0%,#F6F0E7 calc(100% - 240px),rgba(246,240,231,0) calc(100% - 170px)); }
 body.es-ds.es-sitewide .es-sw-shortcuts { width:calc(100% - 36px);grid-template-columns:1fr;margin-top:-13px;padding:16px;gap:10px; }
 body.es-ds.es-sitewide .es-sw-shortcuts a { min-height:52px; }
 body.es-ds.es-sitewide .es-sw-layout { display:flex;flex-direction:column;width:calc(100% - 36px);margin-top:28px;gap:25px; }
 body.es-ds.es-sitewide .es-sw-sidebar { position:static;order:-1;width:100%; }
 body.es-ds.es-sitewide .es-sw-toc { padding:18px; }
 body.es-ds.es-sitewide .es-sw-toc a { display:inline-block;padding:8px 0;margin-right:14px;border-bottom:0; }
 body.es-ds.es-sitewide .es-sw-reading { width:100%; }
 body.es-ds.es-sitewide .es-sw-card-grid,body.es-ds.es-sw-buying-guide .es-sw-card-grid,body.es-ds.es-sw-single-product-review .es-sw-reading > .container { display:grid;grid-template-columns:1fr;gap:18px; }
 body.es-ds.es-sitewide .es-sw-reading .article-section { padding-left:0;padding-right:0; }
 body.es-ds.es-sitewide .es-sw-product-card { padding:20px!important; }
 body.es-ds.es-sw-digital-product .es-sw-main { width:calc(100% - 36px); }
 body.es-ds.es-sw-digital-product .es-sw-offer { grid-template-columns:1fr;padding:32px 0;gap:28px; }
 body.es-ds.es-sw-digital-product .product-cover { max-width:260px; }
 body.es-ds.es-sw-digital-product .who-grid { grid-template-columns:1fr; }
 body.es-ds.es-sw-digital-product .buy-box,body.es-ds.es-sw-digital-product .delivery-box { padding:24px 18px; }
}
@media(prefers-reduced-motion:reduce){body.es-ds.es-sitewide .btn{transition:none;transform:none}}
/* Grid min-content must not let a preserved wide specification table widen its mobile card. */
body.es-ds.es-sitewide .es-sw-reading .container > *,body.es-ds.es-sitewide .es-sw-reading .article-section { min-width:0; }
body.es-ds.es-sitewide .es-sw-hero-media { display:block!important; }
body.es-ds.es-sitewide .es-sw-hero-media img { display:block!important; }
body.es-ds.es-grinder-care .es-gc-choice-actions > div { flex:1 1 240px; }
body.es-ds.es-grinder-care .es-gc-choice-actions h3 { margin:0 0 12px;font-size:22px; }
/* Bounded shared-chrome repair for the retained 320/360px effective-200% wordmark debt.
   Normal-size rows are unchanged; only an otherwise overflowing enlarged logo/menu wraps. */
@media(max-width:760px){
 body.es-ds .header-inner { flex-wrap:wrap; }
 body.es-ds .site-logo,body.es-ds .footer-brand { max-width:100%;min-width:0;white-space:normal;flex-wrap:wrap;overflow-wrap:anywhere; }
}
/* Keep the original introductory educational photograph useful without repeating a full-height hero. */
body.es-ds.es-sw-education .es-sw-reading img.es-sw-opening-photo { width:100%;max-height:300px;object-fit:cover;object-position:center; }
body.es-ds.es-sw-single-product-review .es-sw-intro-continuation { grid-column:1/-1;max-width:900px;margin:0; }
/* Enlarged text may wrap the product promise and payment action without widening the phone viewport. */
body.es-ds.es-sw-digital-product .es-sw-offer > * { min-width:0; }
body.es-ds.es-sw-digital-product .buy-btn,body.es-ds.es-sw-digital-product .price-tag { max-width:100%;white-space:normal;overflow-wrap:anywhere; }

/* SITEWIDE-20261123-r4 contrast repair (Codey; gate Tier 4 pre-deploy findings on r3 f8c430a3). Scoped to the converted
   pages only (body.es-sitewide, plus the grinder guide's body.es-grinder-page); the homepage and the 26 adopted pages are
   unaffected. Restores each legacy component's intended color where the sitewide reading/link rules overrode it. */
/* 1. Button-class links inside .site-main keep their on-accent text (was copper on copper, 1:1). Same class list as the
      style.css button rule; beats body.es-ds .site-main a:where(...) and its :hover. */
body.es-ds.es-sitewide .site-main :is(.btn, .cta-btn, .btn-primary, .hero-cta, .buy-btn, .buy-button, .cta-button, .calc-button, .analyze-btn, .submit-btn, .download-btn, .sticky-cta-btn, .quick-pick-cta.btn),
body.es-ds.es-sitewide .site-main :is(.hub-cta, .recommendation) a,
body.es-ds.es-sitewide .site-main .grinder-card .cta { color: var(--es-on-accent); }
/* 2. Sticky CTA bar text on its dark bar: the legacy light text (rgb 239,242,237), not the page's dark --text. */
body.es-ds.es-sitewide .sticky-cta-bar .sticky-cta-text,
body.es-ds.es-sitewide .sticky-cta-bar .sticky-cta-text strong { color: #EFF2ED; }
/* 3. A footer nested inside the reading column keeps the footer's own color (#D4C4B8 on the dark footer), not reading-body text. */
body.es-ds.es-sitewide .es-sw-reading .site-footer p,
body.es-ds.es-sitewide .es-sw-reading .site-footer li { color: inherit; }
/* 4. 11px gold labels on the light note panels: #94601D measured 4.41:1; #905D1C gives 4.62:1 (one step darker, same hue). */
body.es-ds.es-sitewide div[style*="background:var(--es-note)"],
body.es-ds.es-grinder-page .es-grinder-review-facts { --es-gold-ink: #905D1C; }
