@font-face {
  font-family: 'Miranda Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/miranda-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Miranda Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/miranda-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ground: #090909;
  --surface: #121214;
  --ink: #f3f2f1;
  --ink-dim: #9d9c99;
  --gold: #cea755;          /* gold for type and rules: 8.3:1 on --ground */
  --gold-brand: #987f16;    /* the badge metal; never small type on dark */
  --gold-deep: #917540;
  --rule: rgba(206, 167, 85, 0.30);
  --rule-soft: rgba(243, 242, 241, 0.12);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  /* one pixel of the approved comp, scaled to the viewport and capped at the 1440 frame */
  --s: clamp(1px, calc(100vw / 1024), 1.40625px);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: 'Miranda Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}

/* Browser surfaces themed from the palette, not left at defaults */
::selection { background: var(--gold-brand); color: #0a0a0a; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
html { scrollbar-color: var(--gold-deep) var(--ground); scrollbar-width: thin; }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--ground); }
::-webkit-scrollbar-thumb { background: #3a3326; border: 3px solid var(--ground); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-deep); }
a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }

.frame { width: 100%; max-width: 1440px; margin: 0 auto; }

/* ---------- masthead ---------- */
.masthead {
  height: 7.56%;
  min-height: calc(52 * var(--s));
  display: flex;
  align-items: center;
  gap: 1.6%;
  padding: 0 2.73%;
  border-bottom: 1px solid var(--rule);
  font-size: calc(13 * var(--s));
  letter-spacing: 0.02em;
}
.brand { display: flex; align-items: center; gap: calc(10 * var(--s)); text-decoration: none; flex: none; }
.brand img { width: calc(30 * var(--s)); height: calc(30 * var(--s)); display: block; }
.brand b { font-weight: 700; font-size: calc(19 * var(--s)); letter-spacing: -0.015em; }
.masthead nav { display: flex; gap: calc(22 * var(--s)); margin-inline-start: calc(20 * var(--s)); padding-inline-start: calc(20 * var(--s)); border-inline-start: 1px solid var(--rule); }
.masthead nav a { color: var(--ink); text-decoration: none; display: inline-block; padding-block: 9px; min-height: 24px; }
.masthead nav a:hover { color: var(--gold); }
.masthead .tel { margin-inline-start: auto; display: flex; align-items: center; gap: 7px; text-decoration: none; white-space: nowrap; padding-block: 9px; min-height: 24px; }
.masthead .tel:hover { color: var(--gold); }

/* ---------- headline ---------- */
.headline {
  margin: calc(10 * var(--s)) 0 0;
  padding: 0 calc(30 * var(--s));
  font-size: calc(36 * var(--s));
  line-height: calc(48 * var(--s));
  font-weight: 700;
  letter-spacing: -0.021em;
  text-wrap: balance;
}

/* ---------- stock grid ---------- */
.stock {
  list-style: none;
  margin: calc(10 * var(--s)) 0 0;
  padding: 0 calc(10 * var(--s)) 0 calc(15 * var(--s));
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: calc(191 * var(--s)) calc(185 * var(--s));
  column-gap: 0;
  row-gap: 0;
  border-top: 1px solid var(--gold-deep);
}
.stock > li { border-bottom: 1px solid var(--gold-deep); }
.stock > li:not(:nth-child(3n + 1)) { border-inline-start: 1px solid var(--gold-deep); }

.veh {
  display: grid;
  grid-template-columns: calc(182 * var(--s)) 1fr;
  align-items: center;
  column-gap: 0;
  height: 100%;
  padding-inline-start: calc(12 * var(--s));
  text-decoration: none;
  color: inherit;
}
.veh picture { display: block; align-self: start; margin-top: calc(4 * var(--s)); }
.veh img {
  width: calc(182 * var(--s));
  height: calc(172 * var(--s));
  object-fit: contain;
  display: block;
  transition: transform 420ms var(--ease);
}
.veh > div { padding-inline-end: 0; min-width: 0; }
/* the longest name wraps, as the comp sets it */
.stock > li:last-child .veh-name { white-space: normal; font-size: calc(20 * var(--s)); letter-spacing: -0.035em; }
.veh-name { font-size: calc(17 * var(--s)); font-weight: 700; line-height: 1.12; letter-spacing: -0.018em; margin: 0 0 calc(11 * var(--s)); white-space: nowrap; }
.veh:hover .veh-name { color: var(--gold); }
.tag {
  display: inline-block;
  font-size: calc(11 * var(--s));
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #0c0b08;
  background: var(--gold);
  padding: calc(2 * var(--s)) calc(7 * var(--s));
  border-radius: 2px;
}
.veh-price {
  margin: calc(13 * var(--s)) 0 0;
  padding-top: calc(11 * var(--s));
  border-top: 1px solid var(--rule);
  font-size: calc(20 * var(--s));
  font-weight: 700;
  letter-spacing: -0.015em;
  white-space: nowrap;
}


/* ---------- call to action ---------- */
.act { text-align: center; padding: calc(13 * var(--s)) calc(30 * var(--s)) 0; }
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: calc(12 * var(--s));
  width: calc(410 * var(--s));
  max-width: 100%;
  height: calc(50 * var(--s));
  background: var(--gold);
  color: #0a0a08;
  font-size: calc(26 * var(--s));
  font-weight: 700;
  letter-spacing: 0.005em;
  text-decoration: none;
  border: 0;
  border-radius: 3px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
  transition: background 220ms var(--ease), transform 220ms var(--ease);
}
.cta:hover { background: #ddb769; transform: translateY(-1px); }
.cta:active { transform: translateY(0); }
.cta svg { width: calc(17 * var(--s)); height: calc(17 * var(--s)); }
.act p { margin: calc(10 * var(--s)) 0 0; font-size: calc(13 * var(--s)); line-height: calc(22 * var(--s)); color: var(--ink-dim); }

/* ---------- services strip ---------- */
.services {
  margin-top: calc(27 * var(--s));
  border-top: 1px solid var(--rule);
  padding: calc(16 * var(--s)) calc(30 * var(--s));
  display: flex;
  align-items: center;
  gap: 2%;
  font-size: calc(13 * var(--s));
  font-weight: 500;
}
.services h2 { margin: 0; font-size: calc(15 * var(--s)); font-weight: 700; letter-spacing: -0.01em; flex: none; }
.services ul { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 0; margin: 0; padding: 0; flex: 1; }
.services li { display: flex; align-items: center; gap: calc(9 * var(--s)); padding: 0 2.2%; border-inline-start: 1px solid var(--rule-soft); white-space: nowrap; }
.services li:first-child { border-inline-start: 0; }
.services svg { width: calc(17 * var(--s)); height: calc(17 * var(--s)); flex: none; color: var(--gold); }

/* ---------- responsive ---------- */
@media (max-width: 1023px) {
  .headline { padding-inline: 4%; }
  .stock { padding-inline: 4%; grid-template-columns: repeat(3, 1fr); grid-auto-rows: auto; column-gap: 2%; }
  .veh { grid-template-columns: 50% 1fr; height: auto; column-gap: 3%; padding: 12px 0; }
  .veh img { width: 100%; height: auto; aspect-ratio: 1 / 1; }
  .act, .services { padding-inline: 4%; }
}
@media (max-width: 860px) {
  .stock { grid-template-columns: repeat(2, 1fr); }
  /* column rules follow the column count, not the desktop one */
  .stock > li:not(:nth-child(3n + 1)) { border-inline-start: 0; }
  .stock > li:not(:nth-child(2n + 1)) { border-inline-start: 1px solid var(--gold-deep); }
  .stock > li:nth-child(2n)::before { content: ""; }
  .headline { font-size: 30px; }
  .services { flex-wrap: wrap; gap: 10px; }
  .services ul { flex-wrap: wrap; }
}
@media (max-width: 560px) {
  .masthead { flex-wrap: wrap; height: auto; min-height: 0; padding-block: 6px 0; row-gap: 0; }
  .masthead nav { order: 3; flex: 0 0 100%; margin: 0; padding: 0; border: 0; gap: 4px 22px; justify-content: space-between; }
  .masthead nav a { padding-block: 12px; }
  body { padding-bottom: 58px; }
  .stock > li, .stock > li:not(:nth-child(2n + 1)), .stock > li:not(:nth-child(3n + 1)) { border-inline-start: 0; }
  .stock { grid-template-columns: 1fr; }
  .headline { font-size: 25px; padding-top: 5%; }
  .cta { width: 100%; }
  .veh { grid-template-columns: 44% 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- below the fold ---------- */
.stock-note {
  margin: calc(18 * var(--s)) 0 0;
  padding: 0 calc(30 * var(--s));
  font-size: 13px;
  color: var(--ink-dim);
}
.stock-note a { color: var(--gold); }

.band {
  padding: 56px calc(30 * var(--s)) 0;
  border-top: 1px solid var(--rule-soft);
  margin-top: 56px;
}
.band:first-of-type { margin-top: 48px; }
.band h2 {
  margin: 0 0 10px;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.022em;
}
.band .lead {
  margin: 0 0 28px;
  max-width: 62ch;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-dim);
}
.band h3 { margin: 0 0 8px; font-size: 17px; font-weight: 700; letter-spacing: -0.012em; }
.band h3 a { color: var(--gold); text-decoration: none; }
.band h3 a:hover { text-decoration: underline; }
.band p { font-size: 15px; line-height: 1.65; color: var(--ink-dim); margin: 0; }

.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; margin-top: 26px; }
.cols-4 { grid-template-columns: repeat(4, 1fr); gap: 28px; }

.svc { margin: 26px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 44px; }
.svc > div { padding: 18px 0; border-top: 1px solid var(--rule-soft); }
.svc dt { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 6px; }
.svc dd { margin: 0; font-size: 15px; line-height: 1.65; color: var(--ink-dim); }

.band-contact { background: var(--surface); padding-bottom: 56px; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; margin-top: 8px; }
.big-link { color: var(--gold); font-size: 18px; font-weight: 700; text-decoration: none; line-height: 1.9; }
.big-link:hover { text-decoration: underline; }
.addr { font-style: normal; line-height: 1.7; }

.foot { border-top: 1px solid var(--rule); margin-top: 0; }
.foot-inner { padding: 26px calc(30 * var(--s)) 40px; }
.foot p { margin: 0 0 8px; font-size: 13px; color: var(--ink-dim); line-height: 1.6; }
.foot a { color: var(--ink); }
.foot .muted { font-size: 12px; color: #8d8b86; max-width: 70ch; }

@media (max-width: 900px) {
  .cols, .cols-4, .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .svc { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .cols, .cols-4, .contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .band { padding-inline: 4%; margin-top: 40px; padding-top: 40px; }
  .band h2 { font-size: 23px; }
  .stock-note, .foot-inner { padding-inline: 4%; }
}

/* ---------- motion: one authored moment ---------- */
/* the card is the signature: the scooter lifts out of the grid, its rule draws across, the price warms */
.veh .veh-price { position: relative; transition: color 260ms var(--ease); }
.veh .veh-price::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: -1px;
  height: 1px;
  width: 0;
  background: var(--gold);
  transition: width 420ms var(--ease);
}
.veh:hover .veh-price::after,
.veh:focus-visible .veh-price::after { width: 100%; }
.veh:hover img,
.veh:focus-visible img { transform: translateY(-5px) scale(1.035); }
.veh:hover .veh-name,
.veh:focus-visible .veh-name { color: var(--gold); }

/* below-the-fold bands settle in; visible by default so no-JS and no-motion lose nothing */
.js .band[data-reveal] { opacity: 0; transform: translateY(14px); }
.js .band[data-reveal].in { opacity: 1; transform: none; transition: opacity 620ms var(--ease), transform 620ms var(--ease); }

@media (prefers-reduced-motion: reduce) {
  .veh:hover img, .veh:focus-visible img { transform: none; }
  .js .band[data-reveal] { opacity: 1; transform: none; }
  .veh .veh-price::after { transition: none; }
}

/* ---------- model pages ---------- */
.crumbs { padding: 18px calc(30 * var(--s)) 0; font-size: 13px; color: var(--ink-dim); }
.crumbs a { color: var(--gold); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span[aria-hidden] { padding: 0 6px; color: #4a4945; }

.model-head {
  display: grid;
  grid-template-columns: 1fr 380px;
  align-items: center;
  gap: 40px;
  padding: 30px calc(30 * var(--s)) 44px;
}
.model-head h1 {
  margin: 0 0 16px;
  font-size: 40px;
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.024em;
  text-wrap: balance;
}
.model-intro .lead { margin: 0 0 24px; max-width: 54ch; font-size: 17px; line-height: 1.6; color: var(--ink-dim); }
.model-img { width: 100%; height: auto; display: block; }
.cta-inline { width: auto; height: auto; padding: 14px 26px; font-size: 17px; }
.model-note { margin: 12px 0 0; font-size: 13px; color: var(--ink-dim); }
.model-cta { margin: 0; }

.facts {
  margin: 0;
  padding: 0 calc(30 * var(--s));
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0 28px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.facts > div { padding: 20px 0; }
.facts dt { font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--gold); margin-bottom: 7px; }
.facts dd { margin: 0; font-size: 15px; font-weight: 700; line-height: 1.45; }

.prose { max-width: 68ch; font-size: 15px; line-height: 1.7; color: var(--ink-dim); }
.model .band { margin-top: 44px; padding-top: 44px; }
.model .band:last-child { padding-bottom: 56px; }

@media (max-width: 900px) {
  .model-head { grid-template-columns: 1fr; gap: 24px; }
  .model-img { max-width: 340px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .model-head h1 { font-size: 31px; }
}
@media (max-width: 560px) {
  .facts { grid-template-columns: 1fr; padding-inline: 4%; }
  .facts > div { padding: 15px 0; border-top: 1px solid var(--rule-soft); }
  .facts > div:first-child { border-top: 0; }
  .model-head, .crumbs { padding-inline: 4%; }
  .model-head h1 { font-size: 26px; }
}


/* ---------- phone call bar ---------- */
.callbar {
  display: none;
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 20;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--gold);
  color: #0a0a08;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.005em;
  box-shadow: 0 -2px 14px rgba(0, 0, 0, 0.6);
}
.callbar span { font-weight: 500; }
.callbar:active { background: #ddb769; }

@media (max-width: 560px) {
  .callbar { display: flex; }
}
