/* HearthGable fleet layout — SINGLE CSS SOURCE for this site.
   Fleet layout system: shared component markup (mk-*) + per-site variables.
   A fleetwide rollout edits the component renderers (hg-components.php)
   and/or these variables — never individual pages.

   ACCESSIBILITY-FIRST FOUNDATION (Josh's direction, 2026-11-21): this
   site's audience is 55+ readers and their adult children, many with aging
   eyes. The variables below are set accessibility-first ON PURPOSE:
   19px base type, 1.65 line height, AAA-grade text contrast, 52px minimum
   tap targets, visible focus outlines, reduced-motion support. Do not
   "match the fleet" by shrinking these — HearthGable's per-site variables
   are deliberately larger and stronger than the fleet default. */
:root{
  --hg-ink:#2e2a26;        /* warm charcoal ink — 13.3:1 on --hg-bg */
  --hg-accent:#8a5c14;     /* brass accent, darkened for AA — white text on it: 5.8:1 */
  --hg-accent-dark:#6e470e;/* links + hover — 7.6:1 on --hg-bg */
  --hg-bg:#faf7f1;         /* warm cream */
  --hg-surface:#ffffff;
  --hg-muted:#59544a;      /* secondary text — 7.0:1 on --hg-bg (AAA) */
  --hg-line:#e5ded2;       /* decorative borders only, never text */
  --hg-good:#3f7a3a;       /* white text on it: 5.2:1 */
  --hg-radius:14px;
  --hg-font-size:19px;     /* base body size for aging eyes (fleet default is smaller) */
  --hg-leading:1.65;       /* generous line height */
  --hg-tap:52px;           /* minimum tap-target height for buttons and primary links */
  --hg-font:-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  --hg-font-display:Georgia,"Iowan Old Style","Times New Roman",serif;
}
body{background:var(--hg-bg);color:var(--hg-ink);font-family:var(--hg-font);font-size:var(--hg-font-size);line-height:var(--hg-leading)}
h1,h2,h3{font-family:var(--hg-font-display);color:var(--hg-ink);line-height:1.25}
a{color:var(--hg-accent-dark)}
/* Keyboard and switch users always get a visible focus indicator. */
:focus-visible{outline:3px solid var(--hg-accent-dark);outline-offset:2px;border-radius:2px}
/* Visually hidden but available to assistive tech (never display:none content). */
.screen-reader-text{position:absolute !important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);border:0;white-space:nowrap}
@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{transition:none !important;animation:none !important;scroll-behavior:auto !important}
}
/* Astra default footer is replaced by the hg-footer component (hg-design.php) */
#colophon.site-footer{display:none}
/* ---------- disclosure (component: hg_disclosure) ---------- */
.hg-disclosure-slim{font-size:.88rem;color:var(--hg-muted);border-bottom:1px solid var(--hg-line);padding:.45rem 0;margin:0 0 1rem}
.hg-disclosure-full{font-size:.95rem;color:var(--hg-muted);background:var(--hg-surface);border:1px solid var(--hg-line);border-radius:var(--hg-radius);padding:1rem 1.1rem;margin:2rem 0}
/* ---------- pick / verdict cards (component: hg_pick_card) ---------- */
.mk-pick{display:flex;gap:1.1rem;background:var(--hg-surface);border:1px solid var(--hg-line);border-radius:var(--hg-radius);padding:1.1rem;margin:0 0 1.1rem;align-items:stretch}
.mk-pick .mk-media{flex:0 0 220px;max-width:220px}
.mk-pick .mk-media img{width:100%;height:auto;display:block;border-radius:10px}
.mk-pick .mk-price-under{margin-top:.55rem;text-align:left}
.mk-pick .mk-body{flex:1 1 auto;min-width:0;display:flex;flex-direction:column}
.mk-pick h3{margin:.15rem 0 .45rem;font-size:1.25rem}
.mk-chip{display:inline-block;font-size:.78rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;background:var(--hg-accent);color:#fff;border-radius:999px;padding:.3rem .7rem}
.mk-chip.win{background:var(--hg-good)}
.mk-score{font-weight:700;color:var(--hg-accent-dark)}
.mk-scorebar{height:8px;background:var(--hg-line);border-radius:99px;overflow:hidden;margin:.35rem 0 .6rem}
.mk-scorebar i{display:block;height:100%;background:var(--hg-accent)}
.mk-price{font-size:1.3rem;font-weight:800;color:var(--hg-ink)}
.mk-price .mk-list{font-size:.95rem;font-weight:400;color:var(--hg-muted);text-decoration:line-through;margin-left:.45rem}
.mk-price-note{font-size:.85rem;color:var(--hg-muted)}
.mk-btn{display:inline-flex;align-items:center;min-height:var(--hg-tap);margin-top:auto;align-self:flex-start;background:var(--hg-accent);color:#fff !important;font-weight:700;text-decoration:none !important;padding:.8rem 1.5rem;border-radius:999px;line-height:1.15}
.mk-btn:hover{background:var(--hg-accent-dark)}
.mk-blurb{color:var(--hg-ink);margin:0 0 .7rem}
/* verdict strip card variant */
.mk-vcard .mk-pick{border-width:2px;border-color:var(--hg-accent)}
/* ---------- merchandising module (component: hg_merch_module) ---------- */
.mk-merch{margin:2rem 0}
.mk-merch>h2{margin:0 0 1rem}
.mk-merch .mk-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.1rem}
.mk-merch .mk-grid .mk-pick{margin:0}
.mk-merch .mk-lone .mk-pick{max-width:560px} /* lone pick = rail width, never a full-width band */
/* ---------- spec table (component: hg_spec_table) ---------- */
.hg-specs{width:100%;border-collapse:collapse;background:var(--hg-surface);border:1px solid var(--hg-line);border-radius:var(--hg-radius);overflow:hidden;margin:1rem 0}
.hg-specs caption{text-align:left;font-family:var(--hg-font-display);font-size:1.1rem;padding:.6rem .2rem}
.hg-specs th,.hg-specs td{padding:.7rem .9rem;border-bottom:1px solid var(--hg-line);text-align:left;vertical-align:top}
.hg-specs th{width:38%;color:var(--hg-muted);font-weight:600;background:var(--hg-bg)}
.hg-specs tr:last-child th,.hg-specs tr:last-child td{border-bottom:0}
/* ---------- FAQ block (component: hg_faq) ---------- */
.hg-faq{margin:1.6rem 0}
.hg-faq h3{margin:1.1rem 0 .35rem;font-size:1.08rem}
.hg-faq p{margin:0 0 .6rem}
/* ---------- footer (component: hg_site_footer) ---------- */
#hg-footer{background:var(--hg-ink);color:#f3ede3;margin-top:3rem}
#hg-footer .hg-footer-in{max-width:1200px;margin:0 auto;padding:2.2rem 1.2rem 0;display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:1.6rem}
#hg-footer h4{color:#fff;font-family:var(--hg-font-display);margin:0 0 .6rem;font-size:1rem}
#hg-footer a{color:#e9dfc9;text-decoration:none;display:inline-block;padding:.45rem 0} /* padded: footer links are real tap targets */
#hg-footer a:hover{text-decoration:underline}
#hg-footer ul{list-style:none;margin:0;padding:0}
#hg-footer li{margin:.35rem 0}
#hg-footer .hg-brand{font-family:var(--hg-font-display);font-size:1.5rem;color:#fff}
#hg-footer .hg-copy{border-top:1px solid rgba(255,255,255,.18);margin-top:1.8rem;padding:1rem 1.2rem;text-align:center;font-size:.9rem;color:#cfc6b4;max-width:1200px;margin-left:auto;margin-right:auto}
/* ---------- freshness line (hg-freshness.php) ---------- */
.fx-updated{font-size:.9rem;color:var(--hg-muted);margin:0 0 .8rem}
/* ---------- contact form (hg-contact-form.php) ---------- */
.hg-form{max-width:640px}
.hg-form-row{margin:0 0 1rem}
.hg-form-row label{display:block;font-weight:600;margin-bottom:.3rem}
.hg-form-row input,.hg-form-row select,.hg-form-row textarea{width:100%;padding:.75rem .8rem;min-height:52px;border:1px solid var(--hg-line);border-radius:8px;background:#fff;font:inherit}
.hg-form-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.hg-btn{display:inline-flex;align-items:center;min-height:var(--hg-tap);background:var(--hg-accent);color:#fff;font-weight:700;border:0;padding:.8rem 1.5rem;border-radius:999px;cursor:pointer;font-size:1rem}
.hg-btn:hover{background:var(--hg-accent-dark)}
.hg-form-success{background:#eef6ec;border:1px solid var(--hg-good);border-radius:10px;padding:1rem}
.hg-form-error{background:#fdf0ec;border:1px solid #c4552d;border-radius:10px;padding:1rem;margin-bottom:1rem}
/* ---------- responsive ---------- */
@media(max-width:820px){
  .mk-pick{flex-direction:column}
  .mk-pick .mk-media{flex:none;max-width:100%}
  .mk-merch .mk-grid{grid-template-columns:1fr}
  #hg-footer .hg-footer-in{grid-template-columns:1fr 1fr}
}
/* ---------- sticky pick bar (component shell: hg-design.php) ---------- */
#hg-pickbar{position:fixed;left:0;right:0;bottom:0;z-index:9999;display:none;align-items:center;gap:10px;background:#fff;border-top:2px solid var(--hg-accent);box-shadow:0 -4px 18px rgba(0,0,0,.16);padding:9px 12px calc(9px + env(safe-area-inset-bottom));transform:translateY(115%);transition:transform .28s ease;font-family:var(--hg-font)}
#hg-pickbar.on{display:flex;transform:translateY(0)}
#hg-pickbar .hg-pb-info{min-width:0;flex:1 1 auto}
#hg-pickbar .hg-pb-name{font-weight:700;font-size:15.5px;line-height:1.25;color:var(--hg-ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#hg-pickbar .hg-pb-sub{font-size:13.5px;color:var(--hg-muted);margin-top:1px}
#hg-pickbar .hg-pb-sub strong{color:var(--hg-accent-dark)}
#hg-pickbar .hg-pb-btn{flex:0 0 auto;display:inline-flex;align-items:center;min-height:48px;padding:11px 18px;border-radius:999px;background:var(--hg-accent);color:#fff !important;text-decoration:none !important;font-weight:700;font-size:14.5px;line-height:1.15;white-space:nowrap}
#hg-pickbar .hg-pb-x{flex:0 0 auto;width:48px;height:48px;border:0;background:transparent;color:#777;font-size:20px;line-height:1;cursor:pointer;padding:0}
@media(min-width:821px){#hg-pickbar{display:none !important}}

/* ---------- homepage (vision build, 2026-11-21) ---------- */
.hg-hero{display:grid;grid-template-columns:1fr 1fr;gap:2rem;align-items:center;margin:0 0 2.4rem}
.hg-eyebrow{font-size:.92rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--hg-accent-dark);margin:0 0 .8rem}
.hg-hero h1{font-size:2.6rem;margin:0 0 1rem}
.hg-standfirst{font-size:1.13rem;margin:0 0 1.4rem}
.hg-hero-cta{display:flex;flex-wrap:wrap;gap:.8rem;margin:0}
.hg-cta{display:inline-flex;align-items:center;min-height:var(--hg-tap);background:var(--hg-accent);color:#fff !important;font-weight:700;text-decoration:none !important;padding:.8rem 1.5rem;border-radius:999px;line-height:1.15}
.hg-cta:hover{background:var(--hg-accent-dark)}
.hg-cta-ghost{background:transparent;color:var(--hg-accent-dark) !important;border:2px solid var(--hg-accent);padding:.8rem 1.4rem}
.hg-cta-ghost:hover{background:var(--hg-bg)}
.hg-hero-img{margin:0}
.hg-hero-img img{width:100%;height:auto;display:block;border-radius:var(--hg-radius)}
.hg-trust{background:var(--hg-surface);border:1px solid var(--hg-line);border-radius:var(--hg-radius);padding:1.6rem 1.8rem;margin:0 0 2.4rem}
.hg-trust h2{margin-top:0}
.hg-medicare{border-left:4px solid var(--hg-accent);background:var(--hg-bg);border-radius:0 10px 10px 0;padding:1rem 1.2rem;margin-top:1.2rem}
.hg-medicare h3{margin:.1rem 0 .5rem}
.hg-medicare p{margin:0}
.hg-secintro{color:var(--hg-muted);max-width:46rem}
.hg-path-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.1rem;margin:1.2rem 0 2.4rem}
.hg-path{background:var(--hg-surface);border:1px solid var(--hg-line);border-radius:var(--hg-radius);padding:1.3rem 1.4rem}
.hg-path h3{margin:.1rem 0 .55rem;font-size:1.28rem}
.hg-path p{margin:0 0 .7rem}
.hg-path p:last-child{margin-bottom:0}
.hg-path a{font-weight:700}
.hg-struggle{border-top:4px solid var(--hg-accent)}
.hg-guide-list{list-style:none;margin:1rem 0 2.4rem;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:.2rem 2rem}
.hg-guide-list li{border-bottom:1px solid var(--hg-line);padding:.55rem 0}
.hg-guide-list a{font-weight:600;text-decoration:none}
.hg-guide-list a:hover{text-decoration:underline}
@media(max-width:820px){
  .hg-hero{grid-template-columns:1fr}
  .hg-hero h1{font-size:2.1rem}
  .hg-path-grid{grid-template-columns:1fr}
  .hg-guide-list{grid-template-columns:1fr}
}

/* ---------- header lockup (brand application, 2026-11-21) ---------- */
#masthead .site-logo-img img, #masthead img.custom-logo{height:64px !important;width:auto !important;max-width:100%}
#masthead .site-title{display:none} /* the lockup carries the name; title text stays in the DOM source only via logo alt */
.ast-site-identity{padding:.4rem 0}
