/* ============================================================
   VOLT BROS — channel hub
   Light theme only. #f8f9fa page / white cards / dark ink.
   Accents: electric orange #ff6a00 + electric blue #00b4ff.
   System fonts, heavy weights, tight tracking, skewed shapes.
   ============================================================ */

:root {
  --bg: #f8f9fa;
  --card: #ffffff;
  --ink: #111418;
  --muted: #5c6470;
  --line: #e4e8ec;
  --orange: #ff6a00;
  --blue: #00b4ff;
  --shadow: 0 8px 24px rgba(17, 20, 24, 0.07);
  --radius: 14px;
  --display: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--display);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

.svg-defs { position: absolute; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100;
  font-weight: 700; text-decoration: none;
}
.skip:focus { left: 8px; top: 8px; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }

/* ---------- bolts ---------- */
.bolt { display: inline-block; vertical-align: baseline; }
.bolt-lg { width: 0.62em; height: 0.88em; margin: 0 0.04em; transform: translateY(0.08em); }
.bolt-sm { width: 0.75em; height: 1em; margin: 0 1px; transform: translateY(0.14em); }
.bolt-xs { width: 0.85em; height: 1em; transform: translateY(0.15em); }

/* ---------- topbar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 249, 250, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 10px; padding-bottom: 10px;
}
.topbar-brand {
  font-weight: 900; font-style: italic; font-size: 1.15rem;
  letter-spacing: -0.03em; text-decoration: none;
}
.topbar-cta {
  font-weight: 900; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.03em;
  background: var(--orange); color: #fff; text-decoration: none;
  padding: 8px 16px; border-radius: 8px; transform: skew(-6deg);
  transition: transform 0.15s, box-shadow 0.15s;
}
a.topbar-cta[href]:hover { transform: skew(-6deg) translateY(-2px); box-shadow: 0 4px 12px rgba(255, 106, 0, 0.4); }
.topbar-cta.is-soon { cursor: default; background: linear-gradient(135deg, var(--orange), var(--blue)); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(56px, 10vw, 120px) 0 clamp(48px, 8vw, 96px);
  text-align: center;
}
.hero::before {
  content: ""; position: absolute; inset: -20% -10%; pointer-events: none;
  background:
    repeating-linear-gradient(115deg, rgba(0, 180, 255, 0.055) 0 14px, transparent 14px 52px),
    repeating-linear-gradient(115deg, rgba(255, 106, 0, 0.05) 0 8px, transparent 8px 72px);
}
.hero-bars { position: absolute; inset: 0; pointer-events: none; }
.hero-bars::before, .hero-bars::after {
  content: ""; position: absolute; border-radius: 10px;
  background: linear-gradient(90deg, var(--orange), var(--blue));
}
.hero-bars::before { width: 360px; height: 52px; right: -110px; top: 16%; transform: skew(-24deg) rotate(-8deg); opacity: 0.12; }
.hero-bars::after { width: 260px; height: 34px; left: -90px; bottom: 14%; transform: skew(-24deg) rotate(-8deg); opacity: 0.10; }
.hero-inner { position: relative; }

.wordmark {
  font-size: clamp(2.7rem, 11.5vw, 7.2rem);
  font-weight: 900; font-style: italic;
  letter-spacing: -0.045em; line-height: 1;
  text-transform: uppercase; white-space: nowrap;
}
.wordmark .outline { color: var(--ink); }
@supports (-webkit-text-stroke: 3px black) {
  .wordmark .outline { color: transparent; -webkit-text-stroke: 0.045em var(--ink); }
}

.tagline {
  margin-top: 18px;
  font-weight: 900; text-transform: uppercase;
  font-size: clamp(1.05rem, 3vw, 1.5rem);
  letter-spacing: 0.01em;
}
.tagline .hl {
  display: inline-block; padding: 0 4px;
  background: linear-gradient(transparent 62%, rgba(255, 106, 0, 0.28) 62%);
}

.subline {
  margin: 14px auto 0; max-width: 560px;
  color: var(--muted); font-weight: 600;
  font-size: clamp(0.95rem, 2.2vw, 1.1rem);
}

.hero-ctas {
  margin-top: 30px;
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block; text-decoration: none;
  font-weight: 900; text-transform: uppercase; letter-spacing: 0.02em;
  font-size: clamp(0.9rem, 2.2vw, 1.05rem);
  padding: 14px 26px; border-radius: 10px;
  transform: skew(-6deg);
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-primary {
  background: var(--orange); color: #fff;
  box-shadow: 5px 5px 0 var(--ink);
}
a.btn-primary[href]:hover { transform: skew(-6deg) translate(-2px, -2px); box-shadow: 8px 8px 0 var(--ink); }
.btn-primary.is-soon {
  cursor: default;
  background: linear-gradient(135deg, var(--orange) 30%, var(--blue));
}
.btn-ghost {
  background: var(--card); color: var(--ink);
  border: 2.5px solid var(--ink);
  box-shadow: 5px 5px 0 rgba(0, 180, 255, 0.35);
}
.btn-ghost:hover { transform: skew(-6deg) translate(-2px, -2px); box-shadow: 8px 8px 0 rgba(0, 180, 255, 0.5); border-color: var(--blue); }

/* ---------- sections ---------- */
.section { padding: clamp(48px, 8vw, 88px) 0; }
.section-alt { background: #f1f4f7; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head { margin-bottom: 32px; }
.eyebrow {
  display: inline-block;
  background: var(--orange); color: #fff;
  font-weight: 900; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.12em;
  padding: 5px 12px; border-radius: 6px; transform: skew(-10deg);
}
#sends .eyebrow { background: var(--blue); }
.section-head h2 {
  margin-top: 12px;
  font-size: clamp(1.9rem, 5.5vw, 3rem);
  font-weight: 900; font-style: italic; text-transform: uppercase;
  letter-spacing: -0.035em; line-height: 1.05;
}
.section-head h2::after {
  content: ""; display: block; width: 72px; height: 6px; margin-top: 10px;
  border-radius: 3px; background: linear-gradient(90deg, var(--orange), var(--blue));
  transform: skew(-20deg);
}
.section-sub { margin-top: 12px; color: var(--muted); font-weight: 600; max-width: 620px; }

.nojs { color: var(--muted); font-weight: 600; }

/* ---------- garage ---------- */
.garage-grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.bike-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 20px;
  position: relative; overflow: hidden;
  transition: transform 0.15s, box-shadow 0.15s;
}
.bike-card::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px;
  background: linear-gradient(90deg, var(--orange), var(--blue));
}
.bike-card:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(17, 20, 24, 0.12); }
.bike-top { display: flex; align-items: center; gap: 12px; }
.bike-badge {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 10px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--orange), #ff9a4d);
  color: #fff; font-weight: 900; font-size: 1rem; font-style: italic;
  transform: skew(-6deg);
  box-shadow: 3px 3px 0 rgba(17, 20, 24, 0.85);
}
.bike-badge.alt { background: linear-gradient(135deg, var(--blue), #57d0ff); }
.bike-name {
  font-size: 1.12rem; font-weight: 900; letter-spacing: -0.02em;
  text-transform: uppercase; line-height: 1.15;
}
.bike-nick {
  display: inline-block; margin-top: 12px;
  background: var(--ink); color: #fff;
  font-weight: 800; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em;
  padding: 4px 10px; border-radius: 6px; transform: skew(-10deg);
}
.chips { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.chip {
  display: flex; flex-direction: column;
  border: 1.5px solid var(--line); border-radius: 9px;
  padding: 6px 12px; min-width: 86px; background: #fbfcfd;
}
.chip-label { font-size: 0.62rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.chip-value { font-size: 1.05rem; font-weight: 900; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stat-num { color: var(--orange); }

/* ---------- latest sends ---------- */
.video-grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}
.video-card {
  display: block; text-decoration: none;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  transition: transform 0.15s, box-shadow 0.15s;
}
a.video-card:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(17, 20, 24, 0.14); }
.thumb { position: relative; display: block; aspect-ratio: 9 / 16; background: #e8ecef; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 46px; height: 46px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 4px 14px rgba(17, 20, 24, 0.3);
  transition: transform 0.15s, background 0.15s;
}
.play::after {
  content: ""; position: absolute; left: 55%; top: 50%; transform: translate(-50%, -50%);
  border-left: 14px solid var(--orange);
  border-top: 9px solid transparent; border-bottom: 9px solid transparent;
}
a.video-card:hover .play { transform: translate(-50%, -50%) scale(1.1); background: #fff; }
.video-title {
  display: block; padding: 10px 12px 12px;
  font-weight: 800; font-size: 0.86rem; line-height: 1.3; color: var(--ink);
}

/* placeholder cards (empty videos[]) */
.video-card.placeholder {
  aspect-ratio: 9 / 16; position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  background:
    repeating-linear-gradient(115deg, rgba(0, 180, 255, 0.05) 0 10px, transparent 10px 34px),
    var(--card);
  text-align: center; padding: 16px;
}
.ph-bolt {
  width: 44px; height: 60px;
  background: linear-gradient(135deg, var(--orange), var(--blue));
  clip-path: polygon(62% 0, 18% 56%, 44% 56%, 38% 100%, 82% 40%, 54% 40%);
  opacity: 0.85;
}
.video-card.placeholder p {
  font-weight: 900; font-style: italic; text-transform: uppercase;
  font-size: 0.86rem; letter-spacing: -0.01em; color: var(--muted); line-height: 1.25;
}
.ph-chip {
  position: absolute; top: 10px; right: 10px;
  background: var(--blue); color: #fff;
  font-weight: 900; font-size: 0.62rem; letter-spacing: 0.12em;
  padding: 3px 9px; border-radius: 6px; transform: skew(-10deg);
}

/* ---------- the factory ---------- */
.factory-steps {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}
.step {
  position: relative;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 20px 18px;
}
.step-num {
  display: inline-block;
  font-weight: 900; font-style: italic; font-size: 0.78rem; letter-spacing: 0.06em;
  background: var(--ink); color: #fff;
  padding: 3px 10px; border-radius: 6px; transform: skew(-10deg);
}
.step-icon { width: 42px; height: 42px; margin-top: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.step-icon .fill { fill: currentColor; stroke: none; }
.icon-orange { color: var(--orange); }
.icon-blue { color: var(--blue); }
.step h3 {
  margin-top: 10px;
  font-weight: 900; font-style: italic; text-transform: uppercase;
  font-size: 1.05rem; letter-spacing: -0.02em;
}
.step p { margin-top: 6px; color: var(--muted); font-weight: 600; font-size: 0.88rem; }
@media (min-width: 900px) {
  .step:not(:last-child)::after {
    content: "\25B8"; position: absolute; right: -14px; top: 50%; transform: translateY(-50%);
    color: #c3cbd3; font-weight: 900; font-size: 1.2rem; z-index: 1;
  }
}

/* ---------- footer ---------- */
.footer {
  border-top: 5px solid;
  border-image: linear-gradient(90deg, var(--orange), var(--blue)) 1;
  background: var(--card);
  padding: 34px 0 40px;
  text-align: center;
}
.footer-brand { font-weight: 900; font-style: italic; text-transform: uppercase; letter-spacing: -0.02em; font-size: 1.05rem; }
.footer-line { margin-top: 6px; color: var(--muted); font-weight: 600; font-size: 0.9rem; }
.footer-safety { margin-top: 14px; font-weight: 800; font-size: 0.88rem; }

/* ---------- small screens ---------- */
@media (max-width: 420px) {
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .btn { text-align: center; }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
