/* ChainLine Cycle — base styles */
*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --black: #0a0a0a;
  --near-black: #141414;
  --soft-black: #1a1a1a;
  --white: #fafafa;
  --paper: #f4f3f0;
  --gray-100: #ececea;
  --gray-200: #d8d6d2;
  --gray-300: #b8b5b0;
  --gray-400: #8a8782;
  --gray-500: #5c5a55;
  --gray-600: #3a3835;
  --hairline: rgba(10, 10, 10, 0.12);
  --hairline-light: rgba(250, 250, 250, 0.18);
  --display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --mono: "JetBrains Mono", "SF Mono", ui-monospace, monospace;
  --accent: var(--black);
  --grain-opacity: 0.04;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--white);
  color: var(--black);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

html {
  overflow-x: clip;
}

body {
  overflow-x: hidden;
  max-width: 100%;
}

#root {
  overflow-x: clip;
  max-width: 100vw;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* Grain overlay */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9990;
  opacity: var(--grain-opacity);
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.55 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* Scroll progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--black);
  z-index: 9998;
  transition: background 0.3s;
}

.scroll-progress.on-dark {
  background: var(--white);
}

/* Layout */
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
}

.container-wide {
  width: 100%;
  max-width: 1640px;
  margin: 0 auto;
  padding: 0 40px;
}

.container-narrow {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 768px) {
  .container,
  .container-wide,
  .container-narrow {
    padding: 0 20px;
  }
}

/* Hairline rule */
.hr {
  border: 0;
  border-top: 1px solid var(--hairline);
  margin: 0;
}

.hr-light {
  border: 0;
  border-top: 1px solid var(--hairline-light);
  margin: 0;
}

/* Eyebrow text */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-500);
  font-weight: 500;
}

.eyebrow-light {
  color: var(--gray-300);
}

/* Section labels */
.section-label {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 48px;
}

.section-label::before {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

/* Display headings */
.display-xxl {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(48px, 8.5vw, 132px);
  line-height: 0.94;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin: 0;
}

.display-xl {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(44px, 7vw, 104px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  margin: 0;
}

.display-l {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0;
}

.display-m {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(28px, 3.5vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  margin: 0;
}

.display-s {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 0;
}

.serif-italic {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: -0.005em;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 32px;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid var(--black);
  background: var(--black);
  color: var(--white);
  position: relative;
  overflow: hidden;
  transition: color 0.4s ease;
  isolation: isolate;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--white);
  transform: translateX(-101%);
  transition: transform 0.5s cubic-bezier(0.7, 0, 0.2, 1);
  z-index: -1;
}

.btn:hover {
  color: var(--black);
}

.btn:hover::before {
  transform: translateX(0);
}

.btn-outline {
  background: transparent;
  color: var(--black);
}

.btn-outline::before {
  background: var(--black);
}

.btn-outline:hover {
  color: var(--white);
}

.btn-light {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.btn-light::before {
  background: var(--black);
}

.btn-light:hover {
  color: var(--white);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline-light::before {
  background: var(--white);
}

.btn-outline-light:hover {
  color: var(--black);
}

.btn .arrow {
  display: inline-block;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.btn:hover .arrow {
  transform: translateX(4px);
}

/* Underline-from-left link */
.link-underline {
  position: relative;
  display: inline-block;
  padding-bottom: 2px;
}

.link-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.link-underline:hover::after {
  transform: scaleX(1);
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.reveal-d-1 {
  transition-delay: 0.08s;
}
.reveal-d-2 {
  transition-delay: 0.16s;
}
.reveal-d-3 {
  transition-delay: 0.24s;
}
.reveal-d-4 {
  transition-delay: 0.32s;
}
.reveal-d-5 {
  transition-delay: 0.4s;
}
.reveal-d-6 {
  transition-delay: 0.48s;
}

/* Hero letter split */
.split-line {
  display: block;
  overflow: hidden;
}

.split-char {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
}

.split-line.go .split-char {
  animation: splitIn 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes splitIn {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Placeholder image (striped) */
.ph {
  position: relative;
  background: linear-gradient(135deg, #1f1f1f 0%, #0a0a0a 100%);
  overflow: hidden;
  isolation: isolate;
}

.ph::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.03) 0,
    rgba(255, 255, 255, 0.03) 2px,
    transparent 2px,
    transparent 8px
  );
}

.ph::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 30%, rgba(255, 255, 255, 0.08), transparent 70%);
}

.ph-light {
  background: linear-gradient(135deg, #d8d6d2 0%, #b8b5b0 100%);
}

.ph-light::before {
  background-image: repeating-linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.04) 0,
    rgba(0, 0, 0, 0.04) 2px,
    transparent 2px,
    transparent 8px
  );
}

.ph-light::after {
  background: radial-gradient(ellipse at 50% 30%, rgba(255, 255, 255, 0.4), transparent 70%);
}

.ph-label {
  position: absolute;
  bottom: 16px;
  left: 16px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  z-index: 1;
}

.ph-light .ph-label {
  color: rgba(0, 0, 0, 0.5);
}

.ph-corners::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 12px;
  width: 14px;
  height: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  border-left: 1px solid rgba(255, 255, 255, 0.4);
  z-index: 2;
  background: none;
}

.ph-corners::after {
  content: "";
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 14px;
  height: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  border-right: 1px solid rgba(255, 255, 255, 0.4);
  z-index: 2;
  background: none;
}

/* Ken Burns */
@keyframes kenBurns {
  0% {
    transform: scale(1.05) translate(0, 0);
  }
  100% {
    transform: scale(1.18) translate(-2%, -2%);
  }
}

.kenburns {
  animation: kenBurns 22s ease-in-out infinite alternate;
  width: 100%;
  height: 100%;
}

/* Marquee */
.marquee {
  display: flex;
  overflow: hidden;
  white-space: nowrap;
  user-select: none;
}

.marquee-track {
  display: flex;
  flex-shrink: 0;
  animation: marquee 38s linear infinite;
  gap: 0;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

.marquee-fast .marquee-track {
  animation-duration: 22s;
}

/* Sections */
.section {
  position: relative;
}

.section-pad {
  padding: 140px 0;
}

.section-pad-sm {
  padding: 80px 0;
}

@media (max-width: 768px) {
  .section-pad {
    padding: 80px 0;
  }
  .section-pad-sm {
    padding: 56px 0;
  }
}

.bg-black {
  background: var(--black);
  color: var(--white);
}

.bg-white {
  background: var(--white);
  color: var(--black);
}

.bg-paper {
  background: var(--paper);
  color: var(--black);
}

.bg-gray {
  background: var(--gray-100);
  color: var(--black);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #ffffff;
  color: var(--black);
  border-bottom: 1px solid var(--hairline);
}

/* legacy classes — kept for back-compat, all map to white */
.header.solid,
.header.light {
  background: #ffffff;
  color: var(--black);
  border-bottom-color: var(--hairline);
}

.announce {
  background: var(--black);
  color: var(--white);
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--hairline-light);
  overflow: hidden;
}

.announce-track {
  display: flex;
  align-items: center;
  gap: 48px;
  position: relative;
  height: 100%;
}

.announce-msg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.announce-msg.on {
  opacity: 1;
  transform: translateY(0);
}

.announce-msg .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--white);
  margin: 0 14px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 15px;
  flex-shrink: 0;
}

.logo-glyph {
  width: 22px;
  height: 22px;
  position: relative;
}

.logo-glyph svg {
  width: 100%;
  height: 100%;
  display: block;
}

.logo-img {
  height: 28px;
  width: auto;
  display: block;
}

.logo-img-light {
  /* keeps the original (white) PNG; used on dark backgrounds */
}

.nav-links {
  display: flex;
  gap: 36px;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
  padding: 6px 0;
  cursor: pointer;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-link .chev {
  width: 8px;
  height: 8px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.7;
}

.nav-utility {
  display: flex;
  align-items: center;
  gap: 22px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-utility-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  cursor: pointer;
  position: relative;
}

.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: currentColor;
  font-size: 9px;
  font-weight: 700;
}

.cart-count span {
  color: var(--black);
}

.header .cart-count {
  background: var(--black);
}
.header .cart-count span {
  color: var(--white);
}

/* Mega menu */
.mega {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  color: var(--black);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 56px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

.mega.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.4fr;
  gap: 64px;
}

.mega-col h4 {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin: 0 0 20px;
  font-weight: 500;
}

.mega-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mega-col li {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  padding: 6px 0;
  cursor: pointer;
}

.mega-col li a {
  position: relative;
}

.mega-col li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.mega-col li a:hover::after {
  transform: scaleX(1);
}

.mega-feature {
  background: var(--paper);
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 24px;
}

/* Mobile nav */
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: currentColor;
  transition: transform 0.3s, opacity 0.3s;
}

.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--black);
  color: var(--white);
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.7, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.mobile-nav.open {
  transform: translateX(0);
}

@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .nav-utility .nav-utility-text {
    display: none;
  }
}

/* Sticky CTA */
.sticky-cta {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 90;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.sticky-cta.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Cart drawer */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.5);
  z-index: 300;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s;
}

.drawer-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 460px;
  max-width: 100vw;
  background: var(--white);
  z-index: 301;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.7, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.drawer.open {
  transform: translateX(0);
}

/* Footer */
.footer {
  background: var(--black);
  color: var(--white);
  padding: 96px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 64px;
  margin-bottom: 80px;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

.footer-col h4 {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-300);
  margin: 0 0 22px;
  font-weight: 500;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 14px;
  font-size: 14px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-300);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-massive {
  font-family: var(--display);
  font-size: clamp(80px, 18vw, 280px);
  font-weight: 500;
  line-height: 0.85;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0.06;
  margin: 80px 0 -40px;
  white-space: nowrap;
  overflow: hidden;
}

/* Page transition */
.page-fade {
  animation: pageFade 0.5s ease;
}

@keyframes pageFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Difficulty pill */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  border-radius: 999px;
}

.pill-dots {
  display: inline-flex;
  gap: 3px;
}

.pill-dots i {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.25;
  font-style: normal;
}

.pill-dots i.on {
  opacity: 1;
}

/* Scrollbar in dark sections */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: var(--gray-300);
  border-radius: 0;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gray-400);
}

/* ============================================================
   BIKE PAGE
   ============================================================ */
.bike-page-layout {
  grid-template-columns: 1fr 1fr;
}

/* ============================================================
   MOBILE — comprehensive responsive overrides
   ============================================================ */
@media (max-width: 768px) {

  /* Nav */
  .nav { height: 64px; }
  .nav-links { display: none !important; }

  /* Hero */
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }

  /* Containers */
  .container, .container-wide, .container-narrow {
    padding: 0 16px;
  }

  /* Section padding */
  .section-pad { padding: 60px 0; }
  .section-pad-sm { padding: 40px 0; }

  /* Bike detail page */
  .bike-page-layout {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
    padding-top: 32px !important;
  }
  .bike-page-layout > div:first-child {
    position: static !important;
    height: auto !important;
  }

  /* Shop grid — 1 column on small mobile, 2 on tablet */
  .shop-grid {
    grid-template-columns: 1fr !important;
  }

  /* Services page — stack on mobile */
  .services-row {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .services-row > :nth-child(3),
  .services-row > :nth-child(4),
  .services-row > :nth-child(5),
  .services-row > :nth-child(6) {
    display: none;
  }
  .services-row .service-time { display: none; }

  /* Fitting table — stack */
  .fitting-row {
    grid-template-columns: 1fr auto !important;
  }
  .fitting-row > :nth-child(2) { display: none; }

  /* Booking — stack type selector */
  .booking-types {
    grid-template-columns: 1fr 1fr !important;
  }
  .booking-service-grid {
    grid-template-columns: 1fr !important;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  /* Cart drawer */
  .drawer { width: 100vw !important; }

  /* Buttons full-width on mobile */
  .btn-mobile-full {
    width: 100%;
    justify-content: center;
  }

  /* Mega menu hidden on mobile (use hamburger) */
  .mega { display: none !important; }

  /* Sticky CTA smaller */
  .sticky-cta { bottom: 16px; right: 16px; }
  .sticky-cta .btn { padding: 14px 20px; font-size: 11px; }

  /* Horizontal scroll sections — snap */
  .h-scroll {
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }
  .h-scroll > * {
    scroll-snap-align: start;
  }

  /* Spec table on bike page */
  .spec-row {
    grid-template-columns: 100px 1fr !important;
  }

  /* ── Hero mobile ── */
  .hero-section {
    min-height: 100svh !important;
    height: 100svh !important;
  }
  .hero-content {
    padding-top: 120px !important;
    padding-bottom: 48px !important;
  }
  .hero-scroll-indicator { display: none !important; }

  /* ── Home page responsive grids ── */
  .home-featured-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }
  .home-stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }
  .home-brands-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
  .home-services-grid {
    grid-template-columns: 1fr !important;
  }
  .home-2col {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
  .home-rides-row {
    grid-template-columns: auto 1fr !important;
    gap: 12px !important;
  }
  .home-rides-row .home-rides-pill,
  .home-rides-row .home-rides-arrow { display: none !important; }
  .home-trail-grid {
    grid-template-columns: 1fr !important;
  }
  .home-testimonials-grid {
    grid-template-columns: 1fr !important;
  }
  .home-newsletter-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  /* ── Pages responsive grids ── */
  .page-svc-row {
    grid-template-columns: 1fr !important;
    gap: 4px !important;
  }
  .page-svc-row > *:not(:first-child):not(:nth-child(2)) { display: none !important; }
  .page-wide-row {
    grid-template-columns: 1fr !important;
  }
  .page-wide-row > *:not(:first-child):not(:nth-child(2)) { display: none !important; }
  .page-contact-grid {
    grid-template-columns: 1fr !important;
    min-height: auto !important;
  }
}

@media (min-width: 480px) and (max-width: 900px) {
  .shop-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 480px) {
  .display-xxl { font-size: clamp(36px, 12vw, 72px); }
  .display-xl  { font-size: clamp(32px, 10vw, 64px); }
  .display-l   { font-size: clamp(26px, 8vw, 48px); }

  .booking-types {
    grid-template-columns: 1fr !important;
  }
}
