/* Homepage (#371): front-page.php + inc/pages/homepage.php, the Front Porch "home" page. Reads tokens.css; the product
   card, .row, .rank, section heads (.sh), the finder's .finder-s / .blank selects and the buttons are shell.css's.
   Everything here is scoped to .hp-* classes so nothing leaks onto other pages. */
.hp{padding-bottom:0}

/* ---------- 1. hero + finder ---------- */
.hp-hero{position:relative;isolation:isolate;background:var(--navy);color:var(--white)}
/* The photo: an <img> (#632, hwb_site_homepage_photo()) painted as the old background was: cover, 50% 76%, under ::before. */
.hp-bg{position:absolute;inset:0;z-index:-2;overflow:hidden}
.hp-bg img{width:100%;height:100%;max-width:none;object-fit:cover;object-position:50% 76%}
.hp-hero::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,color-mix(in srgb,var(--navy) 96%,transparent) 0,color-mix(in srgb,var(--navy) 90%,transparent) 33%,color-mix(in srgb,var(--navy) 42%,transparent) 56%,transparent 72%)}
.hp-hero-in{min-height:540px;display:flex;flex-direction:column;justify-content:center;padding-block:52px 64px}
.hp-hero-c{max-width:620px;min-width:0}
/* Who we are (owner, preview note 86): under the eyebrow on a phone, a tablet or a small desktop, beside it from
   1200px (below). */
.hp-own{margin-top:6px;font-size:.88rem;font-weight:600;line-height:1.4;color:var(--on-navy)}
/* The hero line in Handlee (owner, preview note 85: "for this in particular"; base.css @font-face), the one heading
   not in --serif; Ramaraja stands in until it loads. The line is two lines on every desktop (#571). Handlee is
   narrower than Young Serif was (the whole line 21.8em, so it fitted on one in a short, wide window such as 1100x720),
   so the box stops at 15em: wider than either half (10.8em; Ramaraja's 13.2em), narrower than the whole line. */
.hp-hero h1{font-family:"Handlee",var(--serif);color:var(--white);font-size:clamp(2.1rem,4vw,3.2rem);max-width:15em;margin:14px 0}
.hp-lede{font-size:1.14rem;color:var(--on-navy);max-width:46ch}
.hp-finder{margin-top:28px;background:var(--white);color:var(--ink);border-radius:8px;padding:22px 26px 20px;box-shadow:0 24px 48px -20px rgba(0,0,0,.6)}
.hp-finder .finder-s{display:block;line-height:1.8}
.hp-finder .nw{display:inline-block;white-space:nowrap;max-width:100%}
.hp-finder .blank{max-width:100%;vertical-align:bottom}   /* the select sizes to its longest choice; never cap it below that (it cut "history & geography") */
.hp-finder .blank select{text-overflow:ellipsis}
.hp-finder .finder-a{display:flex;align-items:center;gap:8px 18px;margin-top:16px;flex-wrap:wrap;font-size:.95rem}
.hp-finder .finder-a .btn{padding:0 24px}
.hp-finder .finder-a .ic{width:18px;height:18px}
.hp-finder .finder-a a{font-weight:600;text-decoration:underline;text-underline-offset:3px}
.hp-cap{position:absolute;right:28px;bottom:22px;display:flex;align-items:center;gap:6px;background:rgba(255,255,255,.92);color:var(--navy);font-size:.8rem;font-weight:600;padding:6px 12px 6px 9px;border-radius:999px}
.hp-cap .ic{width:16px;height:16px;color:var(--brick)}
/* A desktop window (#571; owner, 2026-11-17: "Only for smaller screens… I do want to have the primary focus be the
   curriculum", then on the preview: the short hero "is too short", keep the finder's sentence on one line, "add a bit of
   space back above and below (keep the sliders visible, still, aim for like half visibility)"). The introduction stays
   first and sizes to the window: the banner shelf's first card starts 240px under the hero's bottom edge (the 164px
   header, the promo section's 28px and the shelf's 48px head) and is 214px tall at 1280px and wider, so a hero of the
   window's height less 347px leaves about half that card in view on first paint. The hero never gets shorter than its
   words with the padding below (28px over the eyebrow, about 430px in all; at 768px tall that is already about half the
   card) nor taller than the full hero before #571 (670px; so from about 1020px tall more of the card shows, all of it
   from about 1125). The spare height is shared above and below the words (.hp-hero-in centres them). The headline is
   every other page heading's size (shell.css .pg-h h1) on a short window and grows with the window's height to the
   full hero's 3.2rem, on two lines; the lede runs to three lines; the finder's sentence stays on one line (about 650px:
   the box's sides come in from 24px to 16px where the column is narrower than about 700px, so it still fits at 961px).
   The words keep 210px clear of the hero's right edge, so the finder never meets the "Packed in" pill. The scrim's stops
   follow the words where they reach past the defaults (a wide window: the words run to the page's middle plus about
   170px), so the headline keeps 4.5:1 over the photo's bright window as it grows and moves down (3.7:1 at 1600×1000
   and 3.9 at 1920×1080 on the defaults; 5.6 or better with these). 961–1199px take the deeper scrim below. Tablets and
   phones keep the rules above and their own below. */
@media (min-width:961px){
.hp-hero::before{background:linear-gradient(90deg,color-mix(in srgb,var(--navy) 96%,transparent) 0,color-mix(in srgb,var(--navy) 90%,transparent) max(33%,50% - 100px),color-mix(in srgb,var(--navy) 42%,transparent) max(56%,50% + 240px),transparent max(72%,50% + 480px))}
.hp-hero-in{min-height:min(670px,100vh - 347px);padding-block:28px 36px}
.hp-hero-c{max-width:min(760px,100% - 210px)}
.hp-hero h1{font-size:clamp(2.1rem,min(4vw,max(min(2.9vw,2.6rem),6vh - 9.4px)),3.2rem);margin:10px 0}
.hp-lede{font-size:1.06rem;max-width:60ch}
.hp-finder{margin-top:20px;padding:16px clamp(16px,50% - 327.5px,24px) 18px}
.hp-finder .finder-a{margin-top:12px}
}
/* The who-we-are line (preview note 86) on the eyebrow's row, after a dot, so the hero is no taller for it. Only from
   1200px: at 961–1199px the row's end (about 69% across at 961px) is over the photo's bright window where the scrim
   is thin (3.4:1), so there it sits under the eyebrow, over solid navy, as on a tablet. */
@media (min-width:1200px){
.hp-eye{display:flex;flex-wrap:wrap;align-items:center;gap:4px 14px}
.hp-own{margin-top:0;display:flex;align-items:center;gap:14px}
.hp-own::before{content:"";flex:none;width:4px;height:4px;border-radius:50%;background:var(--brick-mid)}
}
/* A small desktop: the words reach further across the photo, so the tablet's deeper scrim (below), which keeps the
   headline and the lede at 4.5:1 over the photo's bright window (the headline read at 3.7:1 here before #571). The
   who-we-are line under the eyebrow takes about 22px here; the gaps around the headline and over the finder give back
   14 (10/10/20px before), so the banner shelf's first card loses only about 8px of view. */
@media (min-width:961px) and (max-width:1199px){
.hp-hero::before{background:linear-gradient(90deg,color-mix(in srgb,var(--navy) 95%,transparent) 0,color-mix(in srgb,var(--navy) 86%,transparent) 52%,color-mix(in srgb,var(--navy) 20%,transparent) 85%)}
.hp-own{margin-top:3px;line-height:1.35}
.hp-hero h1{margin:6px 0}
.hp-finder{margin-top:14px}
}

/* ---------- 2. the promo slot. Promo tiles (OFF on the homepage for launch: the plugin's switch): one wide, two side
   by side, or a large one with two stacked beside it; on a phone a swipe row with the text under the photo. The text
   is real text: the photo never carries words. The banner shelf follows them in this file and leads on the page. ---------- */
.hp-pr{padding:28px 0 4px}
.hp-prg{display:grid;gap:16px}
.hp-pr.n2 .hp-prg{grid-template-columns:repeat(2,minmax(0,1fr))}
.hp-pr.n3 .hp-prg{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);grid-template-rows:repeat(2,minmax(0,1fr))}
.hp-pr.n3 .hp-pt:first-child{grid-row:1/3}
.hp-pt{display:flex;min-width:0}
.hp-pa{--h:220px;position:relative;isolation:isolate;flex:1;display:flex;flex-direction:column;justify-content:flex-end;min-width:0;min-height:var(--h);border-radius:8px;overflow:hidden;background:var(--navy);color:var(--white);text-decoration:none!important}
.hp-pr.n1 .hp-pa{--h:clamp(240px,26vw,340px)}
.hp-pr.n2 .hp-pa{--h:clamp(220px,22vw,300px)}
.hp-pr.n3 .hp-pa{--h:clamp(170px,15vw,214px)}   /* the large tile spans both rows: twice that, plus the gap */
.hp-pi{position:absolute;inset:0;z-index:-2}
.hp-pi img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .4s}
.hp-pa::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,color-mix(in srgb,var(--navy) 94%,transparent) 0,color-mix(in srgb,var(--navy) 72%,transparent) 42%,transparent 78%)}
.hp-pb{display:grid;gap:6px;padding:20px 22px 22px;min-width:0}
.hp-ph{font:400 var(--fs,1.4rem)/1.15 var(--serif);color:var(--white)}
.hp-pr.n1 .hp-pa,.hp-pr.n3 .hp-pt:first-child .hp-pa{--fs:clamp(1.6rem,2.6vw,2.2rem)}
.hp-pw{white-space:nowrap}
.hp-ph .ic{display:inline-block;width:20px;height:20px;margin-left:8px;vertical-align:-2px;transition:transform .15s}   /* follows the last word */
.hp-pl{color:var(--on-navy);font-size:1rem;max-width:52ch}
.hp-pa:hover .hp-pi img{transform:scale(1.03)}
.hp-pa:hover .hp-ph .ic{transform:translateX(3px)}
.hp-pa:focus-visible{outline:3px solid var(--focus);outline-offset:-3px}
@media (prefers-reduced-motion:reduce){.hp-pi img,.hp-ph .ic{transition:none}.hp-pa:hover .hp-pi img{transform:none}}
/* The banner shelf, "Right now at Home Works" (owner, 2026-11-12: one whole banner at a time was "HUGE"): today's
   slides as a low row of small cards, --n side by side (4, or 3: .n3; homepage.php's one setting), each the whole image
   in a 16:9 box with one typed line under it. A sideways row on snap points: scrolled by hand without JavaScript;
   homepage.js shows the head's arrows and pause button when there are more cards than fit, hides the scrollbar and
   moves the row a card every 6 s. A desktop at 4 across: about 280px tall in all (3 across: about 330px); a phone:
   about 240px. The head keeps its 36px whether or not the arrows and the button show, so nothing shifts. */
.hp-sfh{display:flex;align-items:center;gap:16px;min-height:36px;margin-bottom:12px}
.hp-sfk{font-family:var(--label);line-height:1.4;margin:0}  /* an h2, so it says the label face again over h2's --serif */
.hp-sfh .rule{flex:1;height:1px;min-width:20px;background:var(--line)}
.hp-sfh .arrows button{width:36px;height:36px}
.hp-sfh .arrows .ic{width:18px;height:18px}
/* the pause button (WCAG 2.2.2: the row moves by itself): beside the arrows, the same 36px round, so the head keeps its
   height; shown by homepage.js only while the row can move. Pressed = paused: the play icon. */
.hp-sfp{display:grid;place-items:center;flex:none;width:36px;height:36px;margin-right:-8px;padding:0;border:1.5px solid var(--line);border-radius:50%;background:var(--white);color:var(--navy)}
.hp-sfp[hidden]{display:none}
.hp-sfp:hover{border-color:var(--roof);color:var(--roof)}
.hp-sfp:focus-visible{outline:3px solid var(--focus);outline-offset:1px}
.hp-sfp .ic{width:18px;height:18px}
.hp-sfp .ic+.ic,.hp-sfp[aria-pressed="true"] .ic:first-child{display:none}
.hp-sfp[aria-pressed="true"] .ic+.ic{display:block}
.hp-sf{--n:4;--gap:16px;display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - (var(--n) - 1)*var(--gap))/var(--n));gap:var(--gap);overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:thin;padding-bottom:10px}
.hp-sf.n3{--n:3}
.hp-sf[data-hp-sf-on]{scrollbar-width:none;padding-bottom:2px}
.hp-sf[data-hp-sf-on]::-webkit-scrollbar{display:none}
.hp-sfc{display:flex;min-width:0;scroll-snap-align:start}
.hp-sfa{flex:1;display:block;min-width:0;color:var(--navy);text-decoration:none!important}
/* the image: whole, never cropped, nothing over it. The box is 16:9 (the banners' shape), with no background of its
   own: a wider image fills the width and sits centred up and down, a taller one (.t) fills the height and sits centred
   across, on the page's own background. The image's own box is what is drawn, so its corners round. */
.hp-sfi{position:relative;display:block;aspect-ratio:16/9;max-width:100%}
.hp-sfg{position:absolute;left:0;top:50%;width:100%;height:auto;transform:translateY(-50%);border-radius:6px}
.hp-sfi.t .hp-sfg{left:50%;top:0;width:auto;height:100%;transform:translateX(-50%)}
.hp-sft{display:block;margin-top:8px;font-weight:600;font-size:.95rem;line-height:1.4;overflow-wrap:anywhere}
a.hp-sfa:hover .hp-sft{text-decoration:underline;text-underline-offset:3px}
a.hp-sfa:focus-visible{outline:3px solid var(--focus);outline-offset:-3px;border-radius:6px}
.hp-sf+.hp-prg{margin-top:24px}

/* ---------- 8. shopping for a school (at the foot) ---------- */
.hp-sch{padding-bottom:20px}
.hp-sch-in{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:28px 48px;align-items:center;background:var(--mist);border-radius:8px;padding:34px 38px}
.hp-sch .scf-h{font-size:1.9rem}
.hp-sch-l{display:grid;gap:16px;font-size:.98rem}
.hp-sch-l li{display:flex;gap:12px;align-items:flex-start;color:var(--muted)}
.hp-sch-l b{color:var(--navy)}
.hp-sch-l .ic{color:var(--roof);margin-top:1px}

/* ---------- 3. curriculum ---------- */
.hp-progs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.hp-progs>li{display:flex;min-width:0}
.hp-prog{flex:1;display:flex;flex-direction:column;gap:6px;border:1px solid var(--line);border-radius:6px;padding:18px 18px 16px;background:var(--white);color:var(--ink);text-decoration:none!important;transition:border-color .15s,box-shadow .15s}
.hp-prog:hover{border-color:var(--roof);box-shadow:0 12px 24px -16px rgba(20,30,50,.5)}
.hp-prog-s{font-size:.72rem;font-weight:700;letter-spacing:.11em;text-transform:uppercase;color:var(--garden)}
.hp-prog h3{font:400 1.18rem/1.2 var(--serif);color:var(--navy)}
.hp-prog-p{font-size:.86rem;color:var(--muted)}
.hp-prog-g{margin-top:auto;padding-top:10px;font-weight:700;font-size:.9rem;color:var(--navy)}
.hp-ruler{position:relative;height:10px;border-radius:2px;margin-bottom:16px;background:linear-gradient(90deg,transparent calc(var(--a)/14*100%),var(--roof) calc(var(--a)/14*100%),var(--roof) calc(var(--b)/14*100%),transparent calc(var(--b)/14*100%)),repeating-linear-gradient(90deg,var(--mist-2) 0 calc(100%/14 - 2px),var(--white) 0 calc(100%/14))}
.hp-ruler::before,.hp-ruler::after{position:absolute;top:13px;font-size:.68rem;line-height:1;color:var(--muted)}
.hp-ruler::before{content:"Pre-K";left:0}
.hp-ruler::after{content:"12";right:0}

/* ---------- 4. best sellers ---------- */
.hp-rk{position:relative;display:flex;min-width:0}
.hp-rk>.card{flex:1}
.hp .arrows button:disabled{opacity:.4;cursor:default}

/* ---------- 5. exclusives ---------- */
.hp-ex{background:var(--garden-t)}
.hp-ex .sh .rule{background:var(--garden-line)}
.hp-ex-g{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:20px;align-items:stretch}
.hp-ex-g.solo{grid-template-columns:minmax(0,1fr)}
.hp-exf{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);background:var(--white);border-radius:8px;overflow:hidden;min-width:0}
.hp-exf .ci{border-radius:0;aspect-ratio:auto;--pad:28px;min-height:300px;background:var(--white)}
.hp-exf-b{padding:28px 28px 26px;display:flex;flex-direction:column;gap:10px;min-width:0}
.hp-exf h3{font:400 1.55rem/1.15 var(--serif)}
.hp-exf h3 a{color:var(--navy)}
.hp-exf-b>p:not(.meta){color:var(--muted);font-size:.95rem}
.hp-exf .cf{gap:16px;justify-content:flex-start;flex-wrap:wrap}
.hp-exf .price{font-size:1.4rem}
.hp-exl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-content:start}
.hp-exl.one{grid-template-columns:minmax(0,1fr)}
.hp-exl .card{background:var(--white);border-radius:8px;padding:10px}
.hp-exl .ci{--pad:12px;aspect-ratio:1;background:var(--white)}
/* A desktop: four even cards in one row, the lead first with its short description (the old 1.25fr lead beside a
   2×2 block read as janky). Tablet and phone keep the rules above. */
@media (min-width:961px){
.hp-ex-g{grid-template-columns:repeat(4,minmax(0,1fr))}
.hp-ex-g.solo{grid-template-columns:minmax(0,1fr)}
.hp-ex-g:not(.solo) .hp-exl{display:contents}
.hp-ex-g:not(.solo) .hp-exf{display:flex;flex-direction:column;padding:10px}
.hp-ex-g:not(.solo) .hp-exf .ci{aspect-ratio:1;--pad:12px;min-height:0;border-radius:4px}
.hp-ex-g:not(.solo) .hp-exf-b{flex:1;gap:6px;padding:12px 2px 0}
.hp-ex-g:not(.solo) .hp-exf h3{font-size:1.2rem}
.hp-ex-g:not(.solo) .hp-exf-b>p:not(.meta){font-size:.88rem;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.hp-ex-g:not(.solo) .hp-exf .cf{margin-top:auto;gap:10px}
.hp-ex-g:not(.solo) .hp-exf .price{font-size:1.15rem}
.hp-ex-g:not(.solo) .hp-exf .btn{padding:0 16px}
}

/* ---------- 6. shop our brands: a slider through the whole pool (#490) ----------
   Two rows of logos that scroll sideways, a column at a time on snap points: six columns in view above 960 px, four to
   560, three and a bit (the next one peeking, to the screen's edge) on a phone. The head's arrows page through it
   (homepage.js); a phone swipes as well, and Tab walks the logos. Without JavaScript it's the same row, scrolled by hand.
   A pixel of room each side (and the snap points a pixel in) keeps a tile's border in view when the browser rounds a
   column's fractional position. */
.hp-brands{--cols:6;--gap:14px;display:grid;grid-auto-flow:column;grid-template-rows:repeat(2,auto);grid-auto-columns:calc((100% - (var(--cols) - 1)*var(--gap))/var(--cols));gap:var(--gap);overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-padding-inline:1px;scrollbar-width:thin;margin:0 -1px;padding:0 1px 12px}
.hp-brands>li{display:flex;min-width:0;scroll-snap-align:start}
/* homepage.js shuffles the pool (no brand favoured). Until it has, the list keeps its space but stays invisible, so no
   logo swaps in view; without JavaScript (or if it fails) the row by name appears after 1.5 s (opacity over .01s: runs
   on the compositor, #632). base.css turns animations off for reduced motion, so there the row shows at once. */
.hp-brands[data-hp-shuffle]:not([data-hp-shuffled]){opacity:0;animation:hp-br-show .01s 1.5s both}
@keyframes hp-br-show{from{opacity:0}to{opacity:1}}
@media (prefers-reduced-motion:reduce){.hp-brands[data-hp-shuffle]:not([data-hp-shuffled]){opacity:1}}
.hp-brand{flex:1;display:grid;place-items:center;height:104px;padding:14px 18px;background:var(--white);border:1px solid var(--line);border-radius:6px;transition:border-color .15s,box-shadow .15s}
.hp-brand:hover{border-color:var(--roof);box-shadow:0 12px 24px -16px rgba(20,30,50,.5)}
.hp-brand:focus-visible{outline-offset:-3px}   /* inside the tile: the row's scrolling box would clip a ring outside it */
/* Sized before it loads (#632): a fixed height and the logo's own aspect-ratio (inline, homepage.php), never wider than
   the tile; a logo too wide keeps the height and is drawn whole inside (contain), as before. */
.hp-brl{display:block;width:auto;height:68px;max-width:100%;object-fit:contain}

/* ---------- 7. conventions ---------- */
.hp-cv-in{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:24px 48px;background:var(--mist);border-radius:8px;padding:36px 38px}
.hp-cv-t{display:flex;flex-direction:column;align-items:flex-start;gap:12px}
.hp-cv h2{font-size:1.9rem}
.hp-cv-t>p:not(.kick){color:var(--muted)}
.hp-cons{display:grid;width:100%;border-top:1px solid var(--line)}
.hp-cons li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 16px;padding:12px 0;border-bottom:1px solid var(--line)}
.hp-cons b{color:var(--navy);font-weight:700}
.hp-cv-d{color:var(--navy);font-weight:600;text-align:right;font-variant-numeric:tabular-nums}
.hp-cv-d em{display:block;font-style:normal;font-size:.78rem;font-weight:700;color:var(--garden)}
.hp-cons small{grid-column:1/-1;color:var(--muted);font-size:.88rem}
.hp-cv-l .note{margin-top:12px}

/* ---------- tablet ---------- */
@media (max-width:960px){
.hp-hero-in{min-height:500px}
.hp-hero::before{background:linear-gradient(90deg,color-mix(in srgb,var(--navy) 95%,transparent) 0,color-mix(in srgb,var(--navy) 86%,transparent) 52%,color-mix(in srgb,var(--navy) 20%,transparent) 85%)}
.hp-sch-in,.hp-cv-in{grid-template-columns:minmax(0,1fr)}
.hp-pr.n3 .hp-prg{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:none}
.hp-pr.n3 .hp-pt:first-child{grid-row:auto;grid-column:1/-1}
.hp-pr.n3 .hp-pt:first-child .hp-pa{--h:280px}
.hp-pr.n3 .hp-pa{--h:200px}
.hp-sf,.hp-sf.n3{--n:3}
.hp-brands{--cols:4}
.hp-progs{grid-template-columns:repeat(2,minmax(0,1fr))}
.hp-ex-g{grid-template-columns:minmax(0,1fr)}
.hp-exl,.hp-exl.one{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr)}   /* one row, however many */
}

/* a small tablet: two banner cards and a bit of the third */
@media (max-width:760px){
.hp-sf,.hp-sf.n3{--n:2.2}
}

/* ---------- phone ---------- */
@media (max-width:560px){
/* The words start just under the header (--band = tokens.css --hero-top, as on every phone hero) over the photo: its
   books show in the sliver above the eyebrow and fade to navy behind the words (preview note 38: "reduced a touch
   more"). It was a 56–72px strip of photo above the words (#490), 88–112px (#485), a 190px band before that. */
.hp-hero{--band:var(--hero-top)}
/* Full width, the photo's top 28vw above the hero (the old background at 100% auto, 50% -28vw). The phone files start
   at row 560 of 2000 (28% of the width), so they sit 28vw - 28% up: 0 on a phone (margin-top % reads the box width). */
.hp-bg img{position:absolute;top:0;left:0;height:auto;margin-top:calc(28% - 28vw)}
.hp-hero::before{background:linear-gradient(180deg,color-mix(in srgb,var(--navy) 6%,transparent) 0,color-mix(in srgb,var(--navy) 82%,transparent) calc(var(--band) + 4px),var(--navy) calc(var(--band) + 56px))}
/* The who-we-are line under the eyebrow (preview note 86) takes about 21px; the gaps around the headline, the finder
   and the hero's foot give back 12 (10/10/18/28px before), so about half the banner shelf's first card still shows at
   390x844. */
.hp-hero-in{min-height:0;padding-block:var(--band) 24px}
.hp-own{margin-top:3px;font-size:.84rem;line-height:1.35}
.hp-hero h1{font-size:2.05rem;margin:8px 0}
.hp-lede{font-size:1rem;line-height:1.5}
.hp-finder{padding:18px 18px 16px;margin-top:14px}
.hp-finder .finder-s{font-size:1.28rem;line-height:1.65}
.hp-finder .finder-a .btn{width:100%}
.hp-cap{display:none}
.hp-pr{padding-top:20px}
/* the shelf: one card and a bit of the next, to the screen's edge; swiped, so no arrows */
.hp-sfh{position:relative;min-height:0;margin-bottom:10px}
.hp-sfh .rule,.hp-sfh .arrows{display:none}
/* the pause button stays (the row still moves), out of the flow at the head's end: the head keeps the kicker's height */
.hp-sfp{position:absolute;right:0;top:50%;width:32px;height:32px;margin:-16px 0 0}
.hp-sf,.hp-sf.n3{--gap:12px;grid-auto-columns:76%;margin-right:calc(-1*var(--gutter));padding-right:var(--gutter)}
.hp-pr[class] .hp-prg{grid-template-columns:none;grid-template-rows:none;grid-auto-flow:column;grid-auto-columns:85%;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;margin-right:calc(-1*var(--gutter));padding:0 var(--gutter) 10px 0}
.hp-pr.n1 .hp-prg{grid-auto-columns:100%;margin-right:0;padding-right:0}
.hp-pr[class] .hp-pt:first-child{grid-row:auto;grid-column:auto}
.hp-pt{scroll-snap-align:start}
.hp-pr .hp-pt .hp-pa{min-height:0;justify-content:flex-start}
.hp-pi{position:relative;inset:auto;z-index:auto;aspect-ratio:16/10}
.hp-pa::before{display:none}
.hp-pb{padding:14px 16px 16px}
.hp-pr .hp-ph{font-size:1.25rem}
.hp-pl{font-size:.95rem}
/* the slider to the screen's edge, the next column peeking; the arrows stay (the shell hides other rows' on a phone) */
.hp-brands{--gap:10px;grid-auto-columns:29%;margin-right:calc(-1*var(--gutter));padding-right:var(--gutter)}
.hp-br .sh .arrows{display:flex;margin-left:auto}
.hp-brand{height:84px;padding:10px 12px}
.hp-brl{height:56px}
.hp-sch-in,.hp-cv-in{padding:26px 20px;border-radius:6px}
.hp-sch .scf-h,.hp-cv h2{font-size:1.55rem}
.hp-progs{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:78%;overflow-x:auto;scroll-snap-type:x mandatory;margin-right:calc(-1*var(--gutter));padding:0 var(--gutter) 10px 0}
.hp-progs>li{scroll-snap-align:start}
.hp-exf{grid-template-columns:minmax(0,1fr)}
.hp-exf .ci{aspect-ratio:4/3;--pad:20px;min-height:0}
.hp-exf-b{padding:20px}
.hp-exl,.hp-exl.one{grid-auto-flow:row;grid-template-columns:minmax(0,1fr)}
.hp-exl .card{flex-direction:row;gap:14px;align-items:center}
.hp-exl .ci{width:92px;flex:none}
.hp-exl .cb{padding:0}
.hp-cons li{grid-template-columns:minmax(0,1fr)}
.hp-cv-d{text-align:left}
.hp-cv-d em{display:inline;margin-left:6px}
}
