/* Pages that load this file after style.css: the light pages that open on a page head (/gear/, the guides hub, the
   tools, /about/ and the 404 page; the model database and the maker pages, which also load matchups.css), the model
   pages and the guides. style.css holds the tokens, page chrome, buttons, the shared components, the base table and
   the form controls. */

/* ---------- Light page heads (components.page_head) ---------- */
/* The head of a page that opens without a hero photograph: the kicker, the 800 H1, the lead and an optional action,
   as on /compare/ (matchups.css). --media lays it beside a photograph from 64rem (the tools); below 64rem the
   photograph is not displayed, and since it loads lazily no browser fetches it there. */
.page-hero{padding-block:clamp(1.25rem, .9rem + 1.6vw, 3rem) clamp(2.5rem, 1.75rem + 2.4vw, 4rem)}
.page-head h1{margin-top:.5rem;font-size:var(--t-h1)}
.page-head .lead{max-width:40rem;margin-top:1rem}
.page-head .sl-action{margin-top:1.75rem}
.page-hero-media{display:none}
@media (min-width:64rem){
 .page-hero-grid{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);align-items:center;gap:clamp(3rem, 5vw, 5rem)}
 .page-hero-media{display:block}
 .page-hero-media .credit{margin-top:.5rem}
}

/* ---------- The model index: /gear/ (build.gear_group) ---------- */
/* The machines' pick cards (style.css .pick) start right under the page head and the grinders' wide cards sit on the
   stone band. Then the makers' videos: a ruled list of text links, each after the play triangle, two to a row from
   44rem and three from 64rem, and the photo credits. */
.gear-machines{padding-top:0}
.video-links{display:grid;border-top:1px solid var(--rule)}
.video-links li{border-bottom:1px solid var(--rule)}
.video-links a{display:flex;align-items:flex-start;gap:.75rem;padding:.9375rem 0;color:var(--ink);font:600 var(--t-ui)/1.4 var(--font);text-decoration:none}
.video-links a::before{content:"";flex:none;margin-top:.3125rem;border-left:.625rem solid var(--accent);border-block:.375rem solid transparent}
.video-links a:hover{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:.2em}
@media (forced-colors:active){.video-links a::before{forced-color-adjust:none}}
.gear-videos .credit{margin-top:1.5rem}
@media (min-width:44rem){.video-links{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:2.5rem}}
@media (min-width:64rem){.video-links{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* ---------- Tools: /finder/ (finder.html, finder.js) and /planner/ (planner.html, planner.js) ---------- */
/* Each tool follows its compact page head in the page column. From 64rem a column beside it holds the finder's short
   list or the planner's notes, which stay in view while the tool scrolls on a screen tall enough to show them. */
.tool-body{padding-bottom:var(--sp-section)}
.finder,.planner{display:grid;gap:3rem}
@media (min-width:64rem){.finder,.planner{grid-template-columns:minmax(0,7fr) minmax(0,5fr);align-items:start;column-gap:clamp(3rem, 5vw, 5rem)}}
@media (min-width:64rem) and (min-height:50rem){.finder-fallback,.planner-notes{position:sticky;top:1.5rem}}

/* The finder's questions: each a fieldset whose legend heads it, numbered 01 to 03 in accent (decoration, with empty
   alternative text) and floated across the full width so it wraps inside the box instead of sitting in its border.
   An answer is a tile, the whole label with its radio and text, at least 52px tall, two to a row from 44rem. A
   checked tile takes a 2px accent border on --panel (its padding gives up the extra pixel, so the box keeps its
   size); a tile with keyboard focus shows the focus ring. */
.finder-form{counter-reset:question}
.finder-fields{display:grid;gap:2.25rem}
.finder-question{min-width:0;margin:0;padding:0;border:0;counter-increment:question}
.finder-question legend{float:left;width:100%;margin:0 0 1rem;padding:0;color:var(--ink);font:800 var(--t-h3)/1.2 var(--font);letter-spacing:-.02em}
.finder-question legend::before{content:counter(question, decimal-leading-zero);content:counter(question, decimal-leading-zero) / "";display:block;margin-bottom:.5rem;color:var(--accent);font:700 var(--t-xs)/1.2 var(--font);letter-spacing:.09em}
.finder-question legend+*{clear:both}
.finder-options{display:grid;gap:.625rem}
.finder-option{display:flex;align-items:center;gap:.75rem;min-height:3.25rem;padding:.75rem 1rem;border:1px solid var(--rule-strong);border-radius:var(--radius);background:var(--paper);color:var(--ink);font:600 var(--t-ui)/1.35 var(--font);cursor:pointer;transition:border-color .15s}
.finder-option:hover{border-color:var(--accent)}
.finder-option:has(input:checked){padding:calc(.75rem - 1px) calc(1rem - 1px);border:2px solid var(--accent);background:var(--panel)}
.finder-option:has(:focus-visible){outline:3px solid var(--focus);outline-offset:2px}
@supports selector(:has(*)){.finder-option input:focus-visible{outline:none}}
.finder-option input{flex:none;width:1.125rem;height:1.125rem;margin:0}
.finder-form>.sl-action{width:100%;margin-top:2.25rem}
@media (min-width:44rem){.finder-options{grid-template-columns:repeat(2,minmax(0,1fr))}.finder-form>.sl-action{width:auto;min-width:14rem}}
/* The verdict, under a 4px ink rule: the model, why it fits and the reasons in ruled rows (the label beside its text
   from 44rem), then the actions: the chosen machine's Amazon button, which finder.js copies from the short list (as wide
   as the column on phones, as its label from 44rem), its profile and the planner. */
.finder-result{margin-top:3rem;padding-top:1rem;border-top:4px solid var(--ink)}
.finder-result h2{margin-top:.5rem;font-size:var(--t-h2)}
#finder-match{max-width:40rem;margin-top:.875rem;color:var(--ink-2);font-size:var(--t-lead);line-height:1.5}
.finder-reasons{margin-top:1.75rem;border-top:1px solid var(--rule)}
.finder-reasons dt{padding-top:.875rem;color:var(--muted);font:600 var(--t-sm)/1.45 var(--font)}
.finder-reasons dd{padding:.25rem 0 .875rem;border-bottom:1px solid var(--rule);color:var(--ink);font-size:var(--t-body);line-height:1.55}
.finder-reasons a{font-weight:700;text-decoration-color:var(--accent);text-decoration-thickness:2px}
.finder-reasons a:hover{color:var(--accent-strong)}
.finder-actions{display:flex;flex-wrap:wrap;align-items:center;gap:1rem 1.5rem;margin-top:1.75rem}
#finder-buy,.finder-actions>.sl-action{flex:1 1 100%}
#finder-buy:empty{display:none}
@media (min-width:44rem){
 .finder-reasons{display:grid;grid-template-columns:minmax(0,10rem) minmax(0,1fr)}
 .finder-reasons dt{padding:.9375rem 1.25rem .875rem 0;border-bottom:1px solid var(--rule)}
 .finder-reasons dd{padding-top:.875rem}
 #finder-buy,.finder-actions>.sl-action{flex:none}
 #finder-buy .buy-btn{width:auto;min-width:16rem}
}
.finder-note{max-width:40rem;margin-top:2.5rem}
/* Without JavaScript the questions are not displayed, so the short list takes the main column under the note. */
@media (scripting:none){.finder-note{margin-top:0}.finder-fallback{grid-column:1;position:static}}
/* The short list (build.finder_pick), under a 4px ink rule: a ruled row per machine, its picture beside its tab, name
   and line, then its Amazon button, across the row on phones and from 64rem and beside the text from 44rem to 64rem;
   then the photo credits and the onward links. build.FINDER_PICK_SIZES describes the picture. */
.finder-fallback{padding-top:1rem;border-top:4px solid var(--ink)}
.finder-fallback>h2{font-size:1.25rem;line-height:1.2;letter-spacing:-.016em}
.finder-pick{display:grid;grid-template-columns:5rem minmax(0,1fr);grid-template-rows:auto auto 1fr;column-gap:1rem;padding:1rem 0;border-bottom:1px solid var(--rule)}
.finder-fallback>h2+.finder-pick{margin-top:.75rem;border-top:1px solid var(--rule)}
.finder-pick>.ph{grid-row:1/4;align-self:start}
.finder-pick>.label{justify-self:start}
.finder-pick h3{margin-top:.375rem;font-size:1.125rem;line-height:1.18;letter-spacing:-.018em}
.finder-pick h3 a{text-decoration:none}
.finder-pick h3 a:hover{text-decoration:underline;text-decoration-thickness:2px}
.finder-pick p{margin-top:.25rem;color:var(--ink-2);font-size:var(--t-sm);line-height:1.5}
.finder-pick>.buy-btn{grid-column:1/-1;margin-top:.875rem}
.finder-fallback>.credit{margin-top:.875rem}
.finder-more{margin-top:1.25rem;color:var(--ink-2);font-size:var(--t-ui);line-height:1.55}
.finder-more a{color:var(--ink);font-weight:700;text-decoration-color:var(--accent);text-decoration-thickness:2px}
.finder-more a:hover{color:var(--accent-strong)}
@media (min-width:44rem) and (max-width:63.99rem){
 .finder-pick{grid-template-columns:5rem minmax(0,1fr) minmax(0,16.5rem);column-gap:1.5rem}
 .finder-pick>.buy-btn{grid-column:3;grid-row:1/-1;align-self:center;margin-top:0}
}

/* The planner's form: each fieldset a stone panel headed by its legend, floated across the full width so it wraps
   inside the panel; the fields two to a row from 44rem, each label over its field and the fields of a row aligned at
   their foot. Then the results that planner.js fills, under a 4px ink rule: a .data-table with the figures
   right-aligned and the two totals on --accent-soft, and the verdict; beside it all from 64rem, "How the estimate
   works". */
.planner-form fieldset{min-width:0;margin:0 0 1rem;padding:1.25rem clamp(1rem, .5rem + 2vw, 1.5rem) 1.5rem;border:0;background:var(--panel)}
.planner-form legend{float:left;width:100%;margin:0 0 1rem;padding:0;color:var(--ink);font:800 1.125rem/1.25 var(--font);letter-spacing:-.015em}
.planner-form legend+*{clear:both}
.sl-inputs{display:grid;gap:1rem 1.5rem;align-items:end}
.sl-columns{display:grid;gap:1rem}
.sl-columns{margin-bottom:1rem}
.sl-columns>fieldset{margin:0}
.planner-form label{display:grid;gap:.375rem;color:var(--ink-2);font:600 var(--t-sm)/1.35 var(--font)}
.sl-columns label+label{margin-top:1rem}
.planner-form input,.planner-form select{width:100%;min-width:0}
.planner-hint{margin-top:1rem;color:var(--ink-2);font:400 var(--t-sm)/1.55 var(--font)}
.planner-form>.sl-action{width:100%;margin-top:.5rem}
#error{color:var(--accent-strong);font:600 var(--t-ui)/1.45 var(--font)}
#error:not(:empty){margin-top:1rem}
@media (min-width:44rem){.sl-inputs,.sl-columns{grid-template-columns:repeat(2,minmax(0,1fr))}.planner-form>.sl-action,.sl-output>.sl-action{width:auto;min-width:14rem}}
.sl-output{margin-top:3rem;padding-top:1rem;border-top:4px solid var(--ink)}
.sl-output h2{font-size:var(--t-h3);line-height:1.15}
.sl-output .data-table{margin-top:1.25rem}
.sl-output .data-table thead th{position:static}
.sl-output .data-table thead th:first-child{padding-left:.875rem}
.sl-output .data-table :is(th,td):not(:first-child){text-align:right}
.sl-output .data-table tr>:last-child{padding-right:.875rem}
.sl-output .data-table tbody tr:nth-last-child(-n+2)>*{background:var(--accent-soft);color:var(--ink);font-weight:700}
#verdict{margin-top:1.25rem;color:var(--ink);font:600 var(--t-lead)/1.45 var(--font)}
.sl-output>.sl-action{width:100%;margin-top:1.5rem}
.planner-nojs{margin-top:1.5rem;color:var(--ink-2);font-size:var(--t-ui);line-height:1.55}
.planner-notes{padding-top:1rem;border-top:4px solid var(--ink)}
.planner-notes>h2{margin-top:0;padding-top:0;border-top:0;font-size:var(--t-h3)}
.planner-notes>*+*{margin-top:1rem}
@media (min-width:64rem){.planner-notes{font-size:var(--t-body)}}

/* ---------- About: /about/ (build.py) ---------- */
/* The policy sections and the typefaces in the reading column (style.css .sl-reading), each under a hairline, beside
   their contents from 64rem (.sl-contents, styled with the guides' below); then the photo credits on the stone band
   (editorial.photo_credits): a ruled row per photograph, its 4:3 thumbnail beside its title, creator, license and
   changes, two to a row from 64rem. The row that the address names (#photo-<key>, which the credit lines link) turns
   white. */
.about-body{display:grid;gap:2rem;padding-bottom:var(--sp-section)}
@media (min-width:64rem){.about-body{grid-template-columns:14rem minmax(0,43rem);gap:clamp(3rem, 5vw, 5rem)}}
.about-text>*+*{margin-top:0}
.about-text>section:first-child>h2{margin-top:0}
.about-text section>*+*{margin-top:1rem}
.credit-list{display:grid;border-top:1px solid var(--rule)}
.credit-list>li{display:grid;grid-template-columns:6.25rem minmax(0,1fr);gap:1.25rem;align-items:start;padding:1rem 0;border-bottom:1px solid var(--rule)}
.credit-list>li>div{line-height:1.35}
.credit-list>li:target{margin-inline:-.75rem;padding-inline:.75rem;background:var(--paper)}
.credit-title{color:var(--ink);font:600 var(--t-ui)/1.35 var(--font);text-decoration:underline;text-decoration-color:var(--sep);text-underline-offset:.2em}
.credit-title:hover{text-decoration-color:currentColor}
.credit-meta{margin-top:.25rem;color:var(--ink-2);font:500 var(--t-sm)/1.45 var(--font)}
.credit-meta a{color:inherit;text-decoration-color:var(--sep);text-underline-offset:.2em}
.credit-meta a:hover{text-decoration-color:currentColor}
.credit-changes{margin-top:.25rem;color:var(--muted);font:400 var(--t-xs)/1.45 var(--font)}
@media (min-width:64rem){.credit-list{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:3rem}}

/* ---------- The 404 page (build.py not_found) ---------- */
/* Under the page head, the three destinations as large ruled links, each trailing the arrow, under a 4px ink rule;
   then the model database search on a stone panel, its field beside the button from 44rem and over it again from
   64rem, where the panel narrows to a column beside the links. */
.missing{display:grid;gap:2.5rem;padding-bottom:var(--sp-section)}
@media (min-width:64rem){.missing{grid-template-columns:minmax(0,7fr) minmax(0,5fr);align-items:start;column-gap:clamp(3rem, 5vw, 5rem)}}
.sl-missing{border-top:4px solid var(--ink)}
.sl-missing li{border-bottom:1px solid var(--rule)}
.sl-missing a{display:block;padding:1.125rem 0;color:var(--ink);font:700 var(--t-h3)/1.25 var(--font);letter-spacing:-.02em;text-decoration:none}
.sl-missing a:hover{color:var(--accent-strong)}
.sl-search{padding:1.25rem clamp(1rem, .5rem + 2vw, 1.5rem) 1.5rem;background:var(--panel)}
.sl-search label{display:block;color:var(--ink);font:800 1.125rem/1.25 var(--font);letter-spacing:-.015em}
.sl-search div{display:flex;flex-wrap:wrap;gap:.625rem;margin-top:1rem}
.sl-search input{flex:1 1 12rem;min-width:0}
.sl-search .sl-action{flex:1 0 auto}
@media (min-width:44rem){.sl-search .sl-action{flex:none}}
@media (min-width:64rem){.sl-search input{flex-basis:100%}}

/* ---------- Model pages: /gear/<slug>/ (build.model_body) ---------- */
/* The espresso hero (page tone 'dark' sets the breadcrumb bar on espresso above it). Phones and tablets stack the
   copy, the picture and GearLab's figures, in that order; from 64rem the copy (six elevenths) sits beside the
   picture (five elevenths) and the figures run across both. The cream Amazon button fills the column on phones and
   stops at 26rem from 44rem. build.PDP_PHOTO_SIZES and PDP_PRINT_SIZES describe the picture's slots. */
.pdp-hero{padding-block:clamp(.75rem, .1rem + 2.6vw, 3rem) clamp(2.75rem, 2rem + 2.6vw, 4.5rem)}
.pdp-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:2.25rem}
.pdp-text h1{margin-top:.25rem;font-size:var(--t-h1);line-height:1.02}
.pdp-text .sl-dateline{margin-top:.375rem}
/* The "Best for" tab beside the Spec Score chip, a link to #spec-score; the chip wraps under the tab when the row is
   too narrow for both. */
.pdp-tags{display:flex;flex-wrap:wrap;align-items:center;gap:.625rem 1.25rem;margin-top:.75rem}
.pdp-tags>.label{margin:0}
.pdp-verdict{max-width:36rem;margin-top:.625rem;color:var(--on-dark);font:500 var(--t-lead)/1.4 var(--font);letter-spacing:-.005em}
.pdp-buy{margin-top:1rem}
.pdp-note{max-width:34rem;margin-top:.75rem;color:var(--on-dark-muted);font:400 var(--t-sm)/1.5 var(--font)}
.pdp-text>.specs{max-width:36rem;margin-top:1.75rem}
.pdp-links{display:flex;flex-wrap:wrap;gap:.875rem 2rem;margin-top:1.75rem}
.pdp-media .credit{margin-top:.625rem}
@media (min-width:44rem){
 .pdp-text h1{margin-top:.5rem;line-height:1.04}
 .pdp-text .sl-dateline{margin-top:.75rem}
 .pdp-tags{margin-top:1.125rem}
 .pdp-verdict{margin-top:1rem;line-height:1.45}
 .pdp-buy{max-width:26rem;margin-top:1.5rem}
}
@media (min-width:64rem){
 .pdp-grid{grid-template-columns:minmax(0,6fr) minmax(0,5fr);gap:3rem clamp(3rem, 5vw, 5.5rem);align-items:start}
 .pdp-media>.ph{aspect-ratio:4/5}
 .pdp-figs{grid-column:1/-1}
}
/* The inset print (editorial.MODEL_SCENES models): the model's photograph or type panel on paper, over the lower-left
   corner of a large scene. Below 64rem it hangs 2rem under the 4:3 scene, so the scene's credit starts to its right
   and is at least as tall as the overhang; from 64rem the scene is square and the print reaches 2.5rem into the gap
   beside the copy, 2.5rem above the scene's foot. */
.pdp-stage{position:relative}
.pdp-print{position:absolute;left:.75rem;bottom:-2rem;z-index:1;display:block;width:min(38%, 15rem);padding:.5rem .5rem .625rem;background:var(--paper)}
.pdp-print .type-panel{background:var(--espresso)}
.pdp-print .tp-name{text-wrap:balance}
.pdp-print-cap{display:block;margin-top:.5rem;color:var(--ink-2);font:500 var(--t-2xs)/1.35 var(--font)}
.pdp-print-cap a{color:inherit;text-decoration:underline;text-decoration-color:var(--sep)}
.pdp-print-cap a:hover{text-decoration-color:currentColor}
.pdp-media--print>.credit{min-height:2rem;padding-left:calc(min(38%, 15rem) + 1.75rem)}
@media (min-width:64rem){
 .pdp-scene{aspect-ratio:1}
 .pdp-print{left:-2.5rem;bottom:2.5rem}
 .pdp-media--print>.credit{min-height:0;padding-left:0}
}
/* GearLab's figures on espresso: three columns between hairlines, each big figure over its label. */
.figs-title{color:var(--accent-on-dark);font:700 var(--t-xs)/1.2 var(--font);letter-spacing:.09em;text-transform:uppercase}
.bench-figs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:.75rem;border-block:1px solid var(--dark-rule)}
.bench-figs>div{display:flex;flex-direction:column-reverse;justify-content:flex-end;min-width:0;padding:1rem .75rem 1.125rem 0}
.bench-figs>div+div{padding-left:.875rem;border-left:1px solid var(--dark-rule)}
.bench-figs dd{color:var(--on-dark);font:800 clamp(1.5rem, 1.1rem + 1.8vw, 2.75rem)/1 var(--font);letter-spacing:-.035em;white-space:nowrap}
.bench-figs dd small{font-size:.5em;font-weight:700;letter-spacing:0}
.bench-figs dt{margin-top:.5rem;color:var(--on-dark-muted);font:500 var(--t-sm)/1.35 var(--font)}
@media (min-width:64rem){.bench-figs>div{padding:1.25rem 1.5rem 1.375rem 0}.bench-figs>div+div{padding-left:1.5rem}}

/* The spec sheet: the maker's specifications beside GearLab's measurements from 64rem (style.css .kv-table). */
.specs-split{display:grid;gap:2.5rem}
.specs-split>*{min-width:0}
.specs-split .sl-note{margin-top:1rem}
.specs-split .quiet-link{display:inline-block;margin-top:.5rem}
@media (min-width:64rem){.specs-split{grid-template-columns:repeat(2,minmax(0,1fr));gap:4rem;align-items:start}}

/* The Spec Score (components.score_panel), after the spec sheet: the total on stone under a 4px ink rule, its
   number over an accent bar, the coverage, what is not published and the published-specifications line; beside it
   from 64rem, one row per criterion between hairlines, its name, weight and points over a bar, then the published
   facts and adjustments behind them. */
.score-panel{display:grid;gap:2rem}
.score-total{align-self:start;padding:1.5rem 1.5rem 1.625rem;border-top:4px solid var(--ink);background:var(--panel)}
.score-big{display:flex;align-items:baseline;gap:.375rem;color:var(--ink);font:800 clamp(3.75rem, 2.9rem + 3.4vw, 5.5rem)/.88 var(--font);letter-spacing:-.05em;font-variant-numeric:tabular-nums}
.score-big span{color:var(--muted);font-size:max(1.25rem, .28em);font-weight:700;letter-spacing:-.01em}
.score-big--none{font-size:var(--t-h3);line-height:1.15;letter-spacing:-.02em}
.score-total .score-bar{margin-top:1.25rem}
.score-cover{margin-top:1.125rem;color:var(--ink-2);font-size:var(--t-ui);line-height:1.55}
.score-cover b{color:var(--ink);font-weight:700}
.score-total .score-note{display:inline-block;margin-top:1rem}
.score-criteria{border-top:1px solid var(--rule)}
.score-criteria li{padding:1rem 0 1.125rem;border-bottom:1px solid var(--rule)}
.crit-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:.25rem .75rem}
.crit-name{color:var(--ink);font:700 1.0625rem/1.3 var(--font);letter-spacing:-.01em}
.crit-weight{color:var(--muted);font:500 var(--t-sm)/1.3 var(--font)}
.crit-score{margin-left:auto;color:var(--ink);font:800 1.5rem/1 var(--font);letter-spacing:-.025em;font-variant-numeric:tabular-nums}
.score-criteria .score-bar{margin-top:.625rem}
.crit-facts{margin-top:.5rem;color:var(--ink-2);font-size:var(--t-sm);line-height:1.5}
@media (min-width:64rem){.score-panel{grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:4.5rem}}

/* Where it fits, on the stone band: the photograph beside the copy from 64rem, the caution panel and the Amazon
   button, full width on phones and as wide as its label from 44rem. build.FIT_PHOTO_SIZES describes the photo. */
.fit{display:grid;gap:2rem}
.fit-media .credit{margin-top:.625rem}
.fit-copy h2{margin-top:.5rem;font-size:var(--t-h2)}
.fit-text{margin-top:1rem;color:var(--ink-2);font-size:var(--t-lead);line-height:1.55}
.caution{margin-top:2rem;padding:1.25rem 1.25rem 1.375rem;border-left:4px solid var(--accent);background:var(--accent-soft)}
.caution h3{font-size:1.125rem}
.caution p{margin-top:.5rem;color:var(--ink-2);font-size:var(--t-ui);line-height:1.6}
.fit-copy>.buy-btn{margin-top:1.75rem}
.fit-copy>.sl-note{margin-top:.75rem}
@media (min-width:44rem){.fit-copy>.buy-btn{display:inline-flex;width:auto;min-width:18rem}}
@media (min-width:64rem){.fit{grid-template-columns:minmax(0,6fr) minmax(0,5fr);gap:5rem;align-items:center}}

/* Published tests (comparisons.evidence_notes): a card per test under a 4px ink rule, two to a row from 64rem, then
   the maker's video; a single test shares its row with the video from 64rem (.tests--one). */
.tests{display:grid;gap:clamp(2.5rem, 2rem + 2vw, 4rem)}
.bench{display:grid;gap:1.5rem}
.bench article{display:flex;flex-direction:column;padding:1.5rem;border-top:4px solid var(--ink);background:var(--panel)}
.bench .pub b{font:800 1.25rem/1.1 var(--font);letter-spacing:-.02em}
.bench .obs{margin-top:1rem;color:var(--ink);font-size:var(--t-body);line-height:1.55}
.bench .method{flex:1 0 auto;margin-top:1rem;padding-top:1rem;border-top:1px solid var(--rule);color:var(--muted);font-size:var(--t-sm);line-height:1.55}
.bench .method b{color:var(--ink-2)}
.bench .quiet-link{align-self:flex-start;margin-top:1rem}
.video-block{max-width:52rem;padding-top:1rem;border-top:4px solid var(--ink)}
.video-block h3{margin-bottom:1rem;font-size:var(--t-h3)}
@media (min-width:64rem){
 .bench{grid-template-columns:repeat(2,minmax(0,1fr));gap:2rem}
 .tests--one{grid-template-columns:repeat(2,minmax(0,1fr));gap:2rem;align-items:start}
 .tests--one .bench{grid-template-columns:minmax(0,1fr)}
 .tests--one .video-block{max-width:none}
}
/* A maker's video (editorial.film): its still covers a 16:9 frame on espresso, and the paper Play button sits on its
   lower-left corner. yt-facade.js swaps in the player at the same size when the reader presses Play; without
   JavaScript the button is hidden and the caption links the video on YouTube. */
.ed-film{max-width:52rem}
.ed-film-frame{position:relative;display:block;aspect-ratio:16/9;overflow:hidden;background:var(--espresso)}
.ed-film-frame picture,.ed-film-frame iframe{position:absolute;inset:0;width:100%;height:100%}
.ed-film-frame img{width:100%;height:100%;object-fit:cover}
.ed-film-frame iframe{display:block;border:0}
.ed-film-play{position:absolute;left:1rem;bottom:1rem;display:inline-flex;align-items:center;gap:.75rem;min-height:3rem;padding:.625rem 1.25rem .625rem 1.125rem;border:0;border-radius:var(--radius);background:var(--paper);color:var(--ink);font:700 var(--t-ui)/1.2 var(--font);text-align:left;transition:background-color .15s}
.ed-film-play::before{content:"";flex:none;border-left:.75rem solid;border-block:.4375rem solid transparent}
.ed-film-play:hover{background:var(--accent-soft)}
@media (forced-colors:active){.ed-film-play{border:1px solid}.ed-film-play::before{forced-color-adjust:none}}
.ed-film figcaption{margin-top:.75rem;color:var(--ink-2);font:400 var(--t-sm)/1.5 var(--font)}
.ed-film figcaption a{color:var(--ink);font-weight:600;text-decoration-color:var(--accent);text-decoration-thickness:2px}
.ed-film figcaption a:hover{color:var(--accent-strong)}

/* The comparisons with the model beside its related guides on the stone band, then the section's photo credits.
   The same split and credit line as the pair pages (matchups.css), which the model database also loads. */
.after-split{display:grid;gap:var(--sp-section)}
.after-split .vs-grid+.sl-action{margin-top:2.5rem}
.page-credits{grid-column:1/-1;max-width:60rem;margin-top:calc(var(--sp-section) * -1 + 1.5rem)}
@media (min-width:64rem){.after-split{grid-template-columns:minmax(0,2fr) minmax(0,1fr);column-gap:4.5rem}.after-split--one{grid-template-columns:minmax(0,1fr)}}

/* ---------- Guides: /guides/<slug>/ (build.py) and the guides hub, /guides/ ---------- */
/* The hero. The cover photograph spans the screen: 16:9 below 64rem; from 64rem a band clamp(18rem, 32vw, 28rem)
   tall, cropped around its focal point. Under it come the title card (the kicker, H1, dateline, summary and the
   cover's credit) and the gear box (.guide-gear), under a 4px ink rule: a row per model (.qpick) and the
   local-listing note. A row shows the model's picture beside its "Best for" tab and name; its Amazon button sits
   under the name on phones (so the first one stays on the first screen and a half), in a third column from 44rem
   and across the row from 64rem. Below 64rem the card and the box stack under the photograph; from 64rem they stand
   side by side on paper, seven twelfths and five, pulled 9rem up over the photograph's foot. build.GUIDE_COVER_SIZES
   and QPICK_SIZES describe the photo slots. */
.guide-title-card{padding-top:1rem}
.guide-title-card h1{margin-top:.5rem;font-size:var(--t-h1);line-height:1.02}
.guide-title-card .sl-dateline{margin-top:.625rem}
.guide-title-card .lead{max-width:42rem;margin-top:.875rem;line-height:1.45}
.guide-title-card .credit{margin-top:.75rem}
.guide-gear{margin-top:1.5rem;padding-top:1rem;border-top:4px solid var(--ink)}
.guide-gear h2{font-size:1.125rem;line-height:1.2;letter-spacing:-.016em}
.guide-gear>.sl-note{margin-top:.875rem}
.qpick{display:grid;grid-template-columns:4.5rem minmax(0,1fr);grid-template-rows:auto auto 1fr;column-gap:1rem;padding:.75rem 0;border-bottom:1px solid var(--rule)}
.guide-gear h2+.qpick{margin-top:.5rem;border-top:1px solid var(--rule)}
.qpick>.ph{grid-row:1/-1;align-self:start}
.qpick>.label{justify-self:start}
.qpick h3{margin-top:.375rem;font-size:1.125rem;line-height:1.18;letter-spacing:-.018em}
.qpick>.buy-btn{align-self:end;margin-top:.625rem;padding-inline:.875rem}
.qpick h3 a,.ibox h3 a{text-decoration:none}
.qpick h3 a:hover,.ibox h3 a:hover{text-decoration:underline;text-decoration-thickness:2px}
/* A model without a licensed photograph (the Opus 2) shows its type panel; the gear box's small frame keeps only
   its figure. */
.qpick .type-panel{justify-content:flex-end;padding:.5rem}
.qpick .tp-name,.qpick .tp-cap,.ibox .tp-cap{display:none}
.qpick .tp-big{font-size:1.125rem}
.ibox .tp-big{font-size:1.5rem}
@media (min-width:44rem){
 .guide-title-card{padding-top:clamp(1.5rem, 1rem + 2vw, 2.25rem)}
 .guide-title-card h1{margin-top:.625rem;line-height:1.04}
 .guide-title-card .sl-dateline{margin-top:.875rem}
 .guide-title-card .lead{margin-top:1.125rem;line-height:1.5}
 .guide-title-card .credit{margin-top:1rem}
 .guide-gear{margin-top:2.25rem;padding-top:1.125rem}
 .guide-gear h2{font-size:1.25rem}
 .guide-gear h2+.qpick{margin-top:.875rem}
 .qpick{padding:1rem 0}
 .qpick>.buy-btn{margin-top:.75rem;padding-inline:1.125rem}
}
@media (min-width:44rem) and (max-width:63.99rem){
 .qpick{grid-template-columns:4.5rem minmax(0,1fr) minmax(0,16.5rem);grid-template-rows:1fr auto auto 1fr;column-gap:1.5rem}
 .qpick>.label{grid-row:2}
 .qpick>h3{grid-row:3}
 .qpick>.buy-btn{grid-column:3;grid-row:1/-1;align-self:center;margin-top:0}
}
@media (min-width:64rem){
 .guide-cover>.ph{aspect-ratio:auto;height:clamp(18rem, 32vw, 28rem)}
 .guide-hero-grid{position:relative;display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:2.5rem;align-items:start;margin-top:-9rem}
 .guide-title-card{padding:2rem 2.5rem 2.25rem;background:var(--paper)}
 .guide-gear{margin-top:0;padding:1.25rem 1.5rem 1.5rem;background:var(--paper)}
 .qpick{grid-template-rows:1fr auto auto 1fr auto}
 .qpick>.ph{grid-row:1/5}
 .qpick>.label{grid-row:2}
 .qpick>h3{grid-row:3}
 .qpick>.buy-btn{grid-column:1/-1;grid-row:5;align-self:auto;margin-top:.875rem}
}

/* The article: the contents over the reading column below 64rem, beside it from 64rem, and from 80rem the rail beside
   both; there the gaps narrow from 3.5rem to 2.5rem toward 80rem, so the rail stays at least 13.5rem wide. */
.art-layout{display:grid;gap:2rem;padding-block:clamp(2.5rem, 2rem + 2vw, 4rem) var(--sp-section)}
@media (min-width:64rem){.art-layout{grid-template-columns:14rem minmax(0,43rem);gap:clamp(3rem, 5vw, 5rem)}}
@media (min-width:80rem){.art-layout{grid-template-columns:13.5rem minmax(0,43rem) minmax(0,1fr);gap:clamp(2.5rem, 12.5vw - 7.5rem, 3.5rem)}}
/* The contents (also on /about/), numbered 01, 02 and on: below 64rem a disclosure between hairlines, collapsed by
   build.CONTENTS_SCRIPT, whose chevron is the select chevron (its stroke repeats --ink, %2317120e); from 64rem open
   and sticky under a 4px ink rule. */
.sl-contents{align-self:start}
.sl-contents details{border-block:1px solid var(--rule)}
.sl-contents summary{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:3rem;padding:.75rem 0;color:var(--ink);font:700 var(--t-ui)/1.3 var(--font);list-style:none}
.sl-contents summary::-webkit-details-marker{display:none}
.sl-contents summary::after{content:"";flex:none;width:.75rem;height:.5rem;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1.5 1.5 4.5 4.5 4.5-4.5' fill='none' stroke='%2317120e' stroke-width='1.5'/%3E%3C/svg%3E") center/contain no-repeat;transition:transform .15s}
.sl-contents details[open] summary::after{transform:rotate(180deg)}
.sl-contents ol{counter-reset:toc;padding-bottom:.75rem}
.sl-contents li{counter-increment:toc}
.sl-contents a{display:grid;grid-template-columns:1.75rem minmax(0,1fr);padding:.4375rem 0;color:var(--ink-2);font:500 var(--t-sm)/1.45 var(--font);text-decoration:none}
.sl-contents a::before{content:counter(toc,decimal-leading-zero);color:var(--muted);font-weight:700}
.sl-contents a:hover{color:var(--ink);text-decoration:underline}
@media (min-width:64rem){
 .sl-contents{position:sticky;top:1.5rem}
 .sl-contents details{border:0;border-top:4px solid var(--ink)}
 .sl-contents summary{min-height:0;padding:1rem 0 .5rem;pointer-events:none;cursor:default}
 .sl-contents summary::after{display:none}
}
/* The reading column (style.css .sl-reading): the first section's heading starts at the column's top when no lede
   precedes it; then the equipment list and the sources. */
.art-layout .sl-reading>section:first-child>h2{margin-top:0}
/* The equipment list: a ruled entry per model, its picture beside its tab, name and short text, then its Amazon
   button, across the entry on phones and in a third column from 44rem. build.IBOX_SIZES describes the photo slot. */
.ibox-list{margin-top:1.5rem}
.ibox{display:grid;grid-template-columns:5.5rem minmax(0,1fr);grid-template-rows:auto auto 1fr;column-gap:1rem;padding:1.25rem 0;border-top:1px solid var(--rule)}
.ibox:last-child{border-bottom:1px solid var(--rule)}
.ibox>.ph{grid-row:1/4;align-self:start}
.ibox>.label{justify-self:start}
.ibox h3{margin-top:.5rem;font-size:1.1875rem;line-height:1.15;letter-spacing:-.018em}
.ibox p{margin-top:.375rem;color:var(--ink-2);font-size:var(--t-ui);line-height:1.55}
.ibox>.buy-btn{grid-column:1/-1;margin-top:1rem}
@media (min-width:44rem){
 .ibox{grid-template-columns:7rem minmax(0,1fr) minmax(0,16.5rem);grid-template-rows:1fr auto auto auto 1fr;column-gap:1.5rem}
 .ibox>.ph{grid-row:1/-1}
 .ibox>.label{grid-row:2}
 .ibox>h3{grid-row:3}
 .ibox>p{grid-row:4}
 .ibox>.buy-btn{grid-column:3;grid-row:1/-1;align-self:center;margin-top:0}
}
.sl-sources .sources{margin-top:1.25rem}
/* The rail, from 80rem: under a 4px ink rule and sticky, a row per model with its name and "Best for" line over a
   small Amazon button, then the local-listing note. It starts a screen less 4rem (at most 50rem) below the reading
   column's top, so it slides in as the gear box leaves the screen instead of repeating it beside it. */
.rail{display:none}
@media (min-width:80rem){
 .rail{display:block;align-self:stretch}
 .rail-in{position:sticky;top:1.5rem;margin-top:min(100vh - 4rem, 50rem);padding-top:1rem;border-top:4px solid var(--ink)}
 .rail-title{color:var(--ink);font:700 var(--t-ui)/1.3 var(--font)}
 .rail-title+.rail-item{margin-top:.75rem;border-top:1px solid var(--rule)}
 .rail-item{display:flex;flex-direction:column;align-items:flex-start;padding:1rem 0;border-bottom:1px solid var(--rule)}
 .rail-name{color:var(--ink);font:800 1.0625rem/1.2 var(--font);letter-spacing:-.012em;text-decoration:none}
 .rail-name:hover{text-decoration:underline;text-decoration-thickness:2px}
 .rail-item small{margin-top:.25rem;color:var(--muted);font:600 var(--t-xs)/1.3 var(--font)}
 .rail-item>.buy-btn{margin-top:.75rem;padding-inline:.625rem}
 .rail .sl-note{margin-top:1rem;font-size:var(--t-xs)}
}
/* After the article, on the stone band: the comparisons between the guide's models, or a link to the planner, then
   the related guides and the photo credits, pulled up into the gap (.page-credits, "Model pages"). A single
   comparison (.vs-grid--one) lies on its side from 44rem: its pair of photos beside its title and line.
   components.VS_ONE_SIZES describes its photo slots. */
.after-grid{display:flex;flex-direction:column;gap:var(--sp-section)}
.after-grid>.text-link{align-self:flex-start;margin-bottom:calc(var(--sp-section) * -1 + 2.5rem)}
@media (min-width:44rem){
 .vs-grid--one{grid-template-columns:minmax(0,1fr)}
 .vs-grid--one .vs-card{display:grid;grid-template-columns:minmax(0,25rem) minmax(0,1fr);grid-template-rows:1fr auto auto 1fr;column-gap:clamp(2rem, 4vw, 3.5rem)}
 .vs-grid--one .vs-card>a{display:grid;grid-column:1/-1;grid-row:1/-1;grid-template-columns:subgrid;grid-template-rows:subgrid}
 .vs-grid--one .vs-pair{grid-column:1;grid-row:1/-1}
 .vs-grid--one .vs-title{grid-column:2;grid-row:2;margin-top:0;font-size:var(--t-h3)}
 .vs-grid--one .vs-line{grid-column:2;grid-row:3;max-width:34rem;font-size:var(--t-body)}
}

/* The guides hub: the page head ("Light page heads"), then the first guide as the featured card, photo left from 64rem
   (style.css .guide-card--featured), over a hairline, and the other guides, two to a row and three from 64rem, then
   their photo credits. A last card alone in its row lies on its side across the row, its photo in the first column.
   build.GUIDES_HUB_SIZES describes the grid's photo slots. */
.guides-hub{padding-top:0}
.guide-feature{padding-bottom:clamp(2.5rem, 2rem + 2vw, 4rem);border-bottom:1px solid var(--rule)}
.guide-feature+.guide-grid{margin-top:clamp(2.5rem, 2rem + 2vw, 4rem)}
@media (max-width:63.99rem){
 .guide-grid--hub>.guide-card:last-child:nth-child(odd){grid-column:1/-1}
 .guide-grid--hub>.guide-card:last-child:nth-child(odd)>a{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:1fr auto auto 1fr;column-gap:1rem}
 .guide-grid--hub>.guide-card:last-child:nth-child(odd) .ph{grid-area:1/1/-1/2}
 .guide-grid--hub>.guide-card:last-child:nth-child(odd) .kicker{grid-area:2/2;margin-top:0}
 .guide-grid--hub>.guide-card:last-child:nth-child(odd) .guide-title{grid-area:3/2}
}
@media (min-width:64rem){
 .guide-grid--hub{grid-template-columns:repeat(3,minmax(0,1fr))}
 .guide-grid--hub>.guide-card:last-child:nth-child(3n+1){grid-column:1/-1}
 .guide-grid--hub>.guide-card:last-child:nth-child(3n+1)>a{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);grid-template-rows:1fr auto auto auto 1fr;column-gap:2rem}
 .guide-grid--hub>.guide-card:last-child:nth-child(3n+1) .ph{grid-area:1/1/-1/2}
 .guide-grid--hub>.guide-card:last-child:nth-child(3n+1) .kicker{grid-area:2/2;margin-top:0}
 .guide-grid--hub>.guide-card:last-child:nth-child(3n+1) .guide-title{grid-area:3/2;font-size:var(--t-h3)}
 .guide-grid--hub>.guide-card:last-child:nth-child(3n+1) .guide-sum{grid-area:4/2;max-width:36rem}
}
.hub-credits{margin-top:2.5rem}

/* ---------- The methodology page: /methodology/spec-score/ (build.py, methodology.py) ---------- */
/* A light hero: the kicker, the H1, the lead and four key figures, beside the photograph from 64rem
   (build.METHOD_PHOTO_SIZES). Then the numbered contents, sticky beside the method from 64rem, and the method: the
   opening callout on accent-soft, each section under a 4px ink rule, lists with accent squares and tables in the
   .data-table style with numbers right-aligned. Last, on the stone band, the five model pages with their scores. */
.method-hero{padding-block:clamp(1.25rem, .9rem + 1.6vw, 3rem) clamp(2.5rem, 1.75rem + 2.4vw, 4rem)}
.method-hero-grid{display:grid;gap:2rem}
.method-head h1{margin-top:.5rem;font-size:var(--t-h1)}
.method-head .lead{max-width:40rem;margin-top:1rem}
.method-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:1.25rem;margin-top:2rem;border-top:1px solid var(--rule)}
.method-facts>div{display:flex;flex-direction:column-reverse;justify-content:flex-end;min-width:0;padding:1rem 0 1.125rem;border-bottom:1px solid var(--rule)}
.method-facts dd{color:var(--ink);font:800 clamp(1.75rem, 1.35rem + 1.6vw, 2.625rem)/1 var(--font);letter-spacing:-.035em;font-variant-numeric:tabular-nums;white-space:nowrap}
.method-facts dt{margin-top:.5rem;color:var(--muted);font:500 var(--t-sm)/1.35 var(--font)}
.method-photo .credit{margin-top:.5rem}
@media (min-width:44rem){.method-facts{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media (min-width:64rem){.method-hero-grid{grid-template-columns:minmax(0,7fr) minmax(0,5fr);align-items:center;gap:clamp(3rem, 5vw, 5rem)}}
.method-layout{display:grid;gap:2.5rem;padding-block:clamp(2rem, 1.5rem + 2vw, 3.5rem) var(--sp-section);border-top:1px solid var(--rule)}
.method-toc>p{color:var(--accent);font:700 var(--t-xs)/1.2 var(--font);letter-spacing:.09em;text-transform:uppercase}
.method-toc ol{margin-top:.75rem;border-top:1px solid var(--rule);counter-reset:toc}
.method-toc li{border-bottom:1px solid var(--rule);counter-increment:toc}
.method-toc a{display:grid;grid-template-columns:2rem minmax(0,1fr);padding:.625rem 0;color:var(--ink-2);font:600 var(--t-sm)/1.35 var(--font);text-decoration:none}
.method-toc a::before{content:counter(toc, decimal-leading-zero);color:var(--muted);font-weight:700;font-variant-numeric:tabular-nums}
.method-toc a:hover{color:var(--ink);text-decoration:underline;text-decoration-thickness:1px}
@media (min-width:64rem){.method-layout{grid-template-columns:minmax(12rem,1fr) minmax(0,3.2fr);gap:clamp(3rem, 5vw, 5.5rem);align-items:start}.method-toc{position:sticky;top:1.5rem}}
.method-body{min-width:0;max-width:52rem;color:var(--ink-2);font-size:var(--t-body);line-height:1.65}
.method-body>*+*{margin-top:1.25rem}
.method-body p{max-width:44rem}
.method-body strong{color:var(--ink);font-weight:700}
.method-body code{padding:.0625rem .3125rem;background:var(--panel);color:var(--ink);font:500 .875em/1.4 var(--font-mono)}
.method-callout{padding:1.25rem 1.25rem 1.375rem;border-left:4px solid var(--accent);background:var(--accent-soft);color:var(--ink)}
.method-callout p{font-size:var(--t-lead);line-height:1.5}
.method-sec{margin-top:clamp(2.75rem, 2rem + 2.4vw, 4.5rem);padding-top:1rem;border-top:4px solid var(--ink)}
.method-sec h2{margin-top:.25rem;font-size:clamp(1.625rem, 1.3rem + 1.2vw, 2.25rem);scroll-margin-top:1.5rem}
.method-sec h3{margin-top:2.25rem;font-size:var(--t-h3);scroll-margin-top:1.5rem}
.method-sec>*+*{margin-top:1rem}
.method-sec>h2+*{margin-top:1.25rem}
.method-sec ul{display:grid;gap:.75rem}
.method-sec li{position:relative;padding-left:1.375rem}
.method-sec li::before{content:"";position:absolute;left:.125rem;top:.62em;width:.375rem;height:.375rem;background:var(--accent)}
.method-table-wrap{max-width:100%;overflow-x:auto}
.method-sec>.method-table-wrap{margin-top:1.5rem}
.method-table{font-size:var(--t-ui)}
.method-table thead th{position:static;padding-top:0}
.method-table tbody th[scope=row]{padding-left:0;color:var(--ink);font-weight:600}
.method-table td{font-size:var(--t-ui)}
.method-table .num{padding-right:1.25rem;text-align:right;white-space:nowrap}
.method-uses .sec-head{margin-bottom:1.5rem}
.method-models{display:grid;border-top:1px solid var(--rule)}
.method-models li{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"name chip" "kind chip";align-items:center;column-gap:1rem;padding:1rem 0;border-bottom:1px solid var(--rule)}
.method-models a{grid-area:name;color:var(--ink);font:700 1.0625rem/1.3 var(--font);text-decoration:none}
.method-models a:hover{text-decoration:underline;text-decoration-thickness:2px}
.method-kind{grid-area:kind;color:var(--muted);font:500 var(--t-sm)/1.35 var(--font)}
.method-models .score-chip{grid-area:chip}
@media (min-width:64rem){.method-models{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:4rem;border-top:0}.method-models li:nth-child(-n+2){border-top:1px solid var(--rule)}}
