/* bikesweekly.online — Fresh / Fast / Editorial / Vermillion */
:root {
  --ink: #0B0B0B;
  --ink-soft: #1A1A1A;
  --paper: #FAFAF8;
  --paper-2: #F3F2EE;
  --vermillion: #E23A2E;
  --vermillion-dark: #C42F25;
  --steel: #6B6B66;
  --steel-light: #9A9A94;
  --mist: rgba(11, 11, 11, 0.08);
  --line: rgba(11, 11, 11, 0.12);
  --shadow-soft: 0 12px 40px rgba(11, 11, 11, 0.1);
  --shadow-lift: 0 20px 50px rgba(11, 11, 11, 0.16);
  --radius: 0.35rem;
  --radius-lg: 0.75rem;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;
  --space-9: 6rem;
  --font-display: "Dela Gothic One", "Noto Sans JP", sans-serif;
  --font-sans: "Noto Sans JP", sans-serif;
  --font-body: "Noto Sans JP", sans-serif;
  --container: 72rem;
  --container-narrow: 42rem;
  --header-offset: 6.5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink);
  background:
    radial-gradient(ellipse 70% 45% at 0% 0%, rgba(226, 58, 46, 0.07), transparent 55%),
    radial-gradient(ellipse 50% 35% at 100% 10%, rgba(11, 11, 11, 0.04), transparent 50%),
    linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 50%, var(--paper) 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

.site-header,
.hero,
.section {
  overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--vermillion); text-decoration-thickness: 0.08em; text-underline-offset: 0.2em; }
a:hover { color: var(--vermillion-dark); }
a:focus-visible, button:focus-visible, .tilt-card:focus-visible, .filter-pill:focus-visible, .nav-link:focus-visible {
  outline: 2px solid var(--vermillion);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--vermillion);
  color: #fff;
  padding: var(--space-3) var(--space-4);
  z-index: 10000;
}
.skip-link:focus { left: var(--space-4); top: var(--space-4); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }
.container-narrow { width: min(100% - 2rem, var(--container-narrow)); margin-inline: auto; }

h1, h2, h3, .card-title, .article-title, .hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: var(--ink);
}
h1 { font-size: clamp(1.85rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); margin: 0 0 var(--space-4); }
h3 { font-size: clamp(1.1rem, 2vw, 1.3rem); margin: 0 0 var(--space-2); }
.lead { font-size: 1.1rem; color: var(--steel); max-width: 40rem; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--vermillion-dark);
  margin-bottom: var(--space-2);
}

.section { padding-block: clamp(3rem, 6vw, 5.5rem); position: relative; }
.on-dark { color: var(--paper); }
.on-light { color: var(--ink); }
.section-dark {
  background: var(--ink);
  color: var(--paper);
}
.section-dark h2, .section-dark h3, .section-dark .card-title { color: var(--paper); }
.section-dark .section-sub, .section-dark .card-excerpt, .section-dark .card-meta { color: rgba(250, 250, 248, 0.7); }
.section-dark .eyebrow { color: var(--vermillion); }
.section-dark .card, .section-dark .tilt-card {
  background: var(--ink-soft);
  box-shadow: none;
  border: 1px solid rgba(250, 250, 248, 0.08);
  color: var(--paper);
}
.section-dark .card-excerpt,
.section-dark .card-meta { color: rgba(250, 250, 248, 0.78); }
.section-dark .card-cta { color: #F4A39C; }
.section-accent-band {
  background: linear-gradient(135deg, rgba(226, 58, 46, 0.08), transparent 60%), var(--paper-2);
}
.section-header { margin-bottom: var(--space-6); max-width: 42rem; }
.section-header-row {
  max-width: none;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-4);
}
.section-sub { margin: 0; color: var(--steel); font-size: 1rem; }
.section-cta {
  margin-top: var(--space-6);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
}
.section-relative { position: relative; z-index: 1; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 44px;
  padding: 0.75rem 1.4rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn-primary {
  background: var(--vermillion);
  color: #fff;
  border-color: var(--vermillion);
}
.btn-primary:hover { background: var(--vermillion-dark); color: #fff; border-color: var(--vermillion-dark); }
.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.85);
}
.btn-outline:hover { background: #fff; color: var(--ink); }
.section:not(.section-dark) .btn-outline {
  color: var(--ink);
  border-color: var(--ink);
}
.section:not(.section-dark) .btn-outline:hover {
  background: var(--ink);
  color: #fff;
}
.text-link {
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--vermillion);
}
.text-link:hover { color: var(--vermillion); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(250, 250, 248, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-top {
  background: var(--ink);
  color: rgba(250, 250, 248, 0.88);
  font-size: 0.78rem;
}
.header-top-inner {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  min-height: 2rem;
}
.header-tagline { margin: 0; }
.header-top-links { display: flex; gap: var(--space-4); }
.header-contact-link { color: #fff; text-decoration: none; font-weight: 600; }
.header-contact-link:hover { color: var(--vermillion); }
.header-inner {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 4.25rem;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}
.logo:hover { color: var(--vermillion); text-decoration: none; }
.logo-mark {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.35rem;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text strong {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
}
.logo-tag {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--vermillion);
  font-weight: 700;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s var(--ease);
}
.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.1rem 0.2rem;
  justify-content: flex-end;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.4rem 0.7rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--steel);
  text-decoration: none;
  border-radius: var(--radius);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.is-active {
  color: var(--vermillion);
  background: rgba(226, 58, 46, 0.08);
}

/* Hero */
.hero { position: relative; color: #fff; }
.hero-swiper {
  width: 100%;
  height: min(88vh, 46rem);
  min-height: 28rem;
}
.hero-slide { position: relative; overflow: hidden; }
.hero-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-scrim,
.hero-slide-content::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(11, 11, 11, 0.9) 0%, rgba(11, 11, 11, 0.55) 48%, rgba(11, 11, 11, 0.28) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.35) 42%, transparent 70%);
  z-index: 2;
}
.hero-content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  padding: var(--space-8) 0 calc(var(--space-8) + 1rem);
}
.hero-kicker {
  display: inline-block;
  margin-bottom: var(--space-3);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(250, 250, 248, 0.85);
}
.hero-title {
  max-width: 14ch;
  margin: 0 0 var(--space-4);
  font-size: clamp(2rem, 5.5vw, 3.5rem);
  color: #fff;
}
.hero-sub {
  max-width: 34rem;
  margin: 0 0 var(--space-5);
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.hero .swiper-pagination-bullet { background: #fff; opacity: 0.4; width: 10px; height: 10px; }
.hero .swiper-pagination-bullet-active { opacity: 1; background: var(--vermillion); }
.hero-nav {
  color: #fff;
  width: 44px;
  height: 44px;
  top: 50%;
  transform: translateY(-50%);
}
.hero-nav::after { font-size: 1.25rem; font-weight: 700; }

.word-reveal .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.55em);
  animation: wordIn 0.55s var(--ease) forwards;
  animation-delay: calc(var(--i) * 0.028s);
}
.swiper-slide-active .word-reveal .word {
  opacity: 0;
  animation: wordIn 0.55s var(--ease) forwards;
  animation-delay: calc(var(--i) * 0.028s);
}
@keyframes wordIn {
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .word-reveal .word { opacity: 1; transform: none; animation: none; }
}

/* Cards */
.card-grid { display: grid; gap: var(--space-5); justify-content: center; }
.card-grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card-grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card-grid-mixed { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card-grid-mixed .card-lg,
.card-grid-mixed .card-md { grid-column: span 1; max-width: 100%; }

.card, .tilt-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transform-style: preserve-3d;
  transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease);
  will-change: transform;
  display: flex;
  flex-direction: column;
  height: 100%;
  color: var(--ink);
}
.tilt-card.is-tilting, .tilt-card:focus-within, .tilt-card.is-lift {
  box-shadow: var(--shadow-lift);
}
.tilt-card.is-lift { transform: translateY(-6px); }
.card-link {
  display: block;
  color: inherit;
  text-decoration: none;
  height: 100%;
}
.card-link:hover { color: inherit; text-decoration: none; }
.card-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: var(--paper-2);
}
.card-lg .card-media { aspect-ratio: 16 / 9; }
.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.card:hover .card-media img,
.tilt-card:hover .card-media img,
.tilt-card:focus-within .card-media img,
.tilt-card.is-tilting .card-media img {
  transform: scale(1.05);
}
.card-border {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(var(--vermillion), var(--vermillion)) top left / 0 2px no-repeat,
    linear-gradient(var(--vermillion), var(--vermillion)) top left / 2px 0 no-repeat,
    linear-gradient(var(--vermillion), var(--vermillion)) bottom right / 0 2px no-repeat,
    linear-gradient(var(--vermillion), var(--vermillion)) bottom right / 2px 0 no-repeat;
  transition: background-size 0.4s var(--ease);
}
.tilt-card:hover .card-border,
.tilt-card:focus-within .card-border {
  background-size: 100% 2px, 2px 100%, 100% 2px, 2px 100%;
}
.card-body {
  padding: var(--space-5);
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card-excerpt {
  margin: 0 0 var(--space-3);
  color: var(--steel);
  font-size: 0.95rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  overflow: hidden;
  white-space: normal;
  flex: 1;
}
.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-3);
  font-size: 0.8rem;
  color: var(--steel);
}
.card-cta {
  display: inline-block;
  margin-top: auto;
  padding-top: var(--space-3);
  color: var(--vermillion-dark);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}
.card-link--static { cursor: default; }
.bike-price {
  font-weight: 700;
  color: var(--vermillion);
  margin: 0 0 var(--space-3);
}
.tech-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.tech-chip {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--steel);
}

/* Trends */
.trend-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-5);
  justify-content: center;
}
.trend-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: var(--ink);
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.trend-media { aspect-ratio: 3 / 2; overflow: hidden; }
.trend-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.trend-card:hover .trend-img { transform: scale(1.05); }
.trend-body { padding: var(--space-5); flex: 1; display: flex; flex-direction: column; }
.trend-body p { margin: 0; color: var(--steel); font-size: 0.95rem; }

/* Hotspot bike */
.hotspot-bike {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-6);
  align-items: start;
}
.hotspot-stage {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink-soft);
  border: 1px solid rgba(250, 250, 248, 0.1);
}
.hotspot-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  opacity: 0.92;
}
.hotspot-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-width: 44px;
  min-height: 44px;
}
.hotspot-pin-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--vermillion);
  border: 2px solid #fff;
  box-shadow: 0 0 0 0 rgba(226, 58, 46, 0.5);
  animation: pulsePin 2s ease-out infinite;
}
.hotspot-pin.is-active .hotspot-pin-dot,
.hotspot-pin:hover .hotspot-pin-dot {
  background: #fff;
  border-color: var(--vermillion);
  animation: none;
}
.hotspot-pin-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  background: rgba(11, 11, 11, 0.75);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.2s, transform 0.2s;
}
.hotspot-pin:hover .hotspot-pin-label,
.hotspot-pin.is-active .hotspot-pin-label,
.hotspot-pin:focus-visible .hotspot-pin-label {
  opacity: 1;
  transform: translateX(0);
}
@keyframes pulsePin {
  0% { box-shadow: 0 0 0 0 rgba(226, 58, 46, 0.55); }
  70% { box-shadow: 0 0 0 12px rgba(226, 58, 46, 0); }
  100% { box-shadow: 0 0 0 0 rgba(226, 58, 46, 0); }
}
.hotspot-panels {
  background: var(--ink-soft);
  border: 1px solid rgba(250, 250, 248, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  min-height: 14rem;
}
.hotspot-panel h3 {
  color: #fff;
  font-family: var(--font-display);
  margin-bottom: var(--space-3);
}
.hotspot-panel p {
  margin: 0;
  color: rgba(250, 250, 248, 0.78);
  line-height: 1.7;
}

/* Photo swiper */
.photo-swiper {
  overflow: visible;
  padding-bottom: var(--space-5);
}
.photo-slide {
  width: min(78vw, 28rem);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.photo-slide-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.photo-slide-caption {
  margin: 0;
  padding: var(--space-4);
  font-size: 0.9rem;
  color: var(--steel);
}
.photo-scrollbar {
  background: var(--mist);
  height: 3px !important;
}
.photo-scrollbar .swiper-scrollbar-drag {
  background: var(--vermillion);
}

/* Stats */
.stat-band {
  padding: var(--space-6) 0;
  background: var(--ink);
  color: #fff;
  border-block: 1px solid rgba(226, 58, 46, 0.35);
}
.stat-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  text-align: center;
}
.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--vermillion);
  line-height: 1.1;
}
.stat-label {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: rgba(250, 250, 248, 0.7);
}

/* Newsletter */
.newsletter-section {
  padding: var(--space-8) 0;
  background: linear-gradient(135deg, var(--ink) 0%, #1f1210 100%);
  color: #fff;
}
.newsletter-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-6);
  align-items: center;
}
.newsletter-copy h2 { color: #fff; }
.newsletter-copy p { color: rgba(250, 250, 248, 0.75); }
.newsletter-form {
  display: grid;
  gap: var(--space-3);
}
.newsletter-form input[type="email"] {
  min-height: 48px;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font: inherit;
}
.newsletter-form input::placeholder { color: rgba(255, 255, 255, 0.45); }
.newsletter-note { margin: 0; font-size: 0.8rem; color: rgba(250, 250, 248, 0.55); }
.newsletter-success {
  margin: 0;
  color: #7dffa3;
  font-weight: 700;
}
.newsletter-success:not([hidden]) { display: block; }

/* Page band / article */
.page-band {
  padding: var(--space-7) 0 var(--space-6);
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-band h1 { color: #fff; }
.page-band .lead { color: rgba(250, 250, 248, 0.75); }
.page-band-inner { position: relative; z-index: 1; }

/* Page band "hero image" background (all internal pages) */
.page-band:not(.page-band--image)::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--page-band-image, none);
  background-size: cover;
  background-position: center;
  opacity: 0.22;
  transform: scale(1.03);
  z-index: 0;
  pointer-events: none;
}
.page-band:not(.page-band--image)::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.72) 100%);
  z-index: 0;
  pointer-events: none;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  font-size: 0.85rem;
  margin-bottom: var(--space-4);
  color: rgba(250, 250, 248, 0.6);
}
.breadcrumb a { color: #fff; text-decoration: none; }
.breadcrumb a:hover { color: var(--vermillion); }

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}
.filter-pill {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--steel);
  font-size: 0.85rem;
  font-weight: 700;
  background: #fff;
}
.filter-pill:hover, .filter-pill.is-active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  text-decoration: none;
}

.article-hero { position: relative; color: #fff; }
.article-hero-media {
  position: relative;
  height: min(70vh, 36rem);
  min-height: 22rem;
  overflow: hidden;
}
.article-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.55) 45%, rgba(0, 0, 0, 0.88) 100%);
}
.article-hero-content {
  position: absolute;
  inset: auto 0 0;
  padding: var(--space-7) 0;
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
  z-index: 2;
}
.article-title { color: #fff; max-width: 20ch; }
.article-byline {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-4);
}
.byline-avatar { border-radius: 50%; object-fit: cover; }
.byline-name { margin: 0; font-weight: 700; }
.byline-meta { margin: 0; font-size: 0.85rem; color: rgba(255, 255, 255, 0.75); }

.article-content p { margin: 0 0 var(--space-5); font-size: 1.05rem; }
.pull-quote {
  margin: var(--space-6) 0;
  padding: var(--space-5) 0 var(--space-5) var(--space-5);
  border-left: 4px solid var(--vermillion);
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  line-height: 1.55;
  color: var(--ink);
}
.article-figure { margin: var(--space-6) 0; }
.article-img { width: 100%; border-radius: var(--radius-lg); }
.article-figure figcaption {
  margin-top: var(--space-2);
  font-size: 0.85rem;
  color: var(--steel);
}
.article-hub-link { margin-top: var(--space-7); font-weight: 700; }

.rider-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: var(--shadow-soft);
}
.rider-card-inner { display: flex; gap: var(--space-4); align-items: flex-start; }
.rider-avatar { border-radius: 50%; object-fit: cover; }
.rider-name { margin: 0 0 var(--space-1); }
.rider-tagline, .rider-bio { margin: 0 0 var(--space-2); color: var(--steel); font-size: 0.95rem; }

.prose-block h2 { margin-top: var(--space-6); }
.prose-block ul { padding-left: 1.25rem; }

/* Contact / forms */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr;
  gap: var(--space-6);
}
.contact-details dl { margin: 0; }
.contact-details dt {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel-light);
  margin-top: var(--space-4);
}
.contact-details dd { margin: var(--space-1) 0 0; }
.form-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-soft);
}
.form-group { margin-bottom: var(--space-4); }
.form-group label { display: block; font-weight: 700; margin-bottom: var(--space-2); }
.form-group input,
.form-group textarea {
  width: 100%;
  min-height: 46px;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  background: var(--paper);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-check label { display: flex; align-items: flex-start; gap: var(--space-2); font-weight: 500; }
.form-check input { width: auto; min-height: auto; margin-top: 0.35rem; }
.field-error {
  display: none;
  margin: var(--space-2) 0 0;
  color: var(--vermillion);
  font-size: 0.85rem;
}
.form-group.is-invalid .field-error { display: block; }
.form-group.is-invalid input,
.form-group.is-invalid textarea { border-color: var(--vermillion); }
.form-success {
  display: none;
  margin-bottom: var(--space-4);
  padding: var(--space-4);
  background: rgba(34, 160, 90, 0.12);
  border-radius: var(--radius);
  color: #1a7a45;
  font-weight: 700;
}
.form-success.is-visible { display: block; }

.search-form {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}
.search-form input[type="search"] {
  flex: 1;
  min-width: 16rem;
  min-height: 48px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  background: #fff;
}
.search-meta { color: var(--steel); font-weight: 700; }
.empty-state {
  padding: var(--space-7);
  text-align: center;
  color: var(--steel);
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px dashed var(--line);
}

.error-page {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: var(--space-8) var(--space-4);
}
.error-code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 8rem);
  margin: 0;
  color: var(--vermillion);
  line-height: 1;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(250, 250, 248, 0.78);
  padding-top: var(--space-8);
}
.footer-inner {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: var(--space-7);
  padding-bottom: var(--space-7);
}
.logo-footer .logo-mark { background: var(--vermillion); }
.logo-footer { color: #fff; }
.footer-tagline { color: rgba(250, 250, 248, 0.65); }
.footer-social { list-style: none; margin: var(--space-4) 0 0; padding: 0; display: flex; gap: var(--space-4); }
.footer-social a { color: #fff; text-decoration: none; font-weight: 700; font-size: 0.9rem; }
.footer-social a:hover { color: var(--vermillion); }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
.footer-heading {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 var(--space-3);
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col a { color: rgba(250, 250, 248, 0.75); text-decoration: none; }
.footer-col a:hover { color: var(--vermillion); }
.footer-col li { margin-bottom: var(--space-2); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--space-4) 0;
}
.footer-bottom-inner {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-3);
  font-size: 0.85rem;
}
.footer-legal { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-4); }
.footer-legal a { color: rgba(250, 250, 248, 0.7); text-decoration: none; }
.footer-legal a:hover { color: var(--vermillion); }

/* Animated blobs / reveals */
.animated-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
  animation: blobFloat 18s ease-in-out infinite;
  max-width: 100%;
}
.blob-1 { width: 28rem; height: 28rem; background: rgba(226, 58, 46, 0.35); top: -10%; left: -5%; }
.blob-2 { width: 22rem; height: 22rem; background: rgba(11, 11, 11, 0.25); top: 40%; right: -8%; animation-delay: -6s; }
.blob-3 { width: 18rem; height: 18rem; background: rgba(226, 58, 46, 0.2); bottom: -10%; left: 35%; animation-delay: -11s; }
@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(3%, 4%) scale(1.08); }
}
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-inview { opacity: 1; transform: none; }
.img-kenburns-active {
  animation: kenburns 14s ease-out forwards;
}
@keyframes kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}
@media (prefers-reduced-motion: reduce) {
  .blob { animation: none; }
  .img-kenburns-active { animation: none; }
  .reveal { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 1024px) {
  .card-grid-3, .trend-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid-mixed { grid-template-columns: 1fr 1fr; }
  .card-grid-mixed .card-lg,
  .card-grid-mixed .card-md { grid-column: span 1; }
  .hotspot-bike, .newsletter-inner, .footer-inner, .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .page-intro { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .card-grid-3, .card-grid-2, .card-grid-mixed, .trend-grid, .stat-list {
    grid-template-columns: 1fr;
  }
  .card-grid-mixed .card-lg,
  .card-grid-mixed .card-md { grid-column: span 1; }
}
@media (max-width: 768px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s var(--ease);
  }
  .primary-nav.is-open { max-height: 80vh; overflow: auto; }
  .nav-list {
    flex-direction: column;
    padding: var(--space-3) var(--space-4) var(--space-5);
    gap: 0;
  }
  .nav-link { width: 100%; }
  .card-grid-3, .card-grid-2, .trend-grid, .stat-list {
    grid-template-columns: 1fr;
  }
  .hero-swiper,
  .hero-slide {
    height: min(58vh, 420px);
    min-height: 18rem;
  }
  .hotspot-pin-label { opacity: 1; transform: none; font-size: 0.65rem; }
  .footer-cols { grid-template-columns: 1fr; }
  .header-tagline { display: none; }
}

/* Ad slots */
.ad-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 90px;
  margin: var(--space-6) 0;
  padding: var(--space-5);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: rgba(11, 11, 11, 0.03);
  text-align: center;
}
.ad-slot-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--steel-light);
}
.ad-slot-note {
  font-size: 0.85rem;
  color: var(--steel);
}
.ad-slot--header { min-height: 72px; margin: 0; border-radius: 0; }
.ad-slot--between { max-width: var(--container); margin-inline: auto; }

/* Page intro / FAQ / related strip */
.page-intro {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-6);
  align-items: center;
  margin-bottom: var(--space-6);
}
.page-intro-copy p {
  color: var(--steel);
  margin: 0 0 var(--space-4);
}
.page-intro-copy p:last-child { margin-bottom: 0; }
.page-intro-visual {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.page-intro-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.related-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3) var(--space-4);
  padding: var(--space-4) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: var(--space-2);
}
.related-strip-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--vermillion);
}
.related-strip-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-4);
}
.related-strip-links a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}
.related-strip-links a:hover { color: var(--vermillion); }

.faq-block {
  margin-top: var(--space-8);
  padding: var(--space-6);
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
.faq-block h2 { margin-top: 0; }
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: var(--space-3) 0;
}
.faq-item:last-child { border-bottom: 0; }
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
  list-style: none;
  padding: var(--space-2) 0;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: '+';
  display: inline-block;
  width: 1.25rem;
  color: var(--vermillion);
  font-weight: 700;
  margin-right: var(--space-2);
}
.faq-item[open] summary::before { content: '−'; }
.faq-a p {
  margin: 0 0 var(--space-3);
  color: var(--steel);
  padding-left: 1.5rem;
}
.article-h2 {
  margin-top: var(--space-7);
  margin-bottom: var(--space-4);
}
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: var(--space-5) 0;
}