/* Home: "Pro coatings vs hardware-store kits" + "What is in your floor" (one section, one heading rhythm).
   Loaded after css/site.css; selectors carry .h-proof so they win without !important. */

/* ---- one section heading treatment: centred, 3px orange rule, lead ---- */
.h-proof .sec__head{margin-bottom:32px}
/* two sections on one paper ground: the first gives up its bottom padding, the second takes a short top one */
.h-proof:not(.h-proof--systems){padding-bottom:0}
.h-proof.h-proof--systems{padding-top:72px}

/* ---- claim: a cross-section drawn to scale beside two real photos (css/home-proof-systems.css, js/home-proof.js) ---- */
.h-proof .h-stats__note{max-width:760px;margin:28px auto 0;text-align:center;font-size:var(--t-caption);line-height:1.5;color:var(--ink-soft)}
.h-proof .h-proof__cta{margin-top:28px;display:flex;justify-content:center}
.h-proof .h-proof__cta .btn{width:auto;min-width:min(100%,320px)}

/* ---- systems: bigger labels as real text, beside the art when the card is wide enough, under it otherwise ---- */
.h-proof .h-sys__grid{margin-top:0}
.h-proof .h-sys__fig{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;padding:20px 16px 18px}
.h-proof .h-sys__fig svg{width:100%;max-width:200px;margin-inline:auto}
.h-proof .h-sys__fig svg text{display:none}
/* stacked: the leader lines point at labels that sit below, so the list bullets stand in for them */
.h-proof .h-sys__fig svg path[stroke="#c9c9c4"][fill="none"],.h-proof .h-sys__fig svg circle[r="2.5"]{display:none}
.h-proof .h-sys__lbl{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.h-proof .h-sys__fig .h-sys__lbl li{display:block;position:relative;padding-left:16px;font-size:var(--t-button);line-height:1.3;color:var(--ink)}
.h-proof .h-sys__fig .h-sys__lbl li::before{content:"";position:absolute;left:0;top:.45em;width:7px;height:7px;border-radius:50%;background:var(--orange)}
.h-proof .h-sys__lname{display:block;font-weight:700;font-size:var(--t-body);line-height:1.3;color:var(--ink)}
.h-proof .h-sys__ldesc{display:block;font-weight:500;font-size:var(--t-button);line-height:1.35;color:var(--ink-soft)}

@media (min-width:480px) and (max-width:1100px),(min-width:1250px){
  .h-proof .h-sys__fig{grid-template-columns:minmax(0,47%) minmax(0,1fr);gap:0 4px;align-items:stretch;padding:20px 12px 18px 8px}
  .h-proof .h-sys__fig svg{max-width:none;margin:0;align-self:start}
  .h-proof .h-sys__fig svg path[stroke="#c9c9c4"][fill="none"],.h-proof .h-sys__fig svg circle[r="2.5"]{display:inline}
  .h-proof .h-sys__lbl{display:flex;flex-direction:column;justify-content:space-between;gap:8px;padding-block:7% 14%}
  .h-proof .h-sys__fig .h-sys__lbl li{padding-left:0}
  .h-proof .h-sys__fig .h-sys__lbl li::before{display:none}
  .h-proof .h-sys__lname{font-size:var(--t-caption)}
  .h-proof .h-sys__ldesc{font-size:var(--t-eyebrow);line-height:1.3}
}

@media (max-width:767.98px){
  .h-proof.h-proof--systems{padding-top:48px}
  .h-proof .h-proof__cta .btn{width:100%}
}

/* three columns: equal figure rows, so the three text bodies start on one line */
@media (min-width:1101px){
  .h-proof .h-sys__grid{grid-template-rows:auto 1fr}
  .h-proof .h-sys__card{display:grid;grid-row:span 2;grid-template-rows:subgrid;row-gap:0}
}

/* ================= claim board ================= */
.h-proof .h-pv{display:grid;grid-template-columns:minmax(0,1fr);gap:28px;max-width:var(--wrap);margin:0 auto}
.h-pv__card{margin:0;display:flex;flex-direction:column;min-width:0}
.h-pv__media{position:relative;flex:1 1 auto;border-radius:var(--r-s);overflow:hidden;background:var(--ink);color:var(--on-dark)}
.h-pv__photo{aspect-ratio:3/2;background:var(--ink)}
.h-pv__photo picture,.h-pv__photo img{display:block;width:100%;height:100%}
.h-pv__photo img{object-fit:cover;object-position:50% 40%}
.h-pv__cap{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:14px;align-items:baseline;padding:16px 2px 0;color:var(--ink)}
.h-pv__v{font-family:var(--font-head);font-weight:900;font-stretch:100%;font-variation-settings:"wdth" 100;font-size:var(--t-h2);line-height:1;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.h-pv__l{font-size:var(--t-lead);line-height:1.2;font-weight:800;text-transform:uppercase;letter-spacing:.06em}
.h-pv__t{grid-column:1/-1;margin-top:8px;font-size:var(--t-body);line-height:1.45;color:var(--ink-soft);max-width:46ch}

/* the drawing: heads sit over their columns, the svg is cropped on a phone (labels give way to a key) */
.h-pv__card--thick .h-pv__media{display:flex;flex-direction:column;justify-content:center;padding:22px 0 18px}
.h-pv__cols{--l:7.69%;--w:25.64%;--g:10.26%;display:grid;grid-template-columns:var(--l) var(--w) var(--g) var(--w);width:100%;max-width:780px;margin:0 auto 6px}
.h-pv__col{margin:0;display:flex;flex-direction:column;gap:2px;min-width:0}
.h-pv__col--kit{grid-column:2}
.h-pv__col--pro{grid-column:4}
.h-pv__col b{font-size:var(--t-body);line-height:1.2;font-weight:800;color:var(--on-dark)}
.h-pv__col span{font-size:var(--t-caption);line-height:1.3;font-weight:500;color:var(--on-dark)}
.h-pv__draw{width:100%;max-width:780px;margin:0 auto;overflow:hidden}
.h-pv__svg{display:block;width:100%;height:auto;overflow:visible}
.h-pv__svg text{font-family:var(--font-body)}
.h-pv__svg .pv-big{font-family:var(--font-head);font-stretch:100%;font-variation-settings:"wdth" 100;letter-spacing:-.01em}
.h-pv__key{display:none}

@media (min-width:640px) and (max-width:1179.98px){
  .h-proof .h-pv{grid-template-columns:repeat(2,minmax(0,1fr))}
  .h-pv__card--thick{grid-column:1/-1}
  .h-pv__card--thick .h-pv__media{padding:28px 24px 22px}
  .h-pv__cap .h-pv__t{max-width:none}
}
@media (min-width:1180px){
  .h-proof .h-pv{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);grid-template-rows:auto auto;column-gap:24px;row-gap:28px}
  .h-pv__card--thick{grid-row:1/3}
  .h-pv__photo{aspect-ratio:5/2}
}
@media (max-width:639.98px){
  .h-proof .h-pv{gap:32px}
  .h-pv__card--thick .h-pv__media{justify-content:flex-start;padding:20px 0 0}
  .h-pv__cols{--l:10%;--w:33.33%;--g:13.34%;margin-bottom:16px}
  .h-pv__col b{font-size:var(--t-body)}
  .h-pv__draw{max-width:none}
  .h-pv__svg{width:130%;max-width:none}
  .h-pv__svg .pv-labels,.h-pv__svg .pv-tick{display:none}
  .h-pv__key{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px;list-style:none;margin:6px 0 0;padding:16px 16px 18px;border-top:1px solid rgba(255,255,255,.18)}
  .h-proof .h-pv__key li{display:flex;align-items:center;gap:10px;font-size:var(--t-button);line-height:1.25;font-weight:600;color:var(--on-dark)}
  .h-pv__key i{flex:none;width:14px;height:14px;border:1px solid rgba(255,255,255,.55)}
  .h-pv__key .k-top{background:rgba(255,255,255,.28)}
  .h-pv__key .k-flake{background:#bfc4c9}
  .h-pv__key .k-base{background:#3a4047}
  .h-pv__key .k-slab{background:#7d7a75}
  .h-pv__v{font-size:36px}
  .h-pv__l{font-size:var(--t-body)}
  .h-proof .h-proof__cta .btn{width:100%}
}
