/* DIY or Call a Pro? v3 — "Hardware store" (2026-11-06; harmonize pass: shared parts now live in /css/base.css, loaded first).
   Concrete floor, white product boxes, black signage, safety yellow for the sign and buying, shelf-tag prices.
   This file: the DIY accent + page background and the page-only parts (aisle hero, shelf of problems, spec label, hazard strip,
   why/book, all 40, sample page). Phone first; 2-column tiles from 600px; desktop (answer beside the list) >= 1000px. */

:root {
  --floor: #e5e6e6; --floor-2: #d6d8d9; --navy: #1d4f7a;
  --acc: var(--navy); --acc-bg: #e6edf3; --page: var(--floor);
  --sh-tile: 0 0 0 1px rgba(22,22,22,.07), 0 1px 2px rgba(0,0,0,.12), 0 8px 16px -8px rgba(0,0,0,.30), 0 20px 26px -22px rgba(0,0,0,.45);
  --sh-tile-hi: 0 0 0 1px rgba(22,22,22,.09), 0 2px 3px rgba(0,0,0,.12), 0 16px 26px -12px rgba(0,0,0,.45);
}
.spec-h p { text-wrap: balance; }
.pt .s { text-wrap: pretty; }

/* ===== hero: pegboard aisle, a sign board and the book hanging on a hook ===== */
.aisle { position: relative; overflow: hidden; background: #6b4423 url(/img/hw/pegboard-900.webp) center / cover no-repeat; border-bottom: 10px solid var(--ink); }
@media (min-width: 760px) { .aisle { background-image: url(/img/hw/pegboard-1800.webp); } }
.aisle::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,12,4,.55), rgba(20,12,4,.1) 60%, rgba(20,12,4,.35)); pointer-events: none; }
.aisle-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto; gap: var(--s-3); align-items: end; padding-top: var(--s-5); padding-bottom: var(--s-5); }
.board { position: relative; background: var(--yellow); color: var(--ink); padding: var(--s-4) var(--s-4) var(--s-3); border-radius: 4px; box-shadow: 0 2px 0 rgba(0,0,0,.25), 0 18px 30px -16px rgba(0,0,0,.8); }
.board::before, .board::after { content: ""; position: absolute; top: -9px; width: 10px; height: 10px; border-radius: 50%; background: #c9ccce; box-shadow: inset 0 -2px 0 rgba(0,0,0,.35); }
.board::before { left: 16px; } .board::after { right: 16px; }
.board h1 { font-size: 32px; color: var(--ink); }
.board h1 .h1-q { display: block; text-wrap: balance; }
.board h1 .h1-q.long { font-size: 28px; }   /* a reel for one of the other 30 problems can bring a long book title */
@media (max-width: 759px) { .sub-from { display: none; } }   /* phones: the cover and its tag beside the sign already name the book and the price */   /* 32px on phones so "What's wrong / at your house?" sits on two even lines, never one word alone */
.board h1 .h1-k { display: block; font: 700 18px/1.2 var(--sans); letter-spacing: 0; color: var(--yellow-ink); margin-bottom: var(--s-1); }
.board p { margin-top: var(--s-2); font: 600 17px/1.35 var(--sans); color: var(--yellow-ink); }
.board-link { margin-top: var(--s-3); font: 700 17px/1.2 var(--sans); }
.board-link a { color: var(--ink); text-decoration-thickness: 2px; }

/* The cover is a carded product: a header tab with a euro slot, hung on the pegboard hook (the steel rod end sits in the slot).
   The cover swings around that rod; its price is a shelf tag (shared .price-tag) pinned to the board under it, clear of the cover. */
.hang { position: relative; width: 104px; display: grid; justify-items: center; row-gap: var(--s-3); --tab: 22px; --slot-w: 22px; --slot-r: 4px; --slot-top: 5px; }
.pkg { position: relative; padding-top: calc(var(--tab) - 2px); transform-origin: 50% calc(var(--slot-top) + var(--slot-r)); }
.pkg::before { content: ""; position: absolute; top: 0; left: 50%; width: 56%; height: var(--tab); transform: translateX(-50%);
  background: linear-gradient(#fbfbf8, #e3e2dd); border-radius: 8px 8px 1px 1px; box-shadow: 0 1px 2px rgba(0,0,0,.35), inset 0 1px 0 #fff; }
.pkg img { position: relative; width: 100%; border-radius: 2px; box-shadow: 0 2px 2px rgba(0,0,0,.3), 0 20px 30px -14px rgba(0,0,0,.9); }
.slot { position: absolute; z-index: 1; left: 50%; top: var(--slot-top); width: var(--slot-w); height: calc(var(--slot-r) * 2 + 3px); transform: translateX(-50%); }
.slot::before, .slot::after { content: ""; position: absolute; background: #24190f; }
.slot::before { left: 0; right: 0; bottom: 0; height: 5px; border-radius: 3px; }
.slot::after { left: 50%; top: 0; width: calc(var(--slot-r) * 2); height: calc(var(--slot-r) * 2); margin-left: calc(var(--slot-r) * -1); border-radius: 50%; }
.hang::after { content: ""; position: absolute; z-index: 2; left: 50%; top: calc(var(--slot-top) + var(--slot-r)); width: calc(var(--slot-r) * 2 + 2px); height: calc(var(--slot-r) * 2 + 2px);
  transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 35% 30%, #fff, #c3c8cb 40%, #6c7277 85%); box-shadow: 1px 3px 3px rgba(0,0,0,.55); }
.pkg { width: 100%; }
.hero-tag { box-shadow: inset 0 -3px 0 rgba(0,0,0,.14), 0 10px 18px -8px rgba(0,0,0,.75); }   /* a deeper drop: it sits on the dark pegboard */
.hero-tag.price-tag--lg { padding: 6px 12px 6px 22px; }
.hero-tag.price-tag--lg b { font-size: 34px; }
.hero-tag small { display: none; }   /* phone/tablet: just the price; the line under the headline names the book */

/* ===== shelf of problems ===== */
.shelf { padding: var(--s-6) 0 var(--sec); }
.shop { display: flex; flex-direction: column; gap: var(--s-5); }
.shelf-h { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-3); margin-bottom: var(--sec-head); }
.shelf-h h2 { font-size: 27px; }
.shelf-h a { font: 600 17px/1.2 var(--sans); white-space: nowrap; display: inline-flex; align-items: center; min-height: 44px; }   /* a full-size tap target */
.shelf-h { align-items: center; }
.h-alt { display: none; }
.matched .h-def { display: none; }
.matched .h-alt { display: inline; }
.matched .shop .spec { order: -1; }
.matched .shop { gap: var(--s-6); }   /* the answer card above the list needs a full step before "Or pick another problem" */

/* tiles: product boxes on a shelf, photo inset like a box window */
.items { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr; gap: var(--s-3); --ph: 86px; }
.item { all: unset; box-sizing: border-box; position: relative; display: grid; grid-template-columns: var(--ph) 1fr; width: 100%; height: 100%; min-height: calc(var(--ph) + 6px);
  background: linear-gradient(#fff, #fafaf8); border-radius: var(--r); cursor: pointer; -webkit-tap-highlight-color: transparent;
  box-shadow: var(--sh-tile); outline: 3px solid transparent; outline-offset: 0;
  transition: transform .22s var(--ease); }   /* motion is transform only; colours and the selection ring change at once (no white-on-white frame) */
/* the hover shadow is a layer that fades in (opacity), never an animated box-shadow */
.item::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: var(--sh-tile-hi); opacity: 0; transition: opacity .22s var(--ease); pointer-events: none; }
.item img { width: calc(100% - 6px); height: calc(100% - 12px); margin: 6px 0 6px 6px; object-fit: cover; border-radius: var(--r-in);
  background: var(--floor-2); outline: 1px solid rgba(0,0,0,.08); outline-offset: -1px; }
.item .lbl { display: grid; gap: var(--s-1); align-content: center; padding: var(--s-3) var(--s-7) var(--s-3) var(--s-4); }
.item .nm { font: 700 19px/1.2 var(--sans); color: var(--ink); }
.item .vd { font: 600 16px/1.2 var(--sans); color: var(--green); }
.item .vd.part { color: var(--amber); }
.item::after { content: ""; position: absolute; right: 19px; top: 50%; width: 9px; height: 9px; margin-top: -5px;
  border-right: 2.5px solid var(--steel); border-bottom: 2.5px solid var(--steel); transform: rotate(-45deg); transition: transform .25s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .item:not([aria-pressed="true"]):hover { transform: translateY(-3px); }
  .item:not([aria-pressed="true"]):hover::before { opacity: 1; }
  .item:not([aria-pressed="true"]):hover::after { transform: translateX(3px) rotate(-45deg); border-color: var(--ink); }
}
.item:active, .item:not([aria-pressed="true"]):active { transform: translateY(1px) scale(.985); box-shadow: 0 0 0 1px rgba(22,22,22,.1), 0 1px 2px rgba(0,0,0,.2); transition-duration: .08s; }
.item[aria-pressed="true"] { background: var(--ink); outline-color: var(--ink); box-shadow: 0 0 0 7px var(--yellow), 0 14px 24px -12px rgba(0,0,0,.5); }
.item[aria-pressed="true"]:active { box-shadow: 0 0 0 7px var(--yellow); }
.item[aria-pressed="true"] img { outline-color: rgba(255,255,255,.14); }
.item[aria-pressed="true"] .nm { color: #fff; }
.item[aria-pressed="true"] .vd { color: #8fe3a8; }
.item[aria-pressed="true"] .vd.part { color: var(--yellow); }
.item[aria-pressed="true"]::after { border-color: #fff; transform: rotate(45deg); margin-top: -7px; }   /* points down at the answer */
/* arrived from a reel: the answer sits ABOVE the list until the first tap, so the selected tile points up at it */
@media (max-width: 999px) { .items:not(:has(> .spec-slot)) .item[aria-pressed="true"]::after { transform: rotate(-135deg); margin-top: -2px; } }
/* keyboard focus: a navy rule outside the tile (outside the yellow ring when selected), never mistaken for the selection */
.item:focus-visible { outline: 3px solid var(--navy); outline-offset: 4px; box-shadow: var(--sh-tile); }
.item[aria-pressed="true"]:focus-visible { outline-color: var(--navy); outline-offset: 10px; box-shadow: 0 0 0 7px var(--yellow), 0 14px 24px -12px rgba(0,0,0,.5); }

/* phone/tablet: the answer opens under the tapped tile's row, with a pointer up at the tile */
.spec-slot { list-style: none; grid-column: 1 / -1; position: relative; margin: var(--s-2) 0; }
.spec-slot::before { content: ""; position: absolute; z-index: 1; top: -9px; left: 0; transform: translateX(var(--px, 34px)); transition: transform .3s var(--ease);
  border: 9px solid transparent; border-top: 0; border-bottom-color: var(--ink); animation: fade-in .2s ease-out .08s both; }
.spec-slot .spec { margin: 0; }

/* ===== answer: spec label ===== */
.spec { position: relative; background: var(--card); border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-2); scroll-margin-top: calc(var(--head) + 12px); }
.spec.empty { display: none; }
@media (max-width: 999px) { html.js .spec.empty-phone { display: none; } }
.spec-h { background: var(--ink); color: #fff; padding: var(--pad); display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--s-4); align-items: center; }
.spec-ph { width: 96px; aspect-ratio: 1; height: auto; object-fit: cover; border-radius: var(--r-in); background: #2a2b2d; outline: 1px solid rgba(255,255,255,.16); outline-offset: -1px; }
/* phone/tablet: the answer opens right under its tile, which already shows the photo; the header shows it only when the answer stands alone (a reel link) */
@media (max-width: 999px) { .spec-slot .spec-ph { display: none; } }
.spec-h h2 { color: #fff; font: 700 26px/1.12 var(--sans); letter-spacing: -.01em; }
.spec-h p { margin-top: var(--s-2); font: 600 16px/1.3 var(--sans); color: #d7d9db; }
.spec-in { padding: var(--pad); display: grid; gap: var(--s-5); }
.verdict { display: grid; gap: var(--s-2); }
.pill { justify-self: start; display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px 5px 8px; border-radius: 4px; font: 700 18px/1 var(--sign); text-transform: uppercase; letter-spacing: .03em; }
.pill svg { width: 18px; height: 18px; }
.pill.yes { background: var(--green-bg); color: var(--green); }
.pill.part { background: var(--amber-bg); color: var(--amber); }
.verdict p { font-size: 19px; color: var(--ink); }
/* the two prices: shared .price-tag shelf tags in one column (same width, same left edge) with the label beside, the note under both */
.vs { display: grid; grid-template-columns: auto minmax(0, 1fr); row-gap: var(--s-2); }
.pt { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; column-gap: var(--s-4); row-gap: var(--s-2); align-items: center;
  border-radius: var(--r-in); padding: var(--s-3) var(--s-4) var(--s-3) var(--s-3); box-shadow: inset 0 0 0 2px var(--ink); }
.pt .price-tag { grid-column: 1; justify-self: stretch; }
.pt .price-tag b { font-size: 30px; }
.pt .k { grid-column: 2; font: 700 17px/1.1 var(--sign); text-transform: uppercase; letter-spacing: .04em; }
.pt .s { grid-column: 1 / -1; font-size: 16px; line-height: 1.3; }
.pt.diy { background: #fff; }
.pt.diy .k { color: var(--green); }
.pt.diy .s { color: var(--steel); }
.pt.pro { background: var(--yellow); }
.pt.pro .k, .pt.pro .s { color: var(--yellow-ink); }
.tm { font-size: 17px; color: var(--body); text-wrap: pretty; }
.tm b { color: var(--ink); }
.stop { background: #fdf0ee; border-radius: var(--r-in); padding: var(--s-3) var(--s-4); }
.stop b { display: block; font: 700 18px/1.2 var(--sans); color: var(--red); margin-bottom: var(--s-2); }
.stop ul { margin: 0; padding-left: var(--s-5); display: grid; gap: var(--s-1); font-size: 18px; line-height: 1.4; color: var(--ink); }
.stop p { margin-top: var(--s-2); font-size: 16px; color: var(--steel); }
.peek { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: var(--s-4); align-items: center; }
.peek a.pg { display: block; border-radius: 3px; box-shadow: 0 2px 3px rgba(0,0,0,.2), 0 12px 22px -12px rgba(0,0,0,.6); transform: rotate(-1.5deg); transition: transform .3s var(--ease); }
@media (hover: hover) and (pointer: fine) { .peek a.pg:hover { transform: rotate(0) scale(1.03); } }
.peek p { font-size: 17px; line-height: 1.4; color: var(--body); }
.peek p a { font-weight: 700; }
.buy .btn { width: 100%; }

/* ===== hazard strip: icon beside the heading, the text uses the full box width ===== */
.hazard { position: relative; isolation: isolate; overflow: hidden; margin: var(--s-6) 0 0; padding: var(--s-2); border-radius: var(--r); background: var(--yellow); }
/* the stripes are a layer two pattern periods wider than the strip, so a one-time run moves it with transform only */
.hazard::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: -79.2px; right: 0; pointer-events: none;
  background: repeating-linear-gradient(-45deg, var(--yellow) 0 14px, var(--ink) 14px 28px); }
.hazard-in { position: relative; background: #fff; border-radius: 4px; padding: var(--pad); display: grid; grid-template-columns: 32px 1fr; column-gap: var(--s-3); row-gap: var(--s-3); align-items: center; }
.hazard-in > div { display: contents; }
.hazard svg { width: 32px; height: 32px; color: var(--red); }
.hz-h { font: 700 21px/1.2 var(--sans); color: var(--red); margin: 0; }
.hazard p { grid-column: 1 / -1; max-width: 68ch; font-size: 18px; color: var(--ink); }

/* ===== why / book ===== */
.why { padding: 0 0 var(--sec); }   /* follows the shelf on the same floor: one gap, not two */
.why-grid { display: grid; gap: var(--s-6); }
.why h2 { font-size: 30px; }
.why .lead { margin-top: var(--sec-head); font-size: 20px; color: var(--ink); }
.ticks { list-style: none; padding: 0; margin: var(--s-5) 0 0; display: grid; gap: var(--s-3); }
.ticks li { display: grid; grid-template-columns: 28px 1fr; gap: var(--s-3); }
.ticks svg { width: 26px; height: 26px; margin-top: 2px; color: var(--ink); }
.safe-line { margin-top: var(--s-5); padding-top: var(--s-3); border-top: 2px solid var(--ink); font-weight: 600; color: var(--ink); }
.xsell { margin-top: var(--s-3); font-size: 17px; }
.xsell a { white-space: nowrap; }
.ed { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-3); }
.ed figure { margin: 0; background: var(--card); border-radius: var(--r); box-shadow: var(--sh-1); overflow: hidden; text-align: center; }
.ed-ph { display: flex; align-items: flex-end; justify-content: center; height: 128px; padding: var(--s-3) var(--s-2) 0; background: var(--floor); }
.ed-ph img { height: 100%; width: auto; max-width: 100%; object-fit: contain; object-position: bottom; background: #fff; border-radius: 2px 2px 0 0;
  box-shadow: 0 0 0 1px rgba(0,0,0,.06), 0 10px 18px -8px rgba(0,0,0,.45); }
.ed figcaption { padding: var(--s-3) var(--s-2) var(--s-4); }
.ed b { display: block; font: 700 19px/1.1 var(--sans); color: var(--ink); }
.ed figcaption span { display: block; margin-top: var(--s-1); font-size: 16px; line-height: 1.25; color: var(--steel); text-wrap: balance; }
.knees { margin: var(--s-4) 0 0; padding: var(--pad); background: var(--card); border-radius: var(--r); box-shadow: var(--sh-1); font-size: 18px; color: var(--ink); }
.knees cite { display: block; margin-top: var(--s-2); font: 600 16px/1.2 var(--sans); font-style: normal; color: var(--steel); }

/* ===== all 40 ===== */
.all { padding: 0; }
/* the card, summary and chevron are the shared details style in base.css */
.all-in { display: grid; gap: var(--s-5); }
.all h3 { font: 700 17px/1.2 var(--sans); margin-bottom: var(--s-2); color: var(--steel); }
.all ol { list-style: none; padding: 0; margin: 0; }
.all li { display: grid; grid-template-columns: 1fr auto; gap: var(--s-3); padding: var(--s-2) var(--s-1); border-top: 1px solid var(--line); font-size: 17px; align-items: baseline; }
.all li .t { color: var(--ink); }
.all li .r { font: 700 20px/1 var(--sign); color: var(--ink); white-space: nowrap; }
.all li.hit { margin: 0 -10px; padding: var(--s-3) var(--s-4); background: #fff3b0; border-radius: var(--r-in); border-top-color: transparent; }
.all li.hit + li { border-top-color: transparent; }
.all-note { font-size: 16px; color: var(--steel); }
.glance h3 { font: 700 17px/1.2 var(--sans); color: var(--steel); margin-bottom: var(--s-2); }
.glance table { width: 100%; max-width: 880px; border-collapse: collapse; font-size: 16px; }
.glance th, .glance td { text-align: left; padding: var(--s-2) var(--s-2); border-top: 1px solid var(--line); vertical-align: top; }
.glance thead th { font-weight: 700; color: var(--steel); border-top: 0; font-size: 16px; }
.glance tbody th { font-weight: 700; color: var(--ink); }
.glance td.num { font: 700 19px/1.1 var(--sign); white-space: nowrap; color: var(--ink); }
@media (max-width: 759px) { .glance thead th:nth-child(3), .glance tbody td:nth-child(3) { display: none; } }


/* closing band: the price is a shelf tag */
.counter .price { font: inherit; line-height: 1; margin-top: var(--s-5); }
/* phones: the cover sits beside the headline (one product row), instead of alone above it with an empty right side */
@media (max-width: 759px) {
  .counter-in { grid-template-columns: 96px minmax(0, 1fr); column-gap: var(--s-4); row-gap: 0; align-items: center; }
  .counter-in > div { display: contents; }
  .counter-in > img { width: 96px; grid-row: 1; }
  .counter-in > div > * { grid-column: 1 / -1; }
  .counter-in > div > h2 { grid-column: 2; grid-row: 1; font-size: 28px; }
  .counter-in > div > h2 + p { margin-top: var(--s-5); }
}

/* free sample page */
.sp-in { padding-top: var(--s-6); padding-bottom: var(--s-7); max-width: 900px; }   /* the buy card, then the footer: one 48px step + the footer pad */
.sp-back { font-size: 18px; font-weight: 700; }
.sp h1 { margin-top: var(--s-4); font-size: 34px; }
.sp-lead { margin-top: var(--s-4); font-size: 19px; color: var(--ink); max-width: 40em; }
.sp-pg { margin: var(--s-6) 0 0; }
.sp-pg a { display: block; background: #fff; border-radius: 3px; box-shadow: 0 2px 3px rgba(0,0,0,.15), 0 18px 34px -18px rgba(0,0,0,.55); }
.sp-pg figcaption { margin-top: var(--s-2); font-size: 16px; color: var(--steel); }
.sp-buy { margin-top: var(--s-7); background: #fff; border-radius: var(--r); padding: var(--pad); box-shadow: var(--sh-1); }
.sp-cover { display: none; }
.sp-buy h2 { font-size: 27px; margin-bottom: var(--sec-head); }
.sp-buy .anchor { margin-bottom: 0; }
.sp-price { margin: var(--s-3) 0 var(--s-5); }
.sp-buy .btn { margin-top: 0; }
.sp-buy h2::after { content: ""; display: block; width: 56px; height: 6px; margin-top: 10px; background: var(--yellow); }
.sp-buy .btn { width: 100%; max-width: 440px; }


/* ===== breakpoints ===== */
@media (max-width: 599px) {   /* phones: one edition per row, the page beside its name, so no caption is squeezed into a 4-line column */
  .ed { grid-template-columns: 1fr; gap: var(--s-2); }
  .ed figure { display: grid; grid-template-columns: 92px minmax(0, 1fr); align-items: center; text-align: left; }
  .ed-ph { height: 84px; padding: var(--s-2) var(--s-2) 0; align-self: stretch; height: auto; min-height: 84px; }
  .ed-ph img { height: 72px; }
  .ed figcaption { padding: var(--s-3) var(--s-4); }
  .ed figcaption span { text-wrap: pretty; }
}
@media (min-width: 600px) and (max-width: 759px) {
  .ed-ph { height: 104px; }
}
@media (max-width: 360px) {
  .pt .price-tag b { font-size: 26px; }
  .board h1 { font-size: 29px; }
  .hang { width: 88px; }
}
@media (min-width: 600px) {
  .items { grid-template-columns: 1fr 1fr; gap: var(--s-3); --ph: 100px; }
}
@media (min-width: 760px) {
  .board h1 { font-size: 48px; }
  .board h1 .h1-q.long { font-size: 40px; }
  /* wider cards: the note sits beside its tag, under the label */
  .pt { row-gap: 2px; }
  .pt .price-tag { grid-row: 1 / span 2; }
  .pt .k { align-self: end; }
  .pt .s { grid-column: 2; align-self: start; }
  .hang { width: 150px; --tab: 28px; --slot-w: 27px; --slot-r: 5px; --slot-top: 6px; }
  .hero-tag.price-tag--lg b { font-size: 42px; }
  .sp-buy { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: var(--s-6); align-items: start; }
  .sp-cover { display: block; width: 100%; height: auto; border-radius: 2px; transform: rotate(-2deg); box-shadow: 0 2px 2px rgba(0,0,0,.2), 0 18px 30px -16px rgba(0,0,0,.7); }
  .all-in { display: block; columns: 2; column-gap: var(--s-7); }
  .all-in > div { break-inside: avoid; margin-bottom: var(--s-5); }
  .all-in > .glance, .all-note { column-span: all; }
  .glance { margin-bottom: var(--s-5); }
}
@media (min-width: 1000px) {
  .aisle-in { grid-template-columns: minmax(0, 640px) 1fr; gap: var(--s-7); padding-top: var(--s-8); padding-bottom: var(--s-8); align-items: end; }   /* sign and price tag share a bottom edge */
  .board { padding: var(--s-5) var(--s-5) var(--s-5); }
  .board h1 { font-size: 64px; }
  .board h1 .h1-q.long { font-size: 52px; }
  .board h1 .h1-k { font-size: 22px; }
  .board p { font-size: 21px; }
  .board-link { font-size: 19px; }
  .hang { justify-self: center; width: 220px; row-gap: var(--s-4); --tab: 34px; --slot-w: 34px; --slot-r: 6px; --slot-top: 8px; }
  .hero-tag.price-tag--lg { padding: 8px 16px 8px 26px; }
  .hero-tag.price-tag--lg b { font-size: 52px; }
  .hero-tag small { display: inline; }
  .shelf { padding: var(--s-7) 0 var(--sec); }
  .shop { display: grid; grid-template-columns: minmax(0, 1fr) 470px; gap: var(--s-6); align-items: start; }
  .items { gap: var(--s-4); }
  .matched .shop .spec { order: 0; }
  .shelf-h h2 { font-size: 34px; }
  .items { --ph: 118px; }
  .item .nm { font-size: 20px; }
  .item .vd { font-size: 16px; }
  .item[aria-pressed="true"]::after { transform: rotate(-45deg); margin-top: -5px; }   /* the answer sits to the right */
  .spec { position: sticky; top: calc(var(--head) + 16px); }
  .spec.empty, .spec.empty-phone { display: block; }
  .spec-h h2 { font-size: 30px; }
  .spec-ph { width: 112px; }
  .pt .price-tag b { font-size: 34px; }
  .ed-ph { height: 150px; }
  .sp-buy { grid-template-columns: 180px minmax(0, 1fr); gap: var(--s-7); padding: var(--s-6); }
  .why-grid { grid-template-columns: 1.1fr 1fr; gap: var(--s-8); align-items: start; }
  .why h2 { font-size: 40px; }
  .sp h1 { font-size: 52px; }
}


/* ===== motion: one hanging-sign moment on load (~1.1s), a shelf-tag pull + price-gun stamp on selection ===== */
@keyframes sign-drop { 0% { transform: translateY(-14px) rotate(-1.2deg); } 65% { transform: translateY(2px) rotate(.3deg); } 100% { transform: none; } }
/* a pendulum: equal half-periods, decaying amplitude, ease-in-out between the extremes */
@keyframes cover-swing {
  0%   { transform: rotate(9deg);    animation-timing-function: cubic-bezier(.37, 0, .63, 1); }
  25%  { transform: rotate(-6deg);   animation-timing-function: cubic-bezier(.37, 0, .63, 1); }
  50%  { transform: rotate(3deg);    animation-timing-function: cubic-bezier(.37, 0, .63, 1); }
  75%  { transform: rotate(-1.5deg); animation-timing-function: cubic-bezier(.37, 0, .63, 1); }
  100% { transform: rotate(0deg); }
}
@keyframes swap-in { from { transform: translateY(6px); } to { transform: none; } }   /* full opacity: the opaque outgoing copy above it does the fading */
@keyframes ghost-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes pt-stamp { from { transform: scale(1.06) rotate(-3deg); } to { transform: rotate(-1.5deg); } }   /* the shared tag-stamp (transform only: the price is never faded), scaled down: never grows over the label beside it */
@keyframes photo-in { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: none; } }
@keyframes rise { from { transform: translateY(12px); opacity: .35; } to { transform: none; opacity: 1; } }
@keyframes stripes { from { transform: none; } to { transform: translateX(79.2px); } }

.board { transform-origin: 50% 0; animation: sign-drop .5s cubic-bezier(.2, .9, .25, 1) both; }
.pkg { animation: cover-swing .84s .08s both; }
@keyframes hero-stamp { from { transform: scale(1.06) rotate(-3.5deg); } to { transform: rotate(-1.5deg); } }
@media (prefers-reduced-motion: no-preference) {   /* the shared stamp (transform only, the price is readable from the first frame), pressed down as the cover swings: done by .5s */
  .hero-tag.stamp-in { animation: hero-stamp .28s cubic-bezier(.2, .8, .3, 1) .2s backwards; }
}
.items > li { animation: rise .42s var(--ease) both; }
.items > li:nth-child(1) { animation-delay: .05s; } .items > li:nth-child(2) { animation-delay: .09s; } .items > li:nth-child(3) { animation-delay: .13s; }
.items > li:nth-child(4) { animation-delay: .17s; } .items > li:nth-child(5) { animation-delay: .21s; } .items > li:nth-child(6) { animation-delay: .25s; }
.items > li:nth-child(7) { animation-delay: .29s; } .items > li:nth-child(8) { animation-delay: .32s; } .items > li:nth-child(9) { animation-delay: .35s; }
.items > li:nth-child(10) { animation-delay: .38s; }
.items > li.spec-slot { animation: none; }
/* opening under a tile (phone/tablet): the whole answer is pulled down like a shelf tag */
.spec.pull { animation: pull-tag .4s var(--ease) both; }
/* switching in place (desktop, or the other tile of the same row): the card stays put. An opaque copy of the outgoing answer
   is laid over the top and fades out while the new one, already at full strength, settles 6px under it: never pale, never blank. */
.spec-ghost { position: absolute; z-index: 2; inset: 0 0 auto 0; background: var(--card); pointer-events: none; animation: ghost-out .16s cubic-bezier(.2, .7, .3, 1) both; }   /* leaves fast, so the two answers barely overlap */
.spec.swap .spec-body:not(.spec-ghost) .spec-t, .spec.swap .spec-body:not(.spec-ghost) .spec-in > * { animation: swap-in .26s var(--ease) .04s both; }
.spec.swap .spec-body:not(.spec-ghost) .spec-ph { animation: photo-in .3s var(--ease) .04s both; }
/* either way, the price gun stamps the two tags */
.spec.pull .pt .price-tag, .spec.swap .spec-body:not(.spec-ghost) .pt .price-tag { animation: pt-stamp .28s cubic-bezier(.2, .8, .3, 1) .16s both; }
.spec.pull .pt.pro .price-tag, .spec.swap .spec-body:not(.spec-ghost) .pt.pro .price-tag { animation-delay: .25s; }
.hazard.go::before { animation: stripes 1.1s cubic-bezier(.3, .7, .2, 1) 1; }

@media (prefers-reduced-motion: reduce) {
  .board, .pkg, .items > li, .hazard.go::before, .spec-slot::before { animation: none !important; }
  .spec-slot::before { transition: none; }
  .spec.pull, .spec.swap .spec-body:not(.spec-ghost) .spec-t, .spec.swap .spec-body:not(.spec-ghost) .spec-in > *, .spec.swap .spec-body:not(.spec-ghost) .spec-ph { animation: fade-in .18s ease-out both; }
  .spec.pull .pt .price-tag, .spec.swap .spec-body:not(.spec-ghost) .pt .price-tag { animation: none; }   /* prices are never faded */
  .spec-ghost { animation-duration: .12s; }
  /* keep colour changes (selection, hover), drop movement */
  .item, .peek a.pg, .item::after { transition: none; }
  .item:hover, .item:active { transform: none !important; }
  .peek a.pg:hover { transform: rotate(-1.5deg); }
}
/* 2026-11-19 prices: the two-decimal hero tag stays inside the phone hero (the hang column is 88-104px wide) */
@media (max-width: 599px) { .hero-tag.price-tag--lg { padding: 5px 10px 5px 19px; } .hero-tag.price-tag--lg b { font-size: 28px; } }
@media (max-width: 380px) { .hero-tag.price-tag--lg { padding: 4px 8px 4px 17px; } .hero-tag.price-tag--lg b { font-size: 25px; } }
@media (min-width: 600px) and (max-width: 999px) { .hero-tag.price-tag--lg { padding: 5px 10px 5px 19px; } .hero-tag.price-tag--lg b { font-size: 30px; } }
@media (min-width: 1000px) { .hero-tag.price-tag--lg { padding: 8px 14px 8px 24px; } .hero-tag.price-tag--lg b { font-size: 44px; } }

/* ===== first screen (2026-11-25): the shared .bk kit (base.css) on the pegboard; the head is the yellow sign ===== */
.bk.aisle .bk-in { position: relative; z-index: 1; }
.bk.aisle .board h1 { font-size: 30px; }
.bk.aisle .board .bk-why { margin-top: var(--s-2); font: 600 17px/1.38 var(--sans); color: var(--yellow-ink); }
.bk.aisle .bk-proof { background: rgba(20,12,4,.6); }
.bk.aisle .bk-cap { color: #fff; }
.bk.aisle .bk-note { color: #f1e6d3; }
.bk.aisle .board .bk-who { font: 600 17px/1.38 var(--sans); color: var(--yellow-ink); }
.bk.aisle .board .bk-who svg, .bk.aisle .board .bk-who a { color: var(--ink); }
@media (max-width: 999px) { .bk.aisle .bk-in { padding-top: 10px; } .bk.aisle .board { padding-top: 12px; } }
@media (max-width: 599px) and (max-height: 760px) { .bk.aisle .board { padding: 10px var(--s-3) 10px; } .bk.aisle .board h1 { font-size: 28px; } }
.bk.aisle .bk-pg i { background: var(--yellow); color: var(--ink); }
/* a reel link to one problem (#p12) puts its answer first: on phones the hero keeps only the sign and the price card */
@media (max-width: 999px) { .matched .bk.aisle .bk-proof, .matched .bk.aisle .bk-who { display: none; } }
@media (min-width: 760px) { .bk.aisle .board h1 { font-size: 44px; } .bk.aisle .board .bk-why, .bk.aisle .board .bk-who { font-size: 20px; } }
@media (min-width: 1000px) {
  .bk.aisle .board { padding: var(--s-5); }
  .bk.aisle .board h1 { font-size: 54px; }
  .bk.aisle .board .bk-why, .bk.aisle .board .bk-who { font-size: 21px; }
}
