/* Elderberry directory shelves: brand, brands hub, state and town pages.
   Applied by scripts/directory_shelves.py over the generator's classic page and
   spliced from the homepage card grammar (public/assets/homepage.css). A plum
   band names the place or operator with its Index; homes are dealt into shelves
   by Index band, then category tiles, the map and the full sortable list. On
   phones a shelf is a scroll-snap row with an "n of N" counter; from 600px it is
   a grid. Every rule is scoped to main.sh so the shared header and footer keep
   eb.css. */

: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-rule:#efe8dc;
  --hp-chip:#5b3155;
  --hp-leaf-lt:#b9cbb1;
  --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)}
.sh-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}

body>.sh-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>.sh-skip:focus{transform:none}

/* frame */
.sh{display:block;overflow-x:clip}
.sh :focus-visible{outline:2px solid var(--grape);outline-offset:3px}
.sh-wrap,.sh .wrapwide,.sh .wrapmid{max-width:1560px;margin:0 auto;padding:0 var(--gut)}
.sh p{text-wrap:pretty}
.sh h2{font-size:clamp(1.5rem,1.1rem + 1.6vw,2.15rem);line-height:1.12;margin:0;text-wrap:balance}
.sh .home-arrow{width:18px;height:18px;flex:none}

/* controls */
.sh-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(--cream);color:var(--plum);cursor:pointer;
  font:700 1rem/1.1 var(--hp-sans);text-decoration:none;white-space:nowrap;transition:background-color .2s ease}
.sh-button:hover{background:#fff;color:var(--plum)}
.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}

/* 1. plum band: crumbs, the name and its object, the answer, the facts, the jump chips */
.sh .sh-band{background:var(--plum);color:var(--cream);padding:22px 0 18px}
.sh-band :focus-visible{outline-color:var(--cream)}
.sh-crumbs ol{list-style:none;display:flex;flex-wrap:wrap;margin:0 0 16px;padding:0;font-size:14px;line-height:1.4;
  color:rgba(248,243,233,.72)}
.sh-crumbs li+li::before{content:'\203A';margin:0 8px;color:rgba(248,243,233,.5)}
.sh-crumbs a{color:var(--cream);text-decoration:underline;text-decoration-color:rgba(248,243,233,.35);text-underline-offset:3px}
.sh-crumbs a:hover{color:#fff;text-decoration-color:currentColor}
.sh-crumbs [aria-current]{color:rgba(248,243,233,.86)}
.sh-hero{display:grid;grid-template-columns:minmax(0,1fr) 104px;grid-template-areas:"title art" "answer answer" "action action";
  column-gap:16px;align-items:center}
.sh-band h1{grid-area:title;margin:0;color:var(--cream);font-size:clamp(1.9rem,1.2rem + 3vw,3.5rem);
  line-height:1.06;letter-spacing:-.02em;text-wrap:balance}
.sh-art{grid-area:art;align-self:start}
.sh-obj{display:block;width:100%;height:auto;filter:drop-shadow(0 14px 16px rgba(0,0,0,.32))}
.sh-art--logo{display:grid;place-items:center;aspect-ratio:1/1;padding:16px;border-radius:16px;background:#fff;
  box-shadow:0 14px 28px -18px rgba(0,0,0,.6)}
.sh-art--logo img{display:block;width:80%;height:80%;object-fit:contain}
.sh-answer{grid-area:answer;margin:14px 0 18px;max-width:52ch;font-size:1.06rem;line-height:1.5;color:rgba(248,243,233,.86)}
.sh-hero .sh-button{grid-area:action;justify-self:start}

/* the facts: one hairline-ruled panel, the Index first, then only what the answer has not said;
   two across until 900px, a lone or long fact spans */
.sh-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;margin:22px 0 0;overflow:hidden;
  border:1px solid rgba(248,243,233,.14);border-radius:16px;background:rgba(248,243,233,.14)}
.sh-fact{min-width:0;padding:14px 16px;background:var(--plum)}
.sh-fact--index,.sh-fact--wide,.sh-fact:last-child:nth-child(even),
.sh-fact:nth-child(even):has(+ .sh-fact--wide){grid-column:1/-1}
.sh--about .sh-fact:last-child:nth-child(odd){grid-column:1/-1}
.sh-fact dt{font-size:13px;font-weight:700;line-height:1.3;color:rgba(248,243,233,.72)}
.sh-fact dd{margin:4px 0 0;font:600 1.2rem/1.3 var(--hp-serif);color:var(--cream);overflow-wrap:break-word;
  font-variant-numeric:lining-nums tabular-nums}
.sh-fact dd a{color:var(--cream);text-decoration:underline;text-decoration-color:rgba(248,243,233,.35);text-underline-offset:3px}
.sh-fact dd a:hover{color:#fff;text-decoration-color:currentColor}
.sh-fact--index dd{display:flex;flex-wrap:wrap;align-items:baseline;column-gap:6px}
.sh-num{font:600 2.6rem/1 var(--hp-serif);letter-spacing:-.02em;color:var(--cream)}
.sh-num.good{color:var(--hp-leaf-lt)}
.sh-num.mid{color:#e9d6e3}
.sh-num--none{font-size:1.5rem}
.sh-of{font:400 1rem/1 var(--hp-sans);color:rgba(248,243,233,.72)}
.sh-fact--index small{flex-basis:100%;margin-top:8px;font:400 14px/1.45 var(--hp-sans);color:rgba(248,243,233,.8)}

/* jump chips, as on the homepage */
.sh-chips{margin:18px calc(-1 * var(--gut)) 0}
.sh-chips ul{list-style:none;display:flex;gap:8px;margin:0;padding:0 var(--gut) 2px;overflow-x:auto;scrollbar-width:none}
.sh-chips ul::-webkit-scrollbar{display:none}
.sh-chips a{display:flex;align-items:center;gap:8px;min-height:40px;padding:0 15px;border:1px solid rgba(248,243,233,.16);
  border-radius:999px;background:var(--hp-chip);color:var(--cream);font-size:15px;font-weight:700;white-space:nowrap;
  text-decoration:none;transition:background-color .2s ease,border-color .2s ease}
.sh-chips a:hover{background:#6b3b64;border-color:rgba(248,243,233,.34);color:#fff}
.sh-chips b{font:600 15px/1 var(--hp-serif);color:#fff;font-variant-numeric:lining-nums tabular-nums}

/* phones: a tighter band, so the jump chips and the first shelf reach the first screen */
@media(max-width:599px){
  .sh .sh-band{padding-top:18px}
  .sh-crumbs ol{margin-bottom:14px}
  .sh-art--logo{padding:12px;border-radius:14px}
  .sh-answer{margin:12px 0 16px}
  .sh-facts{margin-top:18px}
  .sh-fact{padding:11px 14px}
  .sh-fact dd{margin-top:2px;font-size:1.12rem}
  .sh-num{font-size:2.2rem}
  .sh-fact--index small{margin-top:6px}
  .sh-chips{margin-top:16px}
}

/* 2. shelves */
.sh h2{line-height:1.2;text-wrap:balance}
.sh .shelf{padding:44px 0 4px;scroll-margin-top:80px}
.sh .shelf-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:18px}
.sh .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}
.sh .shelf-count[hidden]{display:none}
.sh .shelf-count b{display:inline-block;min-width:1ch;text-align:right;font:600 18px/1 var(--hp-serif);color:var(--plum)}
.sh-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}
.sh-track::-webkit-scrollbar{display:none}
.sh-track>*{scroll-snap-align:start;min-width:0}
.sh-track:has(>li:only-child){grid-auto-columns:minmax(0,1fr)}
.sh-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}
.sh-more:hover{color:var(--plum);text-decoration-color:currentColor}
.sh-more .home-arrow{transition:transform .2s ease}
.sh-more:hover .home-arrow{transform:translateX(3px)}

/* a home card: photo, name, where, Index, the four category ratings; the whole card is the link */
.sh-card{position:relative;display:flex;flex-direction:column;height:100%;overflow:hidden;border:1px solid var(--hp-paper-line);
  border-radius:16px;background:#fff;box-shadow:var(--hp-lift);color:var(--ink)}
.sh-photo{position:relative;margin:0;background:var(--cream-2)}
.sh-photo img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
/* the credit sits on the photo's lower edge, so every card's name starts on the same line.
   The text sits on a real 80% plum band (white stays over 7:1 on any photo); the fade above it is decoration. */
.sh-photo figcaption{position:absolute;inset:auto 0 0;padding:4px 12px 7px;font-size:12px;line-height:1.35;color:#fff;
  overflow-wrap:break-word;text-shadow:0 1px 2px rgba(0,0,0,.45);background:rgba(58,29,54,.8)}
.sh-photo figcaption::before{content:"";position:absolute;inset:auto 0 100%;height:22px;pointer-events:none;
  background:linear-gradient(to top,rgba(58,29,54,.8),rgba(58,29,54,0))}
.sh-photo figcaption a{position:relative;z-index:2;color:#fff;text-decoration:underline;
  text-decoration-color:rgba(255,255,255,.5);text-underline-offset:2px}
.sh-photo figcaption a:hover{color:#fff;text-decoration-color:currentColor}
.sh-card h3{margin:14px 0 4px;padding:0 16px;font:600 1.2rem/1.3 var(--hp-serif);letter-spacing:-.01em}
.sh-card h3 a{color:var(--plum);text-decoration:none}
.sh-card h3 a::after{content:'';position:absolute;inset:0;z-index:1;border-radius:16px}
.sh-card h3 a:focus-visible{outline:none}
.sh-card h3 a:focus-visible::after{outline:2px solid var(--grape);outline-offset:-2px}
.sh-where{margin:0 0 14px;padding:0 16px;font-size:14px;line-height:1.4;color:var(--hp-muted)}
.sh-score{display:flex;align-items:baseline;gap:6px;margin:auto 0 0;padding:12px 16px;border-top:1px solid var(--hp-rule)}
.sh-score b{font:600 1.6rem/1 var(--hp-serif);letter-spacing:-.01em;font-variant-numeric:lining-nums tabular-nums}
.sh-score b.good{color:var(--good)}
.sh-score b.mid{color:var(--grape)}
.sh-score span{font-size:14px;color:var(--hp-muted)}
.sh-score .go{align-self:center;margin-left:auto}
.sh-score--none>span:first-child{font-size:15px;font-weight:700;color:var(--hp-muted)}
.sh-subs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;margin:0;border-top:1px solid var(--hp-rule);
  background:var(--hp-rule)}
.sh-subs div{padding:9px 16px 10px;background:#fff}
.sh-subs dt{font-size:12px;font-weight:700;line-height:1.3;color:var(--hp-muted)}
.sh-subs dd{margin:2px 0 0;font:600 1.05rem/1.2 var(--hp-serif);color:var(--plum);font-variant-numeric:lining-nums tabular-nums}
.sh-subs-none{margin:0;padding:12px 16px 13px;border-top:1px solid var(--hp-rule);font-size:14px;line-height:1.4;color:var(--hp-muted)}
.sh-card:hover .go{background:var(--grape);color:#fff}
.sh-card:hover h3 a{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}

/* 3. category averages: tinted tiles with the homepage check objects */
.sh .ck{--tile-line:var(--hp-sand-line);display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto 1fr;
  column-gap:12px;padding:18px 18px 16px;border:1px solid var(--tile-line);border-radius:16px;background:var(--tile-bg)}
.sh .ck--sand{--tile-bg:var(--hp-sand);--tile-line:var(--hp-sand-line)}
.sh .ck--sage{--tile-bg:var(--hp-sage);--tile-line:var(--hp-sage-line)}
.sh .ck--lilac{--tile-bg:var(--hp-lilac);--tile-line:var(--hp-lilac-line)}
.sh .ck--mist{--tile-bg:var(--hp-mist);--tile-line:var(--hp-mist-line)}
.sh .ck h3{grid-column:1;grid-row:1;align-self:start;margin:0;font-size:1.3rem;line-height:1.3}
.sh .ck-obj{grid-column:2;grid-row:1/3;align-self:start;width:72px;height:72px;margin:-10px -8px 0 0}
.sh .ck-bench{grid-column:1;grid-row:2;margin:10px 0 14px}
.sh .ck-bench b{font:600 2.2rem/1 var(--hp-serif);letter-spacing:-.02em;color:var(--plum);font-variant-numeric:lining-nums tabular-nums}
.sh .ck-bench span{margin-left:6px;font-size:15px;color:var(--hp-muted)}
.sh .ck-note{grid-column:1/-1;grid-row:3;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)}

/* 4. the map */
.sh .sh-map{padding:44px 0 56px;background:transparent;scroll-margin-top:80px}
.sh .maphead{display:flex;flex-direction:column;align-items:stretch;gap:14px;margin-bottom:18px;text-align:left}
.sh .maphead h2{margin:0}
/* the postcode box: the homepage search field, pin first, label over the input */
.sh .pcfilter{display:flex;flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:10px 16px}
.sh .sh-field{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:10px;align-items:center;width:min(100%,340px);
  padding:9px 16px 9px 14px;border:1px solid var(--hp-paper-line);border-radius:18px;background:#fff;box-shadow:var(--hp-lift);
  transition:border-color .2s ease,box-shadow .2s ease}
.sh .sh-field .home-icon{grid-column:1;grid-row:1/3;width:22px;height:22px;color:var(--grape)}
.sh .sh-field label{grid-column:2;grid-row:1;font-size:12px;font-weight:700;line-height:1.2;color:var(--hp-muted)}
.sh .sh-field input{grid-column:2;grid-row:2;width:100%;min-width:0;padding:1px 0 0;border:none;border-width:0;border-radius:0;
  background:transparent;font:400 1rem/1.3 var(--hp-sans);text-align:left;color:var(--ink);outline:none;
  font-variant-numeric:tabular-nums}
.sh .sh-field input:focus,.sh .sh-field input:focus-visible{border:none;box-shadow:none;outline:none}
.sh .sh-field input::placeholder{color:#7d6973;opacity:1}
.sh .sh-field:focus-within{border-color:var(--grape);box-shadow:0 0 0 1px var(--grape),var(--hp-lift)}
.sh .pcfilter span{font-size:14px;line-height:1.4;color:var(--hp-muted)}
.sh .mapcard{border:1px solid var(--hp-paper-line);border-radius:16px;box-shadow:var(--hp-lift)}
.sh #brandmap{height:360px}

/* 5. the full list: one table; on phones each row lays out as a ruled row */
.sh div.sh-list{margin-top:44px}
.sh section.sh-list{padding:44px 0 56px;background:transparent}
.sh .sh-list #full-list{margin:0 0 18px;scroll-margin-top:80px}
.sh-list--one .roster th{pointer-events:none;cursor:default}
.sh-list--one .roster th.sortable::after{content:none}
.sh-showall{display:flex;align-items:center;justify-content:center;width:100%;min-height:48px;margin:16px 0 0;padding:0 20px;
  border:1px solid var(--hp-paper-line);border-radius:999px;background:#fff;color:var(--plum);cursor:pointer;
  font:700 1rem/1.1 var(--hp-sans);transition:border-color .2s ease,background-color .2s ease}
.sh-showall:hover{border-color:var(--grape);background:#fcf9f3}
.sh .filterbar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:auto;margin:0 0 18px;
  border:1px solid var(--hp-paper-line);border-radius:16px;box-shadow:none}
.sh .fseg{min-width:0;padding:8px 14px;border-left:0;border-top:1px solid var(--hp-rule)}
.sh .fseg:nth-child(-n+2){border-top:0}
.sh .fseg:nth-child(even){border-left:1px solid var(--hp-rule)}
.sh .fseg label{font-size:13px;letter-spacing:0;text-transform:none;color:var(--hp-muted)}
.sh .fseg select{width:100%;min-height:36px;font-size:1rem;color:var(--ink)}
.sh .tblwrap{overflow:visible;border:none;border-width:0;border-radius:0;background:transparent;box-shadow:none}
.sh .tblscroll:focus-visible{outline-offset:-2px}
.sh th.sortable:focus-visible{outline-offset:-3px}
.sh .tblwrap td,.sh .tblwrap th{max-width:none;text-overflow:clip}
.sh .roster .mnum{font:600 1.15rem/1.3 var(--hp-serif);font-variant-numeric:lining-nums tabular-nums}
.sh .roster .mnum.good{color:var(--good)}
.sh .roster .mnum.mid{color:var(--grape)}
.sh .roster .pill{display:inline-block;padding:4px 10px;border-radius:999px;background:var(--cream-2);color:var(--hp-muted);
  font-size:.8rem;font-weight:700;white-space:nowrap}

@media(max-width:899px){
  .sh .tblscroll{overflow:visible}
  .sh table.roster,.sh .roster tbody{display:block;min-width:0;font-size:1rem}
  .sh .roster thead{display:none}
  .sh .roster tbody{border-top:1px solid var(--line)}
  .sh .roster tbody tr{position:relative;display:flex;flex-wrap:wrap;align-items:baseline;column-gap:16px;row-gap:4px;
    padding:14px 0 14px 40px;border-bottom:1px solid var(--line)}
  .sh .roster tbody tr::after{content:'';flex-basis:100%;order:2}
  .sh .roster tbody td{display:block;height:auto;padding:0;border:0;background:none;white-space:normal;overflow:visible}
  .sh .roster td.rk{position:absolute;left:0;top:15px;width:28px;font:600 1rem/1.3 var(--hp-serif);text-align:left;
    color:var(--hp-muted)}
  .sh .roster td.prov{order:0;flex:1 1 0;min-width:0;max-width:none;padding:0;font:600 1.12rem/1.3 var(--hp-serif)}
  .sh .roster td.rate{order:1;flex:none;width:auto;min-width:0;max-width:none}
  .sh .roster td.rate .meter{display:none}
  .sh .roster td.rate .mnum{margin-left:0}
  .sh .roster td:not(.rk):not(.prov):not(.rate){order:3;flex:none;width:auto;font:400 14px/1.4 var(--hp-sans);
    color:var(--hp-muted);white-space:nowrap}
  .sh .roster tbody.sh-short tr:nth-child(n+21){display:none}
  .sh--brand .roster td:nth-child(6)::after,.sh--state .roster td:nth-child(5)::after,
  .sh--town .roster td:nth-child(5)::after,.sh--hub .roster td:nth-child(4)::after{content:' places'}
  .sh--hub .roster td:nth-child(3)::after{content:' homes'}
  .sh--hub .roster td:nth-child(6)::after{content:' rated'}
}
@media(min-width:900px){
  .sh-showall{display:none}
  .sh table.roster{min-width:0;font-size:1rem}
  .sh .roster thead th{padding:12px 10px;border-bottom:1px solid var(--line);background:transparent;color:#5d4a55;
    font-size:.82rem;font-weight:700;letter-spacing:0;text-transform:none;white-space:nowrap}
  .sh .roster tbody td{height:56px;padding:0 10px;border-bottom:1px solid var(--hp-rule);overflow:visible;white-space:nowrap}
  .sh .roster tbody tr:hover td{background:#fcf9f3}
  .sh .roster td.prov{min-width:240px;padding-top:10px;padding-bottom:10px;font-size:1.05rem;white-space:normal}
  .sh .roster td.num{font-size:1rem}
}

/* 6. the local guide keeps its own reading layout, inside the page gutter */
.sh .authored-page-content{scroll-margin-top:80px}
.sh .authored-page-content .authored-reading-layout{max-width:1560px;margin:0 auto;padding:0 var(--gut)}
.sh .authored-page-content .reading-body>:is(p,ul,ol,h2,h3,h4){max-width:70ch}
.sh .reading-body h2{margin-bottom:14px}

/* 7. closing match: the plum card with the veranda scene */
.sh .sh-cta{padding:44px 0 64px}
.sh-cta-card{overflow:hidden;border-radius:22px;background:var(--plum);color:var(--cream)}
.sh-cta-art{display:block;width:100%;height:auto;aspect-ratio:1200/510;object-fit:cover;object-position:62% 50%}
.sh-cta-copy{padding:22px 22px 26px}
.sh-cta h2{color:var(--cream)}
.sh-cta-copy p{max-width:40ch;margin:10px 0 20px;font-size:1rem;line-height:1.6;color:rgba(248,243,233,.86)}
.sh-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){
  .sh .shelf-count b.tick{animation:sh-tick .28s cubic-bezier(.22,1,.36,1)}
  .sh-card,.sh-way{transition:transform .2s ease,box-shadow .2s ease}
  .sh-card:hover,.sh-way:hover{transform:translateY(-2px);box-shadow:0 2px 4px rgba(58,29,54,.06),0 14px 26px -14px rgba(58,29,54,.28)}
}
@keyframes sh-tick{from{transform:translateY(45%);opacity:0}}

/* 600px: shelves become grids */
@media(min-width:600px){
  .sh-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}
  .sh .filterbar{display:flex;flex-wrap:wrap;width:max-content;max-width:100%}
  .sh .fseg,.sh .fseg:nth-child(even){border-top:0;border-left:1px solid var(--hp-rule)}
  .sh .fseg:first-child{border-left:0}
  .sh .fseg select{min-width:120px}
  .sh-track:has(>li:only-child){grid-template-columns:minmax(0,720px)}
  .sh-track>li:only-child>.sh-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:auto auto 1fr auto}
  .sh-track>li:only-child>.sh-card>*{grid-column:2}
  .sh-track>li:only-child>.sh-card>.sh-photo{grid-column:1;grid-row:1/-1}
  .sh-track>li:only-child>.sh-card>.sh-photo img{height:100%;min-height:260px;aspect-ratio:auto}
  .sh-track>li:only-child>.sh-card h3{margin-top:18px}
}

/* 900px: the band splits, shelves go four across */
@media(min-width:900px){
  .sh .shelf{padding-top:64px}
  .sh .shelf-head{margin-bottom:24px}
  .sh .sh-band{padding:40px 0 28px}
  .sh-hero{grid-template-columns:minmax(0,1fr) 168px;grid-template-areas:"title art" "answer art" "action art";column-gap:56px}
  .sh-band h1{max-width:16em}
  .sh-answer{margin:18px 0 24px;font-size:1.2rem}
  .sh-art{align-self:center}
  .sh-art--logo{padding:24px;border-radius:24px}
  .sh-facts{display:flex;margin-top:32px}
  .sh-fact{flex:1 1 0;padding:18px 20px}
  .sh-fact--index{flex:1.7 1 0}
  /* a lone Index is sized to its own text, not stretched across the band */
  .sh-facts:has(> .sh-fact:only-child){width:fit-content;max-width:100%}
  .sh-fact:only-child{flex:0 1 auto;min-width:320px}
  .sh-chips{margin:28px 0 0}
  .sh-chips ul{flex-wrap:wrap;padding:0}
  .sh-track{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
  .sh .ck{padding:22px 22px 18px}
  .sh .ck-obj{width:84px;height:84px}
  .sh .sh-map{padding:64px 0 72px}
  .sh .maphead{gap:18px;margin-bottom:24px}
  .sh #brandmap{height:min(70vh,560px)}
  .sh div.sh-list{margin-top:64px}
  .sh section.sh-list{padding:64px 0 72px}
  .sh .sh-cta{padding:64px 0 88px}
  .sh-cta-card{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);align-items:center}
  .sh-cta-art{height:100%;min-height:340px;aspect-ratio:auto}
  .sh-cta-copy{padding:40px 44px}
}

/* 1200px: the band's object grows into a wider right column */
@media(min-width:1200px){
  .sh-hero{grid-template-columns:minmax(0,1fr) minmax(0,520px)}
  .sh-art{justify-self:center;width:280px}
  .sh-art--logo{padding:32px}
}

/* 8. About: the ledger. Each question is one ruled row; on desktop the answer reads beside it */
.sh-art--scene{align-self:start}
.sh-scene{display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;border-radius:14px}
.sh-ledger{padding-top:12px}
.sh-row{padding:36px 0 12px;border-top:1px solid var(--line);scroll-margin-top:80px}
.sh-ledger .sh-row:first-child{border-top:0}
.sh-row-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:16px}
.sh-row-head h2{margin:0}
.sh-row-body>p{max-width:70ch;margin:0 0 20px;font-size:1.06rem;line-height:1.65;color:var(--ink)}
.sh-row-body>p a{color:var(--grape);text-decoration:underline;text-decoration-color:rgba(130,76,113,.35);text-underline-offset:3px}
.sh-row-body>p a:hover{color:var(--plum);text-decoration-color:currentColor}
.sh-row-body .sh-track{margin-bottom:22px}
.sh-row-body nav .sh-track{margin-bottom:0}

/* a way in: the homepage guide card. Object, name, one line, then a ruled foot with the action */
.sh-way{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}
.sh-way-obj{display:block;width:64px;height:64px;margin:0 0 12px -4px}
.sh-way h3{margin:0 0 8px;font:600 1.2rem/1.2 var(--hp-serif);letter-spacing:-.01em;color:var(--plum)}
.sh-way p{margin:0 0 16px;font-size:15px;line-height:1.5;color:var(--ink-soft)}
.sh-way-foot{display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:52px;margin-top:auto;
  border-top:1px solid var(--hp-rule);font-size:15px;font-weight:700;color:var(--grape)}
.sh-way:hover .go{background:var(--grape);color:#fff}
.sh-way:hover h3{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}
.sh-way:focus-visible{outline:2px solid var(--grape);outline-offset:2px}

@media(min-width:900px){
  .sh--about .sh-hero{grid-template-columns:minmax(0,1fr) minmax(0,440px)}
  .sh--about .sh-art{justify-self:stretch;width:auto}
  .sh-scene{aspect-ratio:4/3;border-radius:22px}
  .sh-ledger{padding-top:24px}
  .sh-row{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,8fr);gap:56px;padding:52px 0 28px}
  .sh-row-head{position:sticky;top:96px;align-self:start;display:block;margin:0}
  .sh-ledger .sh-track{grid-template-columns:repeat(2,minmax(0,1fr))}
}
