/* ==========================================================================
   Inner templates — built on Impulse sections, styled to Concept B.
   Rule of thumb: native section + theme settings + CSS. Where a homepage
   custom section is reused it is marked "reuse" in the Impulse overlay.

   Consolidated Mon 9 Nov 2026: one block per section, final values only.
   Text sizes / weights / line heights live in type.css (loaded last) — this
   file only sets layout, spacing, colour and decoration.

   Breakpoints: phone ≤767 · tablet ≤900 · desktop ≥901 (60px margins).
   Spacing rules: 60px page margins (desktop), 60px inside panels/banners,
   120px between major sections.
   ========================================================================== */


/* ---------- Page head (Impulse: Collection header / Page title / Blog title) ---------- */
.page-head { padding: 48px var(--gutter) 40px; display: grid; grid-template-columns: 1fr 387px; gap: 30px; align-items: end; }
.page-head__title { display: grid; gap: 18px; }
.page-head__intro { padding-bottom: 8px; }
@media (max-width: 900px) { .page-head { grid-template-columns: 1fr; gap: 18px; } }
@media (max-width: 767px) { .page-head { padding-top: 28px; padding-bottom: 24px; } }
@media (max-width: 900px) { .br-desk { display: none; } }   /* desktop-only line break */

/* Collection header: H1 + description left; chips, FILTER and FEATURED side by side on the right */
.page-head--coll { grid-template-columns: minmax(0, 1fr) auto; padding-top: 60px; padding-bottom: 60px; }   /* header → keyline: 60 */
.page-head--coll .page-head__intro { max-width: 600px; padding-bottom: 0; }                                 /* description in 2 lines */
.page-head__tools { display: flex; align-items: center; justify-content: flex-end; gap: 30px; }
.page-head__tools .js-filter-open { display: inline-flex; }
/* FEATURED (sort) styled exactly like the FILTER link button: Label style + 8px blue dot */
.page-head__tools select {
  -webkit-appearance: none; appearance: none; border: 0; border-radius: 0; cursor: pointer; color: var(--asphalt);
  padding: 0 14px 0 0; field-sizing: content;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8'%3E%3Ccircle cx='4' cy='4' r='4' fill='%230050FC'/%3E%3C/svg%3E") no-repeat right 0 top 4px / 8px 8px;
}
@media (max-width: 900px) {
  .page-head--coll { grid-template-columns: 1fr; padding-top: 28px; }
  .page-head__tools { justify-content: space-between; flex-wrap: wrap; gap: 16px; }
  .page-head__tools .chips { order: 3; flex-basis: 100%; }
}

/* Cart header: same 60 / 60 as the collection */
.page-head--cart { padding-top: 60px; padding-bottom: 60px; }

/* Active-filter chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 10px; font-size: 12px; background: var(--bg-ice); }
.chip button { font-size: 14px; line-height: 1; opacity: .6; }
.chip button:hover { opacity: 1; }


/* ---------- Filters (Impulse: Product grid › Filter drawer; Shopify Search & Discovery) ---------- */
/* The filter list lives in the right-hand drawer on every screen size (moved there by JS). */
.filters { padding-top: 6px; }
.filters .acc > summary { padding: 16px 0; }
.filters .acc:first-of-type { border-top: 0; }   /* first-of-type: the Impulse map tag is the first child (11 Nov fix) */
.filters .acc__body { display: grid; gap: 10px; padding-bottom: 20px; }
.check { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.check input { appearance: none; width: 14px; height: 14px; margin: 0; flex: none; box-shadow: inset 0 0 0 1px var(--asphalt); display: grid; place-items: center; cursor: pointer; }
.check input:checked { background: var(--asphalt); box-shadow: inset 0 0 0 1px var(--asphalt), inset 0 0 0 3px var(--white); }
.check small { margin-left: auto; opacity: .65; }
.check--off { opacity: .35; pointer-events: none; }
.swatch-filter { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch-filter button { width: 26px; height: 26px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(12,35,64,.15); position: relative; }
.swatch-filter button[aria-pressed="true"]::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; box-shadow: 0 0 0 1px var(--asphalt); }
.price-range { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; }
.price-range input { width: 100%; border: 0; border-bottom: 1px solid var(--gray); padding: 6px 0; outline: 0; }
.filters__note { opacity: .65; padding: 14px 0 0; }


/* ---------- Product grid (shared: collection, Similar bikes, Popular right now) ---------- */
/* One clean card everywhere (as homepage): no borders, quick view / badges / wishlist off */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); align-content: start; }
.grid .pcard__wish, .grid .pcard__quick, .grid .pcard__badge { display: none; }
.grid-wrap { min-width: 0; }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .pcard__opts { min-height: 0; }
  .pcard__opts .sizes { display: none; }
  .pcard__quick, .pcard__wish { display: none; }
}

/* Pagination: current page = blue number; Next / Older posts = link-dot */
.pagination { display: flex; justify-content: center; align-items: center; gap: 4px; padding-top: 48px; }
.pagination a, .pagination span { min-width: 36px; height: 36px; display: grid; place-items: center; }
.pagination [aria-current] { color: var(--velocity); }
.pagination a:hover { color: var(--velocity); }
.pagination a.link-dot { display: inline-flex; align-items: flex-start; min-width: 0; height: auto; place-items: initial; }


/* ---------- Collection (Impulse: Default collection, filter style = drawer) ---------- */
/* Keyline above the grid (inside the margins). No keyline above the footer (removed 9 Nov): the 120 gap does the separating, as on every other page */
.coll { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); padding: 60px var(--gutter); }
/* no keyline under the collection header (removed 10 Nov): header → cards = 60 + 60 = 120 */
/* Keyline between card rows, centred in the row gap, continuous across the row; none under the last row */
.coll .grid .pcard::after { content: ""; position: absolute; height: 1px; background: var(--line); pointer-events: none; }
@media (min-width: 901px) {
  .coll { padding-bottom: 110px; }                          /* 110 + 10 under the page numbers + footer 120 = 240 to the footer, same as the other pages' last section (line removed 9 Nov) */
  .coll .grid { row-gap: 120px; }                           /* card rows 120 apart, line in the middle (60 / 60) */
  .coll .grid .pcard::after { bottom: -60.5px; left: -15px; right: -15px; }
  .coll .grid .pcard:nth-child(3n+1 of .pcard)::after { left: 0; }
  .coll .grid .pcard:nth-child(3n of .pcard)::after { right: 0; }
  .coll .grid .pcard:nth-last-child(-n+3 of .pcard)::after { display: none; }
  .coll .pagination { padding-top: 70px; }                  /* 70 + card's 40 + 10 inside the number box = 120 from "View bike" */
}
@media (max-width: 900px) {
  .coll .grid .pcard::after { bottom: -8.5px; left: -8px; right: -8px; }
  .coll .grid .pcard:nth-child(2n+1 of .pcard)::after { left: 0; }
  .coll .grid .pcard:nth-child(2n of .pcard)::after { right: 0; }
  .coll .grid .pcard:nth-last-child(-n+2 of .pcard)::after { display: none; }
}


/* ---------- Product page: section rhythm ---------- */
/* Sections 120px apart (60 + 60), no keylines. The first section (product) has no top padding. */
body[data-page="product"] main > section { position: relative; padding-top: 60px; padding-bottom: 60px; }
body[data-page="product"] main > section:first-of-type { padding-top: 0; }
@media (min-width: 901px) {
  body[data-page="product"] main > section.pdp { padding-bottom: 0; }
  body[data-page="product"] main > section.pdp-details { padding-top: 120px; }   /* 120 above the sales-points panel */
}


/* ---------- Product (Impulse: Default product; Stacked media as a grid) ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 0 60px; padding: 0 var(--gutter); }
@media (min-width: 901px) {
  /* Wide right area; the 420px buy box is centred in it (equal white space both sides) */
  .pdp { grid-template-columns: minmax(0, 1fr) minmax(0, clamp(440px, 40vw, 720px)); grid-template-rows: auto 1fr; }
}
@media (max-width: 900px) { .pdp { grid-template-columns: 1fr; } }

/* Gallery: white (11 Nov, was soft grey --bg-media); the Giant photos already have white backgrounds */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; align-content: start; }
.gallery figure { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--white); cursor: zoom-in; }
.gallery figure:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.gallery img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .8s var(--ease), opacity .4s; }
.gallery figure:first-child img { padding: 4% 6%; }
.gallery figure:hover img { transform: scale(1.04); }
@media (min-width: 901px) {
  /* wide, two squares, wide; images fade in on scroll (theme animation setting) */
  .pdp .gallery { grid-column: 1; grid-row: 1; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .gallery figure { aspect-ratio: 1; }
  .gallery figure:nth-child(3n+1) { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
  .gallery figure:not(:first-child) img { object-fit: cover; padding: 0; }
}
@media (max-width: 767px) {
  /* phone: swipe gallery, edge to edge */
  .gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 0; margin: 0 calc(-1 * var(--gutter)); scrollbar-width: none; }
  .gallery::-webkit-scrollbar { display: none; }
  .gallery figure, .gallery figure:first-child { flex: 0 0 100%; aspect-ratio: 4 / 3; scroll-snap-align: start; }
}

/* Zoom lightbox */
.zoom { position: fixed; inset: 0; z-index: 95; background: var(--white); display: none; place-items: center; cursor: zoom-out; }
.zoom.is-open { display: grid; }
.zoom img { max-width: 92vw; max-height: 92vh; object-fit: contain; }

/* Buy box: year → title → description → colour → size → stock → Add to cart (price inside) → Afterpay/Zip */
.buy { position: sticky; top: calc(var(--header-h) + 20px); align-self: start; display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; padding-top: 4px; }
@media (min-width: 901px) {
  /* 10 Nov: info block always vertically centred in the visible screen (below the header) while it sticks next to the photos.
     The sticky box is one screen tall and centres its content; if the content is ever taller than the screen it simply starts under the header. */
  .pdp .buy { grid-column: 2; grid-row: 1 / span 2; width: 100%; max-width: 420px; justify-self: center; gap: 30px;
              top: var(--hdr-live, 55px); min-height: calc(100svh - var(--hdr-live, 55px)); padding: 30px 0; align-content: center; }
  .pdp .buy > .impulse-tag { position: absolute; }   /* prototype overlay label must not take a grid row */
}
@media (min-width: 901px) and (max-height: 700px) {
  .pdp .buy { position: relative; top: 0; min-height: 0; align-content: start; }   /* very short windows: no sticky, so Add to cart is never stuck off-screen */
}
@media (max-width: 900px) { .buy { position: static; padding-top: 30px; } }
.buy > .t-body { max-width: 380px; }   /* description measure */
.buy__head { display: grid; gap: 14.4px; }
.buy__year { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--velocity); }
.buy__bnpl { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; justify-content: flex-start; margin-top: 4px; opacity: .8; }
.buy__bnpl img { height: 10px; width: auto; }
.buy__stock { display: grid; gap: 6px; }
.buy__stock .stock { gap: 8px; }
.buy__ctas { display: grid; gap: 10px; }
.buy__ctas .row { display: grid; grid-template-columns: 1fr; gap: 8px; }
.btn--price { display: flex; justify-content: space-between; align-items: center; padding: 0 24px; }   /* price inside Add to cart */

/* Options */
.opt { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.opt__label { display: flex; justify-content: space-between; opacity: .65; }
/* Colour: plain circles, ring when selected */
.opt__colors { display: flex; gap: 14px; padding: 4px; }
.opt__colors button { width: 28px; height: 28px; padding: 0; border-radius: 50%; background: var(--c); }
.opt__colors button[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--white), 0 0 0 4px var(--asphalt); }
.opt__colors button:hover:not([aria-pressed="true"]) { box-shadow: 0 0 0 3px var(--white), 0 0 0 4px var(--gray); }
/* Size: no box; the selected size gets a navy line the width of its cm text (grey on hover). Sold-out sizes hidden (type.css) */
.opt__sizes { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.opt__sizes button { display: grid; place-content: center; justify-items: stretch; aspect-ratio: 1; min-width: 0; padding: 8px 2px; text-align: center; }
.opt__sizes button::after { content: ""; height: 1.5px; margin-top: 6px; background: transparent; transition: background .2s; }
.opt__sizes button:hover::after { background: var(--gray); }
.opt__sizes button[aria-pressed="true"]::after { background: var(--asphalt); }
.opt__sizes small { display: block; }


/* ---------- Product details (Impulse: Collapsible tabs + Sales points, below the product) ---------- */
.pdp-details { display: grid; gap: 24px; padding-left: var(--gutter); padding-right: var(--gutter); }
.pdp-details .acc > summary { padding: 18px 0; }
.pdp-details__side { display: grid; gap: 30px; align-content: start; }
.pdp-details__usps { grid-column: 1 / -1; display: grid; gap: 22px; padding: 30px; background: var(--bg-ice); }   /* sales points: ice-blue panel */
@media (min-width: 901px) {
  .pdp-details { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 120px 60px; align-items: start; }   /* panel → Details: 120 */
  .pdp-details__usps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; padding: 40px; }
}
.usp { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.usp svg { margin-top: 1px; }
.usp b { display: block; margin-bottom: 2px; }
.highlights { display: grid; gap: 14px; }
.highlights b { display: block; }
.geo { width: 100%; border-collapse: collapse; }
.geo th, .geo td { padding: 8px 6px; text-align: left; border-bottom: 1px solid var(--line); }
.geo td:not(:first-child), .geo th:not(:first-child) { text-align: center; }
.spec { display: grid; grid-template-columns: 130px 1fr; gap: 8px 16px; }
.spec dt { opacity: .65; }


/* ---------- Story panel (Impulse: Image with text, colour-scheme background) ---------- */
/* Sage panel inside the 60px margins; image left, text + button bottom-right */
.story-panel { --panel: var(--bg-sage); margin: 0 var(--gutter); background: var(--panel); padding: 30px; display: grid; gap: 30px; }
.story-panel__media { aspect-ratio: 16 / 9.5; overflow: hidden; }
.story-panel__media img { width: 100%; height: 100%; object-fit: cover; }
.story-panel__text { display: grid; gap: 18px; justify-items: start; }
@media (min-width: 901px) {
  body[data-page="product"] main > section.story-panel { padding: 60px; margin-top: 60px; margin-bottom: 60px; }
  .story-panel { grid-template-columns: minmax(0, 47%) minmax(0, 1fr); gap: 60px; align-items: end; }
  .story-panel__text { justify-self: end; max-width: 420px; justify-items: end; text-align: right; }
}


/* ---------- Complete your ride = homepage section E reused (grey, gear photo) ---------- */
body[data-page="product"] main > section.gear-ride { padding: 0; background: var(--bg-media); }
.gear-ride .brandtabs__tabs { height: auto; }
.gear-ride__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 35% 40%; opacity: 1; }
.pcard--photo .pcard__media img { object-fit: cover; padding: 0 !important; }   /* demo items with photos instead of cut-outs */


/* ---------- Recommendation rows (Impulse: Related products / Featured collection) ---------- */
.row-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; padding: 0 var(--gutter) 30px; }
.row-head--center { justify-content: center; text-align: center; }
.recs { padding-bottom: var(--section-y); }
.recs .grid { margin: 0 var(--gutter); }
@media (min-width: 901px) {
  body[data-page="cart"] .recs { padding-bottom: 104px; }   /* last section: 120 visible from "View bike" to the footer */
}


/* ---------- Cart page (Impulse: Cart template; the drawer is the main flow) ---------- */
.cart { padding: 0 var(--gutter) var(--section-y); display: grid; grid-template-columns: minmax(0, 1fr); gap: 60px; align-items: start; }
@media (min-width: 1280px) { .cart { grid-template-columns: minmax(0, 1fr) 540px; } }   /* summary = 420 content + 60 inside */
.cart__items { border-top: 1px solid var(--line); }
.cart__head { display: grid; grid-template-columns: 1fr 140px 120px; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart__head span:not(:first-child) { text-align: right; }
.cart-row { display: grid; grid-template-columns: 1fr 140px 120px; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-row__prod { display: grid; grid-template-columns: 140px 1fr; gap: 24px; align-items: center; }
.cart-row__img { background: var(--white); /* 11 Nov: white, matches product gallery + cards */ aspect-ratio: 4 / 3; display: grid; place-items: center; }
.cart-row__img img { width: 88%; mix-blend-mode: multiply; }
.cart-row__qty, .cart-row__total { text-align: right; }
.cart-row .stock { margin-top: 8px; }
.cart-extras { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 40px; }   /* order note + shipping estimate */
@media (max-width: 767px) {
  .cart__head { display: none; }
  .cart-row { grid-template-columns: 1fr auto; }
  .cart-row__prod { grid-column: 1 / -1; grid-template-columns: 96px 1fr; gap: 16px; }
  .cart-row__qty { text-align: left; }
}
@media (max-width: 900px) { .cart-extras { grid-template-columns: 1fr; } }

/* Summary panel: soft grey, 60 inside; sticky only when it sits beside the items (≥1280) */
.summary { position: static; background: var(--bg-soft); padding: 30px; display: grid; gap: 18px; }
@media (min-width: 901px) { .summary { padding: 60px; gap: 24px; } }
@media (min-width: 901px) and (max-width: 1279px) { .summary { justify-self: end; width: 540px; } }   /* under the items, right-aligned */
@media (min-width: 1280px) { .summary { position: sticky; top: calc(var(--header-h) + 20px); } }
.summary dl { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.summary dt { opacity: .7; }
.summary .total { padding-top: 16px; border-top: 1px solid var(--line); }
.delivery { display: grid; gap: 8px; }
.delivery label { display: grid; grid-template-columns: 18px 1fr; gap: 10px; padding: 14px; background: var(--white); cursor: pointer; font-size: 13px; line-height: 18px; box-shadow: inset 0 0 0 1px transparent; }
.delivery input { margin: 2px 0 0; accent-color: var(--asphalt); }
.delivery label:has(input:checked) { box-shadow: inset 0 0 0 1px var(--asphalt); }
.delivery b { display: block; }

/* Empty state + prototype-only Filled/Empty toggle */
.empty { padding: 40px var(--gutter) var(--section-y); display: grid; justify-items: center; text-align: center; gap: 20px; }
.empty p { max-width: 420px; }
.demo-toggle { display: inline-flex; gap: 2px; padding: 2px; background: var(--line); font-size: 11px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; }
.demo-toggle button { padding: 6px 10px; }
.demo-toggle button[aria-pressed="true"] { background: var(--white); }


/* ---------- Journal (Impulse: Blog template · Blog posts) ---------- */
.page-head--journal { grid-template-columns: 1fr; justify-items: center; text-align: center; padding-top: 60px; padding-bottom: 30px; }   /* title centred, 30 to the topics */
.tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; padding: 0 var(--gutter) 60px; }   /* topics centred; 60 above the posts */
@media (max-width: 767px) { .page-head--journal { padding-top: 28px; padding-bottom: 24px; } }
.tags a { opacity: .65; padding-bottom: 4px; }
.tags a:hover { opacity: 1; }
.tags a[aria-current] { opacity: 1; box-shadow: inset 0 -2px 0 var(--velocity); }
.posts { padding: 0 var(--gutter) var(--section-y); display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px 30px; }
.post { display: grid; gap: 14px; align-content: start; }
.post figure { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-soft); }
.post img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post:hover img { transform: scale(1.04); }
.post__meta { display: flex; gap: 12px; }
.post__meta b { color: var(--velocity); }
.post__meta span { opacity: .65; }
.post:hover h2 { color: var(--velocity); }
.post p { opacity: .75; }
@media (max-width: 900px) {
  .posts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) { .posts { grid-template-columns: 1fr; gap: 40px; } }

/* Article (Impulse: Blog post template) */
.article-head { padding: 48px var(--gutter) 40px; display: grid; gap: 22px; justify-items: center; text-align: center; }
.article-head h1 { max-width: 980px; }
.article-head .post__meta { justify-content: center; }
.article-hero { padding: 0 var(--gutter); }
.article-hero img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; object-position: 50% 25%; }
.article-body { max-width: 680px; margin: 0 auto; padding: 72px var(--gutter) 40px; }
.article-body > * + * { margin-top: 22px; }
.article-body h2 { margin-top: 48px; }
.article-body figure { margin: 40px calc(-1 * min(120px, 8vw)); }
.article-body figure img { width: 100%; }
.article-body figcaption { opacity: .65; margin-top: 10px; }
.article-body ul { list-style: disc; padding-left: 20px; }
.article-body li + li { margin-top: 6px; }
.article-body blockquote { padding: 6px 0 6px 24px; box-shadow: inset 2px 0 0 var(--velocity); }
.inline-product { display: grid; grid-template-columns: 120px 1fr auto; gap: 20px; align-items: center; padding: 16px; background: var(--bg-soft); font-size: 16px; line-height: 21.6px; }
.inline-product img { mix-blend-mode: multiply; }
.share { max-width: 680px; margin: 0 auto; padding: 24px var(--gutter) var(--section-y); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; border-top: 1px solid var(--line); }
.share div { display: flex; gap: 18px; font-size: 13px; }
.share a { text-decoration: underline; text-underline-offset: 2px; }
.related-posts { padding-top: var(--section-y); border-top: 1px solid var(--line); }
.related-posts__head { padding: 0 var(--gutter) 30px; display: flex; justify-content: space-between; align-items: baseline; gap: 20px; }
@media (max-width: 767px) {
  .article-body { padding-top: 40px; }
  .article-body figure { margin-inline: calc(-1 * var(--gutter)); }
  .inline-product { grid-template-columns: 80px 1fr; }
  .inline-product .link-dot { grid-column: 2; }
}


/* ---------- About (Impulse: Page – about) ---------- */
.large-image { position: relative; height: min(720px, 86vh); overflow: hidden; color: var(--white); display: flex; align-items: flex-end; padding: 30px var(--gutter); }
.large-image > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.large-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 40%, rgba(0,0,0,.5)); }
.large-image__box { position: relative; z-index: 1; display: grid; gap: 22px; max-width: 520px; }
.cols { padding: var(--section-y) var(--gutter); display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.col { display: grid; gap: 16px; align-content: start; }
.col figure { aspect-ratio: 4 / 5; overflow: hidden; }
.col img { width: 100%; height: 100%; object-fit: cover; }
.col .num { color: var(--velocity); }
.iwt { padding: 0 var(--gutter) var(--section-y); display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
.iwt figure { aspect-ratio: 595 / 685; overflow: hidden; }
.iwt img { width: 100%; height: 100%; object-fit: cover; }
.iwt__text { max-width: 450px; justify-self: center; display: grid; gap: 22px; }
.iwt__text p { opacity: .85; }
.iwt--flip figure { order: 2; }
.timeline { display: grid; gap: 0; border-top: 1px solid var(--line); }
.timeline div { display: grid; grid-template-columns: 70px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 20px; }
.richtext { padding: var(--section-y) var(--gutter); display: grid; justify-items: center; text-align: center; gap: 30px; }
.richtext p { max-width: 560px; }
@media (min-width: 901px) {
  .large-image { padding: 60px; }   /* banner caption 60px from the edges (as hero) */
  .iwt { gap: 60px; }               /* 60px between image and text (as Propel story) */
}
@media (max-width: 900px) {
  .cols { grid-template-columns: 1fr; }
  .iwt { grid-template-columns: 1fr; }
  .iwt--flip figure { order: 0; }
  .iwt__text { justify-self: start; }
}


/* ---------- Contact (Impulse: Page – contact) ---------- */
.contact { padding: 48px var(--gutter) var(--section-y); display: grid; grid-template-columns: 1fr 1fr; gap: 30px 60px; }
.contact__intro { display: grid; gap: 30px; align-content: start; }
.contact__quick { display: grid; gap: 0; margin-top: 18px; border-top: 1px solid var(--line); }
.contact__quick a { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact__quick a:hover { color: var(--velocity); }
.contact__quick small { opacity: .65; display: block; margin-top: 2px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-content: start; }
.form .field--full { grid-column: 1 / -1; }
.form__foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.form__foot p { opacity: .65; max-width: 340px; }
.form__ok { grid-column: 1 / -1; padding: 16px; background: var(--bg-ice); display: none; }
.form.is-sent .form__ok { display: block; }
.map { position: relative; height: 640px; overflow: hidden; display: flex; align-items: center; padding: 30px var(--gutter); }
.map > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.map__box { position: relative; z-index: 1; width: 386.67px; max-width: 100%; background: var(--white); padding: 30px; display: grid; gap: 22px; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 6px 24px; }
.hours dt { opacity: .65; }
.hours .is-today { opacity: 1; }
@media (min-width: 901px) {
  .map { padding: 60px; }
  .map__box { width: 440px; padding: 60px; }   /* info panel: 60px inside */
}
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 767px) {
  .form { grid-template-columns: 1fr; }
  .map { height: auto; padding-top: 60vw; }
  .map__box { width: 100%; }
}

/* ---------- Collection · VERSION B (collection-b.html): banner tight to the nav with title + description over it; FILTER + FEATURED together on the left above the products ---------- */
.coll-banner { position: relative; height: clamp(320px, 42vw, 560px); overflow: hidden; background: var(--asphalt); color: var(--white);
               margin-top: calc(55px - var(--header-h)); display: flex; align-items: flex-end; padding: 60px var(--gutter); }   /* sits right under the 55px nav, no gap */
.coll-banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 22%; }   /* Liv Avail rider smiling (Links/Images Type/Womens/MY26AvailAdvPro1-3151): face + bike in frame */
.coll-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,35,64,0) 45%, rgba(12,35,64,.55)); }   /* keeps white text readable */
.coll-banner__text { position: relative; z-index: 1; display: grid; gap: 18px; max-width: 640px; }
.coll-banner__text h1, .coll-banner__intro { color: var(--white); }
@media (max-width: 900px) { .coll-banner { margin-top: calc(50px - var(--header-h)); padding: 30px var(--gutter); } .coll-banner .br-desk { display: none; } }
.coll--b { padding-top: 60px; }
.coll-b__tools { display: flex; align-items: center; justify-content: flex-start; gap: 20px; padding: 0 0 30px; border: 0; }
.coll-b__left { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.coll-b__tools .js-filter-open { display: inline-flex; }
.coll-b__tools select { -webkit-appearance: none; appearance: none; border: 0; border-radius: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8'%3E%3Ccircle cx='4' cy='4' r='4' fill='%230050FC'/%3E%3C/svg%3E") no-repeat right 0 top 4px / 8px 8px; padding: 0 14px 0 0; cursor: pointer; field-sizing: content; color: var(--asphalt); }
/* Version B · open filter sidebar on the left, 2 bikes per row on the right (desktop) */
@media (min-width: 901px) {
  .coll--b { grid-template-columns: 260px minmax(0, 1fr); column-gap: 60px; }
  .coll--b .coll-b__tools { grid-column: 1 / -1; }
  .coll--b .coll-b__left { display: grid; grid-template-columns: 260px auto 1fr; column-gap: 60px; row-gap: 12px; width: 100%; align-items: center; }
  .coll--b .coll-b__left .js-filter-open { pointer-events: none; }            /* sidebar is already open: FILTER is its heading */
  .coll--b .coll-b__left .chips { grid-column: 3; }
  .coll--b .filters { grid-column: 1; align-self: start; position: sticky; top: calc(55px + 30px); max-height: calc(100vh - 55px - 60px); overflow-y: auto; scrollbar-width: thin; padding-top: 0; }
  .coll--b .grid-wrap { grid-column: 2; }
  .coll--b .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .coll--b .grid .pcard:nth-child(n of .pcard)::after { left: -15px; right: -15px; display: block; }   /* same weight as the 3-up rules, so it overrides them */
  .coll--b .grid .pcard:nth-child(2n+1 of .pcard)::after { left: 0; }
  .coll--b .grid .pcard:nth-child(2n of .pcard)::after { right: 0; }
  .coll--b .grid .pcard:nth-last-child(-n+2 of .pcard)::after { display: none; }
}
/* Version B tweaks (10 Nov): no FILTER label on desktop (sidebar is open), FEATURED on the right with a down arrow */
.coll-b__tools select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none' stroke='%230050FC' stroke-width='1.5'%3E%3Cpath d='M1 1l4 4 4-4'/%3E%3C/svg%3E") no-repeat right 0 top 5px / 10px 6px; padding-right: 18px; }
@media (min-width: 901px) {
  .coll--b .coll-b__left .js-filter-open { visibility: hidden; }        /* keeps the sidebar column, hides the label */
  .coll--b .coll-b__left { grid-template-columns: 260px 1fr auto; }
  .coll--b .coll-b__left select { grid-column: 3; grid-row: 1; justify-self: end; }
  .coll--b .coll-b__left .chips { grid-column: 2; grid-row: 1; }
}
@media (max-width: 900px) {
  .coll-b__left { width: 100%; justify-content: space-between; }        /* phones: FILTER (opens drawer) left, FEATURED right */
  .coll-b__left .chips { order: 3; flex-basis: 100%; }
}

/* ---------- Collection · VERSION C (collection-c.html): B's hero + A's 3-up grid; FILTER • FEATURED • together on the left ---------- */
.coll--c { padding-top: 60px; }
.coll-c__tools { display: flex; align-items: center; justify-content: flex-start; flex-wrap: wrap; gap: 16px 30px; padding: 0 0 30px; border: 0; }
.coll-c__tools .js-filter-open { display: inline-flex; }
.coll-c__tools select { -webkit-appearance: none; appearance: none; border: 0; border-radius: 0; cursor: pointer; field-sizing: content; color: var(--asphalt); padding: 0 14px 0 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8'%3E%3Ccircle cx='4' cy='4' r='4' fill='%230050FC'/%3E%3C/svg%3E") no-repeat right 0 top 4px / 8px 8px; }
/* Version C / main: Load more instead of page numbers; FEATURED with a down arrow */
.load-more { display: flex; justify-content: center; padding: 80px 0 10px; }   /* 120 visible from the last "View bike" (80 + card 40); 10 below keeps the old 240 to the footer */
.coll-c__tools select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none' stroke='%230050FC' stroke-width='1.5'%3E%3Cpath d='M1 1l4 4 4-4'/%3E%3C/svg%3E") no-repeat right 0 top 5px / 10px 6px; padding-right: 18px; }

/* ---------- Collection · VERSION A2 (collection-a2.html): A without the description, product count beside the title, FEATURED arrow, Load more ---------- */
.page-head__count { font: var(--t-h3); vertical-align: top; position: relative; top: calc(clamp(44px, 6.47vw, 82.853px) * .0463 - 3.14px); margin-left: 8px; letter-spacing: 0; }   /* "BIKES (120)": count in H3; top of the digits = top of the capitals (cap line), scales with the Display size */
.page-head--a2 .page-head__tools select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none' stroke='%230050FC' stroke-width='1.5'%3E%3Cpath d='M1 1l4 4 4-4'/%3E%3C/svg%3E") no-repeat right 0 top 5px / 10px 6px; padding-right: 18px; }
.coll-banner .page-head__count { color: var(--white); }   /* count on the photo banner (C / main) */
.coll-c__tools { padding-bottom: 20px; }   /* 20 + the card's own 40px top padding = 60 visible from FILTER / FEATURED to the first bike name */
/* Main / version C: card rows 60 apart (was 120), keyline centred in the gap (30 / 30) */
@media (min-width: 901px) {
  .coll--c .grid { row-gap: 60px; }
  .coll--c .grid .pcard:nth-child(n of .pcard)::after { bottom: -30.5px; }
}
/* Main / version C: LOAD MORE → footer text = 120 (just the footer's own 120 top padding) */
@media (min-width: 901px) {
  .coll--c { padding-bottom: 0; }
  .coll--c .load-more { padding-bottom: 0; }
}
@media (min-width: 901px) { .coll-c__tools { padding-bottom: 80px; } }   /* 80 + card's 40 = 120 visible FILTER / FEATURED → first bike name, same as last "View bike" → LOAD MORE */

/* Journal hero (10 Nov): two lead stories side by side, text under the photos; then 3 per row; Load more */
.posts-lead { padding: 0 var(--gutter) 120px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 60px 30px; }
.post--lead { gap: 16px; }
.post--lead figure { aspect-ratio: 3 / 2; }
.post--lead h2 { font: var(--t-h2); text-transform: uppercase; }
.post--lead .link-dot { justify-self: start; margin-top: 4px; }
.posts { padding-bottom: 0; }
.posts .load-more { grid-column: 1 / -1; padding: 60px 0 0; }   /* 60 row gap + 60 = 120 from the last story; footer adds its own 120 */
@media (max-width: 767px) { .posts-lead { grid-template-columns: 1fr; padding-bottom: 64px; gap: 40px; } }
/* Journal cards (10 Nov): 20px photo → text; tag + date moved below the description (title first) */
.posts-lead .post, .posts .post { display: flex; flex-direction: column; gap: 14px; }
.posts-lead .post figure, .posts .post figure { margin-bottom: 6px; }   /* 6 + 14 gap = 20 from photo to headline */
.posts-lead .post .post__meta, .posts .post .post__meta { order: 3; }
.posts-lead .post .link-dot { order: 4; align-self: flex-start; }
.posts-lead .post__meta .post__tag, .posts .post__meta .post__tag { order: 2; }   /* Journal cards: date first, then topic */

/* ---------- Article (10 Nov): follows the Journal decisions ---------- */
.article-head { padding-top: 60px; padding-bottom: 60px; }                      /* no breadcrumbs: 60 from the nav to the title, 60 to the photo */
.article-head .post__meta { gap: 20px; }
.related-posts { border-top: 0; padding-top: 120px; }                            /* no keyline between sections; 120 rhythm */
.related-posts__head { padding-bottom: 60px; }
.share { padding-bottom: 0; }   /* share/tags row → "Keep reading" = 120 (the section's own top padding) */

/* ---------- Article · split layout (10 Nov, from Bruno's sketch): fixed left = title, date, reading time, photo; right = article that scrolls ---------- */
@media (min-width: 901px) {
  .article-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 60px; padding: 60px var(--gutter) 0; align-items: start; }
  .article-aside { grid-column: 1; grid-row: 1 / span 2; position: sticky; top: calc(55px + 60px); display: grid; gap: 30px; }
  .article-split .article-head { padding: 0; justify-items: start; text-align: left; gap: 20px; }
  .article-split .article-head h1 { max-width: none; }
  .article-split .article-head .post__meta { justify-content: flex-start; }
  .article-split .article-hero { padding: 0; }
  .article-split .article-hero img { aspect-ratio: 3 / 2; max-height: calc(100svh - 55px - 60px - 60px - 230px); object-position: 50% 50%; }   /* photo shrinks on short screens so the fixed column always fits */
  .article-split .article-body { grid-column: 2; max-width: 600px; margin: 0; padding: 0; }
  .article-split .article-body figure { margin: 40px 0; }
  .article-split .share { grid-column: 2; max-width: 600px; margin: 0; padding: 60px 0 0; }
}
@media (max-width: 900px) {
  .article-split .article-head { justify-items: start; text-align: left; padding: 30px var(--gutter); }
  .article-split .article-head .post__meta { justify-content: flex-start; }
}
.article-split .article-hero img { height: auto; aspect-ratio: 3 / 2; object-fit: cover; }   /* respect 3:2 on every screen (the img's height attribute was winning on phones) */
@media (max-width: 900px) { .article-split .article-hero { padding: 0 var(--gutter); } }
.article-split .article-body > * + * { margin-top: 26px; }   /* paragraph spacing scaled for the 20px text */
@media (min-width: 901px) { .article-split .article-body { max-width: 640px; } .article-split .share { max-width: 640px; } }   /* ~70 characters per line at 20px */
@media (min-width: 901px) {
  .article-split { padding-top: 36px; }                              /* 36 + the 24px under the compact nav = 60 from the nav to the photo */
  .article-split .article-body > .lede { margin-top: -6px; }         /* first line's capitals level with the top of the photo (was 26px low: the overlay label counted as a sibling) */
}
/* Article: Share sits in the fixed left column under the date; Tags stay under the text, quiet like the date */
.article-share { display: flex; flex-wrap: wrap; align-items: baseline; gap: 18px; }
.article-tags { display: flex; flex-wrap: wrap; align-items: baseline; gap: 18px; }
/* Article (10 Nov): tags row + keyline removed; author line at the end; more air above uppercase sub-heads; inline product card like the product cards, 30px padding */
.article-byline { padding-top: 60px; }
@media (min-width: 901px) { .article-split .article-byline { grid-column: 2; max-width: 640px; } }
.article-split .article-body h2 { margin-top: 80px; }                 /* new section inside the article: 80 above the uppercase sub-head (was 48), text 26 below */
.article-split .article-body h2 + * { margin-top: 20px; }
.inline-product { padding: 30px; gap: 30px; }
.inline-product > div { display: grid; gap: 4px; }
/* Inline product: SHOP under the price; author line with a keyline 20px above the text */
.inline-product { grid-template-columns: 120px 1fr; }
.inline-product > div .link-dot { justify-self: start; margin-top: 12px; }
.article-byline { padding-top: 20px; margin-top: 60px; border-top: 1px solid var(--line); }
@media (max-width: 900px) { .inline-product { grid-template-columns: 80px 1fr; } }
.article-byline { padding-top: 18px; }   /* 18 + 1px line = the text line starts 20px under the keyline */
@media (max-width: 900px) { .article-byline { margin-top: 20px; } }   /* phones: 20 + the article's 40 bottom = 60 to the keyline, same as desktop */
/* Share: Facebook + X as icons, "Copy link" = chain icon + text (all Velocity blue) */
.article-share { align-items: center; gap: 22px; }
.article-share a { display: inline-flex; align-items: center; gap: 8px; }
.article-share a svg { flex: none; }
.article-share a:hover svg { opacity: .7; }
.article-split .article-body blockquote { margin-top: 60px; margin-bottom: 60px; padding: 4px 0 4px 30px; box-shadow: inset 3px 0 0 var(--velocity); }   /* 60 of air above + below, thicker blue bar */
.article-split .article-body blockquote + * { margin-top: 0; }

/* Cards: whole card clickable through the title link (stretched), topic is its own link on top */
.post { position: relative; }
.post__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.post__tag { position: relative; z-index: 2; }
.post__meta { align-items: baseline; }
.post .post__meta { position: relative; z-index: 2; opacity: 1; }   /* meta line sits above the card's stretched link so the topic is clickable (its old .75 opacity trapped it underneath) */
/* Cards: the stretched link sits over READ MORE, so drive its hover animation from the card. Hovering the topic link plays only the topic's own hover */
.post:hover .link-dot::after { transform: translateX(4px); }
.post:has(.post__tag:hover) .link-dot::after { transform: none; }
.post:has(.post__tag:hover) h2 { color: inherit; }
.post:has(.post__tag:hover) img { transform: none; }
.posts .post .link-dot { order: 4; align-self: flex-start; margin-top: 4px; }   /* READ MORE • under the date/topic on the 3-column cards too */

/* Journal — space under the topics matches the space above the title (nav line → cap top ≈ 88px: 24 header gap + 60 + cap offset) */
@media (min-width: 901px) { .tags { padding-bottom: 88px; } }

/* ==========================================================================
   VERSION B · Journal + article (10 Nov) — more air, editorial rhythm (refs: A17.2, Creative Mag, Galerie Stimmung)
   Title + tags unchanged. No new type styles. Native blog loop + native post blocks, CSS only.
   ========================================================================== */
/* Journal B: one grid, 6 columns × 30 gap; rhythm of 10 = small + feature · three · feature + small · three; 120 between rows */
.posts--b { padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 120px 30px; align-items: start; }
.posts--b .post { grid-column: span 2; gap: 8px; }
.posts--b .post figure { margin-bottom: 12px; aspect-ratio: 4 / 5; }                     /* 12 + 8 gap = 20 photo → title; 8 title → date */
.posts--b .post:nth-child(10n+2 of .post), .posts--b .post:nth-child(10n+6 of .post) { grid-column: span 4; }
.posts--b .post:nth-child(10n+2 of .post) figure, .posts--b .post:nth-child(10n+6 of .post) figure { aspect-ratio: 3 / 2; }
.posts--b .post:nth-child(10n+3 of .post) figure, .posts--b .post:nth-child(10n+5 of .post) figure, .posts--b .post:nth-child(10n+9 of .post) figure { aspect-ratio: 1 / 1; }   /* the rows of three step 1:1 · 4:5 · 1:1, then 4:5 · 1:1 · 4:5 */
.posts--b .post__excerpt { order: 4; max-width: 520px; margin-top: 4px; }
.posts--b .load-more { grid-column: 1 / -1; padding: 0; }                               /* the 120 row gap is the space above it */
@media (max-width: 900px) {
  .posts--b { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 60px 16px; }
  .posts--b .post, .posts--b .post:nth-child(n) { grid-column: span 1; }
  .posts--b .post:nth-child(10n+2 of .post), .posts--b .post:nth-child(10n+6 of .post) { grid-column: 1 / -1; }
}
@media (max-width: 767px) { .posts--b { grid-template-columns: 1fr; } .posts--b .post:nth-child(n) { grid-column: 1 / -1; } }

/* Article B: centred title + meta, wide photo, then left third = author + share (sticky), right two-thirds = the article */
.article-b .article-head { padding: 60px var(--gutter); }
.article-b .article-hero img { aspect-ratio: 2 / 1; height: auto; max-height: 75svh; object-fit: cover; object-position: 50% 10%; }   /* 2:1, never taller than ¾ of the screen (big monitors) */
.article-b__grid { padding: 120px var(--gutter) 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 30px; align-items: start; }
.article-b__meta { position: sticky; top: calc(55px + 60px); display: grid; gap: 20px; justify-items: start; }
.article-b .article-byline { margin: 0; padding: 0; border: 0; }
.article-b .article-body { grid-column: 2 / -1; max-width: none; margin: 0; padding: 0; }
.article-b .article-body > * { max-width: 640px; }
.article-b .article-body > * + * { margin-top: 26px; }
.article-b .article-body > .lede { margin-top: -3px; }                                   /* first capitals level with the author line */
.article-b .article-body h2 { margin-top: 80px; }
.article-b .article-body h2 + * { margin-top: 20px; }
.article-b .article-body > figure { max-width: none; margin: 80px 0; }                   /* photos use the full two-thirds, like the gallery reference */
.article-b .article-body > figure + * { margin-top: 0; }
.article-b .article-body blockquote { margin-top: 80px; margin-bottom: 80px; padding: 4px 0 4px 30px; box-shadow: inset 3px 0 0 var(--velocity); }
.article-b .article-body blockquote + * { margin-top: 0; }
.article-b .article-body .inline-product { margin-top: 60px; margin-bottom: 60px; }
.article-b .article-body .inline-product + * { margin-top: 0; }
.related-b { padding: 120px var(--gutter) 0; display: grid; justify-items: center; gap: 60px; }
.related-b .posts--b.posts--three { padding: 0; width: 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.related-b .posts--three .post:nth-child(n) { grid-column: span 1; }
.related-b .posts--three .post:nth-child(n) figure { aspect-ratio: 4 / 5; }
@media (max-width: 900px) {
  .article-b .article-head { padding: 36px var(--gutter) 40px; }
  .article-b .article-hero img { aspect-ratio: 3 / 2; }
  .article-b__grid { grid-template-columns: 1fr; row-gap: 40px; padding-top: 40px; }
  .article-b__meta { position: static; }
  .article-b .article-body { grid-column: 1; }
  .article-b .article-body > figure { margin: 40px calc(-1 * var(--gutter)); }
  .article-b .article-body blockquote { margin-top: 60px; margin-bottom: 60px; }
  .related-b { padding-top: 64px; gap: 40px; }
  .related-b .posts--b.posts--three { grid-template-columns: 1fr; }
}

/* Article B, 10 Nov later: one centred 680 column (headline, meta, article, author + share); the left meta column is gone */
.article-b .article-head { max-width: calc(680px + 2 * var(--gutter)); margin-inline: auto; }
.article-b__grid { grid-template-columns: minmax(0, 680px); justify-content: center; row-gap: 0; }
.article-b .article-body { grid-column: 1; }
.article-b .article-body > * { max-width: none; }
.article-b .article-body > .lede { margin-top: 0; }
.article-b__end { margin-top: 60px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 20px; justify-items: start; }   /* 60 → keyline → 20 → Written by… → Share */
.article-b__end .article-byline { margin: 0; padding: 0; border: 0; }
@media (max-width: 900px) { .article-b__grid { grid-template-columns: minmax(0, 1fr); } }

/* Article B (10 Nov): photos inside the article start on the text edge and run out to the right gutter (more movement); quote = no bar, Velocity text */
@media (min-width: 901px) {
  .article-b__grid { container-type: inline-size; }
  .article-b .article-body > figure { width: calc(680px + (100cqw - 680px) / 2); }   /* 680 text column + everything to its right, up to the 60 gutter */
  .article-b .article-body > figure figcaption { max-width: 680px; }
}
.article-b .article-body blockquote { padding: 0; box-shadow: none; color: var(--velocity); }
/* Article B end (10 Nov): Written by… on the left, SHARE on the right, one line */
.article-b__end { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }

/* ---------- Cart clean-up (10 Nov): same Impulse structure, hierarchy through type + space instead of lines ---------- */
.cart__items { border-top: 0; }
.cart__head { border-bottom: 0; padding: 0 0 10px; }
.cart__head span { opacity: .65; }                                           /* column labels recede (grey, like the topic tags) */
.cart-row { border-bottom: 0; padding: 20px 0; }                             /* 40 between items, no keylines */
.cart-row__prod > div { display: grid; gap: 4px; justify-items: start; }
.cart-row .stock { margin-top: 6px; }
.cart-row__title a:hover { color: var(--velocity); }
.cart-extras { margin-top: 60px; gap: 60px; }
/* Summary: no heading, no white boxes; the chosen option reads strong, the other recedes; one keyline, above Total */
.summary { gap: 30px; }
.delivery { gap: 20px; }
.delivery label { padding: 0; background: none; box-shadow: none; opacity: .65; transition: opacity .2s; }
.delivery label:hover, .delivery label:has(input:checked) { opacity: 1; box-shadow: none; }
.summary .total { padding-top: 20px; margin-top: 10px; }
.summary dd { text-align: right; }   /* all amounts share the right edge with TOTAL */

/* ---------- About + Contact clean-up (10 Nov): same native sections, hierarchy through type + space ---------- */
/* About */
.richtext { padding: var(--section-y) var(--gutter); gap: 30px; }
.richtext .richtext__statement { max-width: 680px; }                       /* statement on the 680 reading column (as the article) */
.cols { padding: 0 var(--gutter) var(--section-y); gap: 30px; }
.cols[style] { padding-top: 0; }
.col { gap: 0; }
.col figure { margin-bottom: 20px; }
.col h2 { margin-bottom: 12px; }
.col .link-dot { margin-top: 20px; justify-self: start; }
.iwt { padding-bottom: var(--section-y); }
.iwt__text { gap: 20px; }
.iwt__text .link-dot, .iwt__text > img { justify-self: start; }
.timeline { border-top: 0; gap: 12px; margin-top: 10px; }                  /* no keylines: years + lines read as a quiet list */
.timeline div { border-bottom: 0; padding: 0; grid-template-columns: 60px 1fr; gap: 20px; }
/* Contact */
.contact { padding: 60px var(--gutter) var(--section-y); column-gap: 60px; }
.contact__intro { gap: 30px; }
.contact__quick { border-top: 0; gap: 24px; margin-top: 30px; }
.contact__quick a { border-bottom: 0; padding: 0; align-items: center; }
.contact__quick a:hover .link-dot::after { transform: translateX(4px); }
@media (min-width: 901px) { .contact .form { padding-top: 10px; } }

/* ---------- Cart, 10 Nov later ---------- */
.cart__head { padding-bottom: 20px; border-bottom: 1px solid var(--line); }     /* keyline 20 under the column labels */
.cart-row:first-of-type, .cart__head + .cart-row { padding-top: 20px; }
/* Order note + shipping estimate on one grid: labels on one row, the textarea and the postcode underline end on the same line, Calculate under it */
.cart-extras.field { display: grid; grid-template-columns: 1fr 1fr; column-gap: 60px; row-gap: 8px; align-items: end; }
.cart-extras.field > label { align-self: start; }
.cart-extras.field textarea { grid-column: 1; grid-row: 2; resize: none; height: 120px; min-height: 0; }
.cart-extras.field input { grid-column: 2; grid-row: 2; }
.cart-extras.field .link-dot { grid-column: 2; grid-row: 3; justify-self: start; margin-top: 12px; }
@media (max-width: 900px) {
  .cart-extras.field { grid-template-columns: 1fr; }
  .cart-extras.field > *, .cart-extras.field textarea, .cart-extras.field input, .cart-extras.field .link-dot { grid-column: 1; grid-row: auto; }
  .cart-extras.field label[for="pc"] { margin-top: 32px; }
}
/* Quantity → Remove: 13 (was 8) */
.cart-row__qty .cart-line__remove { margin-top: 13px; }
/* Cart extras (10 Nov, later): shipping estimate LEFT, order note RIGHT; postcode text sits at the top like the note, both underlines on one line */
@media (min-width: 901px) {
  .cart-extras.field input { grid-column: 1; height: 120px; box-sizing: border-box; padding: 10px 0 88px; }
  .cart-extras.field textarea { grid-column: 2; }
  .cart-extras.field .link-dot { grid-column: 1; }
}
@media (max-width: 900px) { .cart-extras.field label[for="pc"] { margin-top: 0; } .cart-extras.field label[for="note"] { margin-top: 32px; } .cart-extras.field textarea { order: 1; } .cart-extras.field label[for="note"] { order: 1; } }
/* Cart extras (10 Nov, later): text → underline 30 (was ~88); both fields 62 tall, the note scrolls/grows if a long message is typed */
@media (min-width: 901px) {
  .cart-extras.field input { height: 62px; padding: 10px 0 30px; }
  .cart-extras.field textarea { height: 62px; padding: 10px 0 30px; box-sizing: border-box; field-sizing: content; min-height: 62px; }
}
.cart__head { padding-bottom: 15px; }   /* optical: bottom of the PRODUCT letters → keyline = 20, keyline → product photo = 20 (the label box had 5px of empty descender space) */
/* Cart page rows (10 Nov): everything hangs from the top of the photo — info, quantity and total */
@media (min-width: 768px) {
  .cart-row { align-items: start; }
  .cart-row__prod { align-items: start; }
  .cart-row__prod > div { margin-top: -4px; }                     /* optical: capitals of the name level with the top of the photo */
  .cart-row__total { margin-top: 5px; }                            /* price sits on the quantity line */
}
@media (min-width: 768px) { .cart-row__qty { display: grid; justify-items: end; } .cart-row__qty .cart-line__remove { justify-self: end; } }   /* quantity box starts on the photo's top line (the inline <br> was adding 12px) */
@media (min-width: 768px) { .cart-row__qty .qty { margin-top: 0; } .cart-row__qty br { display: none; } }
/* Cart row top line, take 2 (10 Nov): no font-metric guess. The name's line box is trimmed to its capitals (text-box), so the cap line IS the top of the box = the photo's top, in every browser that supports it; others fall back to box top = photo top. */
@media (min-width: 768px) {
  .cart-row__prod > div { margin-top: 0; }
  .cart-row__title { text-box: trim-start cap alphabetic; }
}
@media (min-width: 768px) { body[data-page="cart"] .recs { padding-bottom: 0; margin-bottom: -16px; } }   /* 10 Nov: VIEW BIKE → footer text = 120 (was 240): the footer's own 120 does the job; -16 cancels the card's trailing space */
/* Cart row top line, take 3 (10 Nov): ONE top line for the whole row = top of the photo. Name capitals, quantity box and price capitals all start on it (price no longer centred on the quantity box). */
@media (min-width: 768px) {
  .cart-row__total { margin-top: 0; text-box: trim-start cap alphabetic; }
  .cart-row__img { align-self: start; }
}
/* Cart summary (10 Nov): radio sits on the option name's line (was centred on the whole option); TOTAL label full colour like the amount */
.delivery input { align-self: start; width: 16px; height: 16px; margin: 2.8px 0 0; }   /* (21.6 line − 16) / 2 = centred on "Click & collect" / "Delivery" */
.summary dt.total { opacity: 1; }
/* Cart rows, 10 Nov (final for now): back to CENTRED — info block, quantity + Remove and price all centred on the photo (supersedes the top-line takes above) */
@media (min-width: 768px) {
  .cart-row, .cart-row__prod { align-items: center; }
  .cart-row__img { align-self: center; }
  .cart-row__title, .cart-row__total { text-box: normal; }
  .cart-row__total { margin-top: 0; }
}
/* Delivery radio, take 2 (10 Nov): drawn by CSS (same 16px circle in every browser) and centred on the middle of the capitals, not the line box — cap top 3.25 / baseline 14.8 → optical middle 9.0 → circle top 1px */
.delivery input { appearance: none; -webkit-appearance: none; width: 16px; height: 16px; margin: 1px 0 0; border-radius: 50%; border: 1.5px solid currentColor; background: none; display: grid; place-items: center; cursor: pointer; }
.delivery input::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; transform: scale(0); transition: transform .15s; }
.delivery input:checked::before { transform: scale(1); }
.delivery input:focus-visible { outline: 2px solid var(--velocity); outline-offset: 2px; }
.summary dl { column-gap: 0; } .summary dd { padding-left: 20px; }   /* the keyline above TOTAL runs unbroken (the 10px column gap was splitting it) */
/* Cart extras (10 Nov, later): underlines lower — text → line 60 (was 30); both fields 92 tall, lines still on one level */
@media (min-width: 901px) {
  .cart-extras.field input { height: 92px; padding: 10px 0 60px; }
  .cart-extras.field textarea { height: 92px; min-height: 92px; padding: 10px 0 60px; }
}
/* Contact quick links in a box (10 Nov): same grey + keylines as the homepage "Real riders" list (bg #F2F2F2, lines #E6E6E6, 30 apart), 30 inside */
.contact__quick { background: var(--bg-soft); padding: 30px; gap: 0; }
.contact__quick a + a { border-top: 1px solid #E6E6E6; margin-top: 30px; padding-top: 30px; }
.form__foot { align-items: flex-start; } .form__foot .link-dot { flex: none; }   /* SEND ENQUIRY • = the homepage link-dot button; top-aligned with the hCaptcha note */
/* Contact (10 Nov): shop hours + address under the intro, short (label → 10 → text, 30 between); the band below is just the store photo */
.store-info { display: grid; gap: 30px; }
.store-info > div { display: grid; gap: 10px; justify-items: start; }
.store-info .link-dot { margin-top: 10px; }
.map--photo { padding: 0; height: min(640px, 70vh); }
.map--photo > img { object-position: 50% 60%; }
@media (max-width: 767px) { .map--photo { height: auto; padding-top: 75%; } }

/* ---------- Contact, 10 Nov layout (Bruno's sketch): 2 × 2 halves, photos full bleed ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; min-height: min(760px, calc(100svh - 55px)); }
.contact-grid--top { margin-top: calc(55px - var(--header-h)); }                  /* photo tucked under the nav, no white gap */
.contact-grid__img { position: relative; overflow: hidden; margin: 0; }
.contact-grid__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contact-grid__text { padding: 60px; display: flex; flex-direction: column; gap: 60px; }
.contact-grid--top .contact-grid__text { padding-top: 84px; }                     /* nav line → title capitals ≈ 88, same as the Journal */
.contact-grid__text--form { justify-content: space-between; }                     /* heading at the top, form sits on the bottom line (as the sketch) */
/* One list style for every contact detail: value (Body) + label (Small grey), action on the right, keylines between, no background */
.contact-list { list-style: none; margin: 0; padding: 0; max-width: 560px; }
.contact-list li + li { border-top: 1px solid #E6E6E6; margin-top: 24px; padding-top: 24px; }
.contact-list li > a, .contact-list li > div { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px; }
.contact-list small { display: block; margin-top: 4px; opacity: .65; }
.contact-list a:hover p { color: var(--velocity); }
.contact-list a:hover .link-dot::after { transform: translateX(4px); }
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; min-height: 0; }
  .contact-grid__img { aspect-ratio: 4 / 3; }
  .contact-grid--bottom .contact-grid__img { order: 2; }                           /* phones: text first in both rows */
  .contact-grid__text, .contact-grid--top .contact-grid__text { padding: 40px var(--gutter) 60px; gap: 40px; }
}
.contact-list li > div { display: block; }   /* hours row has no action: label sits under the value like the others */
@media (min-width: 901px) { .contact-grid { min-height: calc(100svh - 55px); } }   /* 10 Nov: each row = the full screen under the nav (grows if its content is taller) */
@media (min-width: 901px) { .contact-grid--top .contact-grid__text { justify-content: space-between; } }   /* CONTACT at the top, the contact list on the bottom line (mirrors the form row) */
.contact-grid__text--form { background: var(--bg-soft); }   /* 11 Nov: lighter grey #F7F7F7 (was #F2F2F2), same as the homepage Real riders panel */
.contact-list { max-width: none; }   /* 10 Nov: keylines + actions run to the right edge of the text half (60 from the photo) */
.contact-list .sep { opacity: .4; }   /* hours on one line: Mon – Fri 10am – 6pm · Sat 10am – 4pm · Sun closed */
.contact-list .sep { display: inline-block; margin: 0 6px; }   /* more air around each dot (both sides, so the dot stays centred) */
/* Empty cart (10 Nov): headline centred over the centred message + SHOP BIKES button; the prototype Filled/Empty toggle floats right */
.page-head--cart { position: relative; }
.page-head--cart.is-empty { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.page-head--cart.is-empty .page-head__intro { position: absolute; right: var(--gutter); top: 60px; }
@media (max-width: 900px) { .page-head--cart.is-empty .page-head__intro { position: static; justify-self: center !important; } }   /* phones: demo toggle under the headline, not over it */
.contact-grid--top .contact-grid__img img { object-position: 50% 40%; }   /* keeps the GIANT wall sign + bikes in frame on wide and short screens */
.contact-grid--top .contact-grid__img img { object-position: 50% 80%; }   /* 10 Nov: photo moved up in its frame (less ceiling, more floor + bikes) */
.contact-grid--top .contact-grid__img img { object-position: 50% 55%; }      /* 11 Nov: shopfront + rider (DSC01866-3): GIANT sign, window and the rider stay in frame */
.contact-grid--bottom .contact-grid__img img { object-position: 50% 35%; }   /* 11 Nov: counter photo (DSC02908): head + screen in frame */

/* ---------- About, 10 Nov layout (Bruno's sketch) ---------- */
.about-head { padding: 60px var(--gutter); align-items: end; }
.about-head .t-display { max-width: 820px; }
.about-head__text { display: grid; gap: 20px; justify-items: start; }
.about-photo { margin: 0; padding: 0 var(--gutter); margin-bottom: var(--section-y); }
.about-photo img { width: 100%; height: auto; aspect-ratio: 21 / 9; object-fit: cover; object-position: 50% 45%; display: block; }
.about-ride { padding: 0 var(--gutter); display: grid; gap: 30px; }
.about-ride figure { margin: 0; overflow: hidden; }
.about-ride figure img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; display: block; }
.about-ride .iwt__text { justify-self: start; max-width: 520px; }
@media (max-width: 900px) { .about-head { grid-template-columns: 1fr; } .about-photo img, .about-ride figure img { aspect-ratio: 3 / 2; } }
.about-photo { padding: 0; margin: 0 var(--gutter) var(--section-y); overflow: hidden; }   /* margin, not padding: the reveal zoom can't spill into the gutter */
.about-ride figure img { object-position: 50% 25%; }                                       /* riders' heads in frame */
/* About, later 10 Nov: 120 from the intro to the photo; photo edge to edge (its own 21:9 crop, so nothing is cut); Strava button on the right */
.about-head { padding-bottom: var(--section-y); }
.about-photo { margin: 0 0 var(--section-y); }
.about-photo img { aspect-ratio: 2400 / 1028; object-position: 50% 50%; }
@media (min-width: 901px) {
  .about-ride .iwt__text { max-width: none; justify-self: stretch; grid-template-columns: minmax(0, 520px) 1fr; column-gap: 30px; }
  .about-ride .iwt__text > :not(.link-dot) { grid-column: 1; }
  .about-ride .iwt__text > .link-dot { grid-column: 2; grid-row: 1 / span 3; justify-self: end; align-self: end; }
}
/* About services crops (10 Nov): Repair shows the mechanic, Bike fitting nudged right */
.cols img[src*="service-repair"] { object-position: 88% 35%; }
.cols img[src*="service-fitting"] { object-position: 40% 50%; }
/* About services cards (10 Nov): same hover as the Journal cards: whole card clicks (stretched FIND OUT MORE link), photo zooms 4%, title turns Velocity, the dot slides */
.cols .col { position: relative; }
.cols .col .link-dot::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.cols .col img { transition: transform .8s var(--ease); }
.cols .col:hover img { transform: scale(1.04); }
.cols .col h2 { transition: color .2s; }
.cols .col:hover h2 { color: var(--velocity); }
.cols .col:hover .link-dot::after { transform: translateX(4px); }
/* About intro, later 10 Nov: headline centred, text + VISIT THE STORE centred underneath */
.about-head { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 30px; }
.about-head .t-display { max-width: none; }
.about-head__text { justify-items: center; max-width: 520px; }
.about-head .t-display { text-wrap: balance; }   /* when it wraps (1280, phones) the lines stay even */
.about-head__text { gap: 30px; }   /* text → VISIT THE STORE = 30, same as headline → text */
@media (min-width: 901px) { .about-head { padding-bottom: 88px; } }   /* same start as the Journal: title → 30 → secondary line(s) → 88 → first image row (Journal: tags → 88 → first stories) */

/* ---------- About · story (type only) + community — 11 Nov ---------- */
/* Heading left, text right (text starts on the page middle); years = rows with Display-size numbers, thin keylines between. */
.about-story, .about-community { padding: 0 var(--gutter) var(--section-y); }
.about-split { display: grid; grid-template-columns: 1fr 1fr; column-gap: 30px; align-items: start; }
.about-split > :last-child { max-width: 520px; }
.about-split__text { display: grid; gap: 21.6px; }                       /* one Body line between paragraphs */
.years { list-style: none; margin: 88px 0 0; padding: 0; }
/* 11 Nov v2: horizontal rows (ref: "Experience" timeline). Year left (Display), title + text right from the page middle. */
.years li { display: grid; grid-template-columns: 1fr 1fr; column-gap: 30px; align-items: start; padding: 40px 0; border-top: 1px solid #E6E6E6; }
.years li:first-child { border-top: 0; padding-top: 0; }   /* no keyline above the first year (11 Nov): intro → 88 → 1994 */
.years li:last-child { padding-bottom: 0; }   /* no keyline under the last year (11 Nov): last text → 120 → next section */
.years b { display: block; }
.years li > div { display: grid; gap: 16px; max-width: 520px; padding-top: 6px; }   /* 6 = title cap line level with the top of the year's figures */
@media (max-width: 900px) {
  .about-split { grid-template-columns: 1fr; row-gap: 30px; }
  .about-split > :last-child { max-width: none; }
  .years { margin-top: 48px; }
  .years li { grid-template-columns: 1fr; row-gap: 20px; padding: 30px 0; }
  .years li:first-child { padding-top: 0; }
  .years li > div { max-width: none; padding-top: 0; }
}

/* ---------- About · row of 2 square store photos, between the years and the community text — 11 Nov ---------- */
.about-row { padding: 0 var(--gutter) var(--section-y); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }   /* 2 photos since 11 Nov (was 4) */
.about-row figure { margin: 0; overflow: hidden; aspect-ratio: 1; }   /* 1:1 since 11 Nov (was 9:16) */
.about-row img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 900px) { .about-row { gap: 16px; } }

/* ---------- About · two editorial spreads — 11 Nov, v3 (refs: Arc, Brand Direction, catalogue spread) ---------- */
/* 6 columns × 30 gap (Journal grid). Small text pinned to a corner, photos of different sizes, generous air. */
.about-spread { padding: 0 var(--gutter) var(--section-y); display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: 30px; }
.about-spread figure { margin: 0; overflow: hidden; position: relative; }
.about-spread figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-spread__text { display: grid; gap: 21.6px; align-content: start; max-width: 520px; }
.about-spread__text h2 { margin-bottom: 8.4px; }                        /* title → text = 30 */
/* A: text top-left (cols 1–2) · column 3 = air around the text · 4:3 photo (cols 4–6), tops aligned (11 Nov) */
.about-spread--a { align-items: start; }
.about-spread--a .about-spread__text { grid-column: 1 / span 2; grid-row: 1; }
.about-spread--a figure { grid-column: 4 / span 3; grid-row: 1; aspect-ratio: 4 / 3; }
/* B: tall photo left (cols 1–3) · air (col 4) · small square photo top + text bottom (cols 5–6) */
.about-spread__main { grid-column: 1 / span 3; grid-row: 1; align-self: stretch; }
.about-spread__main::before { content: ""; display: block; padding-top: 125%; }   /* at least 4:5; grows if the right side is taller */
.about-spread__main img { position: absolute; inset: 0; }
.about-spread__side { grid-column: 5 / span 2; grid-row: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 60px; }
.about-spread__small { aspect-ratio: 4 / 5; width: 80%; align-self: flex-end; }   /* 4:5 so the mural's eyes and the bike both fit; 80% wide keeps it about as tall as a full-width square */
@media (min-width: 901px) and (max-width: 1199px) {                    /* small laptops: wider text */
  .about-spread--a .about-spread__text { grid-column: 1 / span 3; }
  .about-spread--a figure { grid-column: 4 / span 3; aspect-ratio: 4 / 5; }
  .about-spread__side { grid-column: 4 / span 3; }
  .about-spread__small { width: 66%; align-self: flex-end; }
}
@media (max-width: 900px) {
  .about-spread { grid-template-columns: 1fr; row-gap: 40px; }
  .about-spread--a .about-spread__text, .about-spread--a figure, .about-spread__main, .about-spread__side { grid-column: 1; grid-row: auto; margin-top: 0; }
  .about-spread--a figure { order: -1; }
  .about-spread__side { gap: 40px; }
  .about-spread__small { width: 50%; align-self: flex-end; }
}

/* ---------- Bikes: 3-level collections (11 Nov) — trail over the banner + Category tree in the filter drawer ---------- */
.coll-banner__trail { color: var(--white); margin-top: 16px; }
.coll-banner__trail a { color: inherit; opacity: .8; text-decoration: none; }
.coll-banner__trail a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.coll-banner__trail [aria-hidden] { opacity: .5; margin: 0 4px; }
.cat-tree, .cat-tree ul { list-style: none; margin: 0; padding: 0; }
.cat-tree { display: grid; gap: 12px; }
.cat-tree a { color: var(--asphalt); text-decoration: none; }
.cat-tree a:hover, .cat-tree a[aria-current] { color: var(--velocity); }
.cat-tree a[aria-current] { font-weight: 700; }
.cat-tree details summary { display: flex; justify-content: space-between; align-items: center; cursor: pointer; list-style: none; }
.cat-tree details summary::-webkit-details-marker { display: none; }
.cat-tree details summary::after { content: "+"; font-weight: 400; opacity: .65; }
.cat-tree details[open] summary::after { content: "–"; }
.cat-tree details ul { display: grid; gap: 10px; padding: 12px 0 4px 16px; }

/* ---------- Enquire now / Pre-order demo (product-enquire.html, 11 Nov) ---------- */
.preorder { display: grid; gap: 20px; padding: 30px; background: var(--bg-soft); }
.preorder[hidden] { display: none; }
.preorder__title { font: var(--t-h3); }
.preorder__intro, .preorder__item { font: var(--t-small); }
.preorder__intro { color: var(--text-muted); margin-top: -12px; }
.preorder__item { font-weight: 700; }
.preorder .link-dot { justify-self: start; }
.preorder__thanks { display: none; font: var(--t-small); }
.preorder.is-sent > :not(.preorder__thanks):not(.preorder__title) { display: none; }
.preorder.is-sent .preorder__thanks { display: block; }
/* 12 Nov · phones: section rhythm 50 (was 64 where hard-coded) */
@media (max-width: 767px) { .related-b { padding-top: 50px; } .posts-lead { padding-bottom: 50px; } }
/* 12 Nov · MOBILE SECTION RHYTHM = 50 on every inner page (Bruno). Was 60 (collection, product, cart, about heads), 24–40 (Journal / article / contact tops). Inner gaps (title → photo, banner text) unchanged. */
@media (max-width: 767px) {
  .coll { padding-top: 50px; padding-bottom: 50px; }
  .pdp { padding-bottom: 50px; }
  .pdp-details, .story-panel, .recs { padding-top: 50px; padding-bottom: 50px; }
  .page-head, .page-head--cart, .page-head--journal, .about-head { padding-top: 50px; padding-bottom: 50px; }
  .tags { padding-bottom: 50px; }
  .article-b .article-head { padding-top: 50px; }
  .contact-grid__text, .contact-grid--top .contact-grid__text { padding-top: 50px; padding-bottom: 50px; }
}
@media (max-width: 767px) {
  body[data-page="product"] main > section { padding-top: 50px; padding-bottom: 50px; }   /* product sections 50 / 50 on phones (were 60 / 60) */
  body[data-page="product"] main > section:first-of-type { padding-top: 0; }
  body[data-page="product"] main > section.gear-ride { padding: 0; }
}
/* 12 Nov · Similar bikes: VIEW ALL • under the heading, as in homepage Top picks (heading → 30 → VIEW ALL), desktop + phones */
.row-head--all { flex-direction: column; align-items: center; gap: 30px; }
.row-head--all { padding-bottom: 60px; }                                   /* VIEW ALL → first bike name = 100 on desktop, same as Top picks */
@media (max-width: 767px) { .row-head--all { padding-bottom: 32px; } }     /* = 52 on phones, same as Top picks */
/* 12 Nov · Similar bikes / Popular right now: 4 bikes on phones (2 full rows of 2, like Top picks); desktop + tablet keep 3 */
@media (min-width: 901px) { .recs .grid .pcard:nth-child(n+4 of .pcard) { display: none; } }   /* tablet is 2 columns too, so it shows 4 */
/* 12 Nov · product page on phones = the homepage 50 system: colour panels run full width with 50 inside (16 sides), and every white gap between blocks is 50 (two white paddings no longer stack to 100) */
@media (max-width: 767px) {
  body[data-page="product"] main > section.pdp-details { padding-top: 0; }                              /* Afterpay line → ice panel = the product section's 50 */
  .pdp-details__usps { margin-inline: calc(-1 * var(--gutter)); padding: 50px var(--gutter); margin-bottom: 26px; }   /* ice panel full width, 50 inside; + 24 gap = 50 to DETAILS */
  body[data-page="product"] main > section.story-panel { margin: 0; padding: 50px var(--gutter); }      /* sage panel full width, 50 inside */
}
/* 12 Nov, later · phones: sales-points panel keeps its original left/right spacing (inset 16 from the screen, 30 inside), only top/bottom stay at the 50 system */
@media (max-width: 767px) { .pdp-details__usps { margin-inline: 0; padding: 50px 30px; } }
/* 12 Nov · product Details tables (desktop + phones): one table style for Sizing guide, Geometry and Technical specifications — rows with keylines, 8 / 6 cell padding, labels in full Asphalt (specs were a loose grey list) */
.spec { grid-template-columns: minmax(110px, 38%) 1fr; gap: 0; border-top: 1px solid var(--line); }
.spec dt, .spec dd { margin: 0; padding: 8px 6px; border-bottom: 1px solid var(--line); }
.spec dt { opacity: 1; }
/* Note under a table (Between sizes? / Values in mm): same distance from the table as the table has from its heading (18 = the summary's space under SIZING GUIDE) */
.table-note { margin-top: 18px; }
/* 12 Nov, later · Details tables: no keyline under the last row (all three tables) and no top line on Technical specifications */
.geo tbody tr:last-child td { border-bottom: 0; }
.spec { border-top: 0; }
.spec dt:nth-last-of-type(1), .spec dd:nth-last-of-type(1) { border-bottom: 0; }
.acc__body > .link-dot.table-note { display: inline-flex; }   /* SHIPPING POLICY • on its own line, 18 under the text (same as the notes under the tables) */
/* 12 Nov · phone product gallery dots (Impulse mobile slider dots): short bars like the colour swatches, centred 16 under the photo; current = Asphalt, others grey. Hidden where the gallery is a grid (tablet / desktop). Impulse: Match (native mobile slider dots, styled). */
.gallery__dots { display: none; }
@media (max-width: 767px) {
  .gallery__dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
  .gallery__dots button { width: 20px; height: 3px; padding: 0; background: var(--gray); border: 0; transition: background .2s; position: relative; }
  .gallery__dots button::before { content: ""; position: absolute; inset: -10px -2px; }     /* bigger tap area */
  .gallery__dots button[aria-selected="true"] { background: var(--asphalt); }
}
/* 12 Nov, later · phone gallery: arrows instead of dots (same ‹ › as the Giant/Liv carousel: Velocity, grey when there's no more photos that way), centred 16 under the photo */
.gallery__arrows { display: none; }
@media (max-width: 767px) { .gallery__arrows { display: flex; justify-content: center; margin-top: 16px; } .gallery__arrows button { width: 32px; height: 32px; } }
@media (max-width: 767px) { .about-spread__small { display: none; } }   /* 12 Nov · phones: mural photo removed from the store spread (Bruno); desktop keeps it */
/* 12 Nov · Journal topic tags on phones: 3 + 3 (All · Guides · Product launches / Events · Community · Workshop), was 5 + 1. A zero-height line break sits between the 3rd and 4th tag. */
@media (max-width: 767px) {
  .tags a:nth-of-type(-n+3) { order: 1; }
  .tags::after { content: ""; order: 2; flex-basis: 100%; height: 0; }
  .tags a:nth-of-type(n+4) { order: 3; }
}
/* 12 Nov · phones: every Journal tile = the feature tile (full width, 3:2 photo), on the Journal and in the article's Keep reading (were a mix of 4:5 / 1:1 / 3:2) */
@media (max-width: 767px) {
  .posts--b .post figure, .posts--b .post:nth-child(n of .post) figure,
  .related-b .posts--three .post:nth-child(n) figure { aspect-ratio: 3 / 2; }
}
@media (max-width: 900px) { .article-b .article-body > figure { margin-left: 0; margin-right: 0; } }   /* 12 Nov · phones + tablet: photos inside the article sit in the 16 page margins (were edge to edge); caption lines up with the text */
@media (max-width: 900px) { .inline-product > div { grid-template-columns: minmax(0, 1fr); } .inline-product > div .link-dot { grid-column: 1; } }   /* 12 Nov · phones + tablet: name → price → SHOP • stacked, like desktop (an old rule put SHOP in a 2nd column and pushed the price right) */
/* 12 Nov · article on phones: every gap BETWEEN blocks = 50 (date → photo, photo → text, text → sub-head, list → photo, photo → quote, quote → sub-head, text ↔ product card, text → sign-off line). Inside a block unchanged (title → date 22, paragraph → paragraph 26, sub-head → text 20). */
@media (max-width: 767px) {
  .article-b .article-head { padding-bottom: 50px; }
  .article-b__grid { padding-top: 50px; }
  .article-b .article-body h2 { margin-top: 50px; }
  .article-b .article-body > figure { margin-top: 50px; margin-bottom: 50px; }
  .article-b .article-body blockquote { margin-top: 50px; margin-bottom: 50px; }
  .article-b .article-body .inline-product { margin-top: 50px; margin-bottom: 50px; }
  .article-b__end { margin-top: 50px; }
}
/* 12 Nov · Keep reading (article): ALL STORIES • moved up under the heading, as Top picks / Similar bikes (heading → 30 → button → section gap to the stories) */
@media (max-width: 900px) { .coll, .coll.coll--c { padding-bottom: 0; } .coll .load-more { padding-bottom: 0; } }   /* 12 Nov · Bikes on phones / tablet: LOAD MORE → footer text = the footer's 100 only (was 160 / 170) */
html body[data-page="cart"] .recs { padding-bottom: 0; margin-bottom: 0; }   /* 12 Nov · cart: last VIEW BIKE → footer text = the footer's 100 on every layout (was 150 phones / 84 desktop) */
html body[data-page="cart"] .recs { margin-bottom: -16px; }                                   /* cancels the card's 16 under VIEW BIKE → exactly 100 */
@media (max-width: 767px) { html body[data-page="cart"] .recs { margin-bottom: 4px; } }      /* phones: card ends 4 short of the link line → +4 = 100 */
/* 12 Nov · sold-out sizes (product page XL, Enquire demo S / M): still clickable (→ ENQUIRE NOW), letter + cm in muted grey */
.opt__sizes button.is-soldout { color: var(--text-muted); }
/* 16 Nov · FILTER uses a sliders icon instead of the dot (Bruno's reference): two lines with a ring each, Velocity, 1.5px stroke = same line weight as the FEATURED chevron; 8px from the text like the chevron, centred on the middle of the capitals */
.coll-c__tools .js-filter-open { gap: 8px; }
.coll-c__tools .js-filter-open::after {
  width: 14px; height: 12px; border-radius: 0; margin-top: .6px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='12' viewBox='0 0 14 12' fill='none' stroke='%230050FC' stroke-width='1.5'%3E%3Cpath d='M0 3h2.75M7.25 3H14M0 9h6.75M11.25 9H14'/%3E%3Ccircle cx='5' cy='3' r='2.25'/%3E%3Ccircle cx='9' cy='9' r='2.25'/%3E%3C/svg%3E") center / 14px 12px no-repeat;
}
/* 16 Nov, later · FILTER icon = funnel (Bruno's second reference) instead of the sliders; same 1.5px Velocity line, 12 × 12, centred on the capitals */
.coll-c__tools .js-filter-open::after {
  width: 12px; height: 12px; margin-top: .6px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none' stroke='%230050FC' stroke-width='1.5' stroke-linejoin='round'%3E%3Cpath d='M.9 1h10.2L7.2 6.4v3.8L4.8 11.2V6.4z'/%3E%3C/svg%3E") center / 12px 12px no-repeat;
}
/* 17 Nov · FILTER icon = just two lines (Bruno) instead of the funnel: two 14px horizontal lines, 6px apart, same 1.5px Velocity line as the FEATURED chevron, centred on the capitals */
.coll-c__tools .js-filter-open::after {
  width: 14px; height: 12px; margin-top: .6px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='12' viewBox='0 0 14 12' fill='none' stroke='%230050FC' stroke-width='1.5'%3E%3Cpath d='M0 3h14M0 9h14'/%3E%3C/svg%3E") center / 14px 12px no-repeat;
}

/* 16 Nov · Product buy box aligned from the TOP instead of centred (Bruno): picking XL (sold out) hides the Afterpay/Zip line,
   and with centring the whole block jumped 16px. Now the title block starts level with the top of the first photo and stays put
   whatever the size; while it sticks it sits 24px under the header. */
@media (min-width: 901px) {
  .pdp .buy { align-content: start; min-height: 0; padding-top: 0; top: calc(var(--hdr-live, 55px) + 24px); }
}
/* 16 Nov, later · buy box: 60px between the header and the top of the text (Bruno). Section starts 24px under the header, so 36px padding; same 60px while sticky. */
@media (min-width: 901px) {
  .pdp .buy { padding-top: 36px; }
}
