@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300..800;1,9..40,400&family=Orbitron:wght@600;800&display=swap");
:root {
  --bg: #1c1f23;
  --bg2: #111;
  --panel: #25282d;
  --line: #3a3e44;
  --fg: #fff;
  --mut: #b8bcc2;
  --acc: #f58a1f;
  --light: #f7f7f7;
  --ink: #1a1c1f;
  --r: 16px;
  --font: "DM Sans", system-ui, sans-serif;
  --logo: "Orbitron", sans-serif;
}
* {
  box-sizing: border-box;
  margin: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.5;
}
a {
  color: inherit;
  text-decoration: none;
}
:focus-visible {
  outline: 2px solid var(--acc);
  outline-offset: 2px;
}
.wrap {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 24px;
}

.wrap-wide {
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  font-family: var(--logo);
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 1.5rem;
}
/* placeholders */
.ph {
  background: #dcdde0;
  color: #555;
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 0.8rem;
  padding: 8px;
  border-radius: 12px;
}
.ph.dark {
  background: #0d0e10;
  color: #777;
  border: 1px dashed #333;
}
/* header */
header.top {
  position: fixed;
  inset: 12px 16px auto;
  z-index: 50;
  background: rgba(55, 58, 63, 0.78);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
  padding: 0 20px;
}
.bar nav {
  display: flex;
  gap: 36px;
  font-weight: 600;
  font-size: 0.95rem;
}
.bar nav > div {
  position: relative;
}
.bar nav a:hover,
.bar nav a[aria-current] {
  color: var(--acc);
}
.bar .sp {
  width: 120px;
}
.burger {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: #fff;
  border-radius: 8px;
  padding: 6px 10px;
}
@media (max-width: 860px) {
  .bar nav {
    display: none;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background: #25282d;
    flex-direction: column;
    padding: 20px;
    gap: 14px;
    border-radius: 12px;
  }
  .bar nav.open {
    display: flex;
  }
  .burger {
    display: block;
  }
  .bar .sp {
    display: none;
  }
}
/* hero / index */
.hero {
  min-height: 100vh;
  display: grid;
  align-content: end;
  padding: 120px 0 64px;
  background: #0b0c0e;
}
.hero .ph {
  position: absolute;
  inset: 0;
  border-radius: 0;
}
.hero {
  position: relative;
}
.hero .wrap {
  position: relative;
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 1.05;
  max-width: 14ch;
  margin-bottom: 16px;
}
.hero p {
  max-width: 50ch;
  color: var(--mut);
  font-size: 1.15rem;
}
.btn {
  display: inline-block;
  border: 1px solid #fff;
  padding: 12px 22px;
  border-radius: 6px;
  margin-top: 24px;
  font-size: 1.05rem;
}
.btn:hover {
  background: #fff;
  color: #111;
}
.btn.solid {
  background: var(--acc);
  border-color: var(--acc);
  color: #111;
  font-weight: 700;
}
.banner {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  border-top: 1px solid #000;
}
.banner .ph {
  position: absolute;
  inset: 0;
  border-radius: 0;
}
.banner .wrap {
  position: relative;
  padding-bottom: 48px;
  width: 100%;
}
.banner h2 {
  font-size: clamp(2.5rem, 7vw, 6rem);
  font-family: var(--logo);
  font-style: italic;
  letter-spacing: 0.04em;
}
.banner p {
  max-width: 46ch;
  color: var(--mut);
  margin-top: 8px;
}
.sec {
  padding: 96px 0;
}
.sec h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 24px;
}
.sec p {
  max-width: 80ch;
  margin-bottom: 16px;
  font-size: 1.15rem;
}
.stats {
  background: var(--bg);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px 24px;
  text-align: center;
  padding: 96px 24px;
}
.stats b {
  display: block;
  font-size: 3.4rem;
  line-height: 1;
}
.stats span {
  color: var(--mut);
}
@media (max-width: 700px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* PDP */
.pdp {
  padding: 88px 0 0;
  background: #000;
}
.pdp .top2 {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 32px;
  padding: 16px 24px 64px;
  /*max-width: 1500px;*/
  margin: 0 auto;
}
@media (max-width: 900px) {
  .pdp .top2 {
    grid-template-columns: 1fr;
  }
}
.gal {
  position: relative;
}
.gal .ph {
  aspect-ratio: 4/3;
  border-radius: var(--r);
}
.gal button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #555;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  cursor: pointer;
}
.gal .prev {
  left: 12px;
}
.gal .next {
  right: 12px;
}
.pdp h1 {
  font-size: 2.4rem;
}
.chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 12px 0;
}
.chips span {
  background: #3a3d42;
  font-size: 0.7rem;
  padding: 3px 7px;
  border-radius: 4px;
}
.price {
  color: var(--acc);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 8px 0 16px;
}
.box {
  background: var(--panel);
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 14px;
}
.box ul {
  padding-left: 18px;
  font-size: 0.9rem;
  display: grid;
  gap: 8px;
}
.opts {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 10px 0 18px;
}
.opts button {
  background: none;
  color: #fff;
  border: 1px solid #555;
  border-radius: 6px;
  padding: 10px 16px;
  font: inherit;
  cursor: pointer;
}
.opts button[aria-pressed="true"] {
  border-color: #fff;
  background: #1c1f23;
}
.sw {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid #666;
  background: #888;
  cursor: pointer;
}
.sw[aria-pressed="true"] {
  border-color: #fff;
}
.quote {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: #fff;
  color: #111;
  border-radius: 14px;
  padding: 14px 18px;
}
.quote small {
  display: block;
  color: #555;
}
.quote a {
  background: #25282d;
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
}
.dark-sec {
  background: var(--bg);
  padding: 72px 0;
}
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 800px) {
  .story {
    grid-template-columns: 1fr;
  }
}
.story h2 {
  font-size: 1.6rem;
}
.story hr {
  border: 0;
  border-top: 1px solid var(--mut);
  margin: 14px 0;
}
.story p {
  font-size: 0.95rem;
  margin-bottom: 12px;
}
.fcards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
  margin-top: 24px;
}
.fcards .ph {
  aspect-ratio: 16/10;
  align-items: end;
  text-align: left;
  justify-items: start;
  background: #0d0e10;
  color: #fff;
  padding: 20px;
}
.fcards h3 {
  font-size: 1.1rem;
}
.fcards p {
  font-size: 0.8rem;
  color: var(--mut);
}
.light {
  background: #fff;
  color: var(--ink);
  padding: 56px 0;
}
.light h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}
details.acc {
  border-top: 1px solid #bbb;
  padding: 22px 0;
}
details.acc > summary {
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
}
details.acc > summary::after {
  content: "⌃";
  transition: transform 0.2s;
}
details.acc:not([open]) > summary::after {
  transform: rotate(180deg);
}
.kf {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 16px 0;
}
.kf figure {
  flex: 0 0 min(300px, 80%);
  scroll-snap-align: start;
  font-size: 0.8rem;
}
.kf .ph {
  aspect-ratio: 1;
  margin-bottom: 12px;
}
.specs {
  background: var(--light);
  border: 1px solid #bbb;
  border-radius: 14px;
  padding: 24px;
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px 32px;
}
.specs dt {
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: none;
}
.specs dd {
  margin: 0 0 14px;
  font-size: 0.78rem;
  color: #333;
}
.fine {
  font-size: 0.75rem;
  color: #555;
  margin-top: 18px;
}
table.g {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
}
table.g th,
table.g td {
  padding: 12px 6px;
  border-bottom: 1px solid #ccc;
  text-align: center;
}
table.g td:first-child,
table.g th:first-child {
  text-align: left;
}
.tw {
  overflow-x: auto;
  background: #f4f4f4;
  border-radius: 12px;
  padding: 12px 16px;
}
.support {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 20px;
}
.support div {
  background: #f6f6f6;
  border-radius: 14px;
  padding: 22px;
  min-height: 180px;
}
.support h3 {
  font-size: 1rem;
  margin: 12px 0 6px;
}
.support p {
  font-size: 0.8rem;
  color: #444;
}
[hidden] {
  display: none !important;
}
/* footer */
footer {
  background: var(--bg2);
  margin: 12px;
  border-radius: 14px;
  padding: 56px 40px 32px;
}
footer .cols {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
}
footer h4 {
  margin-bottom: 10px;
}
footer a {
  display: block;
  font-size: 0.8rem;
  margin-bottom: 6px;
  color: #ddd;
}
footer .soc {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #444;
}
footer .soc a {
  font-size: 0.9rem;
}
/* map */
.stores {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 20px;
  padding: 110px 24px 40px;
  max-width: 1500px;
  margin: 0 auto;
  min-height: 100vh;
}
@media (max-width: 800px) {
  .stores {
    grid-template-columns: 1fr;
  }
}
#map {
  min-height: 520px;
  border-radius: var(--r);
  height: 100%;
}
.slist {
  display: grid;
  gap: 10px;
  align-content: start;
}
.slist button {
  text-align: left;
  background: var(--panel);
  border: 1px solid var(--line);
  color: #fff;
  border-radius: 12px;
  padding: 14px;
  font: inherit;
  cursor: pointer;
}
.slist small {
  color: var(--mut);
  display: block;
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* --- mobile menu --- */
.mnav {
  display: none;
}
@media (max-width: 860px) {
  .bar nav {
    display: none !important;
  }
  .mnav {
    display: block;
    max-height: calc(100vh - 90px);
    overflow: auto;
    padding: 4px 20px 20px;
    border-top: 1px solid var(--line);
  }
  .mnav[hidden] {
    display: none;
  }
  .mnav details {
    border-bottom: 1px solid var(--line);
  }
  .mnav summary,
  .mnav > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    font-size: 1.05rem;
    cursor: pointer;
    list-style: none;
  }
  .mnav summary::after {
    content: "⌄";
    color: var(--mut);
  }
  .mnav details[open] > summary {
    font-weight: 700;
  }
  .mnav details[open] > summary::after {
    content: "⌃";
  }
  .mnav .pg {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 12px;
    padding-bottom: 16px;
  }
  .mnav .pg a {
    text-align: center;
    font-size: 0.9rem;
  }
  .mnav .pg .ph {
    height: 90px;
    margin-bottom: 6px;
  }
  .mnav .pg small {
    display: block;
    color: var(--mut);
  }
  .mnav h5 {
    font-size: 0.85rem;
    color: var(--mut);
    font-weight: 500;
    margin: 6px 0 10px;
  }
}
video.bgv {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.price s {
  color: var(--mut);
  font-size: 1rem;
  font-weight: 400;
  margin-right: 10px;
}
.price .badge {
  background: var(--acc);
  color: #111;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  vertical-align: middle;
  margin-left: 10px;
}

.gimg {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: #0d0e10;
  border-radius: var(--r);
  display: block;
}
.cimg {
  width: 100%;
  height: 130px;
  object-fit: contain;
  margin-bottom: 12px;
  display: block;
}
@media (max-width: 860px) {
  .mnav .pg .cimg {
    height: 90px;
    margin-bottom: 6px;
  }
}

/* Banner with the text on the right side */
.banner--right .wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

/* ---------- Desktop dropdown: the header "shelf" extends downward ---------- */
header.top {
  transition: background 0.3s ease;
}
header.top.is-open {
  background: rgba(48, 50, 54, 0.96);
}
.mega {
  display: grid;
  grid-template-rows: 0fr; /* closed = 0 height */
  transition: grid-template-rows 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
header.top.is-open .mega {
  grid-template-rows: 1fr; /* open = natural height */
}
.mega-clip {
  overflow: hidden;
  min-height: 0;
  visibility: hidden; /* keeps links out of tab order while closed */
  transition: visibility 0s 0.45s;
}
header.top.is-open .mega-clip {
  visibility: visible;
  transition-delay: 0s;
}
.mega .in {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  min-height: 340px;
  padding: 14px 32px 32px;
}
.mega .side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--line);
  padding-right: 24px;
}
.mega ul {
  list-style: none;
  padding: 0;
}
.mega li button {
  background: none;
  border: 0;
  color: var(--mut);
  font: 500 1.05rem var(--font);
  padding: 14px 0;
  cursor: pointer;
  display: block;
  width: 100%;
  text-align: left;
}
.mega li button[aria-selected="true"] {
  color: #fff;
  font-weight: 700;
}
.mega .pill {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.85rem;
}
.mega .pill:hover {
  background: rgba(255, 255, 255, 0.2);
}
.mega .grid {
  display: none;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 24px;
  align-content: start;
}
.mega .grid.on {
  display: grid;
}
.mega .card {
  text-align: center;
  display: block;
}
.mega .card .ph,
.mega .card .cimg {
  height: 130px;
  margin-bottom: 14px;
}
.mega .card b {
  font-size: 1.4rem;
  display: block;
}
.mega .card small {
  display: block;
  font-size: 0.82rem;
  margin: 4px auto 10px;
  max-width: 28ch;
}
.mega .cprice {
  font-size: 0.82rem;
  color: var(--mut);
}
.mega .cprice s {
  margin-right: 6px;
  opacity: 0.7;
}
.mega .card:hover b {
  color: var(--acc);
}
/* cards fade up one after another each time a category opens */
header.top.is-open .mega .grid.on .card {
  animation: cardIn 0.45s ease both;
  animation-delay: calc(var(--i, 0) * 60ms + 120ms);
}
@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}
@media (max-width: 860px) {
  .mega {
    display: none !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .mega,
  .mega-clip {
    transition: none;
  }
  header.top.is-open .mega .grid.on .card {
    animation: none;
  }
}
/* logo image (replaces the text logo when public/img/logo.svg|png exists) */
.top .logo-img {
  height: 22px;
  display: block;
}
footer .logo-img {
  height: 40px;
  display: block;
}

/* Background media (image or video) with a soft dark gradient so text stays readable */
.bgmedia {
  position: absolute;
  inset: 0;
}
.bgmedia picture,
.bgmedia img,
.bgmedia video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bgmedia::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0) 60%);
}

/* ---------- Fill a placeholder: keep the .ph box, put an <img> or <video> INSIDE it ----------
   The box keeps its size, rounded corners and layout; the media is cropped to fill it.
   Delete the label text inside the box once the media is in. */
.ph {
  position: relative;
  overflow: hidden;
}
.ph > img,
.ph > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ph:has(> img, > video) {
  border: 0;
}
/* menu thumbnails show the whole bike instead of cropping it */
.mega .ph > img,
.mnav .ph > img {
  object-fit: contain;
}
/* feature cards: image behind the text, with a gradient so the text stays readable */
.fcards .ph > div {
  position: relative;
  z-index: 1;
}
.fcards .ph:has(> img, > video)::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0) 60%);
}

/* Hero media box on bike pages: wide on desktop, tall on phones */
.hero-media {
  aspect-ratio: 16 / 7;
  margin-bottom: 40px;
}
@media (max-width: 860px) {
  .hero-media {
    aspect-ratio: 9 / 16;
    /*max-height: 80vh;*/
  }
}