/* ==========================================================================
   X3von Bikes — Core stylesheet
   --------------------------------------------------------------------------
   Design language: "Liquid glass on charcoal". Near-black charcoal ground
   with silver light, refracting glass surfaces (blur + saturation + a
   specular rim that follows the pointer), crisp white type in Geist, and
   app-like chrome: a floating glass nav pill, a glass tab bar on mobile,
   bottom sheets and native-feeling page transitions. A "silver" light
   theme is available via [data-theme="light"].

   1. Tokens  2. Base  3. Type  4. Glass  5. Controls  6. Chrome (nav, tab
   bar, footer)  7. Components  8. Home  9. Motion  10. Responsive
   Page styles: inventory.css, pages.css, admin.css.
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --bg: #0a0b0d;
  --bg-2: #111215;
  --bg-3: #17181c;
  --text: #f4f5f7;
  --text-2: #c7cad1;
  --muted: #8a8f99;
  --dim: #5d626c;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --silver-a: #ffffff;
  --silver-b: #a7acb6;
  --accent: #ffffff;
  --on-accent: #0a0b0d;
  --ok: #5fd3a0;
  --warn: #ffc56b;
  --bad: #ff7a7a;

  --glass-bg: linear-gradient(140deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .035) 60%, rgba(255, 255, 255, .06));
  --glass-bg-strong: linear-gradient(140deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .06));
  --glass-border: rgba(255, 255, 255, .13);
  --glass-rim: inset 0 1px 0 rgba(255, 255, 255, .28), inset 0 -1px 0 rgba(255, 255, 255, .05), inset 1px 0 0 rgba(255, 255, 255, .06), inset -1px 0 0 rgba(255, 255, 255, .04);
  --glass-drop: 0 18px 50px -18px rgba(0, 0, 0, .75), 0 2px 6px -2px rgba(0, 0, 0, .4);
  --glass-blur: blur(22px) saturate(180%);

  --f: "Geist", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --wrap: 1240px;
  --gut: clamp(1rem, 4vw, 2.5rem);
  --r-xs: 10px; --r-sm: 14px; --r: 22px; --r-lg: 30px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --nav-h: 64px;
  --tab-h: 72px;
  color-scheme: dark;
}

[data-theme="light"] {
  --bg: #eceef1;
  --bg-2: #f5f6f8;
  --bg-3: #ffffff;
  --text: #0e0f12;
  --text-2: #2c2f36;
  --muted: #6a6f79;
  --dim: #9aa0aa;
  --line: rgba(10, 11, 13, .08);
  --line-2: rgba(10, 11, 13, .14);
  --silver-a: #0e0f12;
  --silver-b: #7d838e;
  --accent: #0e0f12;
  --on-accent: #ffffff;
  --glass-bg: linear-gradient(140deg, rgba(255, 255, 255, .78), rgba(255, 255, 255, .45) 60%, rgba(255, 255, 255, .6));
  --glass-bg-strong: linear-gradient(140deg, rgba(255, 255, 255, .92), rgba(255, 255, 255, .66));
  --glass-border: rgba(255, 255, 255, .9);
  --glass-rim: inset 0 1px 0 rgba(255, 255, 255, 1), inset 0 -1px 0 rgba(10, 11, 13, .05), 0 0 0 .5px rgba(10, 11, 13, .08);
  --glass-drop: 0 18px 50px -22px rgba(30, 35, 45, .35), 0 2px 6px -3px rgba(30, 35, 45, .2);
  color-scheme: light;
}

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .28s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .42s var(--ease) both; }
::view-transition-group(*) { animation-duration: .5s; animation-timing-function: var(--ease); }
@keyframes vt-out { to { opacity: 0; transform: scale(.985); filter: blur(4px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px) scale(1.01); } }

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-tap-highlight-color: transparent; }
body {
  margin: 0; min-height: 100vh; background: var(--bg); color: var(--text);
  font: 400 1rem/1.6 var(--f); letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body::before { /* silver light */
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60vw 50vh at 15% -10%, rgba(200, 205, 215, .10), transparent 60%),
    radial-gradient(50vw 50vh at 100% 10%, rgba(160, 170, 190, .07), transparent 60%),
    radial-gradient(70vw 60vh at 50% 120%, rgba(255, 255, 255, .05), transparent 60%);
}
[data-theme="light"] body::before {
  background:
    radial-gradient(60vw 50vh at 15% -10%, #ffffff, transparent 60%),
    radial-gradient(50vw 50vh at 100% 20%, rgba(190, 198, 212, .55), transparent 60%),
    radial-gradient(70vw 60vh at 50% 120%, rgba(210, 215, 225, .7), transparent 60%);
}
body::after { /* film grain */
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.03em; line-height: 1.05; }
p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--text); color: var(--bg); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 200; padding: .6rem 1rem; border-radius: 999px; background: var(--text); color: var(--bg); }
.skip:focus { top: 1rem; }

/* 3. Layout & type ------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.sec { padding-block: clamp(4rem, 9vw, 7.5rem); position: relative; }
.sec--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.page { padding-top: calc(var(--nav-h) + 3rem); }
.grid { display: grid; gap: clamp(.9rem, 2vw, 1.4rem); }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.center { text-align: center; }
.stack > * + * { margin-top: var(--s, 1rem); }
.row { display: flex; align-items: center; gap: var(--g, .75rem); flex-wrap: wrap; }
.between { justify-content: space-between; }

.display { font-size: clamp(3.2rem, 11vw, 10rem); font-weight: 800; letter-spacing: -.055em; line-height: .86; }
.h1 { font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 700; letter-spacing: -.045em; line-height: .95; }
.h2 { font-size: clamp(2rem, 4.2vw, 3.5rem); font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: 600; letter-spacing: -.025em; line-height: 1.15; }
.h4 { font-size: 1.05rem; font-weight: 600; letter-spacing: -.015em; line-height: 1.3; }
.silver { background: linear-gradient(180deg, var(--silver-a) 0%, var(--silver-b) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dimmed { color: var(--dim); }
.lead { font-size: clamp(1.02rem, 1.4vw, 1.18rem); line-height: 1.65; color: var(--muted); max-width: 56ch; }
.center .lead { margin-inline: auto; }
.muted { color: var(--muted); }
.mono { font-family: var(--f-mono); font-size: .78rem; letter-spacing: .02em; }
.eyebrow { display: inline-flex; align-items: center; gap: .8rem; font: 500 .72rem/1 var(--f-mono); letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.eyebrow::before, .center .eyebrow::after { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .6; }
.sec-head { display: grid; gap: 1rem; margin-bottom: clamp(2rem, 4.5vw, 3.5rem); }
.sec-head.center { justify-items: center; }
.sec-head--row { grid-template-columns: 1fr auto; align-items: end; gap: 2rem; }
.price { font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }

/* 4. Glass ----------------------------------------------------------------- */
.glass {
  position: relative; isolation: isolate;
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-rim), var(--glass-drop);
}
/* Real refraction where the browser supports SVG filters on the backdrop
   (Chromium). Others ignore the second declaration and keep the blur. */
.glass--liquid { backdrop-filter: var(--glass-blur); backdrop-filter: url(#liquid) blur(14px) saturate(190%) brightness(1.05); }
.glass::before { /* specular sheen that follows the pointer */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1;
  background: radial-gradient(240px circle at var(--mx, 30%) var(--my, 0%), rgba(255, 255, 255, .16), transparent 60%);
  opacity: .9; transition: opacity .3s;
}
[data-theme="light"] .glass::before { background: radial-gradient(240px circle at var(--mx, 30%) var(--my, 0%), rgba(255, 255, 255, .9), transparent 60%); }
.glass::after { /* rim light */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; padding: 1px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .45), rgba(255, 255, 255, 0) 35%, rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, .2));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.glass--strong { background: var(--glass-bg-strong); }
.glass--flat { box-shadow: var(--glass-rim); }
.r-sm { border-radius: var(--r-sm); } .r { border-radius: var(--r); } .r-lg { border-radius: var(--r-lg); } .r-pill { border-radius: 999px; }

/* 5. Controls ------------------------------------------------------------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .8rem 1.4rem; border-radius: 999px; border: 1px solid transparent;
  font: 600 .92rem/1 var(--f); letter-spacing: -.01em; white-space: nowrap;
  background: var(--accent); color: var(--on-accent);
  box-shadow: 0 8px 24px -10px rgba(255, 255, 255, .35), inset 0 -2px 0 rgba(0, 0, 0, .12);
  transition: transform .35s var(--spring), box-shadow .3s, background .3s, color .3s, opacity .2s;
}
[data-theme="light"] .btn { box-shadow: 0 10px 24px -10px rgba(10, 11, 13, .5), inset 0 -2px 0 rgba(255, 255, 255, .12); }
.btn:hover { transform: translateY(-1px) scale(1.015); }
.btn:active { transform: scale(.97); }
.btn svg { width: 17px; height: 17px; }
.btn--glass { background: var(--glass-bg); color: var(--text); border-color: var(--glass-border); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); box-shadow: var(--glass-rim); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line-2); box-shadow: none; }
.btn--ghost:hover { border-color: var(--text); }
.btn--sm { min-height: 38px; padding: .55rem 1rem; font-size: .84rem; }
.btn--lg { min-height: 56px; padding: 1rem 1.8rem; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--icon { width: 44px; min-height: 44px; padding: 0; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 500; color: var(--text); opacity: .85; transition: opacity .2s, gap .3s var(--ease); }
.link:hover { opacity: 1; gap: .65rem; }
.link svg { width: 15px; height: 15px; }

.icon-btn { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: var(--text); transition: transform .35s var(--spring), background .2s; }
.icon-btn:hover { background: rgba(255, 255, 255, .08); }
[data-theme="light"] .icon-btn:hover { background: rgba(10, 11, 13, .06); }
.icon-btn:active { transform: scale(.9); }
.icon-btn svg { width: 19px; height: 19px; }

.field { display: grid; gap: .45rem; }
.field > label, .field > .label { font-size: .8rem; font-weight: 500; color: var(--text-2); }
.input, .field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: .8rem 1rem; border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line-2); color: var(--text);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
[data-theme="light"] .input, [data-theme="light"] .field input, [data-theme="light"] .field select, [data-theme="light"] .field textarea { background: rgba(255, 255, 255, .7); }
.field textarea { min-height: 120px; resize: vertical; }
.field select, select.input { appearance: none; padding-right: 2.4rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%238a8f99' stroke-width='1.6'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; }
select option { background: var(--bg-3); color: var(--text); }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--text-2); background: rgba(255, 255, 255, .07); box-shadow: 0 0 0 4px rgba(255, 255, 255, .06); }
.input::placeholder, .field ::placeholder { color: var(--dim); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--bad); }
.field__err { color: var(--bad); font-size: .78rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-grid .span-2 { grid-column: 1 / -1; }

/* Segmented control with a sliding glass thumb */
.seg { position: relative; display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); }
[data-theme="light"] .seg { background: rgba(10, 11, 13, .05); }
.seg button { position: relative; z-index: 1; padding: .55rem 1rem; border-radius: 999px; font-size: .86rem; font-weight: 500; color: var(--muted); transition: color .25s; white-space: nowrap; }
.seg button[aria-pressed="true"], .seg button[aria-selected="true"] { color: var(--text); }
.seg__thumb { position: absolute; top: 4px; bottom: 4px; left: 0; border-radius: 999px; background: var(--glass-bg-strong); border: 1px solid var(--glass-border); box-shadow: var(--glass-rim), 0 4px 14px -6px rgba(0, 0, 0, .6); transition: transform .45s var(--spring), width .45s var(--spring); }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { min-height: 38px; padding: .5rem 1rem; border-radius: 999px; font-size: .86rem; font-weight: 500; color: var(--text-2); background: rgba(255, 255, 255, .04); border: 1px solid var(--line); transition: background .2s, color .2s, border-color .2s, transform .3s var(--spring); }
[data-theme="light"] .chip { background: rgba(255, 255, 255, .6); }
.chip:hover { border-color: var(--line-2); color: var(--text); }
.chip:active { transform: scale(.95); }
.chip.is-on, .chip[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }

.tag { display: inline-flex; align-items: center; gap: .35rem; padding: .32rem .65rem; border-radius: 999px; font: 500 .68rem/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text); background: rgba(10, 11, 13, .45); border: 1px solid rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(12px) saturate(160%); backdrop-filter: blur(12px) saturate(160%); }
.tag--white { background: #fff; color: #0a0b0d; border-color: #fff; }
.tag--ok { color: var(--ok); } .tag--warn { color: var(--warn); } .tag--bad { color: var(--bad); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }

/* 6. Chrome ---------------------------------------------------------------- */
.nav { position: fixed; top: 14px; left: 50%; z-index: 60; width: min(calc(100% - 2rem), 1120px); transform: translateX(-50%); transition: width .55s var(--ease), top .45s var(--ease); view-transition-name: site-nav; }
.nav__bar { display: flex; align-items: center; gap: 1rem; height: var(--nav-h); padding: 0 .55rem 0 1.25rem; border-radius: 999px; }
.nav.is-docked { width: min(calc(100% - 2rem), 860px); top: 10px; }
/* App bars: heavy frost + tinted base so content scrolling underneath is not legible */
.nav__bar.glass, .tabbar.glass {
  background: var(--glass-bg), rgba(14, 15, 18, .9);
  -webkit-backdrop-filter: blur(60px) saturate(140%);
  backdrop-filter: blur(60px) saturate(140%);
}
[data-theme="light"] .nav__bar.glass, [data-theme="light"] .tabbar.glass { background: var(--glass-bg), rgba(236, 238, 241, .92); }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; letter-spacing: -.035em; font-size: 1.1rem; flex-shrink: 0; }
.brand__mark { width: 30px; height: 30px; }
.brand sup { font-size: .55em; font-weight: 500; opacity: .6; margin-left: 1px; }
.nav__links { display: flex; gap: .2rem; margin-inline: auto; }
.nav__links a { position: relative; padding: .55rem .9rem; border-radius: 999px; font-size: .9rem; font-weight: 500; color: var(--text-2); transition: color .2s, background .2s; }
.nav__links a:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
[data-theme="light"] .nav__links a:hover { background: rgba(10, 11, 13, .05); }
.nav__links a[aria-current="page"] { color: var(--text); background: rgba(255, 255, 255, .1); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15); }
[data-theme="light"] .nav__links a[aria-current="page"] { background: rgba(255, 255, 255, .9); box-shadow: 0 1px 4px rgba(10, 11, 13, .08); }
.nav__act { display: flex; align-items: center; gap: .3rem; }
.nav__count { position: absolute; top: 4px; right: 3px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--text); color: var(--bg); font: 600 .62rem/17px var(--f-mono); text-align: center; }
.nav__count:empty, .nav__count[data-n="0"] { display: none; }
.nav .icon-btn { position: relative; }
.ic-sun { display: none; } [data-theme="light"] .ic-sun { display: block; } [data-theme="light"] .ic-moon { display: none; }

.tabbar { display: none; position: fixed; left: 50%; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 60; transform: translateX(-50%); width: min(calc(100% - 1.5rem), 460px); padding: 6px; border-radius: 28px; view-transition-name: tab-bar; }
.tabbar__in { display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.tabbar a { position: relative; z-index: 1; display: grid; justify-items: center; gap: 3px; padding: 8px 0 7px; border-radius: 22px; font-size: .64rem; font-weight: 500; color: var(--muted); transition: color .25s, transform .35s var(--spring); }
.tabbar a svg { width: 22px; height: 22px; }
.tabbar a:active { transform: scale(.9); }
.tabbar a[aria-current="page"] { color: var(--text); }
.tabbar__pill { position: absolute; top: 0; bottom: 0; left: 0; width: 20%; border-radius: 22px; background: rgba(255, 255, 255, .12); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2); transition: transform .5s var(--spring); }
[data-theme="light"] .tabbar__pill { background: rgba(255, 255, 255, .95); box-shadow: 0 2px 8px rgba(10, 11, 13, .1); }
.tabbar .nav__count { top: 2px; right: calc(50% - 22px); }

.ftr { margin-top: clamp(3rem, 8vw, 6rem); padding: clamp(3rem, 7vw, 5rem) 0 calc(2rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.ftr__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.ftr h3 { font: 500 .7rem/1 var(--f-mono); letter-spacing: .22em; text-transform: uppercase; color: var(--dim); margin-bottom: 1.1rem; }
.ftr li + li { margin-top: .55rem; }
.ftr a { color: var(--text-2); transition: color .2s; } .ftr a:hover { color: var(--text); }
.ftr address { font-style: normal; display: grid; gap: .45rem; color: var(--text-2); }
.ftr__social { display: flex; gap: .4rem; margin-top: 1.2rem; }
.ftr__social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); }
.ftr__social svg { width: 16px; height: 16px; }
.ftr__word { margin-top: 3rem; font-size: clamp(4rem, 17vw, 15rem); font-weight: 800; letter-spacing: -.06em; line-height: .8; text-align: center; background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, 0) 85%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }
[data-theme="light"] .ftr__word { background-image: linear-gradient(180deg, rgba(10, 11, 13, .12), rgba(10, 11, 13, 0) 85%); }
.ftr__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: .82rem; color: var(--dim); }
.ftr__base nav { display: flex; gap: 1.2rem; }

.wa { position: fixed; right: 18px; bottom: 18px; z-index: 55; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.wa svg { width: 24px; height: 24px; }

/* 7. Components ------------------------------------------------------------ */
.bike-card { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; transition: transform .5s var(--spring), box-shadow .4s; }
.bike-card:hover { transform: translateY(-6px); }
.bike-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; margin: 8px 8px 0; border-radius: calc(var(--r-lg) - 8px); background: var(--bg-3); }
.bike-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.bike-card:hover .bike-card__media img { transform: scale(1.06); }
.bike-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .55)); pointer-events: none; }
.bike-card__tags { position: absolute; top: 12px; left: 12px; right: 12px; z-index: 1; display: flex; justify-content: space-between; align-items: start; gap: .5rem; }
.bike-card__fav { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(10, 11, 13, .4); border: 1px solid rgba(255, 255, 255, .2); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: transform .4s var(--spring), background .2s; }
.bike-card__fav svg { width: 17px; height: 17px; }
.bike-card__fav[aria-pressed="true"] { background: #fff; color: #e5484d; }
.bike-card__fav:active { transform: scale(.85); }
.bike-card__score { position: absolute; left: 12px; bottom: 12px; z-index: 1; }
.bike-card__body { padding: 1rem 1.2rem 1.2rem; display: grid; gap: .7rem; }
.bike-card__title { display: grid; gap: .15rem; }
.bike-card__title small { font: 500 .7rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.bike-card__specs { display: flex; flex-wrap: wrap; gap: .35rem .9rem; font: 400 .78rem/1.3 var(--f-mono); color: var(--muted); }
.bike-card__specs span { display: inline-flex; align-items: center; gap: .3rem; }
.bike-card__specs svg { width: 13px; height: 13px; }
.bike-card__foot { display: flex; justify-content: space-between; align-items: end; padding-top: .8rem; border-top: 1px solid var(--line); }
.bike-card__foot .price { font-size: 1.35rem; }
.bike-card__foot small { display: block; font-size: .72rem; color: var(--muted); font-weight: 400; letter-spacing: 0; }
.bike-card__go { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--text); color: var(--bg); transition: transform .45s var(--spring); }
.bike-card:hover .bike-card__go { transform: rotate(-45deg); }
.bike-card__go svg { width: 16px; height: 16px; }
.bike-card.is-sold .bike-card__media img { filter: grayscale(1) brightness(.6); }

.sheet-scrim { position: fixed; inset: 0; z-index: 90; background: rgba(0, 0, 0, .5); opacity: 0; transition: opacity .35s; -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.sheet-scrim.is-on { opacity: 1; }
.sheet { position: fixed; z-index: 91; left: 50%; bottom: 0; width: min(100%, 560px); max-height: 92vh; overflow: auto; transform: translate(-50%, 105%); border-radius: 30px 30px 0 0; padding: .6rem 1.4rem calc(1.6rem + env(safe-area-inset-bottom)); transition: transform .55s var(--spring); overscroll-behavior: contain; }
.sheet.is-on { transform: translate(-50%, 0); }
.sheet__grab { width: 42px; height: 5px; border-radius: 3px; background: var(--line-2); margin: .3rem auto 1rem; }
.sheet__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.2rem; }
@media (min-width: 900px) { .sheet { bottom: auto; top: 50%; border-radius: var(--r-lg); transform: translate(-50%, -46%) scale(.96); opacity: 0; transition: transform .5s var(--spring), opacity .3s; pointer-events: none; } .sheet.is-on { transform: translate(-50%, -50%); opacity: 1; pointer-events: auto; } .sheet__grab { display: none; } }

.toast { position: fixed; left: 50%; top: 18px; z-index: 120; transform: translate(-50%, -140%); display: flex; align-items: center; gap: .65rem; padding: .7rem 1.1rem .7rem .8rem; border-radius: 999px; font-size: .9rem; font-weight: 500; transition: transform .55s var(--spring); max-width: calc(100vw - 2rem); visibility: hidden; }
.toast.is-on { transform: translate(-50%, 0); visibility: visible; }
.toast__ic { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--text); color: var(--bg); flex-shrink: 0; }
.toast__ic svg { width: 14px; height: 14px; }

.lightbox { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 4rem 1rem; background: rgba(5, 6, 8, .92); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.lightbox img { max-height: 80vh; width: auto; border-radius: var(--r); }
.lightbox__btn { position: absolute; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.lightbox__btn svg { width: 19px; height: 19px; }
.lightbox__close { top: 1rem; right: 1rem; } .lightbox__prev { left: 1rem; top: 50%; } .lightbox__next { right: 1rem; top: 50%; }
.lightbox__cap { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1rem; color: #c7cad1; font-size: .9rem; }

.skeleton { background: linear-gradient(90deg, rgba(255, 255, 255, .04) 25%, rgba(255, 255, 255, .09) 50%, rgba(255, 255, 255, .04) 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: var(--r-sm); }
.empty { padding: 3rem 1.5rem; text-align: center; border-radius: var(--r-lg); border: 1px dashed var(--line-2); color: var(--muted); }

/* 8. Home ------------------------------------------------------------------ */

.finder { position: relative; z-index: 2; }
.finder__card { padding: 1.2rem; border-radius: var(--r-lg); display: grid; gap: 1rem; }
.finder__row { display: grid; grid-template-columns: 1.6fr 1fr 1fr auto; gap: .7rem; }
.finder__search { position: relative; }
.finder__search svg { position: absolute; left: 1rem; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--muted); }
.finder__search .input { padding-left: 2.8rem; border-radius: 999px; }
.finder .input, .finder select { border-radius: 999px; }
.finder__types { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; }
.finder__types::-webkit-scrollbar { display: none; }

.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, calc((100% - 2.8rem) / 3)); gap: 1.4rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); padding: .5rem var(--gut) 1.5rem; margin-inline: calc(var(--gut) * -1); scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }

.brands { display: flex; gap: clamp(1.5rem, 4vw, 3.5rem); overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.brands__track { display: flex; gap: clamp(1.5rem, 4vw, 3.5rem); width: max-content; animation: marquee 40s linear infinite; }
.brands__track span { font-size: clamp(1.3rem, 2.6vw, 2rem); font-weight: 700; letter-spacing: -.04em; color: var(--dim); white-space: nowrap; transition: color .3s; }
.brands__track span:hover { color: var(--text); }

.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(220px, auto); gap: 1rem; }
.bento__tile { padding: 1.6rem; border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 1rem; transition: transform .5s var(--spring); }
.bento__tile:hover { transform: translateY(-4px); }
.bento__tile--wide { grid-column: span 2; }
.bento__tile--tall { grid-row: span 2; }
.bento__tile--photo { position: relative; color: #fff; }
.bento__tile--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.bento__tile--photo::before { background: linear-gradient(180deg, rgba(0, 0, 0, .1), rgba(0, 0, 0, .75)) !important; opacity: 1 !important; z-index: -1 !important; }
.bento__tile--photo:hover img { transform: scale(1.05); }
.bento__tile--photo .bento__ic { background: rgba(10, 11, 13, .35); border-color: rgba(255, 255, 255, .25); color: #fff; }
.bento__tile--photo .tag { color: #fff; }
.bento__ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); border: 1px solid var(--line-2); }
[data-theme="light"] .bento__ic { background: #fff; }
.bento__ic svg { width: 22px; height: 22px; }
.bento__big { font-size: clamp(2.6rem, 5vw, 4rem); font-weight: 700; letter-spacing: -.05em; line-height: 1; }
.emi-mini { display: grid; gap: .8rem; }
.emi-mini input[type=range] { width: 100%; accent-color: var(--text); }
.emi-mini output { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700; letter-spacing: -.04em; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; counter-reset: s; }
.step { padding: 1.4rem; border-radius: var(--r); display: grid; gap: .6rem; align-content: start; }
.step__n { font: 500 .72rem/1 var(--f-mono); color: var(--muted); letter-spacing: .14em; }
.step__ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--text); color: var(--bg); }
.step__ic svg { width: 19px; height: 19px; }

.reviews { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.review { padding: 1.4rem; border-radius: var(--r); display: grid; gap: 1rem; align-content: space-between; }
.stars { display: inline-flex; gap: 2px; color: var(--text); }
.stars svg { width: 14px; height: 14px; }
.stars .off { opacity: .25; }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: .85rem; background: linear-gradient(140deg, #3a3d44, #1a1c20); color: #fff; border: 1px solid var(--line-2); }

.cta { position: relative; overflow: hidden; border-radius: var(--r-lg); padding: clamp(2.5rem, 7vw, 5rem); display: grid; gap: 1.4rem; justify-items: center; text-align: center; isolation: isolate; }
.cta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .45; }
.cta::before { background: radial-gradient(circle at 50% 120%, rgba(255, 255, 255, .18), transparent 60%) !important; opacity: 1 !important; }


/* Hero — centred editorial headline over a single wide photograph */
/* The hero fills exactly one viewport: copy at natural height, photo takes the remaining space. */
.hero { height: 100vh; height: 100svh; min-height: 600px; display: flex; flex-direction: column; padding-top: calc(var(--nav-h) + clamp(1.8rem, 6vh, 4.5rem)); padding-bottom: clamp(1rem, 3vh, 2rem); }
.hero > .wrap:last-child { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.hero__head { display: grid; justify-items: center; gap: clamp(.9rem, 2.4vh, 1.6rem); margin-bottom: clamp(1.4rem, 4.5vh, 3.5rem); }
.hero__title { font-size: clamp(2.5rem, min(8.4vw, 10vh), 7rem); font-weight: 600; letter-spacing: -.055em; line-height: .92; max-width: 12ch; text-wrap: balance; }
.hero__head .lead { max-width: 46ch; text-wrap: pretty; }
.hero__cta { justify-content: center; margin-top: .2rem; }
.hero__visual { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; flex: 1; min-height: 180px; background: var(--bg-3); isolation: isolate; }
.hero__visual img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; transition: transform 1.6s var(--ease); }
.hero__visual:hover img { transform: scale(1.025); }
.hero__visual::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .6)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); border-radius: inherit; }
.hero__visual figcaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: clamp(1rem, 2.6vw, 1.8rem); }
.hero__feature { display: inline-flex; align-items: baseline; gap: .9rem; color: #fff; font-size: .95rem; }
.hero__feature .mono { color: rgba(255, 255, 255, .6); text-transform: uppercase; letter-spacing: .2em; font-size: .68rem; }
.hero__feature b { font-weight: 600; letter-spacing: -.02em; }
.hero__feature-meta { color: rgba(255, 255, 255, .7); }
.hero__feature svg { width: 16px; height: 16px; align-self: center; transition: transform .45s var(--spring); }
.hero__feature:hover svg { transform: translateX(4px); }
.hero__facts { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(1rem, 2.6vh, 2rem); }
.hero__facts > div { display: flex; flex-direction: column-reverse; gap: .35rem; padding: .2rem clamp(1rem, 2.5vw, 1.8rem); }
.hero__facts > div:first-child { padding-left: 0; }
.hero__facts > div + div { border-left: 1px solid var(--line); }
.hero__facts dd { font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-weight: 600; letter-spacing: -.045em; line-height: 1; }
.hero__facts dt { font-size: .82rem; color: var(--muted); }

/* Type tiles */
.types { display: grid; grid-template-columns: repeat(6, 1fr); gap: .8rem; }
.type-tile { padding: 1.1rem; border-radius: var(--r); display: grid; gap: .9rem; transition: transform .45s var(--spring); }
.type-tile:hover { transform: translateY(-4px); }
.type-tile .bento__ic { width: 42px; height: 42px; }
.type-tile small { color: var(--muted); font-size: .8rem; }

/* Why */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.why__card { padding: 1.5rem; border-radius: var(--r); display: grid; gap: .7rem; align-content: start; }
.why__n { font: 500 .72rem/1 var(--f-mono); letter-spacing: .14em; color: var(--muted); }

/* Stats strip */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-radius: var(--r-lg); }
.stats > div { padding: 1.8rem 1.6rem; display: grid; gap: .3rem; }
.stats > div + div { border-left: 1px solid var(--line); }
.stats b { font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 700; letter-spacing: -.05em; line-height: 1; }
.stats span { color: var(--muted); font-size: .88rem; }

/* Split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split--rev > :first-child { order: 2; }
.split__img { border-radius: var(--r-lg); overflow: hidden; padding: 8px; }
.split__img img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: calc(var(--r-lg) - 8px); }
.checks { display: grid; gap: .65rem; }
.checks li { display: flex; gap: .7rem; align-items: start; color: var(--text-2); }
.checks li::before { content: ""; flex-shrink: 0; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: var(--text) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a0b0d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5 9.5 17 19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; }
[data-theme="light"] .checks li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5 9.5 17 19 7.5'/%3E%3C/svg%3E"); }

/* FAQ accordion */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.acc { display: grid; gap: .6rem; }
.acc__item { border-radius: var(--r); overflow: hidden; }
.acc__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 1.3rem; text-align: left; font-weight: 600; letter-spacing: -.015em; }
.acc__q svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform .45s var(--spring); }
.acc__q[aria-expanded="true"] svg { transform: rotate(45deg); }
.acc__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.acc__a > div { overflow: hidden; }
.acc__a p { padding: 0 1.3rem 1.2rem; color: var(--muted); }
.acc__q[aria-expanded="true"] + .acc__a { grid-template-rows: 1fr; }

/* Showroom */
.showroom { display: grid; grid-template-columns: 1.3fr 1fr; gap: 1rem; }
.showroom__map { border-radius: var(--r-lg); overflow: hidden; min-height: 420px; padding: 8px; }
.showroom__map iframe { width: 100%; height: 100%; min-height: 404px; border: 0; border-radius: calc(var(--r-lg) - 8px); filter: grayscale(1) contrast(1.05) brightness(.85); }
[data-theme="light"] .showroom__map iframe { filter: grayscale(1) contrast(1.05); }
[data-theme="dark"] .showroom__map iframe { filter: grayscale(1) invert(.92) contrast(.9); }
.showroom__info { display: grid; gap: 1rem; }
.info-card { padding: 1.3rem 1.4rem; border-radius: var(--r); display: flex; gap: 1rem; align-items: start; }
.info-card .bento__ic { width: 42px; height: 42px; flex-shrink: 0; }
.info-card small { display: block; color: var(--muted); font-size: .8rem; margin-bottom: .2rem; }

/* 9. Motion ---------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(24px) scale(.985); filter: blur(6px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; filter: none; }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes bob { 0%, 100% { transform: translateY(0); opacity: .6; } 50% { transform: translateY(-6px); opacity: 1; } }
@keyframes pan { from { background-position: 30% 40%; } to { background-position: 70% 60%; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* 10. Responsive ------------------------------------------------------------ */
@media (max-width: 1080px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .reviews, .steps { grid-template-columns: repeat(2, 1fr); }
  .rail { grid-auto-columns: minmax(270px, 46%); }
  .finder__row { grid-template-columns: 1fr 1fr; }
  .finder__search { grid-column: 1 / -1; }
  .ftr__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .split, .faq-wrap, .showroom { grid-template-columns: 1fr; }
  .split--rev > :first-child { order: 0; }
  .types { grid-template-columns: repeat(3, 1fr); }
  .why { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats > div:nth-child(3) { border-left: 0; }
  .stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .hero { height: calc(100svh - var(--tab-h) - 24px); min-height: 480px; }
  .hero__facts > div { padding-inline: .8rem; }
  .hero__facts dd { font-size: 1.4rem; }
  .hero__facts dt { font-size: .72rem; line-height: 1.3; }
  :root { --nav-h: 56px; }
  .nav { top: 10px; }
  .nav.is-docked { width: min(calc(100% - 2rem), 1120px); }
  .nav__links, .nav__act .btn, .nav__act [data-hide-mobile] { display: none; }
  .nav__act { margin-left: auto; }
  .tabbar { display: block; }
  body { padding-bottom: calc(var(--tab-h) + 24px); }
  .wa { bottom: calc(var(--tab-h) + 26px); width: 48px; height: 48px; right: 14px; }
  .g-3, .g-4 { grid-template-columns: repeat(2, 1fr); }
  .sec-head--row { grid-template-columns: 1fr; }
  .toast { top: auto; bottom: calc(var(--tab-h) + 30px); transform: translate(-50%, 160%); }
  .toast.is-on { transform: translate(-50%, 0); }
}
@media (max-width: 600px) {
  .why, .types { grid-template-columns: repeat(2, 1fr); }
  .hero__head .lead { font-size: .95rem; line-height: 1.55; }
  .hero__visual img { object-position: 60% center; }
  .hero__feature { flex-wrap: wrap; row-gap: .2rem; }
  .hero__feature .mono { flex-basis: 100%; }
  .hero__feature svg { display: none; }
  .hero__cta { width: 100%; flex-wrap: nowrap; --g: .5rem; }
  .hero__cta .btn { flex: 1 1 0; min-height: 50px; padding: .8rem 1rem; font-size: .92rem; }
  .hero__facts > div { padding-inline: .5rem; }
  .hero__facts dd { font-size: 1.2rem; }
  .hero__facts dt { font-size: .66rem; }
  .hero__facts { grid-template-columns: repeat(3, 1fr); padding-right: 56px; } /* clear the floating WhatsApp button */
  .hero__facts > div:nth-child(4) { display: none; }
  .hero__head .eyebrow { letter-spacing: .16em; gap: .6rem; }
  .hero__head .eyebrow::before, .hero__head .eyebrow::after { width: 18px; }
  .g-2, .g-3, .g-4, .form-grid, .reviews, .steps { grid-template-columns: 1fr; }
  .form-grid .span-2 { grid-column: auto; }
  .bento { grid-template-columns: 1fr; }
  .bento__tile--wide { grid-column: auto; }
  .bento__tile--tall { grid-row: auto; }
  .finder__row { grid-template-columns: 1fr; }
  .rail { grid-auto-columns: 84%; gap: 1rem; }
  .ftr__top { grid-template-columns: 1fr; }
}
@media (max-width: 860px) and (max-height: 720px) { /* short phones: drop the figures row so the photo keeps room */
  .hero__facts { display: none; }
  .hero__head { gap: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
  @view-transition { navigation: none; }
}
