/* SELVO round 14 (2026-11-20): premium sizing pass, calm footer, short nav, team, partners, events, the paint wipe,
   the hero entrance, no custom cursor. Loaded last on every page. Black and white, nothing teleports, no bounce. */

/* ---------- motion tone: no overshoot anywhere, presses never bounce ---------- */
:root { --spring: cubic-bezier(.22, 1, .36, 1); --soft: cubic-bezier(.22, 1, .36, 1); --r-btn: 10px; }
.btn { border-radius: var(--r-btn); transition: background-color .25s linear, color .25s linear; }
.btn:active { scale: 1; opacity: .86; transition: opacity .1s linear; }
.btn-sm { border-radius: 8px; }
.seg { border-radius: 12px; } .seg button { border-radius: 9px; } .seg .thumb { border-radius: 9px; }
.skip { border-radius: 8px; }
.garr:hover { transform: none; background: #fff; }
.card { transition: box-shadow .5s var(--out), translate .6s var(--out); }
.go svg { transition: transform .45s var(--out); }

/* ---------- the custom cursor is gone (round 14) ---------- */
.cursor, .gcur { display: none !important; }
.tryon .arc, .tryon .gcard { cursor: grab; }
.tryon .arc:active, .tryon .gcard:active { cursor: grabbing; }

/* ---------- hero entrance: hidden from the first paint (inline head script sets .js), runs when #hero gets .in ---------- */
.js:not(.split-ok) [data-split] { visibility: hidden; }
.js .hero .copy .kick, .js .hero .copy .sub, .js .hero .copy .acts { opacity: 0; translate: 0 16px; transition: opacity .7s var(--out), translate .9s var(--out); }
.js .hero .hshot img { opacity: 0; translate: 0 28px; transition: opacity 1.1s var(--out) .2s, translate 1.3s var(--out) .2s; }
.js .hero .tag { opacity: 0; transition: opacity .8s linear .9s; }
.hero.in .copy .kick, .hero.in .copy .sub, .hero.in .copy .acts, .hero.in .hshot img, .hero.in .tag { opacity: 1; translate: 0 0; }
.hero.in .copy .kick { transition-delay: 0s; } .hero.in .copy .sub { transition-delay: .28s; } .hero.in .copy .acts { transition-delay: .4s; }
/* if the scripts never ran, show everything after 2.5 s */
.js-safe:not(.split-ok) [data-split] { visibility: visible; }
.js-safe:not(.split-ok) .hero .copy > *, .js-safe:not(.split-ok) .hero .hshot img, .js-safe:not(.split-ok) .hero .tag { opacity: 1; translate: 0 0; }
@media (prefers-reduced-motion: reduce) { .js .hero .copy > *, .js .hero .hshot img, .js .hero .tag { opacity: 1; translate: 0 0; transition: none; } }

/* ---------- paint change: the copy of the old paint wipes away (app.js UI.paint) ---------- */
.pfx-g { position: absolute; inset: 0; z-index: 3; pointer-events: none; isolation: isolate; background: var(--pfx-bg, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent 0 38%, #000 62% 100%); mask-image: linear-gradient(90deg, transparent 0 38%, #000 62% 100%);
  -webkit-mask-size: 300% 100%; mask-size: 300% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: 100% 0; mask-position: 100% 0; }
.pfx-g > img, .pfx-g > svg { position: absolute; inset: 0; width: 100%; height: 100%; transition: none !important; }
.pfx-s { position: absolute; inset: 0; z-index: 4; overflow: hidden; pointer-events: none; mix-blend-mode: soft-light; }
.pfx-s b { position: absolute; top: 0; bottom: 0; left: 0; width: 34%; transform: translateX(-100%);
  background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .9) 50%, rgba(255, 255, 255, 0) 100%); }
.pfx-on img { transition: none !important; }
.card .shot { --pfx-bg: var(--grey); }
.viewer { --pfx-bg: var(--grey); }
.cf-pv .zm { --pfx-bg: #ececea; }
.cf-pv .pfx-g > img { mix-blend-mode: multiply; }
.tryon .stage { --pfx-bg: #fff; }
@media (prefers-reduced-motion: reduce) { .pfx-g { -webkit-mask-image: none; mask-image: none; } .pfx-s { display: none; } }
.buy .pn { display: inline-block; transition: opacity .18s linear, translate .3s var(--out); }
.buy .pn.pn-out { opacity: 0; translate: 0 4px; }

/* ---------- nav: four links, the Bikes menu, more links inside it ---------- */
.links { gap: 6px; }
.links a, .links button { font-size: 14px; padding: 0 13px; }
.mega .xpl { display: flex; flex-wrap: wrap; gap: 4px 6px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--hair); }
.mega .xpl a { opacity: 1; transform: none; display: inline-block; padding: 7px 12px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--ink); text-decoration: none; transition: background-color .25s linear; }
.mega .xpl a:hover { background: var(--grey); }
.mega .xpl a:last-child { margin-left: auto; color: var(--mute); }
.menu .bk { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.menu .bk a { font: 600 13px/1.2 'Satoshi', sans-serif; padding: 6px; border-radius: 10px; }
@media (max-width: 520px) { .menu .bk { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.menu .mn-main { margin-top: 10px; }
.menu .mn-main a { font: 600 clamp(28px, 7.6vw, 36px)/1.22 'Clash Display', sans-serif; }
.menu .mn-more { display: flex; flex-wrap: wrap; gap: 2px 20px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--hair); }
.menu .mn-more a { font: 500 16px/1.9 'Satoshi', sans-serif; color: var(--mute); }

/* ---------- type scale and spacing (premium pass): calmer big headings, steadier rhythm ---------- */
.sec { padding-block: clamp(80px, 9vw, 140px); }
.sec h2.big { font-size: clamp(38px, 5vw, 72px); }
.chap .head h2 { font-size: clamp(34px, 4.6vw, 66px); }
.hero h1 { font-size: clamp(54px, 8.2vw, 120px); }
.sec .lede { font-size: clamp(16px, 1.3vw, 19px); max-width: 600px; }
@media (min-width: 1700px) { :root { --max: 1400px; } }
@media (max-width: 400px) { :root { --pad: 18px; } .sec h2.big { font-size: 34px; } .hero h1 { font-size: 48px; } }

/* shared head for the new sections */
.r14-head { max-width: 760px; }
.r14-head h2 { font-size: clamp(36px, 4.4vw, 64px); }
.r14-head .lede { margin: 14px 0 0; }

/* ---------- team ---------- */
.team { background: var(--paper); }
.team-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); margin-top: clamp(32px, 4vw, 52px); }
@media (max-width: 1160px) { .team-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .team-row { grid-template-columns: minmax(0, 1fr); } }
.rider { display: flex; flex-direction: column; background: var(--grey); border-radius: 20px; overflow: hidden; }
.rider .rp { display: block; aspect-ratio: 1264 / 848; padding: 6% 6% 0; }
.rider .rp img { width: 100%; height: 100%; object-fit: contain; transition: transform .7s var(--out); }
.rider:hover .rp img { transform: translateX(5px); }
.rider .rt { padding: 14px 20px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.rider .rd { font-size: 13px; color: var(--mute); }
.rider h3 { font-size: clamp(22px, 1.8vw, 26px); }
.rider .rl { font-size: 15px; line-height: 1.45; color: var(--ink); }
.rider .rc { margin: 10px 0 0; display: grid; gap: 7px; font-size: 13.5px; }
.rider .rc div { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 10px; }
.rider .rc dt { color: var(--mute); } .rider .rc dd { margin: 0; font-variant-numeric: tabular-nums; }
.rider .rc a { color: inherit; text-underline-offset: 3px; }

/* ---------- events (home + /events/) ---------- */
.evs { background: var(--grey); }
.ev-list { list-style: none; margin: clamp(32px, 4vw, 52px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 18px); }
@media (max-width: 760px) { .ev-list { grid-template-columns: minmax(0, 1fr); } }
.ev { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 20px; padding: 22px 24px 24px; background: var(--paper); border-radius: 18px; }
.evd { display: flex; flex-direction: column; gap: 2px; }
.evd b { font: 600 clamp(30px, 2.6vw, 38px)/1 'Clash Display', sans-serif; font-variant-numeric: tabular-nums; white-space: nowrap; }
.evd b:has(+ span) { letter-spacing: 0; }
.evd span { font-size: 13px; color: var(--mute); }
.evt h3 { font-size: clamp(20px, 1.6vw, 24px); margin-top: 4px; }
.evt p { font-size: 15px; line-height: 1.5; margin-top: 6px; }
.evt .evk { font-size: 13px; color: var(--mute); margin: 0; }
.evt .evr { font-size: 13px; color: var(--mute); }
.ev-more { margin-top: 26px; }
@media (max-width: 420px) { .ev { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 18px; } .evd { flex-direction: row; align-items: baseline; gap: 8px; } }
.ev .evd b.num { font-size: clamp(26px, 2.4vw, 34px); }
/* events page */
.evp .ev-ctl { margin: 6px 0 10px; overflow-x: auto; padding: 4px 2px; }
.evp .ev-mo { margin-top: clamp(36px, 4vw, 56px); }
.evp .ev-mo h2 { font-size: clamp(24px, 2.4vw, 32px); }
.evp .ev-mo .ev-list { margin-top: 16px; }
.evp .ev { background: var(--grey); }
.evp .ev-wrap { transition: opacity .2s linear, translate .35s var(--out); }
.evp .ev-wrap.fade { opacity: 0; translate: 0 6px; }
.evp .ev-empty { margin-top: 40px; color: var(--mute); }
.ev-team { margin-top: clamp(56px, 7vw, 96px); }
.ev-team h2 { font-size: clamp(24px, 2.4vw, 32px); }
.ev-tr { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.ev-tr div { background: var(--grey); border-radius: 14px; padding: 16px 18px; display: grid; gap: 3px; }
.ev-tr b { font-size: 16px; } .ev-tr span { font-size: 13px; color: var(--mute); }
@media (max-width: 900px) { .ev-tr { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .ev-tr { grid-template-columns: minmax(0, 1fr); } }

/* ---------- component partners: invented wordmarks in one quiet row ---------- */
.partners { background: var(--paper); padding-block: clamp(56px, 6vw, 88px); }
.pt-h { font: 600 14px/1.3 'Satoshi', sans-serif; color: var(--mute); text-align: center; }
.pt-row { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); align-items: end; gap: 28px 20px; }
.pt-row li { display: grid; justify-items: center; gap: 8px; text-align: center; }
.pt-row small { font-size: 11.5px; color: var(--mute); opacity: .8; }
.pw { color: #8a8a8e; transition: color .3s linear; line-height: 1; white-space: nowrap; }
.pt-row li:hover .pw { color: var(--ink); }
.pw.p1 { font: 600 19px 'Clash Display', sans-serif; text-transform: uppercase; letter-spacing: .16em; }
.pw.p2 { font: 300 25px 'Satoshi', sans-serif; text-transform: lowercase; letter-spacing: .02em; }
.pw.p3 { font: 700 15px 'Tabular', 'Satoshi', sans-serif; text-transform: uppercase; letter-spacing: .32em; }
.pw.p4 { font: 900 21px 'Satoshi', sans-serif; text-transform: uppercase; letter-spacing: .04em; }
.pw.p5 { font: 600 28px 'Clash Display', sans-serif; text-transform: lowercase; }
.pw.p6 { font: 500 14px 'Satoshi', sans-serif; text-transform: uppercase; letter-spacing: .22em; }
.pt-note { margin-top: 28px; text-align: center; font-size: 12.5px; color: var(--mute); }
@media (max-width: 900px) { .pt-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- footer: calm, same on every page ---------- */
.sfoot2 { background: #0b0b0b; color: #f2f2f0; padding-block: clamp(64px, 7vw, 104px) calc(28px + env(safe-area-inset-bottom, 0px)); }
.sfoot2 a { color: inherit; text-decoration: none; }
.f-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 40px 64px; align-items: end; }
.f-wm { display: inline-block; color: #fff; }
.sfoot2 .wm4 { width: clamp(170px, 18vw, 240px); height: auto; display: block; }
.f-brand p { margin-top: 16px; color: #a1a1a6; font-size: 15px; }
.f-nl { margin: 0; padding: 0; border: 0; max-width: none; }
.f-nl .f-k { font-size: 15px; font-weight: 600; color: #f5f5f7; }
.sfoot2 .nl input { border-radius: 10px; }
.sfoot2 .nl button { border-radius: 10px; }
.f-links { display: flex; flex-wrap: wrap; gap: 10px 32px; margin-top: clamp(48px, 5vw, 72px); padding-top: 24px; border-top: 1px solid #222; }
.f-links a { font-size: 15px; font-weight: 500; color: #d2d2d7; transition: color .2s linear; }
.f-links a:hover { color: #fff; }
.f-bot { display: flex; justify-content: space-between; align-items: center; gap: 14px 24px; flex-wrap: wrap; margin-top: 28px; font-size: 12.5px; color: #8a8a86; }
.f-bot a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .25); }
.f-bot a:hover { color: #fff; }
.sfoot2 .soc { display: flex; gap: 16px; } .sfoot2 .soc a { display: grid; place-items: center; width: 22px; height: 22px; color: #8a8a86; text-decoration: none; } .sfoot2 .soc a:hover { color: #fff; }
.sfoot2 .soc svg { width: 17px; height: 17px; }
@media (max-width: 860px) { .f-main { grid-template-columns: minmax(0, 1fr); align-items: start; } }
@media (max-width: 480px) { .f-links { gap: 8px 22px; } .f-bot { flex-direction: column; align-items: flex-start; } }

.ev[hidden], .ev-mo[hidden], .ev-empty[hidden] { display: none; }
/* dark mode inverts the page, so the ring must use the ink colour to show up light */
.dark .swatches .ring { box-shadow: inset 0 0 0 2px var(--ink); }

/* no pills (round 14): fields, steppers and small links get the same 10 px corner as the buttons */
.finder input, .stp .stc, .pt-drawer .fit { border-radius: 10px; }
.f-main { align-items: start; }
.f-brand { padding-top: 6px; }
@media (max-width: 440px) { .finder input { flex: none; height: 48px; } }

/* no ALL CAPS eyebrows or labels (round 14): sentence case, normal tracking */
.cf-k, .pt-card .br, .pt-drawer .br, .dcard .dm, .szx-res .k, .jn-card .lb, .st-art .lb, .lb-open .k, .lb-open .scroll, .ac-order .k { text-transform: none; letter-spacing: 0; }
.cf-k { font-size: 15px; font-weight: 600; }
.pt-card .br, .pt-drawer .br { font-size: 13px; font-weight: 600; }
.jn-card .lb, .st-art .lb { font-size: 13px; font-weight: 500; }
.lb-open .k { font-size: 15px; }
.mega, .nav.mega-open .nav-bar { background: rgba(255, 255, 255, .985); }
