/* SELVO round 20 (2026-11-30): Delivery and ownership on the home page. Built by tools/bikebrand/r20.mjs. */
.dl18 { background: var(--paper); }
.dl18 .dl-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(28px, 4.4vw, 72px); align-items: center; margin-top: clamp(36px, 4.4vw, 60px); }
.dl18 .dl-row + .dl-row { margin-top: clamp(56px, 7vw, 110px); }
.dl18 .dl-flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
.dl18 .dl-flip .dl-ph { order: 2; }
.dl18 .dl-ph { margin: 0; }
.dl18 .dl-ph img { width: 100%; height: auto; border-radius: 20px; background: #e6e4df; }
.dl18 .dl-ph figcaption { margin-top: 12px; font-size: 15px; line-height: 1.45; color: var(--mute); }
.dl18 .dl-copy h3 { font-size: clamp(24px, 2.1vw, 30px); }
.dl18 .dl-copy > p { margin-top: 12px; color: var(--mute); font-size: 16px; line-height: 1.55; max-width: 460px; }
.dl18 .dl-list { margin: 22px 0 0; display: grid; gap: 18px; }
.dl18 .dl-list dt { font-weight: 700; font-size: 17px; line-height: 1.35; }
.dl18 .dl-list dd { margin: 4px 0 0; color: var(--mute); font-size: 15.5px; line-height: 1.5; max-width: 440px; }
.dl18 .dl-steps { list-style: none; counter-reset: dl; margin: 22px 0 0; padding: 0; display: grid; gap: 14px; }
.dl18 .dl-steps li { counter-increment: dl; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; align-items: start; font-size: 15.5px; line-height: 1.5; color: var(--mute); }
.dl18 .dl-steps li::before { content: counter(dl); width: 28px; height: 28px; border-radius: 8px; background: var(--ink); color: var(--paper); font: 600 14px/28px 'Satoshi', sans-serif; text-align: center; font-variant-numeric: tabular-nums; }
.dl18 .dl-steps b { color: var(--ink); font-weight: 700; }
.dl18 .dl-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 18px); margin-top: clamp(56px, 7vw, 110px); }
.dl18 .dl-own { margin-top: clamp(28px, 3vw, 40px); }
.dl18 .dl-own li { background: var(--grey); }
.dl18 .dl-more { display: flex; flex-wrap: wrap; gap: 8px 28px; }
@media (max-width: 900px) {
  .dl18 .dl-row, .dl18 .dl-flip { grid-template-columns: minmax(0, 1fr); }
  .dl18 .dl-flip .dl-ph { order: 0; }
}
@media (max-width: 640px) {
  .dl18 .dl-two { grid-template-columns: minmax(0, 1fr); }
  .dl18 .dl-ph img { border-radius: 14px; }
}

/* ---------- every page: cross-page view transitions (same origin, both pages opt in) ---------- */
@view-transition { navigation: auto; }
.n16 { view-transition-name: selvo-nav; }
::view-transition-old(root) { animation: 220ms cubic-bezier(.4, 0, 1, 1) both vt20-out; }
::view-transition-new(root) { animation: 360ms cubic-bezier(.22, 1, .36, 1) 60ms both vt20-in; }
@keyframes vt20-out { to { opacity: 0; } }
@keyframes vt20-in { from { opacity: 0; transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

/* ---------- rolling numbers ---------- */
.od-d { display: inline-block; height: 1.12em; line-height: 1.12; overflow: hidden; vertical-align: top; font-variant-numeric: tabular-nums; }
.od-s { display: block; transition: transform .62s cubic-bezier(.22, 1, .36, 1); will-change: transform; }
.od-c { display: inline-block; line-height: 1.12; vertical-align: top; }

/* ---------- bike page: hotspots ---------- */
.hs20 { position: absolute; z-index: 4; pointer-events: none; transition: opacity .25s linear; }
.hs20.off { opacity: 0; }
.hs20.off .hs-p { pointer-events: none; }
.hs-p { position: absolute; width: 30px; height: 30px; margin: -15px 0 0 -15px; padding: 0; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, .22), 0 0 0 5px rgba(255, 255, 255, .35); cursor: pointer; pointer-events: auto; display: grid; place-items: center; transition: transform .3s cubic-bezier(.22, 1, .36, 1), background-color .2s linear; }
.hs-p span { width: 12px; height: 12px; position: relative; transition: transform .3s cubic-bezier(.22, 1, .36, 1); }
.hs-p span::before, .hs-p span::after { content: ""; position: absolute; left: 0; top: 5px; width: 12px; height: 2px; border-radius: 2px; background: var(--ink); transition: background-color .2s linear; }
.hs-p span::after { transform: rotate(90deg); }
.hs-p:hover { transform: scale(1.1); }
.hs-p[aria-expanded="true"] { background: var(--ink); }
.hs-p[aria-expanded="true"] span { transform: rotate(45deg); }
.hs-p[aria-expanded="true"] span::before, .hs-p[aria-expanded="true"] span::after { background: #fff; }
.hs-p:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.hs20.has-open .hs-p:not([aria-expanded="true"]) { opacity: .55; }
.hs-c { position: absolute; width: 250px; transform: translate(-50%, 6px); opacity: 0; padding: 14px 16px 15px; border-radius: 16px; background: #fff; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .3), 0 2px 6px rgba(0, 0, 0, .08); pointer-events: auto; transition: opacity .2s linear, transform .32s cubic-bezier(.22, 1, .36, 1); }
.hs-c.in { opacity: 1; transform: translate(-50%, 0); }
.hs-c b { display: block; font: 600 17px/1.2 'Clash Display', 'Satoshi', sans-serif; }
.hs-c p { margin: 6px 0 0; font-size: 14px; line-height: 1.45; color: var(--mute); }
.hs-c.sheet { width: calc(100% - 16px); }
@media (max-width: 640px) { .hs-p { width: 26px; height: 26px; margin: -13px 0 0 -13px; } }

/* ---------- bike page: size switch and rolling numbers ---------- */
#geometry .ctl { display: flex; flex-wrap: wrap; gap: 10px; }
.odo20 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 18px); margin: 22px 0 26px; }
.odo20 > div { padding: 18px 20px 20px; border-radius: 20px; background: var(--grey); }
.odo20 .ol { display: block; font-size: 14px; color: var(--mute); }
.odo20 .ov { display: inline-block; margin-top: 6px; font: 600 clamp(30px, 3.4vw, 46px)/1.12 'Tabular', 'Satoshi', sans-serif; letter-spacing: -.01em; }
.odo20 .ou { margin-left: 6px; font-size: 15px; color: var(--mute); }
@media (max-width: 700px) { .odo20 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- bike page: slide to reserve (the strip tears open) ---------- */
.rip20 { max-width: 980px; margin: 18px auto 0; }
.rip-t { --x: 0px; --p: 0; position: relative; height: 60px; border-radius: 16px; overflow: hidden; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.rip-in { position: absolute; inset: 0; display: flex; align-items: center; padding: 0 22px 0 76px; background: var(--ink); color: #fff; font-weight: 600; font-size: 15px; }
.rip-in span { opacity: calc(var(--p) * 1.6 - .5); }
.rip-top { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 0 22px 0 76px; background: #f1efe9; color: var(--ink); font-weight: 600; font-size: 15px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); }
.rip-lab { opacity: calc(1 - var(--p) * 1.8); }
.rip-perf { position: absolute; left: 70px; right: 16px; top: 50%; height: 0; border-top: 2px dashed rgba(0, 0, 0, .12); pointer-events: none; }
.rip-lab { position: relative; z-index: 1; padding: 0 10px; background: #f1efe9; }
.rip-th { position: absolute; z-index: 2; left: 4px; top: 4px; width: 52px; height: 52px; border: 0; border-radius: 12px; background: var(--ink); color: #fff; display: grid; place-items: center; cursor: grab; transform: translateX(var(--x)); box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .5); touch-action: none; }
.rip-th svg { width: 16px; height: 16px; }
.rip-th:active { cursor: grabbing; }
.rip-th:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.rip-t.back .rip-th { transition: transform .45s cubic-bezier(.22, 1, .36, 1), background-color .2s linear; }
.rip-t.back .rip-top { transition: clip-path .45s cubic-bezier(.22, 1, .36, 1); }
.rip20.done .rip-th { background: #fff; color: var(--ink); }
.rip20.done .rip-in span { opacity: 1; }
.rip-note { margin: 10px 4px 0; font-size: 13.5px; line-height: 1.45; color: var(--mute); }
.rip-undo { margin-left: 6px; padding: 0; border: 0; background: none; font: inherit; font-weight: 700; color: var(--ink); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }

@media (prefers-reduced-motion: reduce) { .od-s, .hs-p, .hs-c, .hs-p span { transition: none; } }

/* the white size column must not melt into the page when the last size is picked */
.geo-t .tbl { padding-inline-end: 8px; }

/* ux pass 2026-12-01: tab contrast, swatch hit area, tiny colour names */
.ms:not(.ondark) { --tabc: rgba(17, 17, 17, .62); }
.swatches button { position: relative; }
.swatches button::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; }
.gx-cn { font-size: 12px; }