/**
 * Specialized landing page — load after https://www.balfesbikes.co.uk/citr-misc.css
 * Host this file on the platform and add: <link rel="stylesheet" href="…/specialized-landing.css">
 */

 * {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'San Francisco', 'Roboto', 'Segoe UI', 'Helvetica Neue', sans-serif;
  line-height: 1.6;
  color: #222;
  overflow-x: hidden;
}

/* Shared content width for hero, Shop by type, and product sections */
:root {
  --landing-content-width: 1680px;
  --landing-padding-x: 20px;
}

#bikes,
#shop-by-type,
#helmets,
#shoes,
#clothing,
#components,
#accessories {
  scroll-margin-top: 1.25rem;
}

#app {
  width: 100%;
}

/* Custom styles for the landing page */
.landing-page {
  width: 100%;
  max-width: none;
  min-height: 100vh;
  /* Full-width band fills (pebble tokens when available) */
  --landing-band-light: #ffffff;
  --landing-band-muted: var(--pebble-warm-white, #f5f2ed);
}

/*
 * Full-bleed section bands: outer <section> spans the viewport width; inner
 * .section-container matches hero / shop-by-type (--landing-content-width).
 */
.landing-page .landing-pebble-sections {
  width: 100%;
  max-width: none;
}

.landing-page .hero-section,
.landing-page .shop-type-section,
.landing-page .shop-type-cards-section,
.landing-page .product-grid-section,
.landing-page .trust-section,
.landing-page .brand-story-section,
.landing-page .about-section,
.landing-page .faq-section,
.landing-page .guides-section,
.landing-page .marquee-banner {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  box-sizing: border-box;
}

/* Alternating full-viewport-width backgrounds (content stays in .section-container) */
.landing-page .shop-type-section {
  /* background-color: var(--landing-band-light); */
}

.landing-page .product-grid-section:not(.alt-bg) {
  background-color: var(--landing-band-light);
}

.landing-page .product-grid-section.alt-bg {
  background-color: var(--landing-band-muted);
}

.landing-page .shop-type-cards-section {
  background-color: var(--landing-band-muted);
  padding: clamp(48px, 7vw, 80px) 0;
}

.landing-page .marquee-banner {
  background-color: var(--pebble-charcoal, #1a1a1a);
  color: #fff;
}

.landing-page .trust-section {
  background-color: var(--pebble-charcoal, #1a1a1a);
}

.landing-page .brand-story-section {
  background-color: var(--landing-band-light);
}

.landing-page .about-section {
  background-color: var(--landing-band-light);
}

.landing-page .faq-section {
  background-color: var(--landing-band-muted);
}

.landing-page .guides-section {
  background-color: var(--landing-band-light);
}

.landing-page .section-container {
  max-width: var(--landing-content-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--landing-padding-x);
  padding-right: var(--landing-padding-x);
  width: 100%;
}

/* === Compact product card aesthetic (white-on-white, chevron CTA) ===
 * Overrides Pebble's product-card styles so cards match the live brand-hub
 * look: small white tile, contained product shot on white, name + circular
 * chevron at the bottom.
 */
.landing-page .product-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
}

.landing-page .product-grid-section .product-card {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.landing-page .product-grid-section.alt-bg .product-card {
  /* Keep visible card edges on the muted band so the white tiles read */
  border-color: #ececec;
}

.landing-page .product-grid-section .product-card:hover {
  border-color: #d6d6d6;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.landing-page .product-grid-section .product-card-img {
  aspect-ratio: 1;
  background: #fff;
  padding: 18px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}

.landing-page .product-grid-section .product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.landing-page .product-grid-section .product-card:hover .product-card-img img {
  transform: scale(1.04);
}

/* Bottom strip: name on the left, circular chevron on the right */
.landing-page .product-grid-section .product-card-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px 14px;
  border-top: 1px solid #f1f1f1;
}

.landing-page .product-grid-section .product-card-info h3 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--pebble-charcoal, #1a1a1a);
  margin: 0;
  line-height: 1.25;
  letter-spacing: -0.005em;
}

.landing-page .product-grid-section .product-card-info .card-link {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #d9d9d9;
  background: #fff;
  color: var(--pebble-charcoal, #1a1a1a);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.landing-page .product-grid-section .product-card-info .card-link:hover {
  background: var(--pebble-charcoal, #1a1a1a);
  color: #fff;
  border-color: var(--pebble-charcoal, #1a1a1a);
}

/* Make the product-card-img anchor behave as a block tile */
.landing-page .product-card a.product-card-img {
  display: flex;
  text-decoration: none;
  color: inherit;
}

/* === Feature carousel (used by Bikes, Helmets, etc.) ===
 * Centered eyebrow + accented title + subtitle, tall cards with top-left pill,
 * bottom dark gradient with name + "Shop Now" pill, plus progress thumb
 * and prev/next chevron controls underneath. Background colour is controlled
 * by each section's own .product-grid-section / .alt-bg parent class so the
 * same visual treatment can sit on either band.
 */
.landing-page .feature-carousel-section .feature-carousel-header {
  text-align: center;
  margin-bottom: clamp(28px, 4vw, 48px);
  background: transparent;
}

.landing-page .feature-carousel-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pebble-charcoal, #1a1a1a);
  opacity: 0.7;
  margin-bottom: 14px;
}

.landing-page .feature-carousel-title {
  font-size: clamp(1.5rem, 3.2vw, 2.2rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0 auto;
  max-width: 760px;
  text-wrap-style: balance;
}

.landing-page .feature-carousel-subtitle {
  max-width: 700px;
  column-fill: balance;
  margin: 16px auto;
  font-size: clamp(0.8rem, 1.1vw, 1.05rem);
  line-height: 1.6;
  color: var(--pebble-charcoal, #1a1a1a);
  opacity: 0.7;
}

/* Yellow under-stripe accent (mirrors the mockup highlight) */
.landing-page .feature-carousel-title .accent {
  background-image: linear-gradient(
    to top,
    transparent 8%,
    rgba(243, 198, 33, 0.55) 8%,
    rgba(243, 198, 33, 0.55) 32%,
    transparent 32%
  );
  background-repeat: no-repeat;
  background-size: 100% 100%;
  padding: 0 2px;
}

/* Splide carousel — breaks out of .section-container on the RIGHT only.
 * The .splide__track gets a left padding that matches the section-container's
 * inner left edge, and a small right padding so the next card peeks through.
 */
.landing-page .feature-carousel-splide {
  width: 100%;
}

.landing-page .feature-carousel-splide .splide__track {
  padding-left: max(
    var(--landing-padding-x),
    calc((100% - var(--landing-content-width)) / 2 + var(--landing-padding-x))
  ) !important;
  padding-right: clamp(48px, 7vw, 110px) !important;
  padding-top: 4px;
  padding-bottom: 8px;
  cursor: grab;
}

.landing-page .feature-carousel-splide .splide.is-dragging .splide__track,
.landing-page .feature-carousel-splide .splide__track:active {
  cursor: grabbing;
}

.landing-page .feature-carousel-splide .splide__slide {
  display: flex;
  height: auto;
}

.landing-page .feature-carousel-splide .splide__slide > .feature-carousel-card {
  flex: 1 1 auto;
  width: 100%;
}

.landing-page .feature-carousel-splide .splide__slide img {
  user-select: none;
  -webkit-user-drag: none;
}

.landing-page .feature-carousel-card {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(180deg, #f3efe9 0%, #e6e1d8 100%);
  text-decoration: none;
  color: #fff;
  scroll-snap-align: start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.landing-page .feature-carousel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

.landing-page .feature-carousel-card-media {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.landing-page .feature-carousel-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.landing-page .feature-carousel-card:hover .feature-carousel-card-media img {
  transform: scale(1.05);
}

.landing-page .feature-carousel-card-pill {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--pebble-charcoal, #1a1a1a);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  z-index: 2;
  backdrop-filter: blur(4px);
  display: none;
}

.landing-page .feature-carousel-card-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 28px 18px 18px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0, 0, 0, 0.45) 55%,
    rgba(0, 0, 0, 0.78) 100%
  );
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  z-index: 2;
}

.landing-page .feature-carousel-card-overlay h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.005em;
}

.landing-page .feature-carousel-card-cta {
  display: inline-block;
  background: #fff;
  color: var(--pebble-charcoal, #1a1a1a);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.25s ease, color 0.25s ease;
}

.landing-page .feature-carousel-card:hover .feature-carousel-card-cta {
  background: var(--pebble-charcoal, #1a1a1a);
  color: #fff;
}

.landing-page .feature-carousel-controls {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 28px;
}

/* Mini-scrollbar style — thumb width represents the visible portion of the
 * carousel; left position represents the scroll position. So as the user
 * swipes / drags / clicks arrows, the thumb mirrors what's in view.
 */
.landing-page .feature-carousel-progress {
  position: relative;
  flex: 1;
  height: 3px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.landing-page .feature-carousel-progress-thumb {
  position: absolute;
  top: 0;
  height: 100%;
  background: var(--pebble-charcoal, #1a1a1a);
  border-radius: 3px;
  transition: left 0.2s ease, width 0.2s ease;
  min-width: 8%;
}

.landing-page .feature-carousel-nav {
  display: flex;
  gap: 10px;
}

.landing-page .feature-carousel-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #d9d9d9;
  background: #fff;
  color: var(--pebble-charcoal, #1a1a1a);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.landing-page .feature-carousel-nav-btn:hover {
  background: var(--pebble-charcoal, #1a1a1a);
  color: #fff;
  border-color: var(--pebble-charcoal, #1a1a1a);
}

.landing-page .feature-carousel-nav-btn:disabled,
.landing-page .feature-carousel-nav-btn[disabled] {
  opacity: 0.35;
  cursor: not-allowed;
  background: #fff;
  color: var(--pebble-charcoal, #1a1a1a);
  border-color: #d9d9d9;
}

/* Per-slide sizing across breakpoints is handled by Splide's JS options
 * (perPage: 4 → 3 → 3 → 2 → 2 → 1). */

/* === Shop by Type — alternative card-grid section ===
 * Compact horizontal row of 6 white tiles, each with a contained studio
 * product shot, name + circular chevron on the bottom strip. Mirrors the
 * compact aesthetic of the product-card grid above for visual consistency.
 */
.landing-page .shop-type-cards-section .section-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pebble-charcoal, #1a1a1a);
  opacity: 0.55;
  margin-bottom: 8px;
}

.landing-page .shop-type-cards-section .section-title {
  margin-top: 0;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.landing-page .shop-type-cards-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.landing-page .shop-type-card {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.landing-page .shop-type-card:hover,
.landing-page .shop-type-card:focus-visible {
  border-color: #d6d6d6;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
  outline: none;
}

.landing-page .shop-type-card-img {
  aspect-ratio: 1;
  background: #fff;
  padding: 18px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  display: none;
}

.landing-page .shop-type-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.landing-page .shop-type-card:hover .shop-type-card-img img {
  transform: scale(1.04);
}

.landing-page .shop-type-card-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px 14px;
  border-top: 1px solid #f1f1f1;
}

.landing-page .shop-type-card-info h3 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--pebble-charcoal, #1a1a1a);
  margin: 0;
  line-height: 1.25;
  letter-spacing: -0.005em;
}

.landing-page .shop-type-card-info .card-link {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #d9d9d9;
  background: #fff;
  color: var(--pebble-charcoal, #1a1a1a);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.landing-page .shop-type-card:hover .shop-type-card-info .card-link {
  background: var(--pebble-charcoal, #1a1a1a);
  color: #fff;
  border-color: var(--pebble-charcoal, #1a1a1a);
}

/* Responsive: 3 across on tablet, 2 across on small phones */
@media (max-width: 900px) {
  .landing-page .shop-type-cards-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .landing-page .shop-type-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

/* About block: same inner width as other sections */
.landing-page .about-section .about-grid {
  max-width: var(--landing-content-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--landing-padding-x);
  padding-right: var(--landing-padding-x);
  width: 100%;
  box-sizing: border-box;
}

.landing-page .about-section .about-content {
  padding: 60px 48px;
}

@media (max-width: 1024px) {
  .landing-page .about-section .about-content {
    padding: 40px 24px;
  }
}

.section {
  padding: 80px var(--landing-padding-x);
  max-width: var(--landing-content-width);
  margin: 0 auto;
}

.hero-section {
  min-height: 50vh;
  background: var(--cg-color-1);
  color: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
  position: relative;
  height: 75vh;
}

/* Grid & Gradient Background (Aura 75781 Style) */
.aura-grid-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, #000 70%, transparent 100%);
}

.gradient-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 80%;
  background: radial-gradient(circle at center, rgba(0, 102, 255, 0.15) 0%, transparent 70%);
  filter: blur(100px);
}

.hero-logo-container {
  display: flex;
  gap: 32px;
  align-items: center;
}

.hero-logo-container img {
  width: 120px;
  height: auto;
  margin:0;
  height: 22px;
  filter: invert(1) brightness(0) saturate(100%) invert(100%); /* White logos for dark bg */
}
.hero-logo-container svg {
    height: 20px;
    filter: invert(1) brightness(0) saturate(100%) invert(100%);
}

.hero-container {
  display: flex;
  width: 100%;
  max-width: var(--landing-content-width);
  margin: 0 auto;
  padding: 0 var(--landing-padding-x);
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content-left {
  flex: 1;
  text-align: left;
  z-index: 10;
}

.hero-badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(255,255,255,0.1);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 24px;
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
}

.hero-logo {
  display: block;
  width: 200px;
  margin-bottom: 32px;
}

.hero-content-left h1 {
  font-size: 3rem;
  line-height: 1.1;
  font-weight: 800;
  color: #fff;
  margin-bottom: 24px;
  text-shadow: none;
  text-transform: none;
  letter-spacing: -2px;
}

.rotating-text-wrapper {
  display: block;
  height: 1.2em;
  overflow: hidden;
  color: var(--cg-color-4);
}

.rotating-text {
  display: inline-block;
}

.hero-text {
  color: rgba(255,255,255,0.7);
  margin-bottom: 40px;
  max-width: 500px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
}

.btn-primary {
  padding: 16px 32px;
  background: var(--cg-color-2);
  color: #fff;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  background: var(--cg-color-2);
  transform: translateY(-2px);
}

.btn-secondary {
  padding: 16px 32px;
  background: rgba(255,255,255,0.05);
  color: #fff;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

.btn-icon {
  font-size: 1.2rem;
}

.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 16px;
}

.avatar-group {
  display: flex;
}

.avatar-group img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 4px solid  var(--cg-color-1);
  margin-left: -12px;
}

.avatar-group img:first-child { margin-left: 0; }

.rating-info {
  text-align: left;
}
.rating-info-text {
    display: flex;
    align-items: center;
    gap: 4px;
}

.stars {
  color: #ff9900;
  font-size: 1rem;
  display: flex;
  gap: 2px;
  margin-bottom: 4px;
}

.rating-info span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

/* Visuals / Moving Columns */
.hero-visuals {
  flex: 1;
  display: flex;
  gap: 20px;
  height: 100vh;
  perspective: 1000px;
  overflow: hidden;
}

.bento-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bento-card {
  width: 100%;
  height: 400px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #111;
}

.bento-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}

/* Animations */
.col-up {
  animation: scrollUp 30s linear infinite;
}

.col-down {
  animation: scrollDown 30s linear infinite;
}

@keyframes scrollUp {
  from { transform: translateY(0); }
  to { transform: translateY(calc(-50% - 10px)); }
}

@keyframes scrollDown {
  from { transform: translateY(calc(-50% - 10px)); }
  to { transform: translateY(0); }
}

/* === Mobile / tablet hero stacking ===
 * Below 1024px the hero stacks vertically so the visuals appear *under*
 * the content. The hero-section drops its fixed viewport height and
 * grows to fit the stacked content so nothing is clipped. The visuals
 * window is sized to a fraction of the viewport so the bento marquee
 * stays visible without dominating the screen.
 */
@media (max-width: 1024px) {
  .hero-section {
    height: auto;
    min-height: 0;
    padding: 88px 0 32px;
    align-items: stretch;
  }

  .hero-container {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
    padding-top: 0;
    padding-bottom: 0;
  }

  .hero-content-left {
    width: 100%;
    text-align: center;
    flex: none;
  }

  .hero-content-left h1 {
    font-size: 2.6rem;
    letter-spacing: -1px;
  }

  .hero-text {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions,
  .hero-social-proof {
    justify-content: center;
  }

  .hero-logo-container {
    justify-content: center;
  }

  /* Visuals sit underneath, sized to the viewport (not the page) */
  .hero-visuals {
    width: 100%;
    height: clamp(260px, 38vh, 380px);
    gap: 14px;
    display: none;
  }

  .bento-column {
    gap: 14px;
  }

  .bento-card {
    height: clamp(180px, 26vh, 260px);
  }
}

@media (max-width: 640px) {
  .hero-section {
    padding: 72px 0 24px;
  }

  .hero-container {
    gap: 24px;
  }

  .hero-content-left h1 {
    font-size: 2.1rem;
    letter-spacing: -0.5px;
  }

  .hero-text {
    font-size: 0.95rem;
    margin-bottom: 28px;
  }

  .hero-actions {
    margin-bottom: 28px;
  }

  .btn-primary,
  .btn-secondary {
    padding: 14px 24px;
    font-size: 0.95rem;
  }

  .hero-visuals {
    height: clamp(220px, 32vh, 320px);
    gap: 10px;
  }

  .bento-column {
    gap: 10px;
  }

  .bento-card {
    height: clamp(150px, 22vh, 220px);
    border-radius: 6px;
  }
}

@media (max-width: 420px) {
  .hero-content-left h1 {
    font-size: 1.85rem;
  }

  .hero-visuals {
    height: clamp(200px, 28vh, 280px);
  }

  .bento-card {
    height: clamp(130px, 20vh, 190px);
  }
}

/* SplitType line styling */
.line {
  display: block;
}

.category-bento {
  display: flex;
  gap: 20px;
  margin: 60px 0;
  width: 100%;
  max-width: var(--landing-content-width);
  height: 900px;
}

.bento-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bento-item {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  text-decoration: none;
  color: white;
  background: #111;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.bento-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0.6;
  transition: transform 0.6s ease;
}

.bento-item:hover img {
  transform: scale(1.05);
  opacity: 0.8;
}

.bento-content {
  position: relative;
  z-index: 2;
  padding: 40px;
  margin-top: auto;
  text-align: left;
}

.bento-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

.bento-content p {
  font-size: 1rem;
  opacity: 0.8;
  line-height: 1.4;
  max-width: 300px;
}

/* Specific Item Heights for Column 1 */
.bikes-main { flex: 1.5; }
.shoes-accent { flex: 1; background: #1a1a1a; }

/* Specific Item Heights for Column 2 */
.electric-featured { flex: 2; }
.helmets-green { 
  flex: 1; 
  background: #00d166;
}
.helmets-green .bento-content h3,
.helmets-green .bento-content p {
  color: #000;
}
.helmets-green img {
  opacity: 0.2;
  mix-blend-mode: multiply;
}

.clothing-small { flex: 1; }

@media (max-width: 900px) {
  .category-bento {
    flex-direction: column;
    height: auto;
  }
  .bento-item {
    height: 300px;
  }
}

/* Scrolling marquee (matches Pebble landing) */
.marquee-banner {
  background: #1a1a1a;
  color: #fff;
  padding: 14px 0;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  animation: landing-marquee 40s linear infinite;
  white-space: nowrap;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding-right: 20px;
}

.marquee-dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  background: #d4a574;
  border-radius: 50%;
}

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

/* Sports Navigation Layout (Image-inspired) */
.full-width-sports {
  max-width: 100% !important;
  padding: 0 !important;
  background: #fff;
}

.sports-nav-section {
  padding: 100px 0;
  overflow: visible;
}

.sports-nav-container {
  max-width: var(--landing-content-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 0 var(--landing-padding-x);
  gap: 100px;
}

.sports-nav-left {
  flex: 0 0 350px;
  display: flex;
  flex-direction: column;
}

.nav-label {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #111;
  margin-bottom: 40px;
}

.sports-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 60px;
}

.sport-link {
  font-size: 2.5rem;
  font-weight: 700;
  color: #111;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0.15rem 0 0.15rem 0;
  border-radius: 6px;
  text-transform: lowercase;
  transition:
    color 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.55s cubic-bezier(0.33, 1.24, 0.68, 1),
    letter-spacing 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    padding-left 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.35s ease;
}

.sport-link:hover,
.sport-link:focus-visible {
  color: var(--cg-color-2, #d02b47);
  transform: translateX(14px);
  letter-spacing: 0.02em;
  padding-left: 4px;
  outline: none;
}

.sport-link:focus-visible {
  box-shadow: 0 0 0 2px rgba(208, 43, 71, 0.35);
}

.sport-link.active {
  color: var(--cg-color-2, #d02b47);
  padding-left: 8px;
  transform: translateX(6px);
}

.sport-link .iconify {
  transition:
    transform 0.5s cubic-bezier(0.33, 1.24, 0.68, 1),
    opacity 0.35s ease;
}

.see-all-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: #666;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.see-all-link:hover {
  color: #111;
}

.sports-nav-right {
  flex: 1;
  position: relative;
  min-height: 600px;
  height: 600px;
}

.image-stack {
  position: relative;
  width: 100%;
  height: 100%;
}

.image-stack-fan {
  perspective: 1400px;
  transform-style: preserve-3d;
}

.image-wrapper-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  /* Fan from upper-left like stacked photo cards */
  transform-origin: 8% 6%;
  transition:
    transform 0.72s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.5s ease;
  pointer-events: none;
  will-change: transform;
  overflow: visible;
}

.image-wrapper-layer.is-front {
  filter: none;
}

/* Single floating card per type — no grey frame; shadow only */
.sport-stack-card {
  position: absolute;
  inset: 0;
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  background: transparent;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.04),
    0 18px 38px rgba(0, 0, 0, 0.09);
  transition: box-shadow 0.72s cubic-bezier(0.22, 1, 0.36, 1);
}

.image-wrapper-layer.is-front .sport-stack-card {
  box-shadow:
    0 8px 16px rgba(0, 0, 0, 0.06),
    0 28px 56px rgba(0, 0, 0, 0.12);
}

.sport-stack-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .image-wrapper-layer {
    transition: none;
  }
}

.image-bg-block {
  position: absolute;
  top: -5%;
  right: 5%;
  width: 30%;
  height: 20%;
  background: #000;
  z-index: 1;
}

@media (max-width: 1024px) {
  .sports-nav-container {
    flex-direction: column;
    padding: 0 var(--landing-padding-x);
    gap: 60px;
  }
  .sports-nav-left {
    flex: none;
    width: 100%;
  }
  .sports-nav-right {
    width: 100%;
    height: 400px;
  }
}

/* Full Width Category Strips Layout */
.full-width-categories {
  max-width: 100% !important;
  padding: 0 !important;
}

.section-header {
  max-width: var(--landing-content-width);
  margin: 0 auto 40px auto;
  padding: 0 var(--landing-padding-x);
}

.category-strips {
  display: flex;
  height: 600px;
  width: 100%;
  overflow: hidden;
}

.category-strip {
  flex: 1;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: white;
  transition: flex 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border-right: 1px solid rgba(255,255,255,0.1);
}

.category-strip:hover {
  flex: 1.5;
}

.category-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  filter: brightness(0.7);
  transition: transform 0.5s ease, filter 0.5s ease;
}

.category-strip:hover img {
  transform: scale(1.05);
  filter: brightness(0.9);
}

.strip-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 100%;
  z-index: 2;
  pointer-events: none;
}

.strip-content h3 {
  font-size: 2.5rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0;
  text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.strip-content p {
  font-size: 0.8rem;
  margin-top: 10px;
  opacity: 0.8;
  max-width: 200px;
  margin-left: auto;
  margin-right: auto;
}

.category-strip.featured {
  flex: 1.2;
}

.category-strip-stack {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.category-strip.small {
  flex: 1;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.category-strip.small h3 {
  font-size: 1.8rem;
}

@media (max-width: 768px) {
  .category-strips {
    flex-direction: column;
    height: auto;
  }
  .category-strip {
    height: 200px;
    flex: none;
  }
  .category-strip:hover {
    flex: none;
  }
}

/* Product grids / trust / about / FAQ / guides below #bikes use pebble.css */

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .section {
    padding: 40px var(--landing-padding-x);
  }
}

/* === Brand intro + condensed feature row ===
 * Centered headline + intro copy, followed by a clean three-column row of
 * iconography + small text + chevron CTA per benefit.
 */
.landing-page .brand-story-section {
  padding-top: clamp(56px, 7vw, 96px);
  padding-bottom: clamp(56px, 7vw, 96px);
}

.landing-page .brand-story-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.landing-page .brand-story-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pebble-charcoal, #1a1a1a);
  background: rgba(0, 0, 0, 0.05);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.landing-page .brand-story-title {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--pebble-charcoal, #1a1a1a);
  margin: 0 0 20px;
}

.landing-page .brand-story-title .accent {
  position: relative;
  display: inline-block;
  background-image: linear-gradient(180deg, transparent 62%, var(--pebble-yellow, #ffd400) 62%, var(--pebble-yellow, #ffd400) 92%, transparent 92%);
  background-repeat: no-repeat;
  padding: 0 0.05em;
}

.landing-page .brand-story-subtitle {
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  line-height: 1.65;
  color: rgba(26, 26, 26, 0.72);
  margin: 0 auto;
  max-width: 640px;
}

/* Condensed feature row — 3 columns on desktop, two rows for our six items.
 * Centered icon + title + body + small CTA, no card chrome. */
.landing-page .brand-features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px) clamp(20px, 4vw, 48px);
  margin-top: clamp(32px, 5vw, 56px);
}

.landing-page .brand-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 8px 12px;
}

.landing-page .brand-feature-icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--pebble-charcoal, #1a1a1a);
  font-size: 2.4rem;
  margin-bottom: 18px;
}

.landing-page .brand-feature-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--pebble-charcoal, #1a1a1a);
  margin: 0 0 10px;
  letter-spacing: -0.005em;
}

.landing-page .brand-feature-text {
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(26, 26, 26, 0.62);
  margin: 0 0 18px;
  max-width: 28ch;
}

.landing-page .brand-feature-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--pebble-charcoal, #1a1a1a);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--pebble-charcoal, #1a1a1a);
  transition: gap 0.2s ease, opacity 0.2s ease;
  display: none;
}

.landing-page .brand-feature-link:hover {
  gap: 10px;
  opacity: 0.75;
}

.landing-page .brand-feature-link svg,
.landing-page .brand-feature-link .iconify {
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .landing-page .brand-features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 24px;
  }
}

@media (max-width: 540px) {
  .landing-page .brand-features-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.guides-section {
  display: none;
}

