/**
 * 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: 1200px;
  --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);
  /* Balfe's primary brand accent — matches the live balfesbikes.co.uk
   * stylesheet (citr-home.css, 32 occurrences across borders / backgrounds
   * / text). Use this token anywhere a brand-coloured chip, border or
   * underline is needed. */
  --balfe-blue: #2f76ec;
}

/*
 * 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 .flagship-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(--pebble-charcoal, #1a1a1a);
  color: #fff;
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: clamp(48px, 7vw, 88px) 0;
}

.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);
}

/* Shop by Type — simplified to a button row.
 * The thumbnail imagery was removed on 5 Nov 2026 in favour of a cleaner
 * anchor-pill set. Each pill reads as a label + arrow, hits a product
 * section via its #id, and inverts on hover for strong affordance. */
.landing-page .shop-type-cards-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.landing-page .shop-type-card {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid #e4e4e4;
  border-radius: 999px;
  color: var(--pebble-charcoal, #1a1a1a);
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.landing-page .shop-type-card:hover,
.landing-page .shop-type-card:focus-visible {
  background: var(--pebble-charcoal, #1a1a1a);
  border-color: var(--pebble-charcoal, #1a1a1a);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  outline: none;
}

.landing-page .shop-type-card-label {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
}

.landing-page .shop-type-card-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid currentColor;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.landing-page .shop-type-card-arrow svg {
  width: 13px;
  height: 13px;
}

.landing-page .shop-type-card:hover .shop-type-card-arrow,
.landing-page .shop-type-card:focus-visible .shop-type-card-arrow {
  transform: translateX(3px);
}

/* 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: 10px;
  }
}

/* About block: logo-led header + two-column copy on a dark band. */
.landing-page .about-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 55% at 50% 0%, rgba(47, 118, 236, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse 40% 50% at 100% 100%, rgba(255, 255, 255, 0.04) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.landing-page .about-section .about-inner {
  position: relative;
  z-index: 1;
  max-width: var(--landing-content-width);
  margin: 0 auto;
  padding: 0 var(--landing-padding-x);
  width: 100%;
  box-sizing: border-box;
}

.landing-page .about-section .about-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.landing-page .about-section .about-logo {
  display: block;
  width: clamp(180px, 26vw, 280px);
  height: auto;
  margin: 0 0 8px;
}

.landing-page .about-section .about-header h2 {
  color: #fff;
  margin: 0;
  max-width: 760px;
}

.landing-page .about-section .about-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 48px) clamp(32px, 5vw, 64px);
  align-items: start;
}

.landing-page .about-section .about-columns p {
  position: relative;
  font-size: clamp(0.95rem, 1.15vw, 1.05rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}

.landing-page .about-section .about-columns p + p {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  padding-left: clamp(28px, 4vw, 48px);
}

@media (max-width: 760px) {
  .landing-page .about-section .about-columns {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .landing-page .about-section .about-columns p + p {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    padding-left: 0;
    padding-top: 22px;
  }
}

.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%;
  /* Balfe's brand blue (#2f76ec = rgb(47,118,236)) at 15 % for a soft
   * radial wash behind the hero lockup. Matches `--balfe-blue` so every
   * blue on the page comes from one hue. */
  background: radial-gradient(circle at center, rgba(47, 118, 236, 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: 0 0 40px;
  max-width: 34em;
  line-height: 1.65;
  text-align: left;
  text-wrap: pretty;
}

.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;
  }

  .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;
}

/* .brand-story-title metrics now come from the unified section-heading
 * rule at the bottom of this file. Only section-specific bits (colour,
 * bottom margin) live here. */
.landing-page .brand-story-title {
  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 trust-bar — 3 columns on desktop so the six audit-approved
 * benefits (Authorised Retailer, Workshop, 6-week check-up, Bike fitting,
 * Stores & Click & Collect, Finance) sit as a tidy 3 x 2 grid. 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, 48px) clamp(20px, 3vw, 40px);
  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;
}

.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: 860px) {
  .landing-page .brand-features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 24px;
  }
}

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


/* ===================================================================== */
/* Nov 2026 SEO audit additions                                          */
/* ===================================================================== */

/* --- Neutralise citr-misc.css <header> default --------------------
 * The external stylesheet balfesbikes.co.uk/citr-misc.css paints a
 * light-blue box around raw <header> elements. On this landing page
 * all our <header>s sit inside .landing-page and have their own
 * bespoke styling, so strip the external chrome once at the root.
 */
.landing-page header {
  background: transparent;
  border: 0;
  box-shadow: none;
}

/* --- Inline model links in the hero intro -----------------------------
 * The 101-word intro carries five inline anchors (Tarmac, Allez,
 * Stumpjumper, Diverge, Crux). Give them a subtle underline so they read
 * as links without competing with the CTA button.
 */
.landing-page .hero-text a {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.5);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s ease, color 0.2s ease;
}
.landing-page .hero-text a:hover,
.landing-page .hero-text a:focus-visible {
  color: var(--cg-color-4, #ffd454);
  text-decoration-color: currentColor;
}

/* --- Shop by model (grouped) ------------------------------------------
 * Discipline-grouped internal-linking block directly under the Bikes
 * carousel. Group headers are plain text (title + blurb); cards inside
 * each group inherit `--group-accent`, which is pinned to Balfe's brand
 * blue on `.shop-by-model-group` below. Order (5 Nov): Turbo Electric,
 * Road, Mountain, Gravel & Hybrid, Flagship.
 */
/* Shop-by-model sits inside the #bikes <section> which has a white band
 * background. To create a visual contrast with the Bikes carousel above
 * it, paint a full-viewport-width muted band behind the block via a
 * pseudo-element that escapes the parent .section-container's
 * max-width. `isolation: isolate` keeps `z-index: -1` scoped locally so
 * the pseudo-element can't accidentally go behind the page. */
.landing-page .shop-by-model {
  position: relative;
  isolation: isolate;
  margin-top: clamp(48px, 6vw, 80px);
  padding: clamp(48px, 7vw, 80px) 0;
}

.landing-page .shop-by-model::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  background-color: var(--landing-band-muted, #f5f2ed);
  z-index: -1;
}
.landing-page .shop-by-model-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto clamp(32px, 4vw, 48px);
}
.landing-page .shop-by-model-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pebble-slate, #6a6a6a);
  margin-bottom: 12px;
}
/* Metrics now come from the unified section-heading rule at the bottom
 * of this file. Only section-specific bits (colour, bottom margin) here. */
.landing-page .shop-by-model-header h3 {
  margin: 0 0 10px 0;
  color: var(--pebble-charcoal, #1a1a1a);
}
.landing-page .shop-by-model-header p {
  margin: 0;
  color: var(--pebble-slate, #6a6a6a);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* Grouped stack */
.landing-page .shop-by-model-groups {
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 4vw, 48px);
}
.landing-page .shop-by-model-group {
  /* Every group now shares Balfe's brand blue — the per-group red / green /
   * amber / blue / black accents were dropped on 5 Nov. Kept as a single
   * variable so the chip / stripe / hover states stay in sync. */
  --group-accent: var(--balfe-blue, #2f76ec);
}
.landing-page .shop-by-model-group-head {
  padding: 0 4px 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.landing-page .shop-by-model-group-text {
  min-width: 0;
}
.landing-page .shop-by-model-group-text h4 {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  font-weight: 700;
  margin: 0 0 2px 0;
  color: var(--pebble-charcoal, #1a1a1a);
  letter-spacing: -0.01em;
}
.landing-page .shop-by-model-group-text p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--pebble-slate, #6a6a6a);
}

/* Card row — 3 columns on desktop so each group (Turbo Electric / Road /
 * Mountain / Gravel & Hybrid, all three cards each) fills the row exactly
 * with no dead space. */
.landing-page .shop-by-model-row {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.landing-page .shop-by-model-card {
  display: block;
}

/* When a group has 5 cards (e.g. Mountain after Epic + Demo were added
 * 6 Nov) the default 3-col grid leaves an ugly empty slot on row 2.
 * Desktop only: 6-col track, each card spans 2, last row centred
 * (3 + 2). Must NOT win over the mobile 1/2-col breakpoints — the
 * :has() selector is more specific than `.shop-by-model-row` alone. */
@supports selector(:has(*)) {
  @media (min-width: 721px) {
    .landing-page .shop-by-model-row:has(> :nth-child(5):last-child) {
      grid-template-columns: repeat(6, minmax(0, 1fr));
    }
    .landing-page .shop-by-model-row:has(> :nth-child(5):last-child) > .shop-by-model-card {
      grid-column: span 2;
    }
    .landing-page .shop-by-model-row:has(> :nth-child(5):last-child) > .shop-by-model-card:nth-child(4) {
      grid-column: 2 / span 2;
    }
    .landing-page .shop-by-model-row:has(> :nth-child(5):last-child) > .shop-by-model-card:nth-child(5) {
      grid-column: 4 / span 2;
    }
  }
}

/* Card */
.landing-page .shop-by-model-link {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 20px 18px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
  overflow: hidden;
  isolation: isolate;
}
/* Cards with a product image use the card's top edge for the photo, so
 * drop the top inner padding. The .shop-by-model-media block uses negative
 * side margins to span the full card width. */
.landing-page .shop-by-model-link.has-image {
  padding-top: 0;
}

/* Product image at the top of each card — edge-to-edge of the card
 * (negative side margins cancel the card's horizontal padding) with a
 * subtle hover zoom. Uses `cover` so the image fills the slot regardless
 * of source aspect ratio; the 4:3 slot keeps cards from becoming too
 * tall when there are 4 cards per row. */
.landing-page .shop-by-model-media {
  margin: 0 -20px 14px -20px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--pebble-warm-white, #f5f2ed);
}
.landing-page .shop-by-model-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.landing-page .shop-by-model-link:hover .shop-by-model-media img,
.landing-page .shop-by-model-link:focus-visible .shop-by-model-media img {
  transform: scale(1.04);
}
/* Subtle wash of the accent colour in the lower-right on hover */
.landing-page .shop-by-model-link::after {
  content: "";
  position: absolute;
  inset: auto -40% -40% auto;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: var(--group-accent);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease;
}
.landing-page .shop-by-model-link:hover,
.landing-page .shop-by-model-link:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  border-color: var(--group-accent);
  outline: none;
}
.landing-page .shop-by-model-link:hover::after,
.landing-page .shop-by-model-link:focus-visible::after {
  opacity: 0.06;
}
.landing-page .shop-by-model-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.landing-page .shop-by-model-name {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--pebble-charcoal, #1a1a1a);
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.landing-page .shop-by-model-type {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--group-accent);
  padding: 3px 8px;
  border-radius: 4px;
  background: color-mix(in srgb, var(--group-accent) 10%, #fff);
  border: 1px solid color-mix(in srgb, var(--group-accent) 18%, transparent);
  white-space: nowrap;
  line-height: 1.3;
}
.landing-page .shop-by-model-best {
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--pebble-slate, #6a6a6a);
  margin: 0;
  flex: 1;
}
.landing-page .shop-by-model-cta {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--pebble-charcoal, #1a1a1a);
  padding-top: 8px;
  border-top: 1px dashed rgba(0, 0, 0, 0.1);
}
.landing-page .shop-by-model-cta svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}
.landing-page .shop-by-model-link:hover .shop-by-model-cta svg,
.landing-page .shop-by-model-link:focus-visible .shop-by-model-cta svg {
  transform: translateX(3px);
}

/* Collapse the 3-column grid to 2 columns on tablets and 1 column on
 * phones so cards never shrink below a legible width. Explicitly reset
 * any 5-card desktop spans so Mountain images stay full-bleed. */
@media (max-width: 720px) {
  .landing-page .shop-by-model-row,
  .landing-page .shop-by-model-row:has(> :nth-child(5):last-child) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .landing-page .shop-by-model-row:has(> :nth-child(5):last-child) > .shop-by-model-card {
    grid-column: auto;
  }
}
@media (max-width: 440px) {
  .landing-page .shop-by-model-row,
  .landing-page .shop-by-model-row:has(> :nth-child(5):last-child) {
    grid-template-columns: 1fr;
  }
  .landing-page .shop-by-model-row:has(> :nth-child(5):last-child) > .shop-by-model-card {
    grid-column: auto;
  }
}

/* --- Visit a Specialized store near you -------------------------------
 * 12 Balfe's stores. Full-bleed muted band so it breaks the rhythm
 * between the accessories carousel and the Why Buy section. Each card
 * is a clickable panel with a map pin, store name, area + postcode and
 * a "Visit store" link.
 */
.landing-page .stores-section {
  padding-top: clamp(64px, 8vw, 104px);
  padding-bottom: clamp(64px, 8vw, 104px);
  background: var(--landing-band-muted, #f4f1ec);
}
.landing-page .stores-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(32px, 4vw, 48px);
  /* Override any <header>-level styles bleeding in from citr-misc.css
   * (the external stylesheet paints a light-blue box around raw <header>
   * elements). Stores header should sit cleanly on the muted band. */
  background: transparent;
  border: 0;
  padding: 0;
  box-shadow: none;
}
.landing-page .stores-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pebble-slate, #6a6a6a);
  margin-bottom: 14px;
}
/* Stores section title — metrics now come from the unified section-heading
 * rule at the bottom of this file. Only section-specific bits (colour,
 * bottom margin) live here. */
.landing-page .stores-title {
  color: var(--pebble-charcoal, #1a1a1a);
  margin: 0 0 16px 0;
}
.landing-page .stores-subtitle {
  margin: 0;
  color: var(--pebble-slate, #6a6a6a);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 640px;
  margin-inline: auto;
}
.landing-page .stores-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.landing-page .store-card {
  display: block;
}
/* Photo-top store card. The hero JPG from each live store page sits as a
 * 4:3 media block at the top, with a small map-pin chip overlaid in the
 * corner as a visual anchor. Body stacks name / area + postcode / CTA
 * underneath so each card reads like a mini store-locator tile. */
.landing-page .store-card-link {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
}
.landing-page .store-card-link:hover,
.landing-page .store-card-link:focus-visible {
  border-color: var(--pebble-charcoal, #1a1a1a);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  outline: none;
}
.landing-page .store-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--landing-band-muted, #f4f1ec);
}
.landing-page .store-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.landing-page .store-card-link:hover .store-card-media img,
.landing-page .store-card-link:focus-visible .store-card-media img {
  transform: scale(1.04);
}
.landing-page .store-card-pin {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pebble-charcoal, #1a1a1a);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
.landing-page .store-card-pin svg {
  width: 18px;
  height: 18px;
}
.landing-page .store-card-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.landing-page .store-card-name {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
  color: var(--pebble-charcoal, #1a1a1a);
  letter-spacing: -0.01em;
}
.landing-page .store-card-area {
  font-size: 0.82rem;
  margin: 0 0 8px 0;
  color: var(--pebble-slate, #6a6a6a);
}
.landing-page .store-card-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--pebble-charcoal, #1a1a1a);
}
.landing-page .store-card-cta svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}
.landing-page .store-card-link:hover .store-card-cta svg,
.landing-page .store-card-link:focus-visible .store-card-cta svg {
  transform: translateX(3px);
}
.landing-page .stores-footnote {
  margin: clamp(24px, 3vw, 32px) 0 0 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--pebble-slate, #6a6a6a);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
}
.landing-page .stores-footnote svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 1100px) {
  .landing-page .stores-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .landing-page .stores-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 440px) {
  .landing-page .stores-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Guides: centred header (matches FAQ / feature carousels) ---------
 * + balanced 3-up grid (last incomplete row centres) + clean hover
 * without image-scale or gradient overlays.
 */
.landing-page .guides-section .guides-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  margin-bottom: 0;
}

.landing-page .guides-section .section-title {
  text-align: center;
  margin: 0 auto;
}

.landing-page .guides-section .see-all-link {
  justify-content: center;
}

.landing-page .guides-section .guides-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px 24px;
  margin-top: 48px;
}

.landing-page .guides-section .guide-card {
  display: flex;
  flex-direction: column;
  flex: 0 1 calc((100% - 48px) / 3);
  max-width: calc((100% - 48px) / 3);
  text-decoration: none;
  color: inherit;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
  transition: opacity 0.2s ease;
}

.landing-page .guides-section .guide-card:hover,
.landing-page .guides-section .guide-card:focus-visible {
  transform: none;
  box-shadow: none;
  outline: none;
  opacity: 0.88;
}

.landing-page .guides-section .guide-card-image {
  border-radius: 4px;
  overflow: hidden;
  background: var(--pebble-warm-white, #f5f2ed);
}

.landing-page .guides-section .guide-card-image img,
.landing-page .guides-section .guide-card:hover .guide-card-image img,
.landing-page .guides-section .guide-card:focus-visible .guide-card-image img {
  transform: none;
  transition: none;
}

.landing-page .guides-section .guide-card-image::after {
  content: none;
  display: none;
  background: none;
}

.landing-page .guides-section .guide-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--pebble-charcoal, #1a1a1a);
}

.landing-page .guides-section .guide-card:hover .card-link,
.landing-page .guides-section .guide-card:focus-visible .card-link {
  color: var(--balfe-blue, #2f76ec);
}

.landing-page .guides-section .guide-card:hover .card-link svg,
.landing-page .guides-section .guide-card:focus-visible .card-link svg {
  transform: translateX(3px);
}

.landing-page .guides-section .guide-card .card-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

@media (max-width: 900px) {
  .landing-page .guides-section .guide-card {
    flex-basis: calc((100% - 24px) / 2);
    max-width: calc((100% - 24px) / 2);
  }
}

@media (max-width: 520px) {
  .landing-page .guides-section .guide-card {
    flex-basis: 100%;
    max-width: 100%;
  }
}

/* === FAQ section — centre the heading =====================================
 * .faq-list is already centred via `max-width: 800px; margin: 48px auto 0;`
 * in pebble.css, but `.section-title` is left-aligned by default. Centring
 * the H2 here so the heading sits over the middle of the accordion column.
 */
.landing-page .faq-section .section-title {
  text-align: center;
}

/* === Unified section heading style — 5 Nov 2026 =========================
 * All band-level section headings adopt the same typographic metrics as
 * `.feature-carousel-title` (the Bikes / Helmets / Shoes / Clothing /
 * Components / Accessories titles). This replaces the earlier per-section
 * sizing where FAQ / Guides / Stores / Why Buy / Shop-by-model each had
 * subtly different font-size and letter-spacing.
 *
 * Font-weight is intentionally not set here so headings inherit the
 * brand heading-weight from citr-misc.css's global h1–h6 rule
 * (`var(--font-heading-weight)`), which is what gives "SPECIALIZED BIKES"
 * its exact look.
 *
 * Text-alignment and margins stay with each section's parent container
 * so centred headers stay centred and the About section (left column of
 * a 2-column grid) stays left-aligned. */
.landing-page .section-title,
.landing-page .stores-title,
.landing-page .brand-story-title,
.landing-page .shop-by-model-header h3,
.landing-page .about-section .about-header h2 {
  font-size: clamp(1.5rem, 3.2vw, 2.2rem);
  line-height: 1.25;
  /* Pin to the brand's heading weight (defined in citr-misc.css's
   * `--font-heading-weight`) so this overrides pebble.css's hard-coded
   * `.section-title { font-weight: 700 }` and matches
   * `.feature-carousel-title` exactly. */
  font-weight: var(--font-heading-weight, 700);
  letter-spacing: -0.01em;
  max-width: 760px;
  text-wrap: balance;
}

/* Centred section titles sit in the middle of their 760px line box. */
.landing-page .faq-section .section-title,
.landing-page .guides-section .section-title,
.landing-page .stores-title,
.landing-page .brand-story-title,
.landing-page .shop-by-model-header h3 {
  margin-left: auto;
  margin-right: auto;
}

/* And so should the matching `.feature-carousel-title` rule — update the
 * older `text-wrap-style` (CSS Text Level 4, narrower support) to the
 * canonical `text-wrap` property. */
.landing-page .feature-carousel-title {
  text-wrap: balance;
}

/* === Flagship (S-Works) — standalone premium dark band ================
 * Sits between #bikes and #helmets. Dark charcoal background with
 * inverted text, a subtle Balfe's-blue radial wash at the top for depth,
 * and a responsive card grid (auto-fit so one S-Works card fills the
 * width today, and the grid gracefully flows into 2 / 3 / 4 columns as
 * more premium links are added).
 */
.landing-page .flagship-section {
  background: var(--pebble-charcoal, #1a1a1a);
  color: #fff;
  padding: clamp(60px, 8vw, 120px) 0;
  position: relative;
  overflow: hidden;
}

/* Soft Balfe's-blue wash top-centre for depth. Decorative only — kept
 * below the content via z-index. */
.landing-page .flagship-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(47, 118, 236, 0.18) 0%, transparent 55%),
    radial-gradient(circle at 10% 100%, rgba(255, 255, 255, 0.04) 0%, transparent 45%);
  pointer-events: none;
  z-index: 0;
}

.landing-page .flagship-section .section-container {
  position: relative;
  z-index: 1;
}

.landing-page .flagship-header {
  text-align: center;
  margin-bottom: clamp(32px, 4vw, 56px);
}

/* Invert the shared `.feature-carousel-eyebrow / -title / -subtitle`
 * colours for the dark band. Typography (size, weight, tracking) is
 * untouched so the heading still reads as a peer of every other section
 * heading on the page. */
.landing-page .flagship-section .feature-carousel-eyebrow {
  color: rgba(255, 255, 255, 0.55);
  opacity: 1;
}

.landing-page .flagship-section .feature-carousel-title {
  color: #fff;
}

.landing-page .flagship-section .feature-carousel-subtitle {
  color: rgba(255, 255, 255, 0.72);
  max-width: 680px;
  margin: 0 auto;
}

/* --- Card grid ------------------------------------------------------- */
.landing-page .flagship-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.landing-page .flagship-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition:
    border-color 0.3s ease,
    transform 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease;
}

.landing-page .flagship-card:hover,
.landing-page .flagship-card:focus-visible {
  border-color: var(--balfe-blue, #2f76ec);
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
  outline: none;
}

/* Optional image region — rendered only when `item.image` is set in data.
 * `object-fit: cover` (no padding) fills the frame edge-to-edge so lifestyle
 * photos feel immersive rather than floating in a letterboxed panel. */
.landing-page .flagship-card-media {
  aspect-ratio: 16 / 10;
  background: #000;
  overflow: hidden;
}

.landing-page .flagship-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.landing-page .flagship-card:hover .flagship-card-media img,
.landing-page .flagship-card:focus-visible .flagship-card-media img {
  transform: scale(1.04);
}

/* Card body — typographic area. On single-card rows we add extra padding
 * so S-Works gets room to breathe when it fills the whole grid. */
.landing-page .flagship-card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(24px, 3vw, 40px);
  flex: 1;
}

.landing-page .flagship-card-chip {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--balfe-blue, #2f76ec);
  border: 1px solid var(--balfe-blue, #2f76ec);
  padding: 4px 10px;
  border-radius: 4px;
  align-self: flex-start;
  margin-bottom: 6px;
}

.landing-page .flagship-card-name {
  font-size: clamp(1.4rem, 2.6vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  margin: 0;
  letter-spacing: -0.015em;
  line-height: 1.1;
}

.landing-page .flagship-card-description {
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
  flex: 1;
  max-width: 54ch;
}

.landing-page .flagship-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  margin-top: 16px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.landing-page .flagship-card-cta svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.landing-page .flagship-card:hover .flagship-card-cta svg,
.landing-page .flagship-card:focus-visible .flagship-card-cta svg {
  transform: translateX(4px);
}

/* === Featured flagship card =============================================
 * Set `featured: true` on an item in `flagshipItems` and the card gets
 * promoted to a full-width hero row at the top of the grid with a
 * side-by-side image + content layout. Only one card typically carries
 * the flag but the layout works if several do (each becomes its own
 * full-width row).
 *
 * Grid math: `grid-column: 1 / -1` spans the full grid width regardless
 * of how many auto-fit tracks the viewport resolved to, so the featured
 * card always gets the top slot and the non-featured cards flow into
 * the equal-width columns below it.
 */
.landing-page .flagship-card.is-featured {
  grid-column: 1 / -1;
  flex-direction: row;
  min-height: clamp(320px, 38vw, 420px);
}

.landing-page .flagship-card.is-featured .flagship-card-media {
  /* Scrap the inherited aspect-ratio — the media panel fills whatever
   * height the content panel needs, keyed to the card's min-height. */
  aspect-ratio: auto;
  flex: 1 1 55%;
  min-height: 100%;
}

.landing-page .flagship-card.is-featured .flagship-card-body {
  flex: 1 1 45%;
  justify-content: center;
  padding: clamp(32px, 4vw, 56px);
  gap: 14px;
}

/* Bigger hero-scale typography on the featured card. */
.landing-page .flagship-card.is-featured .flagship-card-name {
  font-size: clamp(1.8rem, 3.8vw, 3rem);
  line-height: 1.05;
}

.landing-page .flagship-card.is-featured .flagship-card-description {
  font-size: 1.02rem;
  max-width: 48ch;
}

/* Filled-blue chip for the featured card so it punches against the dark
 * background and reads clearly as the "primary" category. */
.landing-page .flagship-card.is-featured .flagship-card-chip {
  background: var(--balfe-blue, #2f76ec);
  color: #fff;
  border-color: var(--balfe-blue, #2f76ec);
}

/* Responsive — collapse to single-column padding at small viewports. */
@media (max-width: 720px) {
  .landing-page .flagship-card.is-featured {
    flex-direction: column;
    min-height: 0;
  }
  .landing-page .flagship-card.is-featured .flagship-card-media {
    aspect-ratio: 16 / 10;
    flex: 0 0 auto;
    min-height: 0;
  }
  .landing-page .flagship-card.is-featured .flagship-card-body {
    flex: 1 1 auto;
    padding: clamp(24px, 4vw, 32px);
  }
}

@media (max-width: 520px) {
  .landing-page .flagship-grid {
    grid-template-columns: 1fr;
  }
  .landing-page .flagship-card-body {
    padding: 24px;
  }
}


