/* Elderberry homepage (public/index.html): card shelves.
   Phone first. A plum band carries the question and the postcode search; below
   it every subject is a shelf of cards. On phones a shelf is a scroll-snap row
   with the next card peeking and an "n of N" counter; from 600px it becomes a
   grid. White cards are navigation, tinted tiles are content, plum bands carry
   the search and the record. The shared header and footer stay in the page's
   inline <style>. */

:root{
  --hp-muted:#67535e;
  --hp-sand:#f3e6d8; --hp-sand-line:#dccab4;
  --hp-sage:#e8eedf; --hp-sage-line:#cdd6bf;
  --hp-lilac:#efe5f0; --hp-lilac-line:#d8c7da;
  --hp-mist:#e4ecec; --hp-mist-line:#c6d6d5;
  --hp-paper-line:#e4ddd5;
  --hp-chip:#5b3155;
  --hp-leaf-lt:#b9cbb1;
  --hp-warn:#a1413b;
  --hp-serif:'Fraunces',Georgia,serif;
  --hp-sans:'Atkinson Hyperlegible',system-ui,sans-serif;
  --hp-lift:0 1px 2px rgba(58,29,54,.05),0 8px 20px -12px rgba(58,29,54,.2);
  --gut:24px;
}
@media(max-width:380px){:root{--gut:18px}}

::selection{background:#e9d6e3;color:var(--plum-2)}
html{scrollbar-color:#b9a3b1 var(--cream)}
body{caret-color:var(--grape)}
:focus-visible{outline:2px solid var(--grape);outline-offset:3px}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

body>.home-skip{position:fixed;top:8px;left:8px;z-index:100;background:var(--plum);color:#fff;
  padding:10px 18px;border-radius:999px;font-weight:700;text-decoration:none;transform:translateY(-150%)}
body>.home-skip:focus{transform:none}
.home-sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}

/* frame */
.hp{overflow-x:clip}
.hp-wrap{max-width:1560px;margin:0 auto;padding:0 var(--gut)}
.hp p{text-wrap:pretty}
.hp h2{font-size:clamp(1.5rem,1.1rem + 1.6vw,2.15rem);line-height:1.12;margin:0;text-wrap:balance}
.home-arrow{width:18px;height:18px;flex:none}

.shelf{padding:44px 0 4px;scroll-margin-top:80px}
.shelf-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:18px}
.shelf-head p{max-width:60ch;margin:8px 0 0;font-size:1rem;line-height:1.55;color:var(--ink-soft)}
.shelf-count{flex:none;margin:0 0 2px;font-size:14px;line-height:1;color:var(--hp-muted);white-space:nowrap;
  font-variant-numeric:tabular-nums}
.shelf-count[hidden]{display:none}
.shelf-count b{display:inline-block;min-width:1ch;text-align:right;font:600 18px/1 var(--hp-serif);color:var(--plum)}
.shelf-more{display:inline-flex;align-items:center;gap:6px;min-height:44px;margin-top:10px;font-size:1rem;
  font-weight:700;color:var(--grape);text-decoration:underline;text-decoration-color:rgba(130,76,113,.35);
  text-underline-offset:4px;transition:text-decoration-color .2s ease}
.shelf-more:hover{color:var(--plum);text-decoration-color:currentColor}
.shelf-more .home-arrow{transition:transform .2s ease}
.shelf-more:hover .home-arrow{transform:translateX(3px)}

/* the shelf: a snap row on phones, a grid from 600px */
.shelf-track{list-style:none;display:grid;grid-auto-flow:column;grid-auto-columns:min(80vw,300px);gap:12px;
  margin:0 calc(-1 * var(--gut));padding:2px var(--gut) 14px;overflow-x:auto;overscroll-behavior-x:contain;
  scroll-snap-type:x mandatory;scroll-padding-inline:var(--gut);scrollbar-width:none}
.shelf-track::-webkit-scrollbar{display:none}
.shelf-track>*{scroll-snap-align:start;min-width:0}
.shelf-track:focus-visible{outline-offset:-2px}

/* the corner arrow square that marks a whole card as a link */
.go{display:grid;place-items:center;flex:none;width:28px;height:28px;border-radius:8px;
  background:var(--hp-lilac);color:var(--grape);transition:background-color .2s ease,color .2s ease}
.go .home-arrow{width:16px;height:16px}

/* controls */
.home-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;
  padding:0 24px;border:0;border-radius:999px;background:var(--grape);color:#fff;cursor:pointer;
  font:700 1rem/1.1 var(--hp-sans);text-decoration:none;white-space:nowrap;transition:background-color .2s ease}
.home-button:hover{background:var(--plum);color:#fff}
.home-button--light{background:var(--cream);color:var(--plum)}
.home-button--light:hover{background:#fff;color:var(--plum)}

/* 1. plum band: the question, the search, the jump chips */
.hp-band{background:var(--plum);color:var(--cream);padding:26px 0 18px}
.hp-band :focus-visible{outline-color:var(--cream)}
.hp-hero{display:grid;grid-template-columns:minmax(0,1fr) 104px;
  grid-template-areas:"title art" "answer answer" "search search" "trust trust";column-gap:16px;align-items:center}
.hp-hero-copy{display:contents}
.hp-band h1{grid-area:title;margin:0;color:var(--cream);font-size:clamp(2.09rem,1.32rem + 3.3vw,3.85rem);
  line-height:1.06;letter-spacing:-.02em;text-wrap:balance}
.hp-hero-art{grid-area:art;margin:0;align-self:start}
.hp-hero-art img{display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;border-radius:16px;
  background:var(--plum-2);box-shadow:0 14px 28px -18px rgba(0,0,0,.6)}
/* Under 380px the 10%-larger headline would wrap to a 4th line; keep the original size there. */
@media(max-width:380px){.hp-band h1{font-size:1.9rem}}
.hp-answer{grid-area:answer;margin:14px 0 18px;max-width:40ch;font-size:1.1rem;line-height:1.5;
  color:rgba(248,243,233,.86)}

.home-search{grid-area:search;display:flex;align-items:stretch;gap:10px;max-width:480px}
/* Postcode field: floating label (Ky lock-in 2026-10-12, /decide elderberry-hero-oval-r2, option C).
   "Postcode" rests in the field and floats to a 12px grape label on focus or when filled; the hint shows only then.
   Focus = a solid grape border (WCAG 2.4.13 bound) under a soft 4px halo, never the old hard ring. */
.home-field{position:relative;flex:1;min-width:0;display:block;min-height:60px;padding:0 16px 0 52px;background:#fff;
  border:1.5px solid rgba(74,37,69,.16);border-radius:12px;box-shadow:0 10px 24px -18px rgba(0,0,0,.45);
  transition:border-color .18s ease,box-shadow .18s ease}
.home-field.pc-ac-wrap{position:relative}
.home-field:hover{border-color:rgba(74,37,69,.34)}
.home-field:focus-within{border-color:var(--grape);box-shadow:0 0 0 4px rgba(130,76,113,.18),0 10px 24px -18px rgba(0,0,0,.45)}
.home-field .home-icon{position:absolute;left:17px;top:50%;width:22px;height:22px;color:var(--grape);transform:translateY(-50%);
  transition:color .18s ease,transform .18s ease}
.home-field:focus-within .home-icon{color:var(--plum);transform:translateY(-50%) scale(1.08)}
.home-field label{position:absolute;left:52px;top:50%;margin:0;transform:translateY(-50%);transform-origin:left top;
  font-size:1.55rem;font-weight:400;line-height:1.2;color:#7d6973;pointer-events:none;
  transition:top .18s cubic-bezier(.2,.8,.2,1),transform .18s cubic-bezier(.2,.8,.2,1),font-size .18s cubic-bezier(.2,.8,.2,1),color .18s ease}
.home-field:focus-within label,.home-field:has(input:not(:placeholder-shown)) label{top:10px;transform:none;font-size:14px;font-weight:700;color:var(--grape)}
.home-field input{display:block;width:100%;min-width:0;height:57px;padding:20px 0 0;border:0;background:transparent;
  font:400 1.55rem/1.3 var(--hp-sans);color:var(--ink);outline:none;font-variant-numeric:tabular-nums;letter-spacing:.04em;caret-color:var(--grape)}
.home-field input::placeholder{color:transparent;opacity:1;transition:color .18s ease}
.home-field:focus-within input::placeholder{color:#b9a9b2}
.home-search .home-button{min-height:60px;padding:0 22px 0 28px;gap:10px;border-radius:12px;font-size:1.25rem;box-shadow:0 10px 24px -18px rgba(0,0,0,.45);
  transition:background-color .18s ease,color .18s ease,transform .18s ease,box-shadow .18s ease}
.home-search .home-button::after{content:'\2192';font-size:1.3rem;transition:transform .18s ease}
/* Hover = light leaf (Ky 2026-10-12); white on it fails contrast, so the text turns plum. */
.home-search .home-button:hover{background:var(--hp-leaf-lt);color:var(--plum);transform:translateY(-1px);box-shadow:0 14px 28px -16px rgba(0,0,0,.55)}
.home-search .home-button:hover::after{transform:translateX(3px)}
.home-search .home-button:active{transform:translateY(0)}
.hp-band .home-search .home-button:focus-visible{outline:2px solid var(--cream);outline-offset:3px}
/* The list keeps its width when the field shortens for the button. */
.home-search .pc-ac-menu{top:calc(100% + 8px);min-width:min(300px,calc(100vw - 48px));border:1.5px solid rgba(74,37,69,.16);border-radius:14px;
  box-shadow:0 20px 40px -20px rgba(35,16,25,.45);animation:pc-ac-in .16s ease-out}
@keyframes pc-ac-in{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
/* The bar shows alone; at the 4th digit (input:valid on the [0-9]{4} pattern) the field takes a light leaf
   trim and the button slides in while the field shortens left (Ky lock-in 2026-10-12, /decide
   elderberry-component-hero-search-r2). Without :has the button simply shows, as before. */
@supports selector(:has(*)){
  .home-search{gap:0}
  .home-search .home-button{max-width:0;padding-left:0;padding-right:0;margin-left:0;opacity:0;visibility:hidden;overflow:hidden;transform:translateX(-10px);
    transition:max-width .34s cubic-bezier(.2,.8,.2,1),padding .34s cubic-bezier(.2,.8,.2,1),margin .34s cubic-bezier(.2,.8,.2,1),
      opacity .2s ease .08s,transform .34s cubic-bezier(.2,.8,.2,1),visibility 0s linear .34s,background-color .18s ease,color .18s ease,box-shadow .18s ease}
  .home-search:has(input:valid) .home-button{max-width:240px;padding:0 22px 0 28px;margin-left:10px;opacity:1;visibility:visible;transform:none;
    transition:max-width .34s cubic-bezier(.2,.8,.2,1),padding .34s cubic-bezier(.2,.8,.2,1),margin .34s cubic-bezier(.2,.8,.2,1),
      opacity .2s ease .08s,transform .34s cubic-bezier(.2,.8,.2,1),visibility 0s,background-color .18s ease,color .18s ease,box-shadow .18s ease}
  .home-search:has(input:valid) .home-button:hover{transform:translateY(-1px)}
  .home-search:has(input:valid) .home-field{border:2px solid var(--hp-leaf-lt);box-shadow:0 0 0 4px rgba(185,203,177,.55),0 10px 24px -18px rgba(0,0,0,.45)}
}
@media(max-width:899px){.home-field input{font-size:1.4rem}.home-field label{font-size:1.35rem}
  .home-search .home-button{font-size:1.1rem}
  @supports not selector(:has(*)){.home-search .home-button{padding:0 14px 0 18px}}
  @supports selector(:has(*)){.home-search:has(input:valid) .home-button{padding:0 14px 0 18px}}}
@media(prefers-reduced-motion:reduce){.hp-head{transition:none!important}.home-field,.home-field *,.home-search .home-button,.home-search .home-button::after,.home-search .pc-ac-menu{transition:none!important;animation:none}}

.hp-trust{grid-area:trust;list-style:none;display:flex;flex-wrap:wrap;gap:6px 20px;margin:14px 0 0;
  font-size:15px;line-height:1.4;color:rgba(248,243,233,.9)}
.hp-trust li{display:flex;gap:7px;align-items:center}
.hp-tick{flex:none;color:var(--teal)}

/* Phones: the plum band is the whole first screen (Ky lock-ins 2026-10-13, /decide
   elderberry-component-home-fold-r2 and -r3). The rim bowl hangs from the top edge, then the centred mark, the title, a
   one-line instruction, the postcode search and the trust ticks on the floor. The plum header is fixed
   and stays off-screen until the band scrolls away (index.html sets .hp-past), or while it holds focus
   or its menu is open. The header CTA hides here because the search is the action. The band stays
   overflow-visible for the typeahead list. */
.hp-answer-phone,.hp-mark{display:none}
@media(max-width:899px){
  .hp-head{background:rgba(74,37,69,.97);border-bottom:0}
  .hp-js .hp-head{position:fixed;left:0;right:0;transform:translateY(-100%);
    transition:transform .28s cubic-bezier(.2,.8,.2,1)}
  .hp-js.hp-past .hp-head,.hp-js .hp-head:has(:focus-visible),.hp-js .hp-head:has(.nav-cb:checked){transform:none}
  .hp-head .nav{height:64px;padding-top:0;padding-bottom:0}
  .hp-head .mark{color:var(--cream)}
  .hp-head .nav .cta{display:none}
  .hp-head .nav-burger span{background:var(--cream)}
  .hp-head .nav-cb:focus-visible+.nav-burger{outline-color:var(--cream)}
  .hp-band{display:flex;flex-direction:column;padding:0;min-height:calc(100vh - 64px);min-height:calc(100svh - 64px)}
  .hp-js .hp-band{min-height:100vh;min-height:100svh}
  .hp-band>.hp-wrap{flex:1;display:flex;flex-direction:column;width:100%}
  .hp-hero{flex:1;display:flex;flex-direction:column;align-items:center;text-align:center;padding-bottom:2.6vh;padding-bottom:2.6svh}
  .hp-hero-art{order:-1;align-self:stretch;position:relative;height:42vh;height:42svh;
    margin:0 calc(-1 * var(--gut) - 4px) 2.4vh;margin-bottom:2.4svh}
  .hp-hero-art::before{content:"";position:absolute;inset:0;background:var(--cream-2);clip-path:ellipse(66% 100% at 50% 0)}
  .hp-hero-art img{position:absolute;inset:0;width:100%;height:calc(100% - 10px);aspect-ratio:auto;object-fit:cover;
    object-position:50% 14%;clip-path:ellipse(64% 100% at 50% 0);border-radius:0;box-shadow:none}
  .hp-band h1{font-size:min(8.6vw,5.6vh);font-size:min(8.6vw,5.6svh);letter-spacing:-.01em}
  .hp-answer{max-width:30ch;line-height:1.45;margin:1.4vh 0 2.6vh;margin:1.4svh 0 2.6svh;
    font-size:min(4.5vw,2.95vh);font-size:min(4.5vw,2.95svh)}
  .hp-answer-wide{display:none}
  .hp-mark{display:flex;align-items:center;gap:8px;margin-bottom:1.8vh;margin-bottom:1.8svh;font:600 1.3rem/1 var(--hp-serif);
    color:var(--cream);letter-spacing:-.02em}
  .hp-mark .berry{width:26px;height:26px}
  .hp-answer-phone{display:inline}
  .home-search{width:100%;max-width:none}
  .hp-trust{margin-top:auto;padding-top:14px;justify-content:center;gap:4px 16px;color:rgba(248,243,233,.8);
    font-size:min(3.9vw,2.5vh);font-size:min(3.9vw,2.5svh)}
}
/* Screens 500px tall or less give the art 3% back so the fold still fits. */
@media(max-width:899px) and (max-height:500px){.hp-hero-art{height:39vh;height:39svh}}
/* 841-899px shows the desktop links on the plum header. */
@media(min-width:841px) and (max-width:899px){.hp-head .nav-mega>a{color:var(--cream)}.hp-head .nav-mega:hover>a,.hp-head .nav-mega:has(:focus-visible)>a{color:var(--plum)}}


/* 2. cities: two-column white nav cards, each named by its city's object */
.hp-cities{list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.city{display:flex;flex-direction:column;gap:10px;height:100%;padding:14px 14px 0 16px;
  border:1px solid var(--hp-paper-line);border-radius:16px;background:#fff;
  box-shadow:var(--hp-lift);color:var(--plum);text-decoration:none}
.city-obj{display:block;width:68px;height:68px;margin-left:-4px}
.city strong{font:600 1.2rem/1.15 var(--hp-serif);letter-spacing:-.01em;color:var(--plum)}
.city-foot{display:flex;justify-content:space-between;align-items:center;gap:8px;min-height:46px;margin-top:auto;
  border-top:1px solid #efe8dc;font-size:13px;font-weight:700;line-height:1.2;color:var(--hp-muted);letter-spacing:.02em}
.city-all-item{grid-column:1/-1}
.city--all{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;column-gap:14px;
  padding:10px 16px 10px 12px;background:#fbf7fb;border-color:var(--hp-lilac-line)}
.city--all .city-obj{margin:0}
.city-all-copy{display:flex;flex-direction:column;gap:3px}
.city-all-copy>span{font-size:14px;line-height:1.35;color:var(--hp-muted)}
.city:hover{color:var(--plum)}
.city:hover .go,.gd:hover .go{background:var(--grape);color:#fff}

/* 3. guides: white nav cards, the object above the title */
.gd{display:flex;flex-direction:column;height:100%;padding:18px 18px 0;border:1px solid var(--hp-paper-line);
  border-radius:16px;background:#fff;box-shadow:var(--hp-lift);color:var(--ink);text-decoration:none}
.gd-obj{display:block;width:64px;height:64px;margin:0 0 12px -4px}
.gd h3{font-size:1.2rem;line-height:1.2;margin:0 0 8px}
.gd p{margin:0 0 16px;font-size:15px;line-height:1.5;color:var(--ink-soft)}
.gd-foot{display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:52px;margin-top:auto;
  border-top:1px solid #efe8dc;font-size:15px;font-weight:700;color:var(--grape)}
.gd:hover{color:var(--ink)}
.gd:hover h3{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}

/* 4. nine checks: tinted content tiles, the object top-right beside the title */
.ck{--tile-line:var(--hp-sand-line);display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto auto 1fr;
  column-gap:12px;padding:18px 18px 16px;border:1px solid var(--tile-line);border-radius:16px;background:var(--tile-bg)}
.ck--sand{--tile-bg:var(--hp-sand);--tile-line:var(--hp-sand-line)}
.ck--sage{--tile-bg:var(--hp-sage);--tile-line:var(--hp-sage-line)}
.ck--lilac{--tile-bg:var(--hp-lilac);--tile-line:var(--hp-lilac-line)}
.ck--mist{--tile-bg:var(--hp-mist);--tile-line:var(--hp-mist-line)}
.ck>*{grid-column:1/-1}
.ck h3{grid-column:1;grid-row:1;align-self:start;font-size:1.3rem;line-height:1.15;margin:0}
.ck-obj{grid-column:2;grid-row:1/3;align-self:start;width:72px;height:72px;margin:-10px -8px 0 0}
.ck .ck-lead{grid-column:1}
.ck-obj--wide{width:108px;height:auto;margin-top:-6px}
.ck-lead{margin:8px 0 14px;font-size:15px;line-height:1.5;color:var(--ink)}
.ck-bench{margin:0 0 14px}
.ck-bench b{display:block;margin-bottom:4px;font:600 1.45rem/1.12 var(--hp-serif);letter-spacing:-.01em;color:var(--plum);
  font-variant-numeric:lining-nums tabular-nums}
.ck-bench span{display:block;font-size:14px;line-height:1.5;color:var(--hp-muted)}
.ck-ask{align-self:end;margin:0;padding-top:12px;border-top:1px solid var(--tile-line);font-size:15px;line-height:1.5;color:var(--ink)}
.ck-ask b{margin-right:4px;color:var(--grape)}
.hp-checks{align-items:stretch}

/* 5. the record: a plum-2 band */
.hp-record{margin-top:44px;padding:44px 0 36px;background:var(--plum-2);color:var(--cream)}
.hp-record :focus-visible{outline-color:var(--cream)}
.hp-record h2{color:var(--cream)}
.hp-record-copy>p{max-width:62ch;margin:14px 0 0;font-size:1.02rem;line-height:1.65;color:rgba(248,243,233,.86)}
.hp-record .shelf-more{color:var(--cream);text-decoration-color:rgba(248,243,233,.4)}
.hp-record .shelf-more:hover{color:#fff;text-decoration-color:currentColor}
.hp-record-art{display:none}
.hp-record-stats{margin-top:28px}
.shelf-head--bare{margin-bottom:14px;align-items:center}
.hp-record-title{font-size:1.2rem;line-height:1.2;margin:0;color:var(--cream)}
.hp-record .shelf-count{color:rgba(248,243,233,.72)}
.hp-record .shelf-count b{color:var(--cream)}
.bstat{display:flex;flex-direction:column;padding:20px 20px 18px;border:1px solid rgba(248,243,233,.14);border-radius:16px;
  background:rgba(248,243,233,.06)}
.bstat b{font:600 3rem/1 var(--hp-serif);letter-spacing:-.02em;color:var(--cream-2);font-variant-numeric:lining-nums tabular-nums}
.bstat p{margin:12px 0 14px;font-size:15px;line-height:1.55;color:var(--cream)}
.bstat .src{margin-top:auto;padding-top:10px;border-top:1px solid rgba(248,243,233,.14);font-size:13px;line-height:1.4;
  color:var(--hp-leaf-lt)}

/* 6. how a star rating is built */
.hp-weights-copy p{max-width:44ch;margin:8px 0 18px;font-size:1rem;line-height:1.55;color:var(--ink-soft)}
.hp-weights-card{padding:20px;border:1px solid var(--hp-lilac-line);border-radius:16px;background:var(--hp-lilac)}
.wbar{display:flex;height:48px;border-radius:12px;overflow:hidden;gap:2px;background:var(--hp-lilac)}
.wbar span{display:flex;align-items:center;justify-content:center;min-width:0;font:700 14px/1 var(--hp-sans);color:#fff;
  font-variant-numeric:tabular-nums}
.w1{background:var(--plum)} .w2{background:var(--grape)} .w3{background:var(--teal-ink)} .w4{background:var(--teal)}
.wbar .w4{color:var(--plum-2)}
.wlegend{list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px;margin:16px 0 0;padding:0 0 16px;
  border-bottom:1px solid var(--hp-lilac-line)}
.wlegend li{display:grid;grid-template-columns:12px minmax(0,1fr);column-gap:8px;align-items:baseline}
.sw{width:12px;height:12px;border-radius:3px;align-self:center}
.wlegend h3{font:700 14px/1.3 var(--hp-sans);letter-spacing:0;color:var(--ink);margin:0}
.wlegend b{grid-column:2;font:600 1.35rem/1.1 var(--hp-serif);color:var(--plum);font-variant-numeric:lining-nums tabular-nums}
.hp-watch{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;align-items:start;margin:16px 0 0;
  font-size:15px;line-height:1.55}
.hp-warn{color:var(--hp-warn);margin-top:1px}
.hp-watch strong{color:var(--plum)}

/* 7. providers: one table; on phones each row lays out as a card */
.home-data-date{margin:10px 0 0;font-size:14px;line-height:1.5;color:var(--hp-muted)}
.tblscroll:focus-visible{outline-offset:-2px}
.prov a{display:inline-flex;align-items:center;gap:6px;color:var(--plum);text-decoration:none}
.prov a:hover{color:var(--grape);text-decoration:underline;text-underline-offset:4px}
.ext{width:11px;height:11px;flex:none;opacity:.55}
.cov .states{display:inline-flex;flex-wrap:wrap;gap:4px}
.cov i{padding:2px 6px;border-radius:5px;background:var(--cream-2);color:var(--hp-muted);
  font-size:.72rem;font-style:normal;font-weight:700}
.cov i.more{background:#f1e2ec;color:var(--grape)}
.pill{padding:4px 11px;border-radius:999px;font-size:.8rem;font-weight:700;white-space:nowrap}
.pill.fp{background:#f1e2ec;color:var(--grape)}
.pill.nfp{background:#e4ebdf;color:#50654a}
.pill.gov{background:#efe7d5;color:#6f5c2e}
.meter{position:relative;display:inline-block;font-size:1.08rem;letter-spacing:1.5px;vertical-align:middle;line-height:1}
.stars-base{color:var(--line)}
.stars-fill{position:absolute;left:0;top:0;display:inline-block;overflow:hidden;white-space:nowrap}
.stars-fill.good{color:var(--teal)} .stars-fill.mid{color:var(--grape)} .stars-fill.low{color:var(--low)}
.mnum,.pnum{margin-left:9px;vertical-align:middle;font:600 1rem var(--hp-serif);font-variant-numeric:lining-nums tabular-nums}
.mnum.good{color:var(--good)} .mnum.mid{color:var(--grape)} .mnum.low{color:var(--low)}
.pnum{color:var(--hp-muted)}
.mnum.muted,td .muted{color:var(--hp-muted);font:400 .94rem var(--hp-sans)}
.pbar{display:inline-block;width:46px;height:6px;border-radius:99px;background:var(--cream-2);vertical-align:middle;overflow:hidden}
.pfill{display:block;height:100%;border-radius:99px;background:var(--teal)}
.good{color:var(--good);font-weight:700} .mid{color:var(--grape);font-weight:700} .low{color:var(--low);font-weight:700}
td.num{font:600 1rem var(--hp-serif);font-variant-numeric:lining-nums tabular-nums}

@media(max-width:899px){
  .tblscroll{margin:0 calc(-1 * var(--gut));padding:2px var(--gut) 14px;overflow-x:auto;overscroll-behavior-x:contain;
    scroll-snap-type:x mandatory;scroll-padding-inline:var(--gut);scrollbar-width:none}
  .tblscroll::-webkit-scrollbar{display:none}
  .hp table,.hp tbody{display:block}
  .hp colgroup,.hp thead{display:none}
  .hp tbody{display:flex;gap:12px;width:max-content}
  .hp tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;
    grid-template-areas:"rk own" "prov prov" "cov cov" "rate rate" "homes beds" "p4 staff";gap:0 14px;
    width:min(80vw,300px);padding:16px 18px 6px;border:1px solid var(--hp-paper-line);border-radius:16px;background:#fff;
    scroll-snap-align:start}
  .hp tbody td{display:block;min-width:0}
  .hp tbody td:nth-child(1){grid-area:rk;align-self:center;font:600 15px/1 var(--hp-serif);color:var(--hp-muted);
    font-variant-numeric:lining-nums tabular-nums}
  .hp tbody td:nth-child(1)::before{content:'#'}
  .hp tbody td:nth-child(2){grid-area:prov;margin:12px 0 8px;font:600 1.2rem/1.2 var(--hp-serif)}
  .hp tbody td:nth-child(5){grid-area:cov;margin-bottom:14px}
  .hp tbody td:nth-child(6){grid-area:own;justify-self:end}
  .hp tbody td:nth-child(7){grid-area:rate;display:flex;align-items:center;padding:12px 0;border-top:1px solid #efe8dc}
  .hp tbody td:nth-child(7)::before{content:'Avg rating';margin-right:auto}
  .hp tbody td:nth-child(3){grid-area:homes}
  .hp tbody td:nth-child(4){grid-area:beds}
  .hp tbody td:nth-child(8){grid-area:p4}
  .hp tbody td:nth-child(9){grid-area:staff}
  .hp tbody td:nth-child(n+3):nth-child(-n+4),.hp tbody td:nth-child(n+8){padding:10px 0;border-top:1px solid #efe8dc;
    font-size:1.05rem}
  .hp tbody td:nth-child(3)::before{content:'Homes'}
  .hp tbody td:nth-child(4)::before{content:'Beds'}
  .hp tbody td:nth-child(8)::before{content:'Homes 4+ stars'}
  .hp tbody td:nth-child(9)::before{content:'Staffing'}
  .hp tbody td:nth-child(n+3):nth-child(-n+4)::before,.hp tbody td:nth-child(n+7)::before{display:block;margin-bottom:4px;
    font:700 12px/1.2 var(--hp-sans);color:var(--hp-muted)}
  .hp tbody td:nth-child(7)::before{margin-bottom:0}
  .hp tbody td:nth-child(8) .pnum{margin-left:8px}
}
@media(min-width:900px){
  .tblwrap{background:#fff;border:1px solid var(--hp-paper-line);border-radius:16px;overflow:hidden}
  .tblscroll{overflow-x:auto;scrollbar-width:thin;scrollbar-color:var(--grape) var(--cream-2)}
  .hp table{border-collapse:collapse;width:100%;min-width:1160px;font-size:1rem;table-layout:fixed}
  .hp thead th{background:#faf6ef;color:#5d4a55;text-align:left;padding:12px 10px;font-size:.82rem;font-weight:700;
    white-space:nowrap;border-bottom:1px solid var(--hp-paper-line)}
  .hp thead th.num,.hp thead th.p4{text-align:right}
  .hp tbody td{height:56px;padding:0 10px;border-bottom:1px solid #efe8dc;vertical-align:middle;white-space:nowrap;
    overflow:hidden;text-overflow:ellipsis}
  .hp tbody tr:last-child td{border-bottom:0}
  .hp tbody tr:hover td{background:#fcf9f3}
  td.rk{text-align:center;color:var(--hp-muted);font-variant-numeric:lining-nums tabular-nums}
  td.prov{font-weight:700}
  td.num,td.p4{text-align:right}
  .hp tbody td.rate{overflow:visible}
  .hp tbody .pill{padding:4px 9px;font-size:.75rem}
  .hp tbody .meter{font-size:1rem}
}

.tablenote{max-width:74ch;margin:14px 0 0;font-size:14px;line-height:1.55;color:var(--hp-muted)}

/* 8. tour checklist: a white sheet that also prints alone */
.hp-sheet{padding:22px 20px 12px;border:1px solid var(--hp-paper-line);border-radius:20px;background:#fff;box-shadow:var(--hp-lift)}
.hp-sheet-head{display:flex;flex-direction:column;gap:14px;margin-bottom:16px}
.hp-sheet-head p{max-width:60ch;margin:8px 0 0;font-size:1rem;line-height:1.55;color:var(--ink-soft)}
.print-btn{flex:none;align-self:flex-start}
.clist ol{list-style:none;margin:0;padding:0;counter-reset:q;border-top:1px solid var(--hp-paper-line)}
.clist li{counter-increment:q;position:relative;padding:12px 0 12px 42px;border-bottom:1px solid #efe8dc;
  break-inside:avoid;font-size:16px;line-height:1.5}
.clist li:last-child{border-bottom:0}
.clist li::before{content:counter(q);position:absolute;left:0;top:10px;width:28px;height:28px;border-radius:50%;
  background:var(--hp-lilac);color:var(--plum);font:700 13px/28px var(--hp-sans);text-align:center;
  font-variant-numeric:tabular-nums}
.clist em{color:var(--hp-muted)}

/* 9. sources */
.method{border-top:1px solid var(--line)}
.mcard{display:grid;grid-template-columns:5.2rem minmax(0,1fr);column-gap:16px;align-items:baseline;padding:14px 0;
  border-bottom:1px solid var(--line);font-size:15px;line-height:1.45;color:var(--ink-soft)}
.mcard b{font:600 1.5rem/1 var(--hp-serif);color:var(--plum);font-variant-numeric:lining-nums tabular-nums}
.hp-sources{margin-top:18px}
.hp-sources>summary{display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:48px;padding:10px 20px;
  border:1.5px solid var(--grape);border-radius:16px;line-height:1.3;color:var(--grape);font-size:1rem;font-weight:700;cursor:pointer;
  list-style:none;transition:background-color .2s ease,color .2s ease}
.hp-sources>summary::-webkit-details-marker{display:none}
.hp-sources>summary::after{content:'';flex:none;width:8px;height:8px;border-right:2px solid currentColor;
  border-bottom:2px solid currentColor;transform:translateY(-2px) rotate(45deg);transition:transform .2s ease}
.hp-sources[open]>summary::after{transform:translateY(2px) rotate(225deg)}
.hp-sources>summary:hover{background:var(--grape);color:#fff}
.sources{list-style:none;margin:14px 0 0;padding:0;font-size:15px}
.sources li{padding:10px 0;border-bottom:1px solid var(--line);line-height:1.4}
.sources a{color:var(--plum);text-decoration-color:rgba(74,37,69,.3);text-underline-offset:4px}
.sources a:hover{color:var(--grape);text-decoration-color:currentColor}

/* 10. closing match: a plum card with the veranda scene */
.hp-cta{padding-bottom:64px}
.hp-cta-card{overflow:hidden;border-radius:22px;background:var(--plum);color:var(--cream)}
.hp-cta-card img{display:block;width:100%;height:auto;aspect-ratio:1200/510;object-fit:cover;object-position:62% 50%}
.hp-cta-copy{padding:22px 22px 26px}
.hp-cta h2{color:var(--cream)}
.hp-cta-copy p{max-width:40ch;margin:10px 0 20px;font-size:1rem;line-height:1.6;color:rgba(248,243,233,.86)}
.hp-cta :focus-visible{outline-color:var(--cream)}

/* the one authored motion: the shelf counter rolls to the new card */
@media(prefers-reduced-motion:no-preference){
  .shelf-count b.tick{animation:hp-tick .34s cubic-bezier(.22,1,.36,1)}
  .city,.gd{transition:transform .2s ease,box-shadow .2s ease}
  .city:hover,.gd:hover{transform:translateY(-2px);box-shadow:0 2px 4px rgba(58,29,54,.06),0 14px 26px -14px rgba(58,29,54,.28)}
}
@keyframes hp-tick{from{transform:translateY(45%);opacity:0}}

/* 600px: shelves become grids */
@media(min-width:600px){
  .shelf-track{grid-auto-flow:row;grid-auto-columns:auto;grid-template-columns:repeat(2,minmax(0,1fr));
    margin:0;padding:0;overflow:visible;scroll-snap-type:none;gap:14px}
  .hp-cities{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
  .hp-sheet{padding:30px 30px 18px}
  .hp-sheet-head{flex-direction:row;justify-content:space-between;align-items:flex-start;gap:24px}
  .sources{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:32px}
  .hp-bstats{grid-template-columns:repeat(3,minmax(0,1fr))}
  .hp-sources>summary{display:inline-flex;justify-content:flex-start;gap:12px;padding:0 20px;border-radius:999px}
}

/* 900px: the band splits, bands and cards go wide */
@media(min-width:900px){
  .shelf{padding-top:64px}
  .shelf-head{margin-bottom:24px}
  /* Art track 50vw/680 -> 53vw/720 so the divider sits 40px further left; the band keeps its height (Ky 2026-10-12). */
  .hp-band{position:relative;padding:48px 0 28px;--hp-art:min(53vw,720px);--hp-bleed:max(var(--gut),(100vw - 1560px)/2 + var(--gut))}
  .hp-hero{grid-template-columns:minmax(0,1fr) var(--hp-art);grid-template-areas:none;column-gap:48px;min-height:calc(min(50vw,680px) * .72)}
  .hp-hero-copy{display:block;align-self:center}
  .hp-band h1{max-width:11em;text-wrap:balance}
  /* The art is a full-height figure on the band's right edge: the band's top, right and bottom
     edges bound it, an ellipse bounds its left, and a 12px cream rim mats the ellipse
     (Ky lock-in 2026-10-12, /decide elderberry-hero-oval-r1, option C Rim). */
  .hp-hero-art{position:absolute;top:0;right:0;bottom:0;width:calc(var(--hp-art) + var(--hp-bleed));grid-area:auto;align-self:auto}
  .hp-hero-art::before{content:"";position:absolute;inset:0;background:var(--cream-2);clip-path:ellipse(calc(76% + 12px) calc(72% + 12px) at 82% 50%)}
  .hp-hero-art img{position:relative;width:100%;height:100%;aspect-ratio:auto;object-fit:cover;object-position:50% 22%;
    border-radius:0;box-shadow:none;background:none;clip-path:ellipse(76% 72% at 82% 50%)}
  .hp-answer{font-size:1.375rem;margin:20px 0 28px}
  .hp-trust{margin-top:18px;font-size:16px}
  .hp-cities{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
  .city{gap:12px;padding:18px 18px 0 20px}
  .city-obj{width:88px;height:88px}
  .city strong{font-size:1.4rem}
  .city-foot{min-height:50px}
  .city--all{padding:14px 26px 14px 20px;column-gap:24px}
  .city--all .city-obj{width:136px;height:136px}
  .city--all strong{font-size:1.65rem}
  .city-all-copy>span{font-size:15px}
  .city-all-item{grid-column:span 2}
  .shelf-track--3{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
  .gd{padding:22px 22px 0}
  .gd-obj{width:80px;height:80px;margin-bottom:14px}
  .ck{padding:22px 22px 18px}
  .ck-obj{width:84px;height:84px}
  .ck-obj--wide{width:128px;height:auto}
  .hp-record{margin-top:64px;padding:72px 0 64px}
  .hp-record-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);column-gap:64px;align-items:stretch}
  .hp-record-art{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;margin-top:28px;border-radius:20px;
    box-shadow:0 28px 52px -28px rgba(0,0,0,.6)}
  .hp-record-stats{display:flex;flex-direction:column;margin-top:0}
  .hp-bstats{flex:1 1 auto;grid-template-columns:minmax(0,1fr);grid-auto-rows:1fr;gap:12px}
  .bstat{display:grid;grid-template-columns:7.4rem minmax(0,1fr);column-gap:20px;align-content:center;padding:22px 24px}
  .bstat b{grid-row:1/3;font-size:3.4rem}
  .bstat p{margin:0 0 10px}
  .bstat .src{grid-column:2;padding-top:0;border-top:0}
  .hp-weights{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);column-gap:56px;align-items:start}
  .hp-weights-card{padding:28px}
  .wlegend{grid-template-columns:repeat(4,minmax(0,1fr))}
  .method{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:40px}
  .clist ol{columns:2;column-gap:40px}
  .clist li:last-child{border-bottom:1px solid #efe8dc}
  .hp-cta{padding-bottom:88px}
  .hp-cta-card{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);align-items:center}
  .hp-cta-card img{height:100%;min-height:340px;aspect-ratio:auto}
  .hp-cta-copy{padding:40px 44px}
}

@media print{
  header,footer.site,.home-skip,.hp>:not(#checklist),.shelf-count{display:none!important}
  body{background:#fff}
  .shelf{padding:0}
  .hp-sheet{border:0;padding:0;box-shadow:none}
  .print-btn{display:none!important}
  .clist li::before{border:1px solid #999}
}
