/* Home base: tokens, header overrides, shared atoms. */

:root {
  --home-bg: #080a0d;
  --home-panel: #0e1217;
  --home-panel-2: #131820;
  --home-line: #28313b;
  --home-copy: #f5f7f8;
  --home-muted: #9ba6b1;
  --home-red: #dd3139;
  --home-cyan: #38c9e8;
  --home-amber: #efa34b;
}

html { scroll-behavior: smooth; }

.bjs-home-v2,
.bjs-home-v2 #wrapper,
.bjs-home-v2 .site,
.bjs-home-v2 .site-content,
.bjs-home-v2 .site-main,
.bjs-home-v2 .content-area {
  background: var(--home-bg) !important;
}

.bjs-home-v2 .entry-hero,
.bjs-home-v2 .site-footer {
  display: none;
}

.bjs-home-v2 .site-header,
.bjs-home-v2 .site-header-wrap,
.bjs-home-v2 .site-header-row-container-inner {
  border-color: var(--home-line);
  background: rgba(8, 10, 13, .96) !important;
}

.bjs-home-v2 .site-header {
  position: relative;
  z-index: 30;
}

.bjs-home-v2 .site-header .site-title,
.bjs-home-v2 .site-header .site-title a,
.bjs-home-v2 .site-header .site-branding a {
  color: #39bde7 !important;
}

.bjs-home-v2 .site-header .primary-menu-container a,
.bjs-home-v2 .site-header .header-navigation a {
  color: #c6ced6 !important;
}

.bjs-home-v2 .site-header .primary-menu-container a:hover,
.bjs-home-v2 .site-header .header-navigation a:hover {
  color: var(--home-red) !important;
}

.bjs-home {
  overflow: hidden;
  background: var(--home-bg);
  color: var(--home-copy);
}

.bjs-home h1,
.bjs-home h2,
.bjs-home h3 {
  margin: 0;
  color: var(--home-copy);
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 0;
  text-transform: uppercase;
}

.bjs-home p { color: var(--home-muted); }

.bjs-eyebrow,
.bjs-section-index {
  margin: 0 0 18px;
  color: var(--home-red) !important;
  font: 700 12px/1 Inter, sans-serif;
}

.bjs-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
}

.bjs-btn {
  display: inline-flex;
  min-width: 188px;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 4px;
  font: 700 12px/1 Inter, sans-serif;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.bjs-btn--primary {
  background: var(--home-red);
  color: #fff;
}

.bjs-btn--primary:hover { background: #f0474f; color: #fff; }

.bjs-btn--secondary {
  border-color: #78838e;
  background: rgba(8, 10, 13, .6);
  color: var(--home-copy);
}

.bjs-btn--secondary:hover { border-color: var(--home-copy); color: var(--home-copy); }
.bjs-btn--light { border-color: var(--home-cyan); background: rgba(8,10,13,.7); color: var(--home-cyan); }
.bjs-btn--dark { border-color: var(--home-red); background: rgba(8,10,13,.7); color: #ff6268; }

.bjs-text-link { color: var(--home-copy); font: 650 12px/1 Inter, sans-serif; text-decoration: none; text-transform: uppercase; }
.bjs-text-link span { margin-left: 8px; color: var(--home-red); }

.bjs-section-heading { max-width: 880px; margin: 0 auto; padding: 86px 24px 46px; text-align: center; }
.bjs-section-heading--left { max-width: 1200px; margin: 0; padding-inline: 0; text-align: left; }
.bjs-section-heading h2 { font-size: clamp(48px, 6vw, 86px); line-height: .94; }
.bjs-section-heading p:last-child { max-width: 640px; margin: 20px auto 0; font: 400 16px/1.65 Inter, sans-serif; }
.bjs-section-heading--left p:last-child { margin-left: 0; }

@media (max-width: 620px) {
  .bjs-btn { width: 100%; min-width: 0; }
  .bjs-actions:not(.bjs-actions--hero) { align-items: stretch; flex-direction: column; }
  .bjs-text-link { min-height: 48px; display: inline-flex; align-items: center; }
  .bjs-section-heading { padding-top: 66px; }
  .bjs-section-heading h2 { font-size: 50px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
