/* Tech Pack hub v5 (/tech-pack/, 2026-10-31): the hero's intro and drag demo, the factory photos under it, the real
   pack page beside the ten parts, the example viewer, the step icons and the eighth step cell, the cost table's
   pictures, the garment cards and "Read next" beside the FAQ. Loaded by the hub only (its `styles`), after tp-v4.css
   and tp-hub-steps.css, which stay as they are (live, cached files). Every class here starts with tph-.
   Values follow the owner-approved mockup, docs/design/2026-10-31-techpack-hub-v5/src/src.html.
   Without JS (tp-hub-v5.js adds .tph-on to the demo) the sheet box scrolls and the knob, tabs, chips and viewer
   arrows stay hidden; with it the sheet is scaled to the stage. */

/* words for screen readers and crawlers only (the garment in a card's link) */
.tph-vh{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}

/* ---------- hero: intro on the left, the demo on the right ---------- */
.tph-hero .tp-hero__bg{background:var(--ink)}
.tph-hero .tp-hero__bg>img{opacity:.22}
/* dark all the way across: the photos' captions sit on the right half */
.tph-hero .tp-hero__bg::after{background:linear-gradient(90deg,rgba(10,10,10,.92) 0%,rgba(10,10,10,.75) 45%,rgba(10,10,10,.5) 100%)}
.tph-hero>.tp-wrap{grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:clamp(28px,3.6vw,48px);align-items:start;padding-block:28px 56px}
.tph-intro,.tph-side{min-width:0}
.tph-crumbs{margin:0 0 22px;font:400 13px/1.4 var(--nav);color:var(--muted-d)}
.tph-crumbs a{color:inherit;text-decoration:none}
.tph-crumbs a:hover{color:#fff;text-decoration:underline}
.tph-hero h1{font-size:clamp(32px,3.3vw,48px)}
.tph-hero .tp-hero__sub{max-width:46ch;margin-top:18px;font-size:17px;color:#d8d8d4}
.tph-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 22px;margin:22px 0 0;padding:0;list-style:none;font-size:14.5px;line-height:1.4;color:#ececea}
.tph-facts li{display:flex;gap:9px;align-items:baseline}
.tph-facts li::before{content:"";flex:none;width:6px;height:6px;border-radius:50%;background:var(--orange);transform:translateY(-2px)}
.tph-ladder{max-width:470px;margin-top:28px}
.tph-ladder__h{font:700 12px/1.2 var(--body);letter-spacing:.14em;text-transform:uppercase;color:var(--muted-d)}
.tph-ladder ol{margin:4px 0 0;padding:0;list-style:none}
.tph-ladder li{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:12px;align-items:baseline;padding:13px 0 10px;font-size:15.5px;line-height:1.35}
.tph-ladder li>span{color:#d8d8d4;text-align:right}
.tph-bar{grid-column:1/-1;position:relative;display:block;height:3px;margin-top:10px;overflow:hidden;border-radius:2px;background:#2b2b2b}
.tph-bar::after{content:"";position:absolute;inset:0 auto 0 0;width:var(--w,0);border-radius:2px;background:var(--orange)}
.tph-bar--a{--w:7%}
.tph-bar--b{--w:38%}
.tph-bar--c{--w:100%}
.tph-intro .tp-actions{margin-top:26px}

/* ---------- the demo ---------- */
.tph-demo{padding:14px;border-radius:16px;background:var(--paper);color:var(--text);box-shadow:0 30px 60px -30px rgba(0,0,0,.7)}
.tph-stage{--x:50%;position:relative;aspect-ratio:1.414;overflow:hidden;border:1px solid var(--line);border-radius:10px;background:var(--paper);user-select:none;-webkit-user-select:none}
.tph-on .tph-stage{touch-action:pan-y;cursor:ew-resize}
.tph-layer{position:absolute;inset:0}
.tph-layer--picks{z-index:2;background:#efede8;clip-path:inset(0 calc(100% - var(--x)) 0 0)}
.tph-handle{position:absolute;top:0;bottom:0;left:var(--x);z-index:3;width:0;pointer-events:none}
.tph-handle::before{content:"";position:absolute;top:0;bottom:0;left:-1px;width:2px;background:var(--orange)}
.tph-knob{position:absolute;top:50%;left:0;display:grid;place-items:center;width:46px;height:46px;border:2px solid var(--orange);border-radius:50%;background:#fff;color:var(--orange-ink);box-shadow:0 6px 18px -6px rgba(0,0,0,.45);transform:translate(-50%,-50%);cursor:ew-resize;pointer-events:auto}
.tph-knob svg{width:22px;height:22px}
.tph-lbl{position:absolute;top:10px;z-index:4;padding:6px 9px;border-radius:999px;font:700 11px/1 var(--body);letter-spacing:.14em;text-transform:uppercase;pointer-events:none}
.tph-lbl--l{left:10px;background:#111;color:#fff}
.tph-lbl--r{right:10px;background:var(--orange);color:var(--on-orange)}

/* the choices layer */
.tph-picks{position:absolute;inset:0;display:grid;grid-template-columns:50% 50%}
.tph-picks__col{display:grid;grid-template-rows:repeat(4,minmax(0,1fr));gap:7px;min-height:0;padding:38px 12px 10px 10px}
.tph-pk{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;align-items:center;min-height:0;overflow:hidden;padding:9px;border:1.5px solid transparent;border-radius:9px;background:#fff;transition:border-color .2s,box-shadow .2s}
.tph-pk.tph-hot{border-color:var(--orange-ui);box-shadow:0 0 0 3px var(--orange-wash)}
.tph-pk__img{position:relative;display:grid;place-items:center;width:clamp(38px,5.2vw,64px);aspect-ratio:1;overflow:hidden;border-radius:6px;background:var(--mist)}
.tph-pk__img img{width:100%;height:100%;object-fit:cover}
.tph-pk__img svg{width:86%;height:86%}
.tph-pk__img .tph-terry{position:absolute;inset:0}
.tph-pk__img+div{min-width:0}
.tph-pk__img+div small{display:block;font:700 11px/1 var(--body);letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
.tph-pk__img+div b{display:block;margin-top:4px;font:700 clamp(12px,1.15vw,15px)/1.2 var(--display)}
.tph-pk__img+div span{display:block;margin-top:2px;font-size:clamp(10.5px,.9vw,12.5px);line-height:1.3;color:var(--muted)}
.tph-sw2{display:grid;grid-template-columns:1fr 1fr;width:100%;height:100%}
.tph-sw2 i{display:block}
.tph-terry{display:block;background:repeating-radial-gradient(circle at 3px 3px,rgba(0,0,0,.18) 0 1.2px,transparent 1.4px 6px),#d8d5cf;background-size:6px 6px}
.tph-picks__photo{position:relative;margin:38px 10px 10px 4px;overflow:hidden;border-radius:9px;background:#e7e5e0}
.tph-picks__photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.tph-picks__photo span{position:absolute;left:10px;bottom:10px;padding:6px 8px;border-radius:6px;background:rgba(255,255,255,.92);font:700 11px/1 var(--body)}

/* the tech pack sheet: drawn at 860 x 608; tp-hub-v5.js scales .tph-sheets to the stage. Without JS, a browser that
   can divide two lengths (tan(atan2(a, b)) is a / b) scales it here, and any other lets the box scroll. The stage is
   never wider than the sheet's 1.414, so the width sets the scale and the sheet is centered top to bottom. */
.tph-sheetbox{position:absolute;inset:0;overflow:auto;overscroll-behavior:contain;container-type:size}
.tph-on .tph-sheetbox{overflow:hidden}
.tph-sheets{position:absolute;left:0;top:0;width:860px;height:608px;transform-origin:0 0;isolation:isolate}
@supports (transform:scale(tan(atan2(1px,2px)))){
  .tph-sheets{transform:translateY(calc((100cqh - 608px * tan(atan2(100cqw,860px))) / 2)) scale(tan(atan2(100cqw,860px)))}
}
.tph-sheet{position:absolute;inset:0;background:#fff;color:#111;font:400 12px/1.4 var(--body)}
.tph-s-hd{display:flex;align-items:center;gap:16px;height:34px;padding:0 22px;background:#111;color:#fff;font:700 10.5px/1 var(--body);letter-spacing:.06em;text-transform:uppercase}
.tph-s-hd b{font:800 14px/1 var(--display);letter-spacing:.02em;text-transform:none}
.tph-s-pv{margin-left:auto;padding:4px 7px;border-radius:3px;background:var(--orange);color:#111}
.tph-s-bd{position:absolute;top:34px;left:0;right:0;bottom:30px;display:grid;gap:22px;padding:20px 26px}
.tph-s-ft{position:absolute;left:26px;right:26px;bottom:0;display:flex;justify-content:space-between;align-items:center;height:30px;border-top:1px solid #111;font:400 9.5px/1 var(--body);color:#666}
.tph-s-wm{position:absolute;inset:34px 0 30px;z-index:2;pointer-events:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='150'%3E%3Ctext x='150' y='81' transform='rotate(-24 150 75)' text-anchor='middle' font-family='Arial,Helvetica,sans-serif' font-size='18' font-weight='800' letter-spacing='1.5' fill='%23000' fill-opacity='.055'%3EUNIT-100 PREVIEW%3C/text%3E%3C/svg%3E") 0 0/300px 150px repeat}
.tph-s-title{font:800 30px/1 var(--display);letter-spacing:-.02em}
.tph-s-title--m{font-size:22px}
.tph-s-sub{margin-top:6px;font-size:12.5px;color:#666}
.tph-s-note{margin-top:8px;font-size:10.5px;color:#666}
.tph-s-tbl{width:100%;margin-top:14px;border-collapse:collapse;font-size:12px}
.tph-s-tbl th{width:30%;padding:7px 10px 7px 0;border-bottom:1px solid #e3e3e0;font:700 9.5px/1.3 var(--body);letter-spacing:.1em;text-align:left;text-transform:uppercase;vertical-align:top;color:#666}
.tph-s-tbl td{padding:7px 0;border-bottom:1px solid #e3e3e0}
.tph-s-tbl .tph-num{font-weight:700;color:var(--orange-ink)}
.tph-colr{display:inline-flex;align-items:center;margin-right:10px}
.tph-colr i{display:inline-block;width:11px;height:11px;margin-right:5px;border:1px solid rgba(0,0,0,.2);border-radius:2px}
.tph-c-k{background:#141414}
.tph-c-h{background:#b9b9b6}
.tph-figs{position:relative;align-self:center;padding-bottom:18px}
.tph-fig{text-align:center;font:700 9px/1 var(--body);letter-spacing:.14em;color:#666}
.tph-fig svg{display:block;width:100%;height:auto;margin-bottom:6px}
.tph-fig--inset{position:absolute;right:-8px;bottom:-14px;width:36%;padding:8px 8px 6px;border:1px solid #e3e3e0;border-radius:6px;background:#fff}
.tph-s-bd--cover,.tph-s-bd--art{grid-template-columns:1fr 1.1fr;align-items:center}
.tph-s-bd--two{grid-template-columns:1fr 1fr}
.tph-cw{display:grid;gap:12px;margin-top:12px}
.tph-cwb{display:flex;flex-direction:column;justify-content:flex-end;height:150px;padding:12px;border-radius:6px;color:#fff;font-size:11px}
.tph-cwb b{font:800 17px/1.1 var(--display)}
.tph-cwb.tph-c-h{color:#111}
.tph-fabimg{height:150px;margin-top:12px;overflow:hidden;border-radius:6px}
.tph-fabimg img{display:block;width:100%;height:100%;object-fit:cover}
.tph-s-bd--size{grid-template-columns:200px 1fr;align-items:start}
.tph-sct{width:100%;margin-top:12px;border-collapse:collapse;font-size:11.5px}
.tph-sct th,.tph-sct td{padding:6px 7px;border-bottom:1px solid #e3e3e0;text-align:right;font-variant-numeric:tabular-nums}
.tph-sct th{font:700 9.5px/1.2 var(--body);letter-spacing:.06em;text-transform:uppercase;color:#666}
.tph-sct td:first-child,.tph-sct th:first-child{text-align:left}
.tph-sct td:first-child b{display:inline-block;min-width:30px;color:var(--orange-ink)}
.tph-sct .tph-m{background:var(--orange-wash);font-weight:700}
.tph-dim{font:700 10px/1 var(--body);fill:var(--orange-ink)}
.tph-dimline{fill:none;stroke:var(--orange-ui);stroke-width:1.2}
.tph-s-lim{margin-top:12px;padding:10px 12px;border-radius:6px;background:var(--mist);font-size:11px;color:#444}

/* the flats, colored by tone: k black, h heather gray, g mid gray, l light gray */
.tph-flat .bd,.tph-flat .pn{fill:var(--c,#d9d9d6)}
.tph-flat .sp{fill:rgba(255,255,255,.12)}
.tph-flat--k{--c:#141414}
.tph-flat--k [stroke="#111"]{stroke:#5a5a57}
.tph-flat--h{--c:#b9b9b6}
.tph-flat--g{--c:#bdbdba}
.tph-flat--l{--c:#d9d9d6}

/* the hint under the stage (shown by the script with the knob): how the stage works */
.tph-hint{display:flex;align-items:center;gap:7px;margin:8px 0 0;font:400 12.5px/1.3 var(--body);color:var(--muted)}
.tph-hint[hidden]{display:none}
.tph-hint span{font-size:15px;line-height:1;color:var(--orange-ink)}

/* page tabs, garment chips and the foot line */
.tph-tabrow{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;margin-top:12px}
.tph-tabs{display:flex;flex-wrap:wrap;gap:6px}
.tph-tab{display:flex;gap:8px;align-items:baseline;padding:8px 12px;border:1px solid var(--line);border-radius:8px;background:none;color:var(--muted);font:700 13px/1.1 var(--body);text-align:left;cursor:pointer}
.tph-tab small{font:700 11px/1 var(--body);letter-spacing:.06em;color:var(--muted)}
.tph-tab:hover{border-color:#111;color:#111}
.tph-tab[aria-selected="true"]{border-color:#111;background:var(--mist);color:#111}
.tph-tab[aria-selected="true"] small{color:var(--orange-ink)}
.tph-all{margin-left:auto;font:700 13px/1 var(--body);color:var(--orange-ink);text-decoration:none;white-space:nowrap}
.tph-all:hover{text-decoration:underline}
.tph-chips{display:flex;gap:8px;margin:6px -6px 0;padding:6px 6px 8px;overflow-x:auto;scrollbar-width:thin}
.tph-chip{flex:none;padding:9px 16px;border:1.5px solid var(--line);border-radius:999px;background:#fff;color:#333;font:700 14px/1 var(--body);cursor:pointer}
.tph-chip:hover{border-color:#111}
.tph-chip[aria-pressed="true"]{border-color:#111;background:#111;color:#fff}
.tph-foot{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-top:12px;padding-top:12px;border-top:1px solid var(--line);font-size:14px}
.tph-foot b{color:var(--orange-ink)}
.tph-foot a{padding-bottom:3px;border-bottom:2px solid var(--orange);color:#111;font:700 13px/1 var(--body);letter-spacing:.04em;text-transform:uppercase;text-decoration:none;white-space:nowrap}
.tph-foot a:hover{border-color:#111}

/* three factory photos under the demo */
.tph-shop{margin-top:22px}
.tph-shop__h{margin:0 0 10px;font:700 12px/1.2 var(--body);letter-spacing:.14em;text-transform:uppercase;color:var(--muted-d)}
.tph-shop__row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.tph-shop figure{margin:0}
.tph-shop img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:8px}
.tph-shop figcaption{margin-top:7px;font-size:13px;line-height:1.35;color:#d8d8d4}

/* ---------- #parts: a real pack page beside the heading and the list ---------- */
/* the band's own wrap is the grid (the list and figure sit in .tph-parts, whose box gives way), so the page is centered
   on the whole band, as in the mockup */
#parts>.tp-wrap{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,420px);column-gap:56px;align-items:start}
#parts>.tp-wrap>*,.tph-parts>*{grid-column:1}
.tph-parts{display:contents}
.tph-parts>.tph-parts__fig{grid-column:2;grid-row:1/span 3;align-self:center;margin:0}
.tph-parts__fig img{display:block;width:100%;height:auto;border:1px solid var(--line);border-radius:10px;box-shadow:0 20px 40px -24px rgba(0,0,0,.45)}
.tph-parts__fig figcaption{margin-top:10px;font-size:13.5px;color:var(--muted)}

/* ---------- #sample: the example viewer ---------- */
.tph-viewer{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:18px;margin-top:34px}
.tph-vmain{min-width:0}
.tph-vbig{position:relative;overflow:hidden;border-radius:10px;background:#fff}
.tph-vimg{display:block;width:100%;height:auto;aspect-ratio:1600/1131}
.tph-varr{position:absolute;top:50%;display:grid;place-items:center;width:46px;height:46px;border:0;border-radius:50%;background:rgba(17,17,17,.82);color:#fff;transform:translateY(-50%);cursor:pointer}
.tph-varr:hover{background:#111}
.tph-varr svg{width:20px;height:20px}
.tph-varr--p{left:12px}
.tph-varr--n{right:12px}
.tph-vbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:12px;font-size:14px;color:#c9c9c4}
.tph-vbar b{color:#fff}
.tph-vlist{position:relative;display:grid;gap:8px;align-content:start;margin:0;padding:0;list-style:none}
.tph-vth{display:grid;grid-template-columns:96px minmax(0,1fr);gap:10px;align-items:center;padding:6px;border:1.5px solid #2a2a2a;border-radius:9px;background:#151515;color:#ddd;font-size:13px;line-height:1.3;text-align:left;text-decoration:none}
.tph-vth:hover{border-color:#5a5a57;color:#fff}
.tph-vth img{display:block;width:100%;height:auto;aspect-ratio:400/283;object-fit:cover;border-radius:4px}
.tph-vth small{display:block;margin-bottom:4px;font:700 11px/1 var(--body);letter-spacing:.1em;text-transform:uppercase;color:var(--orange)}
.tph-vth[aria-current="true"]{border-color:var(--orange);background:#1d1d1d;color:#fff}
#sample .tph-viewer+.tp-actions{margin-top:26px}
/* pages 3 to 6 are blurred (owner, 2026-10-31: the PDF is sent on request): a dark line over the bottom of the page asks for
   it, clear of the page's title at the top and of the arrows at the middle; tp-hub-v5.js shows it on those pages only.
   tp-pack-ask.css styles the same line in the builder's viewer and on the example page. */
.tph-vbig .tp-askpdf{position:absolute;left:50%;bottom:14px;z-index:3;display:flex;flex-wrap:wrap;justify-content:center;align-items:baseline;gap:2px 10px;width:max-content;max-width:calc(100% - 28px);margin:0;padding:9px 16px;border-radius:10px;background:rgba(17,17,17,.9);color:#fff;font:400 14px/1.35 var(--body);text-align:center;transform:translateX(-50%)}
.tph-vbig .tp-askpdf[hidden]{display:none}
.tph-vbig .tp-askpdf a{color:#fff;font-weight:700;text-decoration:underline;text-decoration-color:var(--orange);text-decoration-thickness:2px;text-underline-offset:3px}
.tph-vbig .tp-askpdf a:hover{text-decoration-color:#fff}

/* ---------- #build: an icon per step, and the eighth cell ---------- */
.tph-steps>li{padding-right:60px}
.tph-sti{position:absolute;top:20px;right:0;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:var(--orange-wash);color:var(--orange-ink)}
.tph-sti svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
/* "What you get" and the way into the builder: after the list (final review M3, so the list holds the seven steps only),
   shown in the empty cell beside step 7 through a subgrid; without subgrid support, or in one column, it follows the list */
.tph-steps__cta{margin:22px 0 0 2rem;padding:22px 24px;border-radius:12px;background:var(--orange-wash)}
.tph-steps__cta>p:first-child{margin:0;max-width:none;font-size:15.5px;color:var(--text)}
.tph-steps__cta .tp-actions{margin-top:16px}
@supports (grid-template-rows:subgrid){
  @media (min-width:761px){
    .tph-stepsgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 clamp(48px,5vw,72px);margin-top:40px;padding-left:2rem}
    .tph-stepsgrid>.tp-steps{grid-column:1/-1;grid-row:1/span 4;display:grid;grid-template-columns:subgrid;grid-template-rows:subgrid;margin:0;padding:0}
    .tph-stepsgrid>.tph-steps__cta{grid-column:2;grid-row:4;align-self:start;margin-left:0}
  }
}

/* ---------- #cost: a picture before each garment ---------- */
.tph-cth{float:left;width:48px;height:48px;margin:-13px 12px -13px 0;object-fit:cover;border-radius:8px;background:#ecebe7}

/* ---------- #garments ---------- */
.tph-gcards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:34px 0 0;padding:0;list-style:none}
.tph-gcard{display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--line);border-radius:12px;background:#fff}
.tph-gcard__img{aspect-ratio:4/3;overflow:hidden;background:#ecebe7}
.tph-gcard__img img{display:block;width:100%;height:100%;object-fit:cover}
.tph-gcard__b{flex:1;display:flex;flex-direction:column;gap:6px;padding:16px 18px 18px}
.tph-gcard h3{font-size:21px}
.tph-gcard__st{font-size:14px;color:var(--muted)}
.tph-gcard__pr{margin-top:4px;font-size:14.5px}
.tph-gcard__pr b{font-size:17px;color:var(--orange-ink)}
.tph-gcard__basis{font-size:12.5px;color:var(--muted)}
.tph-gcard__a{display:flex;flex-wrap:wrap;align-items:center;gap:12px 14px;margin-top:auto;padding-top:12px}
.tph-gcard__a .tp-pill{height:42px;padding:0 18px;white-space:nowrap}
/* tp-v4.css turns a solid pill white on hover, which vanishes on a white card */
.tph-gcard__a .tp-pill--solid:hover{border-color:#111;background:#111;color:#fff}
.tph-gcard__sp{padding-bottom:2px;border-bottom:1.5px solid #bbb;color:#111;font:700 13px/1 var(--body);text-decoration:none}
.tph-gcard__sp:hover{border-color:var(--orange-ui)}
/* #garments and #faq are both mist: a hairline marks where one ends */
#garments+#faq{border-top:1px solid var(--line)}

/* ---------- #faq: "Read next" beside the questions ---------- */
.tph-faqgrid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,340px);column-gap:64px;align-items:start}
.tph-faqgrid>*{grid-column:1}
.tph-faqgrid>.tph-next{grid-column:2;grid-row:1/span 3;position:sticky;top:calc(var(--tp-sh-h,0px) + 24px);display:grid;gap:10px;margin-top:8px}
.tph-nw{white-space:nowrap}
.tph-next__h{margin:0 0 4px;font:700 12px/1.2 var(--body);letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
.tph-nx{display:grid;grid-template-columns:72px minmax(0,1fr);gap:14px;align-items:center;padding:12px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--text);font-size:13.5px;line-height:1.4;text-decoration:none}
.tph-nx:hover{border-color:var(--orange-ui)}
.tph-nx img{display:block;width:72px;height:72px;object-fit:cover;border-radius:8px;background:var(--mist)}
.tph-nx>span:last-child{color:var(--muted)}
.tph-nx b{display:block;margin-bottom:3px;font:700 15.5px/1.25 var(--display);color:var(--text)}
.tph-nx__ic{display:grid;place-items:center;width:72px;height:72px;border-radius:8px;background:var(--orange-wash);color:var(--orange-ink)}
.tph-nx__ic svg{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}

/* ---------- gate C polish (2026-10-31) ---------- */
@media (min-width:981px){
  /* the FAQ heading spans both columns, so it stays on one line; "Read next" starts beside the lede */
  .tph-faqgrid>.tp-h2{grid-column:1/-1}
  .tph-faqgrid>.tph-next{grid-row:2/span 2}
  /* two bands of the same colour meet twice (#build and #cost white, #garments and #faq mist): 145 px between them, not 241 */
  #build,#garments{padding-bottom:72px}
  #build+#cost,#garments+#faq{padding-top:72px}
  /* the closing team photo shows: brighter, with the gradient dark only behind the text column */
  .tp-close__bg>img{opacity:.6}
  .tp-close__bg::after{background:linear-gradient(90deg,rgba(0,0,0,.92) 0%,rgba(0,0,0,.8) 48%,rgba(0,0,0,.15) 80%)}
}
/* the demo's "Your tech pack" label clears the sheet's black top bar */
@media (min-width:561px){
  .tph-lbl--r{top:36px}
}

/* ---------- narrower screens ---------- */
@media (max-width:980px){
  .tph-hero>.tp-wrap{grid-template-columns:minmax(0,1fr);gap:30px}
  .tph-hero .tp-hero__bg::after{background:linear-gradient(180deg,rgba(10,10,10,.9) 0%,rgba(10,10,10,.82) 100%)}
  #parts>.tp-wrap{display:block}
  .tph-parts{display:block}
  .tph-parts>.tph-parts__fig{max-width:560px;margin-top:28px}
  .tph-viewer{grid-template-columns:minmax(0,1fr)}
  /* the page list becomes a sideways row */
  .tph-vlist{grid-auto-flow:column;grid-auto-columns:150px;grid-template-columns:none;margin:-6px -6px 0;padding:6px 6px 10px;overflow-x:auto;scrollbar-width:thin}
  .tph-vth{grid-template-columns:minmax(0,1fr)}
  .tph-gcards{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .tph-faqgrid{grid-template-columns:minmax(0,1fr)}
  .tph-faqgrid>.tph-next{grid-column:1;grid-row:auto;position:static;margin-top:28px}
}
/* tp-v4.css turns the cost table into one card per garment below 700px: the picture sits beside the name there */
@media (max-width:700px){
  .tp-cost tbody th{display:flex;flex-wrap:wrap;align-items:center;column-gap:12px}
  .tph-cth{float:none;margin:0}
  .tp-cost tbody th a{flex:1 1 0;min-width:0}
  .tp-cost tbody th small{flex-basis:100%;margin-top:-10px;padding-left:60px}
}
@media (max-width:560px){
  .tph-facts{grid-template-columns:minmax(0,1fr)}
  /* compact on phones: the bar spans the page, two short lines in small type, still clear of the arrows */
  .tph-vbig .tp-askpdf{left:6px;right:6px;bottom:6px;width:auto;max-width:none;gap:0 6px;padding:5px 6px;border-radius:7px;font-size:11.5px;line-height:1.3;transform:none}
  .tph-demo{padding:10px}
  .tph-stage{aspect-ratio:.92}
  /* the choice cards show their title only */
  .tph-picks__col{gap:5px;padding:34px 6px 6px}
  .tph-picks__photo{margin:34px 6px 6px 2px}
  .tph-pk{grid-template-columns:minmax(0,1fr);gap:6px;padding:5px}
  .tph-pk__img{width:100%;aspect-ratio:3.6}
  .tph-pk__img svg{height:90%}
  .tph-pk__img+div small,.tph-pk__img+div span{display:none}
  .tph-pk__img+div b{margin-top:2px;font-size:11.5px}
  .tph-all{margin-left:0}
  .tph-steps>li{padding-right:48px}
  .tph-sti{width:36px;height:36px}
  .tph-sti svg{width:19px;height:19px}
  .tph-shop__row{gap:8px}
  .tph-shop figcaption{font-size:12px}
  .tph-gcard__b{padding:12px}
  .tph-gcard h3{font-size:17px}
  .tph-gcard__a{gap:10px}
  .tph-gcard__a .tp-pill{height:40px;padding:0 12px;letter-spacing:.03em}
}
