/* =============================================
   HRz PITSTOP – Layout, Sections & Homepage
   ============================================= */

/* ---- View Switcher ---- */
.view { display: none; }
.view.active {
  display: block;
  animation: fadeIn 0.35s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---- Hero Section ---- */
.hero {
  height: min(760px, calc(100vh - 33px));
  min-height: 620px;
  position: relative;
  overflow: hidden;
}
.hero > img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #0b0c0f 3%, #0b0c0ed9 27%, #0b0c0e66 58%, #0b0c0e0e 100%);
}
.hero-copy {
  position: absolute;
  left: 9.5vw;
  top: 50%;
  transform: translateY(-37%);
  max-width: 560px;
}
.hero-text {
  max-width: 390px;
  line-height: 1.6;
  color: #e2e2df;
  font-size: 15px;
  margin: 28px 0;
}
.hero-headline-custom {
  font-size: clamp(40px, 5.5vw, 76px);
  margin-bottom: 16px;
  line-height: 1;
}

/* Hero Bike Action Card (overlaid on hero) */
.hero-bike-action-card {
  background: rgba(13, 14, 16, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  padding: 16px 20px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.active-bike-summary {
  display: flex;
  align-items: center;
  gap: 12px;
}
.active-bike-summary .bike-icon { font-size: 28px; }
.active-bike-summary small {
  display: block;
  font-size: 11px;
  color: var(--mute);
  text-transform: uppercase;
}
.active-bike-summary strong { font-size: 16px; color: #ffffff; }

/* Tutorial Pointer Animation */
.tutorial-pointer {
  position: absolute;
  top: -30px;
  right: 20px;
  background: var(--red);
  color: white;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  animation: bounceTutorial 1.5s infinite;
  pointer-events: none;
  z-index: 10;
}
.tutorial-pointer::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px 6px 0;
  border-style: solid;
  border-color: var(--red) transparent transparent transparent;
}
@keyframes bounceTutorial {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ---- Benefits Strip ---- */
.benefits {
  min-height: 100px;
  background: #1e2023;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0 4.5vw;
}
.benefits > div {
  display: flex;
  align-items: center;
  gap: 13px;
  border-right: 1px solid #ffffff18;
  padding: 20px;
}
.benefits > div:first-child { padding-left: 0; }
.benefits b { font-size: 22px; color: var(--red); }
.benefits p { margin: 0; }
.benefits strong, .benefits small { display: block; }
.benefits strong { font-size: 12px; text-transform: uppercase; letter-spacing: .3px; }
.benefits small { font-size: 11px; color: #aaa; margin-top: 3px; }

/* ---- Section Layout ---- */
.section { padding: 110px 7vw; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 38px;
}
.section-head h2 {
  font-size: clamp(46px, 5.2vw, 76px);
  letter-spacing: -1.5px;
}

/* ---- Category Grid ---- */
.category-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  grid-template-rows: 220px 220px;
  gap: 13px;
}
.category {
  position: relative;
  overflow: hidden;
  background: #242629;
  min-height: 160px;
  cursor: pointer;
}
.category.large { grid-row: span 2; }
.category img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.7);
  transition: transform .5s;
}
.category:hover img { transform: scale(1.06); }
.category:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 40%, #000b);
}
.category span {
  position: absolute;
  bottom: 18px;
  left: 20px;
  right: 20px;
  z-index: 1;
  font-family: 'Barlow Condensed';
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}
.category small {
  font: 700 12px 'DM Sans';
  color: #d2d2ce;
}
.category b {
  margin-left: auto;
  color: var(--red);
  font-size: 25px;
}

/* ---- Statement / Brand Section ---- */
.statement {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  min-height: 630px;
  background: #16181b;
}
.statement h2 {
  font-size: clamp(46px, 5.2vw, 76px);
  letter-spacing: -1.5px;
}
.statement-image { overflow: hidden; }
.statement-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(.7) contrast(1.1);
}
.statement-copy {
  padding: 100px 8vw 70px 6vw;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.statement-copy > p:not(.eyebrow) {
  line-height: 1.65;
  color: #b9b9b5;
  font-size: 15px;
  max-width: 370px;
  margin: 26px 0 30px;
}
.stat-row { display: flex; gap: 60px; margin-top: 75px; }
.stat-row strong {
  font: 700 43px 'Barlow Condensed';
  display: block;
  color: var(--red);
}
.stat-row small {
  font-size: 11px;
  text-transform: uppercase;
  color: #a1a29e;
}

/* ---- Fit Finder ---- */
.fit-finder {
  display: flex;
  justify-content: space-between;
  align-items: end;
  padding: 100px 7vw;
  background: #d92820;
  color: #fff;
  overflow: hidden;
}
.fit-finder h2 {
  font-size: clamp(48px, 6vw, 82px);
  letter-spacing: -1.5px;
}
.fit-finder h2 em { color: #101114; }
.fit-finder > div > p:not(.eyebrow) {
  max-width: 390px;
  line-height: 1.6;
  font-size: 14px;
  margin: 22px 0 28px;
}
.fit-finder .button-red { background: #101114; }
.fit-steps { display: flex; gap: 8px; }
.fit-steps span {
  display: block;
  border: 1px solid #ffffff77;
  width: 118px;
  height: 118px;
  padding: 16px;
  font: 700 20px 'Barlow Condensed';
  color: #161719;
}
.fit-steps b {
  display: block;
  color: white;
  font-size: 16px;
  margin-top: 34px;
}

/* ---- New Drops ---- */
.new { background: #101114; }
.drop-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.drop-card {
  height: 390px;
  position: relative;
  overflow: hidden;
}
.drop-card:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 25%, #000d);
}
.drop-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(.35);
  transition: .5s;
}
.drop-card:hover img { transform: scale(1.04); }
.drop-card div {
  position: absolute;
  z-index: 1;
  bottom: 27px;
  left: 30px;
}
.drop-card .drop-tag {
  font: 700 11px 'Barlow Condensed';
  letter-spacing: 1.5px;
  color: var(--red2);
}
.drop-card h3 { font-size: 44px; margin: 6px 0 12px; }
.drop-card a {
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 700;
  border-bottom: 1px solid #ccc;
  padding-bottom: 4px;
}

/* ---- Newsletter ---- */
.newsletter {
  background: #1f2124;
  text-align: center;
  padding: 104px 20px;
}
.newsletter h2 {
  font-size: clamp(46px, 5.2vw, 76px);
  letter-spacing: -1.5px;
  margin-bottom: 18px;
}
.newsletter > p:not(.eyebrow) {
  color: #bcbdb9;
  margin: 0 0 29px;
  font-size: 14px;
}
.newsletter form {
  display: flex;
  max-width: 465px;
  margin: auto;
}
.newsletter input {
  min-width: 0;
  flex: 1;
  background: #151719;
  border: 1px solid #55585a;
  border-right: 0;
  padding: 15px;
  color: white;
  outline: none;
}
.newsletter small {
  display: block;
  min-height: 18px;
  margin-top: 12px;
  color: #ff928a;
}

/* ---- Service Strip ---- */
.service-strip {
  background: var(--paper);
  color: #151619;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 30px 7vw;
  gap: 24px;
}
.service-strip > div {
  display: flex;
  gap: 12px;
  align-items: center;
}
.service-strip b { color: var(--red); font-size: 22px; }
.service-strip strong, .service-strip small { display: block; }
.service-strip strong { font-size: 12px; text-transform: uppercase; }
.service-strip small { font-size: 11px; color: #666; margin-top: 4px; }

/* ---- FAQ ---- */
.faq-section { background: #15171a; }
.faq-section h2 {
  font-size: clamp(46px, 5vw, 70px);
  letter-spacing: -1.5px;
  margin-bottom: 35px;
}
.faq-section details {
  border-top: 1px solid #515255;
  padding: 20px 0;
}
.faq-section details:last-child { border-bottom: 1px solid #515255; }
.faq-section summary {
  cursor: pointer;
  list-style: none;
  font: 700 22px 'Barlow Condensed';
  text-transform: uppercase;
}
.faq-section summary:after { content: '+'; float: right; color: var(--red); }
.faq-section details[open] summary:after { content: '−'; }
.faq-section details p {
  max-width: 650px;
  color: #babbb7;
  line-height: 1.6;
  font-size: 13px;
}

/* ---- Recently Viewed ---- */
.recent { background: var(--paper); color: #111; }
.recent-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.recent-grid a { background: #fff; }
.recent-grid img {
  display: block;
  width: 100%;
  height: 230px;
  object-fit: cover;
}
.recent-grid span {
  display: flex;
  justify-content: space-between;
  padding: 14px;
  font: 700 20px 'Barlow Condensed';
  text-transform: uppercase;
}
.recent-grid b { font-family: 'DM Sans'; font-size: 12px; }

/* ---- Breadcrumbs ---- */
.breadcrumb-trail {
  display: flex;
  gap: 8px;
  font-size: 13px;
  color: var(--mute);
  margin-bottom: 20px;
  padding: 20px 7vw 0;
}
.breadcrumb-trail a { color: var(--mute); }
.breadcrumb-trail a:hover { color: var(--red); }
.breadcrumb-trail .current { color: #ffffff; font-weight: 700; }

/* ---- View Header ---- */
.view-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
  padding: 0 7vw;
}

/* ---- Empty States ---- */
.empty-state-card {
  background: var(--charcoal);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 24px;
  text-align: center;
  max-width: 540px;
  margin: 40px auto;
  box-shadow: var(--shadow-md);
}
.empty-state-card .empty-icon { font-size: 48px; margin-bottom: 16px; }
.empty-state-card h3 { font-size: 22px; margin-bottom: 10px; }
.empty-state-card p { color: var(--mute); margin-bottom: 20px; }

/* ---- Inner Page Section Wrappers ---- */
.inner-section { padding: 40px 7vw 100px; }
