/* Theme: black steel + chrome, with a hot orange accent */
:root {
  color-scheme: dark;
  --ink: #ececec;
  --muted: #9a9ea6;
  --bg: #0b0b0c;
  --surface: #151618;
  --surface-2: #1d1f22;
  --line: #2b2e33;
  --steel: #6f757e;
  --chrome: linear-gradient(180deg, #ffffff 0%, #c9ccd1 38%, #7d828a 52%, #d9dce0 70%, #9ea3aa 100%);
  --brushed: repeating-linear-gradient(90deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 3px),
             linear-gradient(180deg, #202226, #141518);
  --carbon: repeating-linear-gradient(45deg, rgba(255,255,255,0.03) 0 2px, transparent 2px 6px),
            repeating-linear-gradient(-45deg, rgba(0,0,0,0.35) 0 2px, transparent 2px 6px);
  --hazard: repeating-linear-gradient(-45deg, var(--accent) 0 14px, #0b0b0c 14px 28px);
  --accent: #ff5a1f;       /* exhaust orange */
  --accent-hot: #ff7a3d;
  --radius: 4px;
  --shadow: 0 1px 0 rgba(255,255,255,0.05) inset, 0 10px 30px rgba(0,0,0,0.5);
  --font-head: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg) var(--carbon);
}
img { max-width: 100%; display: block; }
a { color: var(--accent-hot); }
a:hover { color: #fff; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.05; letter-spacing: 0.02em; margin: 0 0 0.5em; font-style: italic; }
h1 { font-size: clamp(2.4rem, 6vw, 4rem); text-transform: uppercase; font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.8vw, 2.5rem); text-transform: uppercase; font-weight: 800; }
h3 { font-size: 1.4rem; font-weight: 700; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
::selection { background: var(--accent); color: #000; }

/* Chrome text for big headings */
.hero h1, .page-hero h1, .section-head h2, .cta-band h2 {
  background: var(--chrome);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 0 rgba(0, 0, 0, 0.6));
}

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding-inline: 20px; }
.section { padding-block: 72px; }
.section-alt { background: var(--brushed); border-block: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.section-head h2 { margin: 0; padding-left: 16px; border-left: 6px solid var(--accent); }
.lede { font-size: 1.15rem; color: #c8cbd0; max-width: 60ch; }

/* Buttons */
.btn {
  display: inline-block;
  font: 800 1.05rem var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-style: italic;
  padding: 0.85em 1.8em;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  transition: background 0.15s, color 0.15s, transform 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #0b0b0c; }
.btn-primary:hover { background: var(--accent-hot); color: #0b0b0c; }
.btn-ghost { background: var(--chrome); color: #111; }
.btn-ghost:hover { color: #000; filter: brightness(1.1); }
.link-btn { background: none; border: 0; color: var(--accent-hot); cursor: pointer; text-decoration: underline; font: inherit; padding: 0; }

/* Header */
#site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 8, 9, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 3px 0 -1px var(--accent);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 70px; gap: 16px; }
.logo { display: flex; align-items: baseline; gap: 8px; color: #fff; text-decoration: none; font-family: var(--font-head); font-style: italic; }
.logo-mark {
  font-size: 2.1rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap;
  background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.logo-text { font-size: 1.1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent); }
.main-nav { display: flex; gap: 2px; align-items: center; }
.main-nav a {
  color: #d5d8dc;
  text-decoration: none;
  padding: 8px 14px;
  font: 700 1.05rem var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover { color: #fff; border-bottom-color: var(--steel); }
.main-nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--accent); }
.pickup-link { display: inline-flex; align-items: center; gap: 6px; }
.badge { background: var(--accent); color: #000; font-size: 0.75rem; font-weight: 800; padding: 1px 7px; font-family: var(--font-body); }
.nav-toggle { display: none; background: none; border: 1px solid var(--steel); color: #fff; padding: 6px 12px; font: 700 1rem var(--font-head); text-transform: uppercase; letter-spacing: 0.08em; cursor: pointer; }

@media (max-width: 820px) {
  .logo-mark { font-size: 1.6rem; }
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 70px; left: 0; right: 0; background: #0b0b0c; border-bottom: 3px solid var(--accent); flex-direction: column; align-items: stretch; padding: 8px 20px 16px; }
  .nav-open .main-nav { display: flex; }
}

/* Hero */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(255, 90, 31, 0.28), transparent 50%),
    radial-gradient(ellipse at 10% 110%, rgba(255, 255, 255, 0.08), transparent 45%),
    var(--carbon),
    #09090a;
  color: #fff;
  padding-block: clamp(80px, 13vw, 150px);
  overflow: hidden;
}
.hero::after, .page-hero::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 10px;
  background: var(--hazard);
}
.hero p { font-size: 1.2rem; max-width: 52ch; color: #c8cbd0; }
.hero .eyebrow {
  display: inline-block;
  text-transform: uppercase; letter-spacing: 0.22em; font-size: 0.8rem; font-weight: 700;
  color: var(--accent); border: 1px solid var(--accent); padding: 4px 10px; margin-bottom: 18px; max-width: none;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.page-hero {
  position: relative;
  background: radial-gradient(ellipse at 85% 0%, rgba(255, 90, 31, 0.22), transparent 55%), var(--brushed);
  color: #fff;
  padding-block: 56px 66px;
  border-bottom: 1px solid var(--line);
}
.page-hero p { color: #b9bdc3; max-width: 60ch; margin: 0; }

/* Value props */
.props { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.prop { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--accent); padding: 24px; box-shadow: var(--shadow); }
.prop h3 { color: #fff; text-transform: uppercase; }
.prop p { color: var(--muted); margin: 0; }

/* Category tiles */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 12px; }
.cat-tile {
  position: relative;
  display: flex; align-items: end;
  min-height: 100px; padding: 16px;
  background: var(--brushed); border: 1px solid var(--line);
  font: italic 800 1.35rem var(--font-head); text-transform: uppercase; letter-spacing: 0.04em;
  color: #e6e8eb; text-decoration: none;
  transition: border-color 0.15s, transform 0.15s, color 0.15s;
}
.cat-tile::before {
  content: ""; position: absolute; top: 12px; right: 12px; width: 26px; height: 4px; background: var(--steel);
  transition: background 0.15s, width 0.15s;
}
.cat-tile:hover { border-color: var(--accent); color: #fff; transform: translateY(-2px); }
.cat-tile:hover::before { background: var(--accent); width: 40px; }

/* Product grid + cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden; transition: transform 0.15s, border-color 0.15s;
}
.card:hover { transform: translateY(-3px); border-color: var(--accent); }
.card-link { color: inherit; text-decoration: none; display: block; }
.card-link:hover { color: inherit; }
.card-img { aspect-ratio: 4 / 3; background: #101113; border-bottom: 1px solid var(--line); }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 14px 16px 18px; }
.card-body h3 { margin: 4px 0 6px; color: #fff; }
.card-brand { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); margin: 0; }
.card-price { font: 800 1.25rem var(--font-head); color: var(--accent); margin: 0; letter-spacing: 0.02em; }
.tag { font: 700 0.7rem var(--font-body); text-transform: uppercase; letter-spacing: 0.08em; background: transparent; color: var(--muted); border: 1px solid var(--steel); padding: 2px 6px; margin-left: 6px; vertical-align: middle; }

.ph {
  width: 100%; height: 100%; display: grid; place-items: center;
  background: radial-gradient(ellipse at 50% 40%, #2a2d31, #0f1012 75%);
}
.ph-art { width: 62%; fill: none; stroke: #b9bec5; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(255,255,255,0.12)); }
.ph-art .batt { fill: var(--accent); stroke: var(--accent); filter: drop-shadow(0 0 6px rgba(255,90,31,0.7)); }
.ph-ebikes { background: radial-gradient(ellipse at 50% 40%, #3a2419, #0f1012 75%); }

/* Shop toolbar */
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button {
  font: 700 0.95rem var(--font-head); text-transform: uppercase; letter-spacing: 0.08em;
  padding: 7px 14px;
  border: 1px solid var(--line); background: var(--surface); color: #cfd2d6; cursor: pointer;
}
.chips button:hover { border-color: var(--steel); color: #fff; }
.chips button[aria-pressed="true"] { background: var(--accent); color: #000; border-color: var(--accent); }
.toolbar-right { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
input, select, textarea {
  font: inherit; padding: 10px 12px;
  border: 1px solid #34373d; border-radius: var(--radius); background: #0f1012; color: var(--ink);
}
input::placeholder, textarea::placeholder { color: #6b7078; }
input:focus, select:focus, textarea:focus, button:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
#result-count { color: var(--muted); font-size: 0.9rem; }
.empty { color: var(--muted); padding: 32px 0; }

/* Product page */
.crumbs { font-size: 0.85rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; }
.crumbs a { color: var(--muted); }
.product-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: start; }
.product-img { aspect-ratio: 4 / 3; overflow: hidden; background: #101113; border: 1px solid var(--line); }
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-price { font: 800 2.4rem var(--font-head); color: var(--accent); margin: 0 0 4px; }
.stock { font-weight: 600; margin-top: 0; }
.stock.in { color: #5fd38a; }
.stock.out { color: var(--accent-hot); }
.add-form { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; margin: 24px 0; }
.add-form label { display: flex; flex-direction: column; gap: 4px; font-weight: 600; }
.form-note { margin: 0; min-height: 1.6em; }
.fine { font-size: 0.9rem; color: var(--muted); }
@media (max-width: 820px) { .product-layout { grid-template-columns: 1fr; gap: 24px; } }

/* Pickup list */
.pickup-table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.pickup-table th, .pickup-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.pickup-table thead th { font: 700 0.85rem var(--font-head); text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); background: var(--surface-2); }
.pickup-table input { width: 70px; }
.pickup-table tfoot th, .pickup-table tfoot td { font-weight: 700; border-bottom: 0; background: var(--surface-2); }
.pickup-table tfoot td { color: var(--accent); font: 800 1.3rem var(--font-head); }
.table-wrap { overflow-x: auto; }

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid label { display: flex; flex-direction: column; gap: 6px; font: 700 0.95rem var(--font-head); text-transform: uppercase; letter-spacing: 0.08em; color: #c8cbd0; }
.form-grid input, .form-grid select, .form-grid textarea { font-family: var(--font-body); text-transform: none; letter-spacing: normal; font-weight: 400; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.panel { background: var(--brushed); border: 1px solid var(--line); border-top: 3px solid var(--accent); box-shadow: var(--shadow); padding: 28px; }

/* Services */
.service-group { margin-bottom: 44px; }
.service-group h2 { padding-left: 14px; border-left: 6px solid var(--accent); }
.service-group ul { list-style: none; padding: 0; margin: 0; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.service-group li { display: flex; justify-content: space-between; gap: 20px; padding: 16px 20px; border-bottom: 1px dashed var(--line); }
.service-group li:last-child { border-bottom: 0; }
.service-group li:hover { background: var(--surface-2); }
.service-group li strong { color: #fff; }
.service-group li p { margin: 2px 0 0; color: var(--muted); font-size: 0.95rem; }
.svc-price { font: 800 1.35rem var(--font-head); white-space: nowrap; color: var(--accent); }
.callout { background: var(--surface); border: 1px solid var(--line); border-left: 6px solid var(--accent); padding: 16px 20px; }

/* About */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 820px) { .two-col { grid-template-columns: 1fr; gap: 32px; } }
.timeline { list-style: none; padding: 0; margin: 0; border-left: 3px solid var(--steel); }
.timeline li { padding: 0 0 22px 22px; position: relative; color: #c8cbd0; }
.timeline li::before { content: ""; position: absolute; left: -9px; top: 6px; width: 15px; height: 15px; background: var(--accent); transform: rotate(45deg); }
.timeline strong { font: italic 800 1.3rem var(--font-head); display: block; color: #fff; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.team-card { background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); padding: 24px; transition: border-color 0.15s; }
.team-card:hover { border-color: var(--accent); }
.team-card h3 { color: #fff; }
.team-card p { color: var(--muted); }
.avatar {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--chrome); color: #111;
  display: grid; place-items: center;
  font: italic 800 2rem var(--font-head);
  margin-bottom: 14px; object-fit: cover;
  box-shadow: 0 0 0 3px #0b0b0c, 0 0 0 5px var(--accent);
}
.team-card .role { color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.85rem; margin-top: -6px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 32px; align-items: start; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-block { margin-bottom: 24px; padding-left: 14px; border-left: 3px solid var(--line); }
.contact-block h3 { margin-bottom: 4px; color: var(--accent); text-transform: uppercase; }
.contact-block p { margin: 0; }
.map {
  width: 100%; aspect-ratio: 16 / 9; border: 1px solid var(--line); margin-top: 32px;
  filter: grayscale(1) invert(0.9) contrast(0.9);
}
.hours { border-collapse: collapse; }
.hours th { text-align: left; font-weight: 500; padding: 2px 16px 2px 0; }
.hours td { padding: 2px 0; }

/* CTA band */
.cta-band { position: relative; background: #070708; border-top: 10px solid transparent; border-image: var(--hazard) 1; }
.cta-band .container { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { margin: 0; }
.cta-band p { color: var(--muted); margin: 6px 0 0; }

/* Footer */
#site-footer { background: #050506; color: #9a9ea6; padding-top: 52px; border-top: 1px solid var(--line); }
#site-footer a { color: #e6e8eb; }
#site-footer a:hover { color: var(--accent); }
#site-footer h3 { color: var(--accent); font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.12em; }
#site-footer .hours th { color: #d5d8dc; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.footer-brand {
  font: italic 800 1.7rem var(--font-head); margin-top: 0; text-transform: uppercase;
  background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.copyright { border-top: 1px solid var(--line); margin-top: 36px; padding-block: 20px; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; }

/* Locations */
.locations { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.locations.stacked { grid-template-columns: 1fr; gap: 16px; margin-bottom: 24px; }
.location-card { background: var(--surface); border: 1px solid var(--line); border-left: 6px solid var(--accent); box-shadow: var(--shadow); padding: 20px 24px; }
.location-card h3 { color: #fff; text-transform: uppercase; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.location-card p { margin: 0 0 8px; }
.location-card .fine { margin: 0; }
.loc-badge {
  display: inline-block; vertical-align: middle;
  font: 700 0.72rem var(--font-body); font-style: normal; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--accent); border: 1px solid var(--accent); padding: 3px 8px;
  -webkit-text-fill-color: currentColor;
}
.card-where { margin: 4px 0 0; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); }
.where { margin-top: 0; color: #c8cbd0; }
.where strong { color: #fff; }
.maps { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-top: 32px; }
.maps .map { margin-top: 0; aspect-ratio: 4 / 3; }

/* Lifetime tune-up promo */
.promo { background: var(--accent); color: #0b0b0c; padding-block: 28px; }
.promo-inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.promo-mark { font: 800 4rem/1 var(--font-body); color: #0b0b0c; }
.promo-text { flex: 1 1 320px; }
.promo-text h2 { margin: 0 0 4px; color: #0b0b0c; }
.promo-text p { margin: 0; font-size: 1.1rem; font-weight: 500; }
.promo .btn-ghost { background: #0b0b0c; color: #fff; }
.promo .btn-ghost:hover { color: var(--accent); filter: none; }
.perk { margin: 0 0 12px; padding: 10px 14px; border-left: 4px solid var(--accent); background: var(--surface); color: #fff; font-weight: 600; }

/* Photo credits */
.photo-credit { font-size: 0.78rem; color: var(--muted); margin: 8px 0 0; }
.photo-credit a { color: var(--muted); }
.credit-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.credit-list li { display: flex; gap: 16px; align-items: center; background: var(--surface); border: 1px solid var(--line); padding: 10px; }
.credit-list img { width: 96px; aspect-ratio: 4 / 3; object-fit: cover; flex: none; }
.credit-list .fine a { color: var(--muted); }
