/* WP bridge + mockup foundation helpers (pages/homepage) */
.drc-home { color: var(--ink); background: var(--cream); }
/* Mockup styles.css reset — homepage.css assumes lists have no bullets */
.drc-home ul,
.drc-home ol { margin: 0; padding: 0; list-style: none; }
.drc-home .container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.drc-home .ic { width: 20px; height: 20px; flex: none; display: inline-block; vertical-align: middle; }
.drc-home .ic-sm { width: 16px; height: 16px; }
.drc-home .text-link { color: var(--rust-deep); font-weight: 600; text-underline-offset: 3px; text-decoration: underline; }
.drc-home .text-link:hover { color: var(--forest); }
.drc-home .tag-featured { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 999px; background: var(--blue); color: var(--forest); font: 600 11px/1.4 var(--font-ui); letter-spacing: .02em; text-transform: uppercase; }
.drc-home .ev { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px; font: 600 12px/1.3 var(--font-ui); }
.drc-home .ev-hands { background: color-mix(in srgb, var(--forest) 12%, var(--milk)); color: var(--forest); }
.drc-home .ev-research { background: var(--cream); color: var(--espresso); }
.drc-home .score-chip { display: inline-flex; align-items: baseline; gap: 2px; padding: 3px 9px; border-radius: 999px; background: var(--white); font: 700 14px/1.3 var(--font-ui); color: var(--forest); font-variant-numeric: tabular-nums; box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); }
.drc-home .score-chip small { font-size: 11px; font-weight: 600; color: var(--muted); }
.drc-home .tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.drc-home .tabs [role="tab"],
.drc-home .tabs .tab { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--white); font: 500 13.5px/1 var(--font-ui); color: var(--ink); cursor: pointer; }
.drc-home .tabs [role="tab"][aria-selected="true"],
.drc-home .tabs .tab[aria-selected="true"] { background: var(--blue); border-color: var(--blue); color: var(--forest); font-weight: 600; }
.drc-home .pcard-brand { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.drc-home .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.drc-home .cmp-pane[hidden] { display: none; }
.drc-home .ph-media { display: block; width: 100%; height: 100%; background: radial-gradient(circle at 50% 38%, #fff 0%, var(--tile) 76%); }
.drc-home .hero-visual > .ph-media { position: absolute; inset: 0; }
.drc-home .why-photo .ph-media { aspect-ratio: 5 / 3; border-radius: 22px; }
.drc-home .fd-visual .ph-media { position: absolute; inset: 0; background: linear-gradient(145deg, #1a2820, #3a4a40); }
.drc-home .gd-lead-img .ph-media { aspect-ratio: 16 / 11; border-radius: 24px; min-height: 200px; }
.drc-home .fr-price .price-from { font-size: 13px; color: var(--muted); margin-right: 6px; }
.drc-home .fr-price .price { font: 700 26px/1.15 var(--font-ui); color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -.015em; }
.drc-home .fr-price .cur { font-size: 13px; color: var(--muted); margin-left: 4px; }
.drc-home .note { font-size: 13.5px; color: var(--muted); margin-top: 12px; max-width: 70ch; }
.drc-home .fr-actions .btn-secondary { background: var(--white); border-color: var(--line-strong); color: var(--ink); }
/* Meter foundation (mockup styles.css) */
.drc-home .meter-top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; margin-bottom: 6px; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.drc-home .meter-top small { font-weight: 500; color: var(--muted); font-size: 12.5px; margin-left: 6px; }
.drc-home .meter-val { font-variant-numeric: tabular-nums; font-weight: 700; }
.drc-home .meter-val.na { color: var(--muted); font-weight: 600; font-size: 13.5px; }
.drc-home .meter-track { height: 6px; border-radius: 999px; background: #E4DFD5; overflow: hidden; }
.drc-home .meter-track > span { display: block; height: 100%; width: calc(var(--v) * 10%); background: var(--forest); border-radius: 999px; }
.drc-home .meter-track.na { background: repeating-linear-gradient(90deg, #CFC8BB 0 6px, transparent 6px 12px); opacity: .8; }

/* ==========================================================================
   Dr. Coffee homepage. Built on styles.css (approved Global Design Foundation v0.2)
   and the approved Concept C hero. White-first; cream (var(--cream)) is used for
   recommendation, comparison and help areas only.
   ========================================================================== */

html { scroll-padding-top: calc(var(--header-h) + 16px); }

/* ---------- Section rhythm ---------- */
.hsec { padding-block: clamp(56px, 6.2vw, 92px); }
.hsec.warm { background: var(--warm); }
.hsec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 52px); }
.hsec-note { font-size: 14px; color: var(--muted); max-width: 32ch; }
.eyebrow { font: 600 13.5px/1.3 var(--font-ui); color: var(--rust-deep); margin-bottom: 12px; }
.h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.08; letter-spacing: -.028em; color: var(--forest); max-width: 19ch; font-variation-settings: "opsz" 144; text-wrap: balance; }
.hsec-head .text-link { font-size: 15px; }

/* Gentle reveal, only when JS has confirmed it can run it */
.js-reveal .rv { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js-reveal .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js-reveal .rv { opacity: 1; transform: none; transition: none; } }

/* ============================================================
   1. HERO
   ============================================================ */
.hero { padding: clamp(20px, 3vw, 40px) 0 clamp(40px, 4.5vw, 64px); }
.hero-grid { display: grid; gap: 36px 72px; align-items: center; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6.3fr); } }
.hero-h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(36px, 4.3vw, 60px); line-height: 1.03; letter-spacing: -.032em; color: var(--forest); max-width: 13ch; font-variation-settings: "opsz" 144; text-wrap: balance; }
.hero-lede { margin-top: 20px; font-size: 17.5px; line-height: 1.6; color: var(--muted); max-width: 42ch; }
.hsec.featured { background: var(--blue); }
.paths { margin-top: 32px; padding: 8px; background: var(--blue); border-radius: 20px; max-width: 540px; }
.path-finder { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; background: var(--rust); color: #fff; border-radius: 14px; text-decoration: none; transition: background-color .15s; }
.path-finder:hover { background: var(--rust-deep); }
.path-finder-text { display: grid; gap: 2px; }
.path-finder strong { font: 600 17px/1.3 var(--font-ui); }
.path-finder-text > span { font-size: 13.5px; color: rgba(255,255,255,.9); }
.path-finder .ic { transition: transform .25s var(--ease); flex: none; }
.path-finder:hover .ic { transform: translateX(4px); }
.path-rows { margin-top: 2px; }
.path-rows li + li { border-top: 1px solid #E8E3D9; }
.path-rows a { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 13px 14px; min-height: 62px; text-decoration: none; color: var(--ink); border-radius: 12px; transition: background-color .15s; }
.path-rows a:hover { background: rgba(255,255,255,.75); }
.path-rows a > .ic:first-child { color: var(--forest); }
.path-rows a > .ic-sm { color: var(--muted); transition: transform .2s var(--ease); }
.path-rows a:hover > .ic-sm { transform: translateX(3px); }
.path-rows strong { display: block; font: 600 15px/1.3 var(--font-ui); }
.path-rows a span span { display: block; font-size: 13.5px; color: var(--muted); }
.fine { display: flex; gap: 8px; align-items: flex-start; margin-top: 18px; font-size: 12.5px; color: var(--muted); max-width: 520px; }
.fine .ic { margin-top: 2px; color: #8A918C; }
.fine a { color: var(--forest); font-weight: 600; text-underline-offset: 3px; }

.hero-visual { position: relative; border-radius: 28px; overflow: hidden; min-height: clamp(440px, 50vw, 700px); background: #cfae86; box-shadow: inset 0 0 0 1px rgba(23,35,31,.05); isolation: isolate; align-self: stretch; }
.hero-visual > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; }
.hero-visual::after { content: ""; position: absolute; inset: auto 0 0 0; height: 38%; background: linear-gradient(to top, rgba(40,24,10,.22), transparent); z-index: 0; pointer-events: none; }
.hero-card { position: absolute; z-index: 1; left: 24px; bottom: 24px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; width: min(448px, calc(100% - 48px)); padding: 12px 14px 12px 12px; background: rgba(255,255,255,.97); border-radius: 18px; text-decoration: none; color: var(--ink); box-shadow: 0 24px 48px -24px rgba(23,35,31,.55), 0 0 0 1px rgba(23,35,31,.04); transition: transform .35s var(--ease), box-shadow .35s; }
.hero-card:hover { transform: translateY(-3px); box-shadow: 0 30px 56px -24px rgba(23,35,31,.6), 0 0 0 1px rgba(23,35,31,.04); }
.hc-img { width: 92px; height: 104px; border-radius: 12px; background: radial-gradient(circle at 50% 38%, #fff 0%, var(--tile) 76%); display: grid; place-items: center; }
.hc-img svg { width: 92%; height: 92%; }
.hc-body { display: grid; gap: 3px; min-width: 0; }
.hc-tag { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.hc-name { font: 600 17px/1.25 var(--font-ui); letter-spacing: -.01em; }
.hc-line { font-size: 13px; color: var(--muted); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hc-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; margin-top: 4px; }
.hc-price { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.hc-go { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--forest); color: #fff; transition: background-color .2s, transform .3s var(--ease); align-self: end; }
.hero-card:hover .hc-go { background: var(--rust); transform: translate(2px, -2px); }

/* ============================================================
   2. WHY DR. COFFEE
   ============================================================ */
.why-grid { display: grid; gap: 48px 96px; }
@media (min-width: 1000px) { .why-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; } .why-lead { position: sticky; top: calc(var(--header-h) + 32px); } }
.why-photo { margin: 36px 0 0; border-radius: 22px; overflow: hidden; aspect-ratio: 5 / 3; max-width: 460px; }
.why-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.why-list { display: grid; }
.why-item { display: grid; gap: 8px 40px; padding: 28px 0; border-top: 1px solid var(--line); }
.why-item:first-child { border-top: 0; padding-top: 4px; }
.why-item h3 { font: 600 20px/1.3 var(--font-ui); letter-spacing: -.012em; color: var(--ink); }
.why-item p { font-size: 16px; color: var(--muted); max-width: 52ch; }
@media (min-width: 700px) { .why-item { grid-template-columns: 210px minmax(0, 1fr); } }
.why-links { display: flex; flex-wrap: wrap; gap: 8px 28px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 15px; }

/* ============================================================
   3. EQUIPMENT FAMILIES
   ============================================================ */
.fam { display: grid; gap: 16px; }
@media (min-width: 1000px) { .fam { grid-template-columns: 1.12fr 1fr 1fr; grid-template-rows: repeat(2, minmax(300px, auto)); } .fam-tile:first-child { grid-row: span 2; } }
@media (min-width: 640px) and (max-width: 999.98px) { .fam { grid-template-columns: 1fr 1fr; } .fam-tile:first-child { grid-column: 1 / -1; } }
.fam-tile { position: relative; border-radius: 24px; padding: 28px; overflow: hidden; background: radial-gradient(circle at 72% 28%, #fff 0%, var(--tile) 72%); display: flex; flex-direction: column; justify-content: space-between; gap: 20px; min-height: 280px; transition: box-shadow .35s var(--ease); }
.fam-tile:hover { box-shadow: 0 24px 40px -28px rgba(23,35,31,.35); }
.fam-count { font-size: 13px; color: var(--muted); }
.fam-name { margin-top: 4px; font: 600 22px/1.2 var(--font-ui); letter-spacing: -.015em; }
.fam-name a { color: var(--ink); text-decoration: none; }
.fam-name a::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.fam-tile:first-child .fam-name { font: 500 clamp(28px, 2.8vw, 38px)/1.08 var(--font-display); letter-spacing: -.025em; color: var(--forest); }
.fam-art { position: absolute; pointer-events: none; transition: transform .6s var(--ease); }
.fam-art svg { width: 100%; height: 100%; }
.fam-tile:hover .fam-art { transform: translateY(-6px) scale(1.02); }
.fam-top, .fam-links { position: relative; z-index: 1; pointer-events: none; }
.fam-links a, .fam-top a { pointer-events: auto; }
.fam-links { display: grid; gap: 0 20px; grid-template-columns: 1fr; }
.fam-links a { position: relative; z-index: 1; display: block; padding: 6px 0; font-size: 14.5px; color: var(--muted); text-decoration: none; border-bottom: 1px solid rgba(23,35,31,.08); }
.fam-links a:hover { color: var(--ink); }
.fam-links a.fam-all { color: var(--rust-deep); font-weight: 600; border-bottom-color: transparent; }
.fam-tile:first-child .fam-art { right: 4%; top: 6%; width: min(76%, 430px); height: 56%; }
.fam-tile:first-child .fam-links { grid-template-columns: 1fr 1fr; max-width: 520px; }
.fam-tile:not(:first-child) .fam-art { right: 14px; top: 14px; width: 42%; max-width: 200px; height: 62%; }
.fam-tile:not(:first-child) .fam-top { max-width: 52%; }
.fam-tile:not(:first-child) .fam-links { max-width: 62%; }
@media (max-width: 639.98px) {
  .fam-tile, .fam-tile:first-child { min-height: 0; padding: 22px; }
  .fam-tile:first-child .fam-art { position: relative; width: 100%; height: 220px; right: auto; top: auto; order: 2; margin-block: -8px; }
  .fam-tile:first-child { display: grid; }
  .fam-tile:first-child .fam-links { grid-template-columns: 1fr; }
  .fam-tile:not(:first-child) .fam-art { width: 34%; height: 130px; }
  .fam-tile:not(:first-child) .fam-top { max-width: 60%; }
  .fam-tile:not(:first-child) .fam-links { max-width: 100%; }
}

/* ============================================================
   4. STARTING POINTS
   ============================================================ */
.jr-list { display: grid; gap: 0 72px; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .jr-list { grid-template-columns: 1fr 1fr; } .jr-list .jr:nth-last-child(2) { border-bottom: 0; } }
.jr { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 20px 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.jr-thumb { width: 76px; height: 76px; border-radius: 18px; background: radial-gradient(circle at 50% 36%, #fff 0%, var(--tile) 78%); display: grid; place-items: center; overflow: hidden; }
.jr-thumb svg { width: 118%; height: 118%; margin-top: 6px; transition: transform .5s var(--ease); }
.jr:hover .jr-thumb svg { transform: scale(1.06); }
.jr h3 { font: 600 17.5px/1.3 var(--font-ui); letter-spacing: -.01em; }
.jr:hover h3 { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.jr p { font-size: 14px; color: var(--muted); margin-top: 2px; }
.jr-meta { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 12.5px; color: var(--muted); }
.jr-go { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--forest); box-shadow: inset 0 0 0 1px var(--line-strong); transition: background-color .2s, color .2s, box-shadow .2s; }
.jr:hover .jr-go { background: var(--forest); color: #fff; box-shadow: none; }
@media (max-width: 480px) { .jr { grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; } .jr-thumb { width: 64px; height: 64px; border-radius: 14px; } }

/* ============================================================
   5. FEATURED REVIEWS
   ============================================================ */
.fr { display: grid; gap: 40px 56px; align-items: start; }
@media (min-width: 1000px) { .fr { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.fr-lead { display: grid; gap: 28px; padding: clamp(20px, 3vw, 36px); background: var(--blue); border-radius: 28px; color: var(--forest); overflow: visible; }
@media (min-width: 700px) { .fr-lead { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 36px; } }
.fr-lead-media { position: relative; border-radius: 20px; background: radial-gradient(circle at 50% 38%, #fff 0%, #F1EEE8 78%); display: grid; place-items: center; min-height: 280px; overflow: hidden; }
.fr-lead-media svg,
.fr-lead-media img { width: 88%; height: 88%; object-fit: contain; }
.fr-lead-media .tag-demo { position: absolute; top: 14px; left: 14px; }
.fr-lead-body { display: flex; flex-direction: column; min-width: 0; overflow: visible; }
.fr-label { font-size: 13px; font-weight: 600; color: var(--rust-deep); margin-bottom: 8px; }
.fr-title { font: 500 clamp(26px, 2.6vw, 34px)/1.1 var(--font-display); letter-spacing: -.025em; color: var(--forest); }
.fr-type { font-size: 14px; color: var(--muted); margin-top: 4px; }
.fr-verdict { margin-top: 16px; font-size: 16px; line-height: 1.55; max-width: 44ch; }
.fr-meters { display: grid; gap: 10px; margin-top: 20px; }
.fr-meters .meter-top { font-size: 13.5px; margin-bottom: 4px; color: var(--forest); }
.fr-meters .meter-track { height: 5px; background: #E4DFD5; }
.fr-score { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 18px; margin-bottom: 0; }
.fr-score .score-big { font: 600 44px/1 var(--font-display); color: var(--forest); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.fr-score .score-big small { font: 500 14px/1 var(--font-ui); color: var(--muted); margin-left: 4px; }
.fr-foot { margin-top: auto; padding-top: 22px; display: grid; gap: 14px; }
.fr-price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.fr-price .price { font-size: 26px; }
.fr-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.fr-side { display: grid; align-content: stretch; grid-template-rows: auto repeat(3, 1fr); }
.fr-side-head { font: 600 15px/1.3 var(--font-ui); margin-bottom: 4px; }
.fr-row { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 20px 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.fr-row:first-of-type { border-top: 0; }
.fr-row-img { position: relative; width: 88px; height: 104px; border-radius: 14px; background: radial-gradient(circle at 50% 38%, #fff 0%, var(--tile) 78%); display: grid; place-items: center; }
.fr-row-img svg { width: 86%; height: 86%; }
.fr-row-img .tag-demo { position: absolute; top: 5px; left: 5px; font-size: 9.5px; padding: 0 4px; }
.fr-row-brand { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.fr-row h3 { font: 600 17px/1.3 var(--font-ui); letter-spacing: -.01em; }
.fr-row:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.fr-row-meta { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; margin-top: 8px; }
.fr-row-price { text-align: right; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.fr-row-price strong { display: block; font: 700 18px/1.2 var(--font-ui); color: var(--ink); letter-spacing: -.01em; }
.fr-note { margin-top: 32px; }
@media (max-width: 560px) { .fr-row { grid-template-columns: 72px minmax(0, 1fr); } .fr-row-price { grid-column: 2; text-align: left; } .fr-row-img { width: 72px; height: 88px; } }

/* ============================================================
   6. COMPARISONS
   ============================================================ */
.cmp-tabs { margin-bottom: 20px; }
.cmp-panel { background: var(--white); border-radius: 28px; padding: clamp(18px, 3vw, 44px); box-shadow: 0 1px 2px rgba(23,35,31,.04); }
.cmp-grid { display: grid; grid-template-columns: minmax(120px, 190px) minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(12px, 3vw, 40px); }
.cmp-cell { min-width: 0; }
.cmp-row { display: contents; }
.cmp-row > * { padding-block: 14px; border-top: 1px solid var(--line); }
.cmp-label { font-size: 14px; font-weight: 600; color: var(--ink); align-self: center; }
.cmp-label small { display: block; font-weight: 400; color: var(--muted); font-size: 12.5px; }
.cmp-head > * { border-top: 0; padding-top: 0; }
.cmp-prod { text-align: left; }
.cmp-prod-img { position: relative; aspect-ratio: 2 / 1; border-radius: 18px; background: radial-gradient(circle at 50% 40%, #fff 0%, var(--tile) 78%); display: grid; place-items: center; margin-bottom: 14px; }
.cmp-prod-img svg { width: 60%; height: 96%; }
.cmp-prod-img .tag-demo { position: absolute; top: 10px; left: 10px; }
.cmp-prod .pcard-brand { font-size: 12.5px; }
.cmp-prod h3 { font: 600 clamp(17px, 1.6vw, 21px)/1.25 var(--font-ui); letter-spacing: -.012em; margin: 2px 0 8px; }
.cmp-prod .meta { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; }
.cmp-overall { display: flex; align-items: baseline; gap: 2px; font: 600 34px/1 var(--font-display); color: var(--forest); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.cmp-overall small { font: 500 13px/1 var(--font-ui); color: var(--muted); margin-left: 4px; }
.cmp-overall.is-lead { color: var(--forest); }
.cmp-overall.is-trail { color: #6c756f; }
.cmp-price { font-size: 14px; color: var(--muted); }
.cmp-price strong { font: 700 17px/1.2 var(--font-ui); color: var(--ink); }
.cmp-val { min-width: 0; }
.cmp-val .meter-top { margin-bottom: 5px; font-size: 14px; }
.cmp-val .meter-track { height: 6px; }
.cmp-val.lead .meter-val { color: var(--forest); }
.cmp-val.trail .meter-track > span { background: #8FA39A; }
.cmp-val.trail .meter-val { color: var(--muted); font-weight: 600; }
.cmp-text { font-size: 14.5px; }
.cmp-best { display: grid; gap: 4px; }
.cmp-best strong { display: inline-flex; gap: 6px; align-items: center; font-size: 14px; color: var(--success); }
.cmp-best strong .ic { width: 16px; height: 16px; }
.cmp-best span { font-size: 13.5px; color: var(--muted); }
.cmp-cta { align-items: end; }
.cmp-cta .btn { width: 100%; }
.cmp-cta .btn + .btn { margin-top: 8px; }
.cmp-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.cmp-foot .btn { flex: none; }
.cmp-more { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 24px; font-size: 15px; }
@media (max-width: 719.98px) {
  .cmp-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .cmp-label { grid-column: 1 / -1; padding-bottom: 0; border-top: 1px solid var(--line); padding-top: 14px; }
  .cmp-row > .cmp-label + .cmp-cell { border-top: 0; padding-top: 8px; }
  .cmp-head .cmp-label { display: none; }
  .cmp-prod-img { aspect-ratio: 1 / 1; }
  .cmp-prod-img svg { width: 84%; height: 84%; }
  .cmp-text { font-size: 13.5px; }
  .cmp-row.cmp-cta > .cmp-label { display: none; }
}

/* ============================================================
   7. COFFEE FINDER
   ============================================================ */
.fd { position: relative; border-radius: 32px; background: var(--forest); color: #E3EAE6; overflow: hidden; display: grid; }
@media (min-width: 1000px) { .fd { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); } }
.fd-body { padding: clamp(28px, 5vw, 72px); position: relative; z-index: 1; }
.fd-eyebrow { font: 600 13.5px/1.3 var(--font-ui); color: #B9CBC2; margin-bottom: 14px; }
.fd-h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(28px, 3.2vw, 44px); line-height: 1.08; letter-spacing: -.028em; color: #fff; max-width: 17ch; font-variation-settings: "opsz" 144; text-wrap: balance; }
.fd-quiz { margin-top: 36px; max-width: 560px; }
.fd-progress { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #B9CBC2; margin-bottom: 14px; }
.fd-dots { display: flex; gap: 6px; }
.fd-dots span { width: 28px; height: 3px; border-radius: 2px; background: rgba(255,255,255,.22); transition: background-color .3s; }
.fd-dots span.on { background: #fff; }
.fd-q { font: 600 20px/1.3 var(--font-ui); color: #fff; letter-spacing: -.01em; margin-bottom: 16px; }
.fd-opts { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.fd-opt { min-height: 56px; padding: 10px 16px; text-align: left; border-radius: 12px; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.04); color: #fff; font-size: 15px; font-weight: 500; line-height: 1.3; transition: background-color .15s, border-color .15s, transform .1s; }
.fd-opt small { display: block; font-weight: 400; font-size: 12.5px; color: #B9CBC2; margin-top: 2px; }
.fd-opt:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.6); }
.fd-opt:active { transform: translateY(1px); }
.fd-opt:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.fd-back { margin-top: 16px; min-height: 44px; padding: 0 4px; border: 0; background: transparent; color: #DCE6E0; font-weight: 600; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.fd-result { padding: 22px; background: rgba(255,255,255,.08); border-radius: 18px; }
.fd-result-label { font-size: 13px; color: #B9CBC2; margin-bottom: 6px; }
.fd-result h3 { font: 500 clamp(24px, 2.4vw, 30px)/1.12 var(--font-display); color: #fff; letter-spacing: -.02em; }
.fd-why { margin: 14px 0 0; display: grid; gap: 8px; font-size: 14.5px; color: #E3EAE6; }
.fd-why li { display: flex; gap: 10px; align-items: flex-start; }
.fd-why .ic { width: 16px; height: 16px; margin-top: 4px; color: #9FD0B6; }
.fd-pick { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.16); }
.fd-pick-img { width: 64px; height: 72px; border-radius: 10px; background: #F5F3EF; display: grid; place-items: center; }
.fd-pick-img svg { width: 90%; height: 90%; }
.fd-pick strong { display: block; font-size: 15.5px; color: #fff; }
.fd-pick span { font-size: 13px; color: #B9CBC2; }
.fd-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.fd-actions .btn-secondary { background: transparent; border-color: rgba(255,255,255,.4); color: #fff; }
.fd-actions .btn-secondary:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.fd-fine { margin-top: 14px; font-size: 12.5px; color: #B9CBC2; }
.fd-visual { position: relative; min-height: 260px; }
.fd-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; filter: saturate(.92); }
.fd-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, var(--forest), transparent 38%); }
@media (min-width: 1000px) { .fd-visual::after { background: linear-gradient(to right, var(--forest), transparent 46%); } .fd-visual { min-height: 0; } }
@media (max-width: 560px) { .fd-opts { grid-template-columns: 1fr; } .fd { border-radius: 24px; } }

/* ============================================================
   8. BRANDS
   ============================================================ */
.br-grid { display: grid; gap: 48px 96px; }
@media (min-width: 1000px) { .br-grid { grid-template-columns: minmax(0, 4.5fr) minmax(0, 7fr); align-items: center; } }
.br-text { margin-top: 20px; font-size: 16px; color: var(--muted); max-width: 44ch; }
.br-where { display: grid; gap: 0; margin-top: 28px; max-width: 360px; }
.br-where li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; font-weight: 500; }
.br-where li:last-child { border-bottom: 1px solid var(--line); }
.br-where .ic { color: var(--forest); }
.br-wall { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .br-wall { grid-template-columns: repeat(3, 1fr); } }
.br { display: grid; align-content: center; gap: 6px; min-height: 124px; padding: 22px 8px; text-decoration: none; color: var(--ink); border-top: 1px solid var(--line); transition: background-color .2s; text-align: center; }
.br:hover { background: var(--warm); }
.br-mark { font-size: 26px; line-height: 1.1; color: var(--forest); transition: color .2s; }
.br:hover .br-mark { color: var(--rust-deep); }
.br-kind { font-size: 12.5px; color: var(--muted); }
.w1 { font-family: var(--font-display); font-weight: 500; letter-spacing: -.02em; font-size: 30px; }
.w2 { font-family: var(--font-ui); font-weight: 700; letter-spacing: -.04em; font-size: 26px; }
.w3 { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 28px; letter-spacing: -.01em; }
.w4 { font-family: var(--font-ui); font-weight: 600; letter-spacing: .12em; font-size: 15px; text-transform: uppercase; }
.w5 { font-family: var(--font-display); font-weight: 600; font-size: 26px; letter-spacing: -.03em; }
.w6 { font-family: var(--font-ui); font-weight: 300; font-size: 29px; letter-spacing: -.03em; }

/* ============================================================
   9. GUIDES
   ============================================================ */
.gd { display: grid; gap: 40px 56px; }
@media (min-width: 1000px) { .gd { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); } }
.gd-lead { display: grid; gap: 22px; text-decoration: none; color: var(--ink); align-content: start; }
.gd-lead-img { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 16 / 11; background: #2a2724; }
.gd-lead-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; display: block; transition: transform .8s var(--ease); }
.gd-lead:hover .gd-lead-img img { transform: scale(1.03); }
.gd-lead-img .tag-demo { position: absolute; top: 14px; left: 14px; }
.gd-kind { font-size: 13px; font-weight: 600; color: var(--rust-deep); }
.gd-lead h3 { font: 500 clamp(26px, 2.8vw, 36px)/1.1 var(--font-display); letter-spacing: -.025em; color: var(--forest); max-width: 20ch; margin-top: 6px; }
.gd-lead:hover h3 { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.gd-dek { font-size: 16px; color: var(--muted); max-width: 52ch; }
.gd-meta { font-size: 13px; color: var(--muted); }
.gd-list { display: grid; align-content: start; }
.gd-item { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 20px; align-items: center; padding: 20px 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.gd-item:first-child { border-top: 0; padding-top: 0; }
.gd-thumb { position: relative; width: 112px; aspect-ratio: 1 / 1; border-radius: 16px; overflow: hidden; background: radial-gradient(circle at 50% 38%, #fff 0%, var(--tile) 78%); display: grid; place-items: center; }
.gd-thumb svg { width: 96%; height: 96%; }
.gd-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gd-item h3 { font: 600 17.5px/1.3 var(--font-ui); letter-spacing: -.01em; margin-top: 4px; }
.gd-item:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.gd-item .gd-meta { margin-top: 6px; }
@media (max-width: 480px) { .gd-item { grid-template-columns: 88px minmax(0, 1fr); gap: 14px; } .gd-thumb { width: 88px; } }

/* ============================================================
   10. HELP
   ============================================================ */
.help-grid { display: grid; gap: 40px 96px; align-items: center; }
@media (min-width: 1000px) { .help-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
.help-text { margin-top: 20px; font-size: 16px; color: var(--muted); max-width: 48ch; }
.help-links li + li { border-top: 1px solid #E4DFD5; }
.help-links a { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 22px 8px; text-decoration: none; color: var(--ink); border-radius: 14px; transition: background-color .2s; }
.help-links a:hover { background: rgba(255,255,255,.7); }
.help-links a > .ic:first-child { color: var(--forest); width: 24px; height: 24px; }
.help-links strong { display: block; font: 600 18px/1.3 var(--font-ui); letter-spacing: -.01em; }
.help-links a span span { display: block; font-size: 14px; color: var(--muted); margin-top: 2px; }
.help-links a > .ic-sm { color: var(--forest); transition: transform .25s var(--ease); }
.help-links a:hover > .ic-sm { transform: translate(3px, 0); }

.site-footer { margin-top: 0; }

.cmp-cta > .cmp-label { border-top-color: transparent; }
.cmp-cta > * { border-top-color: transparent; }

@media (max-width: 560px) {
  .hero-visual { min-height: 500px; border-radius: 22px; }
  .hc-line { display: none; }
  .hc-img { width: 72px; height: 84px; }
  .hero-card { left: 14px; bottom: 14px; width: calc(100% - 28px); gap: 12px; }
}

/* Finder options as links (WP) */
.drc-home a.fd-opt { display: block; text-decoration: none; color: #fff; }
.drc-home a.fd-opt span { display: block; font-weight: 500; }
.drc-home a.fd-opt small { display: block; font-weight: 400; font-size: 12.5px; color: #B9CBC2; margin-top: 2px; }
.drc-home .fr-title a { color: inherit; text-decoration: none; }
.drc-home .fr-title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.drc-home .note { font-size: 13px; color: var(--muted); }

/* ——— 3-step Coffee Matcher widget ——— */
.drc-matcher {
  padding: 22px;
  border: 1px solid var(--line, var(--stone));
  border-radius: var(--r-panel, 16px);
  background: var(--milk);
  box-shadow:
    0 1px 0 0 var(--highlight-inset, rgba(255, 255, 255, 0.55)) inset,
    0 24px 48px -32px rgba(23, 35, 31, 0.28);
}

@media (min-width: 640px) {
  .drc-matcher {
    padding: 28px;
  }
}

.drc-matcher__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.drc-matcher__eyebrow,
.drc-finder__eyebrow {
  margin: 0 0 8px;
  font: 600 12px / 1 var(--font-ui);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rust-deep, var(--forest));
}

.drc-matcher__title {
  margin: 0;
  font: 600 clamp(1.2rem, 0.4vw + 1.1rem, 1.45rem) / 1.2 var(--font-display);
  color: var(--forest);
  letter-spacing: -0.015em;
}

.drc-matcher__step {
  flex: none;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--forest-tint, #e8efeb);
  font: 700 12px / 1.3 var(--font-ui);
  color: var(--forest);
}

.drc-matcher__progress {
  display: flex;
  gap: 6px;
  margin-bottom: 22px;
}

.drc-matcher__progress span {
  flex: 1;
  height: 5px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--stone) 55%, var(--cream));
  transition: background-color 200ms var(--ease, ease), transform 200ms var(--ease, ease);
}

.drc-matcher__progress span.is-on {
  background: var(--forest);
}

.drc-matcher__panel {
  animation: drc-matcher-in 220ms var(--ease, ease);
}

@keyframes drc-matcher-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .drc-matcher__panel {
    animation: none;
  }
}

.drc-matcher__q {
  margin: 0 0 14px;
  font: 600 16px / 1.3 var(--font-ui);
  color: var(--espresso);
  letter-spacing: -0.01em;
}

.drc-matcher__opts {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.drc-matcher__opt {
  display: block;
  cursor: pointer;
  position: relative;
}

.drc-matcher__opt input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.drc-matcher__opt > span {
  display: grid;
  gap: 4px;
  width: 100%;
  padding: 14px 16px 14px 18px;
  border: 1.5px solid var(--line-strong, var(--stone));
  border-radius: var(--r-card, 14px);
  background: var(--white, var(--milk));
  color: var(--ink, var(--espresso));
  transition: border-color 160ms, background-color 160ms, box-shadow 160ms, transform 120ms;
}

.drc-matcher__opt > span strong {
  display: block;
  font: 600 15px / 1.25 var(--font-ui);
  color: var(--espresso);
}

.drc-matcher__opt > span small {
  display: block;
  font: 400 13px / 1.45 var(--font-ui);
  color: var(--muted);
}

.drc-matcher__opt:hover > span {
  border-color: var(--forest);
  transform: translateY(-1px);
}

.drc-matcher__opt input:focus-visible + span {
  outline: 3px solid var(--forest);
  outline-offset: 2px;
}

.drc-matcher__opt input:checked + span {
  border-color: var(--forest);
  background: var(--forest-tint, #e8efeb);
  box-shadow: inset 0 0 0 1px var(--forest);
}

.drc-matcher__opt input:checked + span strong {
  color: var(--forest);
}

.drc-matcher__actions {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.drc-matcher__actions .btn {
  flex: 1;
}

.drc-matcher__actions .btn:last-child {
  flex: 1.45;
}

.drc-matcher__submit {
  margin-top: 16px;
}

.drc-matcher__actions .btn:disabled,
.drc-matcher__submit:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ——— Standalone /finder/ portal ——— */
.drc-finder {
  position: relative;
  padding-block: 20px calc(72px + env(safe-area-inset-bottom, 0px));
  overflow: hidden;
}

.drc-finder__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 88% 12%, color-mix(in srgb, var(--blue) 42%, transparent), transparent 70%),
    radial-gradient(ellipse 55% 45% at 8% 78%, color-mix(in srgb, var(--forest) 10%, transparent), transparent 65%),
    linear-gradient(180deg, color-mix(in srgb, var(--cream) 70%, var(--milk)) 0%, var(--cream) 48%, var(--cream) 100%);
}

.drc-finder__inner {
  position: relative;
  z-index: 1;
}

.drc-finder__crumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  font: 500 13px / 1.4 var(--font-ui);
  color: var(--muted);
}

.drc-finder__crumb a {
  color: inherit;
  text-decoration: none;
}

.drc-finder__crumb a:hover {
  color: var(--forest);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.drc-finder__layout {
  display: grid;
  gap: 36px;
  align-items: start;
}

@media (min-width: 960px) {
  .drc-finder__layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 56px;
    align-items: stretch;
  }
}

.drc-finder__intro {
  max-width: 40rem;
}

@media (min-width: 960px) {
  .drc-finder__intro {
    max-width: none;
    padding-top: 8px;
    display: flex;
    flex-direction: column;
  }
}

.drc-finder__title {
  margin: 0;
  font: 600 clamp(1.85rem, 2.8vw + 1rem, 2.75rem) / 1.08 var(--font-display);
  color: var(--forest);
  letter-spacing: -0.02em;
  max-width: 16ch;
}

.drc-finder__lede {
  margin: 16px 0 0;
  font: 400 16.5px / 1.6 var(--font-ui);
  color: var(--muted);
  max-width: 46ch;
}

.drc-finder__beats {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.drc-finder__beats li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px 16px;
  border-radius: var(--r-card, 14px);
  background: color-mix(in srgb, var(--milk) 82%, white);
  border: 1px solid color-mix(in srgb, var(--stone) 70%, transparent);
}

.drc-finder__beat-n {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--forest);
  color: var(--milk);
  font: 700 12px / 1 var(--font-ui);
}

.drc-finder__beats strong {
  display: block;
  font: 600 14.5px / 1.3 var(--font-ui);
  color: var(--espresso);
}

.drc-finder__beats li > span > span {
  display: block;
  margin-top: 2px;
  font: 400 13px / 1.45 var(--font-ui);
  color: var(--muted);
}

.drc-finder__trust {
  margin-top: 22px;
  padding: 16px 18px;
  border-radius: var(--r-card, 14px);
  background: var(--forest-tint, #e8efeb);
}

.drc-finder__trust-title {
  margin: 0 0 8px;
  font: 700 12.5px / 1.3 var(--font-ui);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--forest);
}

.drc-finder__trust ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.drc-finder__trust li {
  position: relative;
  padding-left: 16px;
  font: 400 13.5px / 1.5 var(--font-ui);
  color: color-mix(in srgb, var(--forest) 70%, var(--espresso));
}

.drc-finder__trust li + li {
  margin-top: 6px;
}

.drc-finder__trust li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--forest);
}

.drc-finder__trust a {
  color: var(--forest);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.drc-finder__alt {
  margin: 20px 0 0;
  font: 500 13.5px / 1.5 var(--font-ui);
  color: var(--muted);
}

.drc-finder__alt a {
  color: var(--forest);
  font-weight: 600;
  text-decoration: none;
}

.drc-finder__alt a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.drc-finder__alt span {
  margin: 0 8px;
  opacity: 0.55;
}

.drc-finder__stage {
  min-width: 0;
}

@media (min-width: 960px) {
  .drc-finder__stage {
    position: sticky;
    top: calc(var(--header-h, 68px) + 20px);
    align-self: start;
  }
}

.drc-finder .drc-matcher {
  width: 100%;
  max-width: none;
}

