/* ═══════════════════════════════════════════════════════════
   45.BIKE — Product page
   ─────────────────────────────────────────────────────────
   Rides on the shared brand system (Manrope, #43AF43, pill
   buttons, --content-ease, the reveal + counter scripts) and
   reuses the Angad product primitives (.ag-head / .ag-approach /
   .ag-vector / .ag-mission / .ag-closing / .ag-pillars) plus the
   About shells (.ab-intro / .ab-do / .ab-card / [data-au-reveal]).
   Only genuinely new components live here, prefixed `fb-`
   (fortyfive.bike).
════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════
   HERO extras — tagline line + inline spec ticker
════════════════════════════════════════════════════════════ */

/* "Rugged. Smart. Electric." — sits under the headline */
.fb-tagline-line {
  display: block;
  margin: 0 0 20px;
  font-size: clamp(12px, 1.3vw, 14px);
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #6bd46b;
}

/* Hero spec ticker — the four numbers that sell the bike, inline.
   Sits on a glass panel: the banner's light-trails run bright green right
   behind it, and plain white/green text washes out without a backdrop. */
.fb-hero-specs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: 34px;
  padding: 18px 8px;
  max-width: 435px;
  background: rgba(8, 12, 8, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 16px;
}
.fb-hspec {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 0 22px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}
.fb-hspec:first-child {
  border-left: 0;
}
.fb-hspec-num {
  font-size: clamp(19px, 2.1vw, 24px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #ffffff;
}
.fb-hspec-num span {
  font-size: 0.58em;
  font-weight: 700;
  margin-left: 2px;
  color: #6bd46b;
}
.fb-hspec-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 640px) {
  .fb-hero-specs { gap: 18px 0; }
  .fb-hspec { padding: 0 16px; }
}

/* Join the hero's staggered entry (matches style.css .slide.is-entering) */
.fb-tagline-line,
.fb-hero-specs { opacity: 0; }
.slide.is-entering .fb-tagline-line {
  animation: hsContentUp 0.76s var(--content-ease) 0.42s both;
}
.slide.is-entering .fb-hero-specs {
  animation: hsContentUp 0.76s var(--content-ease) 0.82s both;
}

/* ═══════════════════════════════════════════════════════════
   SPEC BAND — the headline numbers, dark & dramatic
════════════════════════════════════════════════════════════ */
.fb-specband {
  position: relative;
  overflow: hidden;
  background: #0a0c0a;
}
/* soft green wash echoing the hero light-trails */
.fb-specband::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto -10%;
  height: 150%;
  background: radial-gradient(
    60% 50% at 50% 0%,
    rgba(67, 175, 67, 0.16) 0%,
    transparent 65%
  );
  pointer-events: none;
}
.fb-specband > * { position: relative; z-index: 1; }

.fb-spec-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: clamp(38px, 5vh, 54px);
}
.fb-spec {
  padding: 8px 26px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  transition: border-color 0.35s ease;
}
.fb-spec:first-child { border-left: 0; padding-left: 0; }
.fb-spec:hover { border-left-color: rgba(67, 175, 67, 0.5); }

.fb-spec-num {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
  color: #43af43;
}
.fb-spec-unit {
  font-size: 0.4em;
  font-weight: 700;
  letter-spacing: 0;
  color: #6bd46b;
}
.fb-spec-label {
  margin: 14px 0 5px;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
}
.fb-spec-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 1000px) {
  .fb-spec-grid { grid-template-columns: repeat(2, 1fr); gap: 34px 0; }
  .fb-spec:nth-child(odd) { border-left: 0; padding-left: 0; }
}
@media (max-width: 520px) {
  .fb-spec-grid { grid-template-columns: 1fr; gap: 28px; }
  .fb-spec { border-left: 0; padding-left: 0; }
}

/* ═══════════════════════════════════════════════════════════
   SPEC SHEET — the "Key Specifications" table (dark, premium)
════════════════════════════════════════════════════════════ */
/* Light + airy, hairline-ruled — reads like a proper product spec sheet */
.fb-sheet-section {
  background: #ffffff;
}
.fb-sheet {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 clamp(36px, 5vw, 72px);
  max-width: 1040px;
  margin: clamp(40px, 5vh, 58px) auto 0;
}
.fb-sheet-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 21px 6px;
  border-bottom: 1px solid rgba(16, 44, 28, 0.1);
  transition: border-color 0.3s ease, padding-left 0.35s var(--content-ease);
}
.fb-sheet-row:hover {
  border-bottom-color: rgba(67, 175, 67, 0.55);
  padding-left: 12px;
}
.fb-sheet-label {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #6b7280;
  white-space: nowrap;
}
.fb-sheet-label svg {
  width: 17px;
  height: 17px;
  flex: none;
  color: #43af43;
}
.fb-sheet-value {
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #1b1e1b;
  text-align: right;
}

@media (max-width: 820px) {
  .fb-sheet { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════
   FRAME CALLOUT — the 4130 Chromoly story badge
════════════════════════════════════════════════════════════ */
.fb-frame-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding: 9px 17px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6bd46b;
  background: rgba(67, 175, 67, 0.12);
  border: 1px solid rgba(67, 175, 67, 0.32);
  border-radius: 100px;
}
.fb-frame-badge svg { width: 16px; height: 16px; }

/* Intro photo — tall studio shot. The subject (headlight + frame) sits low in
   the original, so bias the crop downward or we frame empty backdrop. */
.fb-intro-photo {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 610px;
  object-fit: cover;
  object-position: center 72%;
  border-radius: 22px;
  /* box-shadow: 0 40px 70px -34px rgba(16, 44, 28, 0.42); */
}

/* The hero banner is a wide cinematic frame with the bike sitting right of
   centre — bias the 3:2 crop so the bike stays in shot, not just the trails. */
#performance .ag-vector-img {
  object-position: 70% center;
}
