:root {
  --ink: #f4f5f7;
  --bg: #000000;
  --panel: #0a0b0e;
  --panel-2: #111317;
  --accent: #EE3A23;        /* Feniex brand red */
  --accent-soft: #f2523a;   /* lighter accent for hover/gradients */
  --accent-hover: #d6321f;  /* darker accent for pressed/hover */
  --accent-glow: rgba(238, 58, 35, 0.35);
  --line: rgba(255,255,255,0.10);
  --muted: rgba(244,245,247,0.55);
  --can: #3aa0ff;           /* CAN port blue (from product) */
  --footer-designed-link: #fff;
  --footer-designed-link-hover: #fff;
  --serial: #34d36b;        /* serial out green */
  --switch: #EE3A23;        /* switched out / brand red */
  --maxw: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scrollbar-width: none; scroll-behavior: auto; }
html::-webkit-scrollbar { display: none; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ============ HEADER ============ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: #000;
  border-bottom: none;
}
.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 28px;
  height: 70px;
}
.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 1;
}
.site-header .brand {
  position: relative;
  z-index: 2;
  display: inline-flex;
  cursor: pointer;
  transition: transform 0.2s ease;
}
.site-header .brand:hover {
  transform: translateY(-3px);
}
.brand-logo {
  display: block;
  width: 112px;
  height: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  flex: 1;
  justify-content: flex-start;
  margin-left: 52px;
}
.main-nav .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f4f5f7;
  white-space: nowrap;
  transition: color 0.2s;
}
.main-nav .nav-link:hover { color: var(--accent); }
.main-nav .nav-link[aria-current="page"] { color: var(--accent); }
.main-nav .ico {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  opacity: 0.85;
}
.main-nav .caret-ico {
  width: 11px;
  height: 11px;
  margin-left: 1px;
  opacity: 0.6;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}
.mobile-nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: #f4f5f7;
  cursor: pointer;
  place-items: center;
  gap: 5px;
  flex-shrink: 0;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.mobile-nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  transition: transform 0.22s ease, opacity 0.22s ease;
}
body.mobile-nav-open .mobile-nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
body.mobile-nav-open .mobile-nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
body.mobile-nav-open .mobile-nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.mobile-nav {
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  z-index: 99;
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 12px 16px 20px;
  background: rgba(0, 0, 0, 0.97);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}
.mobile-nav[hidden],
.mobile-nav-backdrop[hidden] {
  display: none !important;
}
.mobile-nav-link {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 12px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f4f5f7;
  border-radius: 8px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.mobile-nav-link:hover,
.mobile-nav-link:focus-visible {
  color: var(--accent);
  background: rgba(255, 255, 255, 0.04);
}
.mobile-nav-link[aria-current="page"] {
  color: var(--accent);
}
.mobile-nav-divider {
  height: 1px;
  margin: 8px 4px;
  background: rgba(255, 255, 255, 0.1);
}
.mobile-nav-backdrop {
  position: fixed;
  inset: 70px 0 0;
  z-index: 98;
  display: none;
  background: rgba(0, 0, 0, 0.55);
}
body.mobile-nav-open {
  overflow: hidden;
}
.icon-btn {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: #1a1a1a;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: #f4f5f7;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.icon-btn:hover { border-color: var(--accent); background: #1a1a1a; }
.icon-btn svg { width: 16px; height: 16px; }
.support-login {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 9px 18px;
  height: auto;
  background: #1a1a1a;
  border: 1px solid var(--line);
  border-radius: 22px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #f4f5f7;
  white-space: nowrap;
}
.support-login a {
  color: inherit;
  transition: color 0.2s;
}
.support-login a:hover { color: var(--accent); }
.support-login .div {
  color: var(--muted);
  font-weight: 400;
}
.cart-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #1a1a1a;
  border: 1px solid var(--line);
  color: #f4f5f7;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  flex-shrink: 0;
}
.cart-btn:hover { border-color: var(--accent); color: var(--accent); }
.cart-btn svg { width: 18px; height: 18px; }
.cart-count {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 15px;
  height: 15px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 9px;
  font-weight: 700;
  line-height: 15px;
  text-align: center;
  box-shadow: 0 0 0 2px #000;
}
/* Empty cart: hide the count badge so the icon stays clean */
.cart-count[data-cart-count="0"] { display: none; }
.lang {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: auto;
  padding: 9px 14px;
  background: #1a1a1a;
  border: 1px solid var(--line);
  border-radius: 22px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f4f5f7;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.2s;
}
.lang:hover { border-color: var(--accent); }
.lang svg { width: 14px; height: 14px; flex-shrink: 0; }
.lang .caret-ico { width: 11px; height: 11px; opacity: 0.6; }

/* ============ HOME LOCALE (default blank + EN panel) ============ */
.home-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.home-shell {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.home-default {
  flex: 1;
  min-height: 0;
  background: #fff;
}

.home-default[hidden] {
  display: none !important;
}

.home-en-panel[hidden] {
  display: none !important;
}

.home-page.home-en-active .home-default {
  display: none !important;
}

.lang-switcher {
  position: relative;
}

.lang.is-active {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(238, 58, 35, 0.35);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 168px;
  padding: 6px;
  border-radius: 12px;
  background: #14161c;
  border: 1px solid var(--line);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  z-index: 120;
}

.lang-menu[hidden] {
  display: none !important;
}

.lang-menu-item {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  transition: background 0.2s, color 0.2s;
}

.lang-menu-item:hover,
.lang-menu-item.is-active {
  background: rgba(238, 58, 35, 0.12);
  color: #fff;
}

/* ============ CINEMATIC SCROLL HERO ============ */
.cinematic {
  position: relative;
  height: 560vh;
  background: #000;
}
.sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background: #000;
}
#frame-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(130% 100% at 50% 50%, transparent 55%, rgba(0,0,0,0.55) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.55) 0%, transparent 22%, transparent 72%, rgba(0,0,0,0.85) 100%);
}
.overlay { position: absolute; inset: 0; z-index: 10; pointer-events: none; }
.line {
  position: absolute;
  left: 50%; top: 46%;
  transform: translate(-50%, -50%);
  width: max-content;
  max-width: 92vw;
  text-align: center;
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: clamp(2.4rem, 8.5vw, 7.5rem);
  letter-spacing: 0.01em;
  line-height: 0.95;
  text-transform: uppercase;
  opacity: 0;
  will-change: opacity, transform;
}
.line .sub {
  display: block;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: clamp(0.8rem, 1.6vw, 1.05rem);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 18px;
}
.line.accent { color: #fff; }
.line.accent b { color: var(--accent); }

/* telemetry HUD */
.telemetry {
  position: absolute;
  z-index: 12;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
}
.telemetry b { color: var(--accent); }
.tl { top: 96px; left: 32px; }
.tr { top: 96px; right: 32px; }
.bl { bottom: 64px; left: 32px; }
.br { bottom: 64px; right: 32px; text-align: right; }
.progress {
  position: absolute;
  left: 32px; right: 32px; bottom: 40px;
  height: 2px;
  background: rgba(255,255,255,0.12);
  z-index: 12;
}
.progress-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--accent-soft), var(--accent));
  box-shadow: 0 0 14px var(--accent);
}

/* hero conversion */
.hero-convert {
  position: absolute;
  left: 50%;
  bottom: 72px;
  transform: translateX(-50%);
  z-index: 14;
  width: min(92vw, 640px);
  text-align: center;
  pointer-events: auto;
}
.hero-trust {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: 16px;
}
.hero-trust span {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244,245,247,0.62);
}
.hero-cta-row { justify-content: center; }

/* ============ PRODUCT FILM ============ */
.scroll-hint {
  position: absolute;
  bottom: 12px; left: 50%;
  transform: translateX(-50%);
  z-index: 12;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px; letter-spacing: 0.4em;
  color: rgba(255,255,255,0.55);
  animation: bob 1.8s ease-in-out infinite;
  transition: opacity 0.4s;
}
@keyframes bob { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(6px)} }

/* ============ PRODUCT VIDEO ============ */
.product-film {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(420px, 1.28fr);
  align-items: center;
  gap: 72px;
  position: relative;
  padding-bottom: 35px;
}
.film-copy .lead {
  max-width: 460px;
}
.film-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.film-points span {
  border: 1px solid var(--line);
  background: rgba(255,61,18,0.08);
  color: rgba(244,245,247,0.72);
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 8px 10px;
}
.film-player {
  position: relative;
}
.film-player video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #000;
}

/* ============ CONTENT SECTIONS ============ */
.section { max-width: var(--maxw); margin: 0 auto; padding: 100px 28px; }
.product-film + .section { padding-top: 30px; }
.eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.h2 {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.6rem);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  line-height: 1.02;
}
.lead { color: var(--muted); font-size: 1.12rem; line-height: 1.7; max-width: 620px; margin-top: 22px; }

/* wired vehicle — callouts left, controller right */
.wired-section .spec-copy {
  max-width: 640px;
  margin-bottom: 56px;
}

.wired-layout {
  display: grid;
  grid-template-columns: minmax(280px, 400px) minmax(260px, 480px);
  gap: 56px;
  align-items: center;
  justify-content: space-between;
}

.port-callouts {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.port-callout {
  padding-left: 18px;
  border-left: 2px solid;
  max-width: 400px;
}
.port-callout.can    { border-color: var(--can); }
.port-callout.serial { border-color: var(--serial); }
.port-callout.switch { border-color: var(--switch); }

.port-callout .tag {
  display: inline-block;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 3px;
  margin-bottom: 14px;
}
.port-callout.can    .tag { background: rgba(58,160,255,0.12);  color: var(--can); }
.port-callout.serial .tag { background: rgba(52,211,107,0.12);  color: var(--serial); }
.port-callout.switch .tag { background: rgba(255,77,77,0.12);   color: var(--switch); }

.port-callout h3 {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 1.28rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 10px;
  line-height: 1.15;
}
.port-callout p {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.62;
}

.controller-visual {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 460px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
}
.controller-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 70% at 50% 50%, transparent 55%, rgba(0,0,0,0.35) 100%),
    linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.25) 100%);
}
.controller-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  opacity: 0.9;
  filter: saturate(0.88) contrast(1.06);
}


/* CTA band */
.cta-band {
  text-align: center;
  padding: 150px 28px;
  background:
    radial-gradient(70% 120% at 50% 0%, rgba(255,61,18,0.10), transparent 60%),
    #000;
  border-top: 1px solid var(--line);
}
.cta-band .h2 { margin-bottom: 30px; }
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 17px 44px;
  border-radius: 4px;
  transition: transform 0.18s, background 0.2s;
}
.btn:hover { background: var(--accent-soft); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.22);
}
.btn-ghost:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,61,18,0.45); }
.btn-lg { padding: 18px 48px; font-size: 1.05rem; }
.btn-sm { padding: 12px 22px; font-size: 0.82rem; }
.btn-block { display: block; width: 100%; text-align: center; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.cta-row-center { justify-content: center; }
.cta-row-stack { flex-direction: column; }

.section-convert {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.section-convert p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto 8px;
}
.section-convert .cta-row { justify-content: center; }

.purchase-close .h2 { margin-bottom: 18px; }
.purchase-lead {
  max-width: 560px;
  margin: 0 auto 24px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}
.purchase-price {
  font-family: "Oswald", sans-serif;
  font-size: 1.35rem;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.purchase-price strong {
  font-size: clamp(2.2rem, 5vw, 3rem);
  color: var(--accent);
  font-weight: 700;
}
.purchase-price span { color: var(--muted); font-size: 0.95rem; text-transform: none; }
.purchase-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
  margin-bottom: 32px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244,245,247,0.55);
}

.shop-main { padding-top: 70px; }
.shop-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding-top: 60px;
  padding-bottom: 60px;
}
.shop-hero-media {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.shop-hero-media img {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.shop-bullets {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.shop-bullets li {
  padding-left: 18px;
  position: relative;
  color: var(--muted);
  font-size: 0.95rem;
}
.shop-bullets li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.shop-card {
  max-width: 900px;
  margin: 0 auto;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
}
.shop-card-product {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.shop-card-product img {
  width: 100%;
  border-radius: 10px;
  aspect-ratio: 1;
  object-fit: cover;
}
.shop-price {
  font-family: "Oswald", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  margin: 12px 0 8px;
}
.shop-price span { font-size: 0.95rem; color: var(--muted); font-weight: 400; }
.shop-note { color: var(--muted); font-size: 0.9rem; }
.shop-form { display: flex; flex-direction: column; gap: 18px; }
.shop-field { display: flex; flex-direction: column; gap: 8px; }
.shop-field span {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.shop-field input {
  padding: 12px 14px;
  background: #000;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink);
  font: inherit;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.trust-grid strong {
  display: block;
  font-family: "Oswald", sans-serif;
  font-size: 1.6rem;
  color: var(--accent);
  margin-bottom: 6px;
}
.trust-grid span {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* reveal animation */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============ FOOTER ============ */
.site-footer {
  background: #000;
  border-top: none;
  padding-top: 72px;
}
.footer-grid {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px 56px;
  display: grid;
  grid-template-columns: 1.35fr repeat(4, 1fr);
  gap: 40px;
}
.footer-brand .brand-logo {
  width: 180px;
  margin-bottom: 10px;
}
.footer-tag {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 18px;
}
.footer-desc {
  color: #fff;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.65;
  max-width: 280px;
  margin-bottom: 24px;
}
.socials { display: flex; gap: 10px; margin-bottom: 24px; }
.socials a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: #1a1a1a;
  border-radius: 50%;
  transition: background 0.2s;
}
.socials a:hover { background: #252525; }
.socials svg { width: 14px; height: 14px; fill: #fff; }
.made-usa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: #1a1a1a;
  border: none;
  border-radius: 999px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}
.made-usa .flag {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.made-usa .flag svg {
  width: 20px;
  height: 14px;
  border-radius: 2px;
  display: block;
}
.footer-col h4 {
  color: var(--accent);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding-top: 16px;
}
.footer-col a {
  color: #fff;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 400;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--accent); }

/* Designed pages — blue footer links (pages with live HTML) */
.site-footer .footer-col a[href$="products.html"],
.site-footer .footer-col a[href$="build-a-car.html"],
.site-footer .footer-col a[href$="upfit.html"],
.site-footer .footer-col a[href$="about-us.html"],
.site-footer .footer-col a[href$="why-feniex.html"],
.site-footer .footer-col a[href$="team.html"],
.site-footer .footer-col a[href$="blog.html"],
.site-footer .footer-col a[href$="terms.html"],
.site-footer .footer-col a[href$="warranty.html"],
.site-footer .footer-col a[href$="privacy.html"],
.site-footer .footer-col a[href$="support.html"],
.site-footer .footer-col a[href$="instruction-manuals.html"],
.site-footer .footer-col a[href$="customer-warranty.html"],
.site-footer .footer-col a[href$="returns.html"],
.site-footer .footer-col a[href$="training.html"] {
  color: var(--footer-designed-link);
}
/* Account / dealer footer links — green site-wide */
.site-footer .footer-col a[href="login.html"],
.site-footer .footer-col a[href="login.html?mode=register"] {
  color: #fff;
}
.site-footer .footer-col a[href="login.html"]:hover,
.site-footer .footer-col a[href="login.html?mode=register"]:hover {
  color: #fff;
}
.site-footer .footer-col a[href$="products.html"]:hover,
.site-footer .footer-col a[href$="build-a-car.html"]:hover,
.site-footer .footer-col a[href$="upfit.html"]:hover,
.site-footer .footer-col a[href$="about-us.html"]:hover,
.site-footer .footer-col a[href$="why-feniex.html"]:hover,
.site-footer .footer-col a[href$="team.html"]:hover,
.site-footer .footer-col a[href$="blog.html"]:hover,
.site-footer .footer-col a[href$="terms.html"]:hover,
.site-footer .footer-col a[href$="warranty.html"]:hover,
.site-footer .footer-col a[href$="privacy.html"]:hover,
.site-footer .footer-col a[href$="support.html"]:hover,
.site-footer .footer-col a[href$="instruction-manuals.html"]:hover,
.site-footer .footer-col a[href$="customer-warranty.html"]:hover,
.site-footer .footer-col a[href$="returns.html"]:hover,
.site-footer .footer-col a[href$="training.html"]:hover {
  color: var(--footer-designed-link-hover);
}
.site-footer .footer-bottom .links a[href$="privacy.html"],
.site-footer .footer-bottom .links a[href$="terms.html"],
.site-footer .footer-bottom .links a[href$="warranty.html"] {
  color: var(--footer-designed-link);
}
.site-footer .footer-bottom .links a[href$="privacy.html"]:hover,
.site-footer .footer-bottom .links a[href$="terms.html"]:hover,
.site-footer .footer-bottom .links a[href$="warranty.html"]:hover {
  color: var(--footer-designed-link-hover);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 32px;
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}
.footer-bottom .links { display: flex; gap: 28px; }
.footer-bottom a {
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.2s;
}
.footer-bottom a:hover { color: #fff; }

/* ============ MISSION DIVIDER (content → footer seam) ============ */
.mission-divider {
  position: relative;
  z-index: 50;
  padding: 0 28px;
  background:
    linear-gradient(180deg,
      rgba(4, 5, 8, 0.82) 0%,
      rgba(8, 10, 14, 0.90) 45%,
      rgba(12, 16, 22, 0.97) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow:
    inset 0 -1px 0 rgba(255, 255, 255, 0.04),
    0 -12px 32px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
}
.mission-divider::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(90% 180% at 50% -40%, rgba(238, 58, 35, 0.09), transparent 65%),
    radial-gradient(28% 120% at 0% 50%, rgba(58, 160, 255, 0.05), transparent 70%),
    radial-gradient(28% 120% at 100% 50%, rgba(58, 160, 255, 0.05), transparent 70%);
}
.mission-divider::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(238, 58, 35, 0.45) 50%,
    transparent 100%);
  opacity: 0.55;
}
.mission-divider-inner {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  margin: 0 auto;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 3vw, 28px);
}
.mission-divider-flank {
  flex: 1;
  max-width: 140px;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(255, 255, 255, 0.14) 50%,
    transparent);
  opacity: 0.7;
}
.mission-divider-text {
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(9px, 1.05vw, 11px);
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(244, 245, 247, 0.38);
  text-align: center;
  line-height: 1.4;
}
.mission-divider-accent {
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.28em;
}
@media (max-width: 640px) {
  .mission-divider { padding: 0 16px; }
  .mission-divider-inner {
    min-height: 44px;
    gap: 10px;
  }
  .mission-divider-flank { max-width: 48px; }
  .mission-divider-text {
    letter-spacing: 0.16em;
    font-size: 8.5px;
    white-space: normal;
    max-width: 280px;
  }
  .mission-divider-accent { letter-spacing: 0.18em; }
}

/* ============ PRODUCTS PAGE ============ */
.products-page {
  --accent: #EE3A23;
  --accent-soft: #f2523a;
  --accent-hover: #d6321f;
  --accent-glow: rgba(238, 58, 35, 0.35);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #000;
}
.products-page .btn-ghost:hover {
  border-color: rgba(238, 58, 35, 0.45);
}
.products-page .mission-divider-inner {
  min-height: 34px;
}
.products-page-banner {
  display: block;
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0;
  padding: 0;
  background: #000;
}
.products-page-banner-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 28px;
  box-sizing: border-box;
}
.products-page-banner-stage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  background: #000;
  min-height: clamp(280px, 32vw, 380px);
}
.products-page-banner-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #000;
  padding: clamp(28px, 4.5vw, 52px) clamp(24px, 3.5vw, 44px);
  line-height: normal;
  text-align: left;
  color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.products-page-banner-visual {
  position: relative;
  overflow: hidden;
  background: #000;
  min-height: 100%;
}
.products-page-banner-visual img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  margin: 0;
}
.products-page-banner-fade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.5) 3%, transparent 8%),
    linear-gradient(270deg, #000 0%, rgba(0, 0, 0, 0.55) 3%, transparent 8%),
    linear-gradient(0deg, #000 0%, rgba(0, 0, 0, 0.65) 4%, transparent 12%);
}
.products-page-banner-title {
  margin: 0;
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.018em;
  line-height: 0.94;
}
.products-page-banner-title-line {
  display: block;
  color: #fff;
  font-size: clamp(1.6rem, 2.86vw, 2.7rem);
}
.products-page-banner-title-accent {
  display: block;
  color: var(--accent);
  font-size: clamp(2.37rem, 4.62vw, 4.35rem);
  letter-spacing: 0.012em;
  line-height: 0.92;
}
.products-page-banner-lead {
  margin: clamp(14px, 2vw, 22px) 0 0;
  padding: 0;
  color: #7e7e7e;
  font-family: "Inter", sans-serif;
  font-size: clamp(0.9rem, 1.38vw, 1.03rem);
  font-weight: 400;
  line-height: 1.58;
  letter-spacing: 0.01em;
}
.products-page-banner-badges {
  list-style: none;
  margin: clamp(14px, 2vw, 22px) 0 0;
  padding: 0;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0;
  max-width: 100%;
}
.products-page-banner-badge {
  display: flex;
  align-items: center;
  gap: clamp(6px, 0.8vw, 10px);
  min-width: 0;
  flex: 0 0 auto;
}
.products-page-banner-badge + .products-page-banner-badge {
  margin-left: clamp(10px, 1.4vw, 16px);
  padding-left: clamp(10px, 1.4vw, 16px);
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}
.products-page-banner-badge-label {
  color: rgba(255, 255, 255, 0.94);
  font-family: "Oswald", sans-serif;
  font-size: clamp(0.69rem, 0.94vw, 0.79rem);
  font-weight: 500;
  letter-spacing: 0.085em;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1;
}
.products-page-banner-badge-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: clamp(31px, 3.3vw, 40px);
  height: clamp(31px, 3.3vw, 40px);
  border-radius: 50%;
  color: var(--accent);
  background:
    radial-gradient(circle at 32% 28%, rgba(238, 58, 35, 0.16), transparent 52%),
    rgba(238, 58, 35, 0.08);
  border: 1px solid rgba(238, 58, 35, 0.35);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 2px 10px rgba(238, 58, 35, 0.18);
}
.products-page-banner-badge-icon svg {
  width: 58%;
  height: 58%;
  display: block;
}
@media (max-width: 900px) {
  .products-page-banner-badge-label {
    font-size: 0.72rem;
    letter-spacing: 0.07em;
  }
  .products-page-banner-badge + .products-page-banner-badge {
    margin-left: 10px;
    padding-left: 10px;
  }
}
@media (max-width: 768px) {
  .products-page-banner-stage {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    min-height: 0;
  }
  .products-page-banner-copy {
    padding: 32px 24px 28px;
  }
  .products-page-banner-title-line {
    font-size: clamp(1.49rem, 6.05vw, 2.04rem);
  }
  .products-page-banner-title-accent {
    font-size: clamp(2.2rem, 9.35vw, 3.03rem);
  }
  .products-page-banner-lead {
    font-size: clamp(0.9rem, 3.08vw, 1.05rem);
    margin-top: 16px;
  }
  .products-page-banner-badges {
    flex-wrap: wrap;
    row-gap: 10px;
  }
  .products-page-banner-badge-label {
    font-size: 0.75rem;
  }
  .products-page-banner-badge-icon {
    width: 31px;
    height: 31px;
  }
  .products-page-banner-visual {
    aspect-ratio: 1024 / 577;
    min-height: 200px;
  }
  .products-page-banner-inner {
    padding: 0 16px;
  }
  .bac-portfolio-section {
    padding: 6px 16px 64px;
  }
  .bac-row-wrap {
    --bac-row-scale: 1;
    --bac-row-image-width: 100%;
    --bac-row-text-start: 0;
    overflow: hidden;
  }
  .bac-row {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 10px 0;
    min-height: 0;
    padding: 0 0 16px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }
  .bac-row-image {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    margin-left: 0;
    height: clamp(150px, 42vw, 190px);
    -webkit-mask-image: linear-gradient(
      180deg,
      #000 0%,
      #000 72%,
      rgba(0, 0, 0, 0.55) 88%,
      transparent 100%
    );
    mask-image: linear-gradient(
      180deg,
      #000 0%,
      #000 72%,
      rgba(0, 0, 0, 0.55) 88%,
      transparent 100%
    );
  }
  .bac-row-body {
    grid-column: 1;
    grid-row: 1;
    padding: 16px 0 0;
    text-align: left;
    align-items: flex-start;
  }
  .bac-row-desc {
    max-width: none;
    font-size: 0.9rem;
    line-height: 1.5;
  }
  .bac-row-wrap:nth-child(even) .bac-row {
    grid-template-columns: 1fr;
  }
  .bac-row-wrap:nth-child(even) .bac-row-body {
    text-align: left;
    align-items: flex-start;
    padding-left: 0;
    padding-right: 0;
  }
  .bac-row-wrap:nth-child(even) .bac-row-desc {
    margin-left: 0;
  }
  .bac-row-wrap:nth-child(even) .bac-row-meta {
    order: unset;
    flex-direction: row;
    justify-content: space-between;
  }
  .bac-row-wrap:nth-child(even) .bac-row-image {
    left: auto;
    right: auto;
  }
  .bac-row-wrap:nth-child(even)::before {
    left: 0;
    right: auto;
  }
  .bac-row-meta {
    grid-column: 1 / -1;
    grid-row: 3;
    justify-content: space-between;
    width: 100%;
    padding: 0;
    margin-top: 4px;
  }
  .bac-row-arrow {
    width: 44px;
    height: 44px;
  }
  .bac-row-panel {
    padding: 0 0 20px;
  }
  .bac-row-wrap:nth-child(even) .bac-row-panel {
    padding-left: 0;
    padding-right: 0;
  }
  .bac-row-wrap:nth-child(even) .bac-row-panel::before {
    margin-right: 0;
  }
  .bac-product-grid {
    grid-template-columns: 1fr;
  }
  .bac-product-actions {
    grid-template-columns: 1fr;
  }
  .bac-product-actions .btn {
    min-height: 44px;
  }
}
@media (max-width: 600px) {
  .products-page-banner-inner {
    padding: 0 16px;
  }
  .products-page-banner-copy {
    padding: 28px 8px 24px;
  }
  .products-page-banner-title-line {
    font-size: clamp(1.49rem, 6.05vw, 2.04rem);
  }
  .products-page-banner-title-accent {
    font-size: clamp(2.2rem, 9.35vw, 3.03rem);
  }
  .products-page-banner-lead {
    font-size: clamp(0.9rem, 3.08vw, 1.05rem);
    line-height: 1.5;
    margin-top: 16px;
  }
  .products-page-banner-badges {
    flex-wrap: wrap;
    row-gap: 10px;
    margin-top: 16px;
  }
  .products-page-banner-badge + .products-page-banner-badge {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
  }
  .products-page-banner-badge:not(:first-child)::before {
    content: "";
    width: 1px;
    height: 1.35em;
    margin-right: 10px;
    background: rgba(255, 255, 255, 0.16);
  }
  .products-page-banner-fade {
    background:
      linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.5) 4%, transparent 10%),
      linear-gradient(270deg, #000 0%, rgba(0, 0, 0, 0.5) 4%, transparent 10%),
      linear-gradient(0deg, #000 0%, rgba(0, 0, 0, 0.6) 5%, transparent 16%);
  }
  .products-page .mission-divider {
    padding: 0 16px;
  }
}
.products-page .mission-divider,
.products-page .site-footer,
.support-page .site-footer,
.upfit-page .site-footer,
.blog-page .site-footer,
.blog-page .mission-divider,
.bac-page .site-footer,
.team-page .site-footer,
.why-feniex-page .site-footer,
.about-us-page .mission-divider,
.about-us-page .site-footer,
.legal-page .site-footer,
.terms-hub-page .site-footer {
  position: relative;
  z-index: 2;
}

/* ---------- PHASE 1 · ATMOSPHERIC ENVIRONMENT ---------- */
/* A fixed, multi-layered cinematic stage that all content sits on. */
.products-atmos {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: #05070b;
}
.products-atmos .atmos-layer {
  position: absolute;
  inset: 0;
  will-change: transform, opacity;
}

/* Deep layered blacks · cool-blue depth upper-right · restrained warm upper-left */
.atmos-base {
  background:
    radial-gradient(115% 80% at 82% 2%, rgba(44, 76, 128, 0.34), transparent 56%),
    radial-gradient(70% 55% at 7% 0%, rgba(238, 58, 35, 0.10), transparent 52%),
    radial-gradient(120% 95% at 50% 122%, rgba(12, 22, 38, 0.7), transparent 60%),
    linear-gradient(180deg, #0a0e14 0%, #080b11 45%, #05070b 100%);
}

/* Cinematic light entering from a hidden source on the right */
.atmos-beam {
  background:
    radial-gradient(46% 62% at 100% 16%, rgba(60, 112, 192, 0.20), transparent 70%),
    radial-gradient(30% 42% at 97% 32%, rgba(72, 132, 212, 0.12), transparent 72%);
  animation: atmosBeam 16s ease-in-out infinite alternate;
}

/* Blueprint grid — extremely low opacity, faded toward the edges */
.atmos-grid {
  background-image:
    linear-gradient(rgba(150, 180, 220, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(150, 180, 220, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(150, 180, 220, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(150, 180, 220, 0.028) 1px, transparent 1px);
  background-size: 160px 160px, 160px 160px, 40px 40px, 40px 40px;
  -webkit-mask-image: radial-gradient(125% 92% at 50% 26%, #000 36%, transparent 88%);
          mask-image: radial-gradient(125% 92% at 50% 26%, #000 36%, transparent 88%);
}

/* Drifting depth fog */
.atmos-fog {
  background:
    radial-gradient(38% 42% at 72% 28%, rgba(46, 84, 140, 0.14), transparent 72%),
    radial-gradient(34% 38% at 22% 74%, rgba(16, 26, 44, 0.5), transparent 72%),
    radial-gradient(30% 32% at 52% 52%, rgba(30, 50, 84, 0.08), transparent 75%);
  animation: atmosDrift 36s ease-in-out infinite alternate;
}

/* Faint illuminated dust */
.atmos-particles {
  inset: -8% 0;
  background-image:
    radial-gradient(1px 1px at 12% 24%, rgba(184, 208, 242, 0.6), transparent 60%),
    radial-gradient(1px 1px at 28% 66%, rgba(184, 208, 242, 0.4), transparent 60%),
    radial-gradient(1.3px 1.3px at 47% 38%, rgba(202, 222, 250, 0.5), transparent 60%),
    radial-gradient(1px 1px at 63% 80%, rgba(184, 208, 242, 0.35), transparent 60%),
    radial-gradient(1.4px 1.4px at 78% 20%, rgba(202, 222, 250, 0.45), transparent 60%),
    radial-gradient(1px 1px at 88% 56%, rgba(184, 208, 242, 0.4), transparent 60%),
    radial-gradient(1px 1px at 36% 12%, rgba(184, 208, 242, 0.3), transparent 60%),
    radial-gradient(1.2px 1.2px at 55% 88%, rgba(202, 222, 250, 0.35), transparent 60%);
  background-repeat: no-repeat;
  opacity: 0.7;
  animation: atmosFloat 42s ease-in-out infinite alternate;
}

/* CAD / engineering line work */
.atmos-blueprint {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: rgba(150, 180, 220, 0.55);
  stroke-width: 1;
  opacity: 0.06;
}
.atmos-blueprint .atmos-bp-bracket { stroke-width: 1.5; }

/* Cinematic vignette */
.atmos-vignette {
  background: radial-gradient(126% 100% at 50% 30%, transparent 46%, rgba(0, 0, 0, 0.5) 86%, rgba(0, 0, 0, 0.74) 100%);
}

/* Premium film grain */
.atmos-grain {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.05;
  mix-blend-mode: overlay;
}

@keyframes atmosBeam {
  0%   { opacity: 0.7;  transform: translateX(0); }
  100% { opacity: 1;    transform: translateX(-16px); }
}
@keyframes atmosDrift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(-26px, 18px, 0) scale(1.06); }
}
@keyframes atmosFloat {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-46px); }
}

/* ---------- PHASE 1 · STAGE HEADER (brand atmosphere framing) ---------- */
.products-stage {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(48px, 9vh, 112px) 28px clamp(40px, 6vh, 76px);
  min-height: clamp(360px, 52vh, 560px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.products-stage::after {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(150, 180, 220, 0.18), transparent);
}
.products-stage-inner {
  position: relative;
  z-index: 2;
  max-width: 620px;
}
.products-stage-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(238, 58, 35, 0.92);
  margin: 0 0 22px;
}
.products-stage-eyebrow span { color: rgba(238, 58, 35, 0.55); }
.products-stage-title {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin: 0;
  color: #f4f6fa;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.6);
}
.products-stage-sub {
  margin: 26px 0 0;
  max-width: 440px;
  font-size: 0.98rem;
  line-height: 1.7;
  color: rgba(206, 216, 230, 0.62);
}
.products-stage-tech {
  position: absolute;
  top: 50%;
  right: 28px;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 26px;
  text-align: right;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  line-height: 1.7;
  text-transform: uppercase;
  color: rgba(170, 190, 220, 0.42);
}
.products-stage-reticle {
  position: absolute;
  top: 13%;
  right: 15%;
  width: clamp(120px, 16vw, 220px);
  height: clamp(120px, 16vw, 220px);
  fill: none;
  stroke: rgba(150, 180, 220, 0.28);
  stroke-width: 1;
  opacity: 0.7;
  z-index: 1;
  animation: stageReticle 64s linear infinite;
}
.products-stage-reticle .reticle-dot { fill: rgba(238, 58, 35, 0.7); stroke: none; }
@keyframes stageReticle { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .atmos-beam,
  .atmos-fog,
  .atmos-particles,
  .products-stage-reticle { animation: none; }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Catalog accordion layout */
.products-catalog {
  position: relative;
  z-index: 1;
  min-height: 60vh;
  padding: 10px 28px 96px;
  background: transparent;
}
.products-catalog-bar {
  max-width: 1180px;
  margin: 0 auto 28px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}
.products-catalog-toolbar {
  display: flex;
  align-items: center;
  gap: 18px;
}
.catalog-expand-status {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin: 0;
}
.catalog-expand-all {
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  font-family: "Oswald", sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.catalog-expand-all:hover {
  border-color: rgba(238, 58, 35, 0.5);
  background: rgba(238, 58, 35, 0.06);
}

.category-accordion {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Category row (accordion tab) */
.category-row {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(12, 12, 14, 0.92);
  overflow: hidden;
  transition: border-color 0.22s, box-shadow 0.22s;
}
.category-row.is-expanded {
  border-color: rgba(238, 58, 35, 0.35);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}
.category-row-header {
  width: 100%;
  display: grid;
  grid-template-columns: 56px 120px 1fr 40px;
  align-items: center;
  gap: 20px;
  padding: 18px 22px;
  border: none;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s;
}
.category-row-header:hover {
  background: rgba(255, 255, 255, 0.02);
}
.category-row-index {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(244, 245, 247, 0.35);
}
.category-row-image {
  width: 120px;
  height: 90px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #050505;
}
.category-row-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.category-row-copy {
  min-width: 0;
}
.category-row-title {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  letter-spacing: 0.3px;
  text-transform: uppercase;
  line-height: 1.1;
  margin: 0;
}
.category-row-count {
  margin: 8px 0 0;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.category-row-chevron {
  width: 22px;
  height: 22px;
  color: rgba(244, 245, 247, 0.45);
  transition: transform 0.25s ease, color 0.2s;
  justify-self: end;
}
.category-row.is-expanded .category-row-chevron {
  transform: rotate(180deg);
  color: var(--accent);
}

/* Expanded product panel */
.category-row-panel {
  padding: 0 22px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  animation: categoryPanelIn 0.28s ease;
}
@keyframes categoryPanelIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

.products-section-head { margin-bottom: 36px; }
.products-section-head .lead { margin-top: 14px; }

/* Product grid + cards */
.product-grid {
  display: grid;
  gap: 22px;
}
.product-grid-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-top: 22px;
}
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.22s, transform 0.22s, box-shadow 0.22s;
}
.product-card:hover,
.product-card:focus-within {
  border-color: rgba(238, 58, 35, 0.45);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
.product-card-highlight {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 2px rgba(238, 58, 35, 0.35);
}
.product-card-link {
  display: flex;
  flex-direction: column;
  flex: 1;
  color: inherit;
}
.product-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #050505;
  overflow: hidden;
}
.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease;
}
.product-card:hover .product-card-media img { transform: scale(1.04); }
.product-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.product-badge {
  padding: 4px 10px;
  border-radius: 999px;
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.product-badge.featured { color: var(--accent); border-color: rgba(238, 58, 35, 0.45); }
.product-badge.new { color: #34d36b; border-color: rgba(52, 211, 107, 0.4); }
.product-card-body {
  padding: 18px 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.product-card-category {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.product-card-name {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  line-height: 1.15;
}
.product-card-desc {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
  flex: 1;
}
.product-card-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
}
.product-card-price {
  font-family: "Oswald", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
}
.product-card-sku {
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  color: rgba(244, 245, 247, 0.35);
}
.product-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 0 14px 14px;
}
.product-card-actions .btn { text-align: center; justify-content: center; }

/* Vehicle showcase */
.vehicle-showcase {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  align-items: start;
}
.vehicle-tabs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.vehicle-card-tab {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: inherit;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s, background 0.2s;
}
.vehicle-card.is-active .vehicle-card-tab,
.vehicle-card-tab:hover {
  border-color: rgba(238, 58, 35, 0.5);
  background: rgba(238, 58, 35, 0.08);
}
.vehicle-card-name {
  font-family: "Oswald", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.vehicle-card-role {
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.vehicle-showcase-detail {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 28px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--panel);
}
.vehicle-showcase-media {
  position: relative;
  min-height: 280px;
  background: #050505;
}
.vehicle-showcase-media img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}
.vehicle-showcase-overlay {
  position: absolute;
  left: 16px;
  bottom: 16px;
}
.vehicle-showcase-role {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.vehicle-showcase-copy { padding: 28px 28px 28px 0; }
.vehicle-showcase-headline {
  font-family: "Oswald", sans-serif;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin: 10px 0 0;
  color: var(--accent);
}
.vehicle-stack-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 24px 0 12px;
}
.vehicle-product-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.vehicle-product-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
  color: inherit;
  cursor: pointer;
  text-align: left;
  font-size: 0.88rem;
  transition: border-color 0.2s, background 0.2s;
}
.vehicle-product-chip:hover {
  border-color: rgba(238, 58, 35, 0.45);
  background: rgba(238, 58, 35, 0.06);
}
.vehicle-product-chip img {
  width: 48px;
  height: 36px;
  object-fit: cover;
  border-radius: 6px;
  background: #000;
}

.products-cta {
  text-align: center;
  border-top: 1px solid var(--line);
  padding-top: 80px;
  padding-bottom: 100px;
}
.products-cta .lead { margin: 16px auto 0; }

/* Product modal */
body.modal-open { overflow: hidden; }
.product-modal[hidden] {
  display: none !important;
  pointer-events: none !important;
  visibility: hidden;
}
.product-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 24px;
}
.product-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(6px);
}
.product-modal-dialog {
  position: relative;
  width: min(960px, 100%);
  max-height: min(90vh, 900px);
  overflow: auto;
  background: var(--panel);
  border: 1px solid rgba(238, 58, 35, 0.35);
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}
.product-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.product-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.product-modal-media {
  background: #050505;
  min-height: 320px;
}
.product-modal-media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}
.product-modal-copy { padding: 32px; }
.product-modal-price {
  font-family: "Oswald", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  margin: 12px 0 16px;
}
.product-modal-price span {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 400;
  margin-left: 8px;
}
.product-modal-specs {
  list-style: none;
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.product-modal-specs li {
  padding-left: 16px;
  position: relative;
  color: var(--muted);
  font-size: 0.92rem;
}
.product-modal-specs li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.product-modal-sku {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: rgba(244, 245, 247, 0.4);
  margin-bottom: 8px;
}

@media (max-width: 980px) {
  .product-grid-cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-row-header {
    grid-template-columns: 44px 96px 1fr 32px;
    gap: 14px;
    padding: 16px 18px;
  }
  .category-row-image { width: 96px; height: 72px; }
  .product-modal-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .products-stage-tech { display: none; }
  .products-stage-reticle { top: 7%; right: 5%; opacity: 0.5; }
}

@media (max-width: 640px) {
  .products-catalog { padding: 20px 16px 64px; }
  .products-stage {
    padding: 40px 18px 32px;
    min-height: 300px;
  }
  .products-stage::after { left: 18px; right: 18px; }
  .products-stage-reticle { display: none; }
  .atmos-grain { opacity: 0.04; }
  .products-catalog-bar {
    flex-direction: column;
    align-items: flex-start;
  }
  .product-grid-cols-3 { grid-template-columns: 1fr; }
  .product-card-actions { grid-template-columns: 1fr; }
  .category-row-header {
    grid-template-columns: 40px 1fr 28px;
    grid-template-rows: auto auto;
  }
  .category-row-image {
    grid-column: 1 / -1;
    width: 100%;
    height: 140px;
  }
  .category-row-index { grid-row: 1; }
  .category-row-copy { grid-column: 2 / 3; grid-row: 1; }
  .category-row-chevron { grid-row: 1; }
}

/* ============ LOGIN / AUTH PAGE ============ */
.login-page { min-height: 100vh; display: flex; flex-direction: column; }
.login-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 110px 24px 64px;
  background:
    radial-gradient(80% 55% at 50% 0%, rgba(255,61,18,0.08), transparent 60%),
    #000;
}

/* shell + card */
.auth-shell { width: 100%; max-width: 1120px; }
.auth-card {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 18px;
}

/* shared panel chrome */
.auth-panel {
  position: relative;
  border-radius: 18px;
  border: 1px solid rgba(255,61,18,0.28);
  overflow: hidden;
  box-shadow:
    0 30px 80px rgba(0,0,0,0.6),
    0 0 40px rgba(255,61,18,0.06);
}

/* tech corner brackets */
.corner {
  position: absolute;
  width: 16px; height: 16px;
  z-index: 6;
  pointer-events: none;
  border: 0 solid var(--accent);
  opacity: 0.9;
}
.corner.tl { top: 12px; left: 12px;  border-top-width: 2px; border-left-width: 2px; }
.corner.tr { top: 12px; right: 12px; border-top-width: 2px; border-right-width: 2px; }
.corner.bl { bottom: 12px; left: 12px;  border-bottom-width: 2px; border-left-width: 2px; }
.corner.br { bottom: 12px; right: 12px; border-bottom-width: 2px; border-right-width: 2px; }

/* ---------- LEFT: brand / hero ---------- */
.auth-brand {
  display: flex;
  flex-direction: column;
  min-height: 640px;
  padding: 28px 28px 32px;
  color: var(--ink);
  background: #030303;
}
.auth-brand-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.auth-brand-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  opacity: 1;
  filter: saturate(0.94) contrast(1.05);
}
.auth-brand-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(3,3,3,0.45) 0%, rgba(3,3,3,0) 14%, rgba(3,3,3,0) 58%, rgba(3,3,3,0.82) 76%, rgba(3,3,3,0.98) 100%),
    linear-gradient(90deg, rgba(3,3,3,0.35) 0%, transparent 12%, transparent 88%, rgba(3,3,3,0.35) 100%);
}
.auth-brand-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse 100% 90% at 50% 45%, transparent 50%, rgba(0,0,0,0.22) 100%);
}
.auth-brand-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 100%;
  justify-content: flex-end;
  padding-bottom: 4px;
}
.ab-bottom { margin-top: auto; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.ab-bottom .ab-tagline {
  margin: 0;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: rgba(244,245,247,0.78);
  text-shadow: 0 2px 12px rgba(0,0,0,0.65);
}
.ab-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  background: rgba(0,0,0,0.28);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.ab-flag {
  position: relative;
  width: 48px; height: 31px;
  flex-shrink: 0;
  border-radius: 3px;
  overflow: hidden;
  background: repeating-linear-gradient(
    to bottom,
    #b22234 0, #b22234 calc(100% / 13),
    #ffffff calc(100% / 13), #ffffff calc(200% / 13)
  );
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18);
}
.ab-flag-canton {
  position: absolute;
  top: 0; left: 0;
  width: 46%; height: 53.85%;
  background-color: #3c3b6e;
  background-image:
    radial-gradient(circle, #fff 0.8px, transparent 1.3px),
    radial-gradient(circle, #fff 0.8px, transparent 1.3px);
  background-size: 7px 7px, 7px 7px;
  background-position: 1.5px 1.5px, 5px 5px;
}
.ab-badge-text { display: flex; flex-direction: column; }
.ab-badge-text strong {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #fff;
}
.ab-badge-text em {
  font-style: normal;
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 4px;
}
/* ---------- RIGHT: sign-in form ---------- */
.auth-form-panel {
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, #0b0c10 0%, #060708 100%);
}
.auth-flame {
  position: absolute;
  right: 10px;
  bottom: 4px;
  width: 96px;
  z-index: 0;
  pointer-events: none;
  opacity: 0.2;
}
.auth-flame img {
  display: block;
  width: 100%;
  height: auto;
  mix-blend-mode: screen;
  /* fade all edges so the artwork dissolves into the panel instead of cutting off */
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 42%, #000 30%, transparent 92%);
  mask-image: radial-gradient(ellipse 50% 50% at 50% 42%, #000 30%, transparent 92%);
}
.auth-form {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 48px 46px;
}
.af-title {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 3.4vw, 2.7rem);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.05;
  text-shadow: 0 0 24px rgba(255,61,18,0.18);
}
.af-sub {
  margin-top: 12px;
  color: rgba(244,245,247,0.6);
  font-size: 0.98rem;
  line-height: 1.6;
  max-width: 420px;
}
.af-sub span { color: var(--accent); font-weight: 600; }

.af-form { margin-top: 30px; display: flex; flex-direction: column; gap: 18px; }
.af-field { display: flex; flex-direction: column; gap: 8px; }
.af-field[hidden] { display: none; }
.af-field > label {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(244,245,247,0.66);
}
.af-input {
  position: relative;
  display: flex;
  align-items: center;
  background: #0a0b0e;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.af-input::before {
  content: "";
  position: absolute;
  left: 48px; top: 12px; bottom: 12px;
  width: 1px;
  background: rgba(255,255,255,0.1);
}
.af-ico {
  width: 48px; height: 50px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  color: var(--accent);
}
.af-ico svg { width: 18px; height: 18px; }
.af-input input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  outline: none;
  padding: 15px 14px 15px 16px;
  color: var(--ink);
  font-family: inherit;
  font-size: 0.96rem;
}
.af-input input::placeholder { color: rgba(244,245,247,0.3); }
.af-input:focus-within {
  border-color: rgba(255,61,18,0.6);
  box-shadow: 0 0 0 3px rgba(255,61,18,0.14), 0 0 24px rgba(255,61,18,0.1);
}
.af-eye {
  width: 46px; height: 50px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: transparent;
  border: 0;
  color: rgba(244,245,247,0.5);
  cursor: pointer;
  transition: color 0.2s;
}
.af-eye:hover { color: var(--accent); }
.af-eye svg { width: 18px; height: 18px; }
.af-field.invalid .af-input {
  border-color: rgba(255,77,77,0.7);
  box-shadow: 0 0 0 3px rgba(255,77,77,0.12);
}
.af-error {
  display: none;
  font-size: 0.78rem;
  color: #ff6b6b;
  font-family: "JetBrains Mono", monospace;
}
.af-field.invalid .af-error { display: block; }

.af-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 2px;
}
.af-check {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  font-size: 0.88rem;
  color: rgba(244,245,247,0.7);
  user-select: none;
}
.af-check input { position: absolute; opacity: 0; width: 0; height: 0; }
.af-box {
  width: 18px; height: 18px;
  flex-shrink: 0;
  border-radius: 5px;
  border: 1px solid rgba(255,255,255,0.22);
  display: grid;
  place-items: center;
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.af-box svg { width: 12px; height: 12px; color: #fff; opacity: 0; transform: scale(0.6); transition: opacity 0.15s, transform 0.15s; }
.af-check input:checked + .af-box { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 12px rgba(238, 58, 35, 0.5); }
.af-check input:checked + .af-box svg { opacity: 1; transform: scale(1); }
.af-check input:focus-visible + .af-box { box-shadow: 0 0 0 3px rgba(255,61,18,0.3); }
.af-link { font-size: 0.88rem; color: var(--accent); font-weight: 600; transition: color 0.2s; }
.af-link:hover { color: var(--accent-soft); }

.af-submit {
  position: relative;
  width: 100%;
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 24px;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(180deg, var(--accent-soft), var(--accent));
  box-shadow: 0 10px 30px rgba(255,61,18,0.4), inset 0 1px 0 rgba(255,255,255,0.25);
  transition: transform 0.16s, box-shadow 0.2s, filter 0.2s;
}
.af-submit svg { width: 18px; height: 18px; transition: transform 0.2s; }
.af-submit:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(255,61,18,0.5), inset 0 1px 0 rgba(255,255,255,0.3); }
.af-submit:hover svg { transform: translateX(4px); }
.af-submit:disabled { filter: saturate(0.6) brightness(0.85); cursor: progress; transform: none; }

.af-or {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 20px 0 4px;
  color: rgba(244,245,247,0.4);
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.3em;
}
.af-or::before, .af-or::after { content: ""; flex: 1; height: 1px; background: rgba(255,255,255,0.1); }

.af-secondary {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 10px;
  background: rgba(255,255,255,0.02);
  color: var(--ink);
  cursor: pointer;
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: border-color 0.2s, background 0.2s, transform 0.16s;
}
.af-secondary svg { width: 18px; height: 18px; color: var(--accent); }
.af-secondary:hover { border-color: rgba(255,61,18,0.5); background: rgba(255,61,18,0.06); transform: translateY(-1px); }

.af-status {
  margin: 14px 0 0;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  min-height: 1.1em;
}
.af-status.ok { color: #34d36b; }
.af-status.err { color: #ff6b6b; }

.af-secure {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.af-secure > svg {
  width: 26px; height: 26px;
  flex-shrink: 0;
  color: var(--accent);
  filter: drop-shadow(0 0 8px rgba(255,61,18,0.4));
}
.af-secure-text strong {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 5px;
}
.af-secure-text p { color: rgba(244,245,247,0.55); font-size: 0.84rem; line-height: 1.5; margin: 0; }
.support-login a[aria-current="page"] { color: var(--accent); }

/* ============ SUPPORT PAGE ============ */
.support-page .site-footer {
  margin-top: 0;
}

/* ============ RESPONSIVE ============ */
@media (min-width: 1001px) {
  .mobile-nav,
  .mobile-nav-backdrop {
    display: none !important;
  }
}

@media (max-width: 1000px) {
  .main-nav { display: none; }
  .mobile-nav-toggle { display: grid; }
  body.mobile-nav-open .mobile-nav {
    display: flex;
  }
  body.mobile-nav-open .mobile-nav-backdrop {
    display: block;
  }
  .hero-convert { bottom: 56px; width: 94vw; }
  .hero-cta-row { flex-direction: column; align-items: stretch; }
  .hero-cta-row .btn { text-align: center; }
  .btn-header { display: none; }
  .shop-hero { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .shop-card-product { grid-template-columns: 1fr; }
  .product-film { grid-template-columns: 1fr; gap: 38px; }
  .wired-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .controller-visual {
    justify-self: center;
    max-width: 100%;
  }
  .port-callouts { gap: 28px; }
  .port-callout { max-width: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .auth-card { grid-template-columns: 1fr; gap: 14px; }
  .auth-brand { min-height: 480px; padding: 28px 22px; }
}
@media (max-width: 600px) {
  .header-inner { gap: 14px; padding: 0 16px; height: 60px; }
  .mobile-nav { top: 60px; }
  .mobile-nav-backdrop { inset: 60px 0 0; }
  .bac-main,
  .products-page .bac-main { padding-top: 60px; }
  .support-login, .lang { display: none; }
  .icon-btn,
  .cart-btn {
    width: 44px;
    height: 44px;
  }
  .section { padding: 90px 20px; }
  .film-points { flex-direction: column; align-items: flex-start; }
  .port-callout { padding-left: 16px; }
  .port-callout h3 { font-size: 1.15rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 14px; text-align: center; }
  .telemetry.tr, .telemetry.br { display: none; }
  .login-main { padding: 92px 14px 48px; }
  .auth-brand { min-height: 420px; padding: 24px 18px; }
  .auth-form { padding: 34px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none; }
  .scroll-hint { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============ BUILD-A-CAR PAGE ============ */
.bac-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #000;
}
.bac-main {
  padding-top: 70px;
  background: #000;
}
.bac-main--blank {
  flex: 1;
  min-height: calc(100vh - 70px);
}

/* ---- Hero ---- */
.bac-hero {
  position: relative;
  overflow: hidden;
  background: #000;
  min-height: 0;
  padding: 4px 28px 48px;
}
.bac-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: start;
  gap: 20px 40px;
  max-width: 1180px;
  margin: 0 auto;
  min-height: 0;
}
.bac-hero-copy {
  max-width: 580px;
  position: relative;
  z-index: 2;
}
.bac-title {
  margin: 0;
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 0.98;
}
.bac-title-line {
  display: block;
  font-size: clamp(2.35rem, 5vw, 3.65rem);
  color: var(--ink);
}
.bac-title-accent {
  color: var(--accent);
  font-size: clamp(2.65rem, 5.6vw, 4.15rem);
  letter-spacing: 0.01em;
}
.bac-lead {
  margin-top: 22px;
}
.bac-lead p {
  margin: 0;
  color: rgba(244, 245, 247, 0.78);
  font-size: clamp(0.92rem, 1.35vw, 1.02rem);
  line-height: 1.72;
  font-weight: 400;
}
.bac-hero-rule {
  width: 52px;
  height: 3px;
  margin: 26px 0 24px;
  background: var(--accent);
  border-radius: 1px;
}
.bac-hero-pillars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 14px;
  max-width: 520px;
}
.bac-hero-pillar {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}
.bac-hero-pillar-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  color: var(--accent);
  flex-shrink: 0;
}
.bac-hero-pillar-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.bac-hero-pillar-body strong {
  display: block;
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  line-height: 1.2;
}
.bac-hero-pillar-body span {
  display: block;
  margin-top: 5px;
  font-size: 0.72rem;
  line-height: 1.45;
  color: rgba(244, 245, 247, 0.52);
}

.bac-hero-visual {
  position: relative;
  align-self: center;
  justify-self: stretch;
  min-height: 0;
  overflow: visible;
}
.bac-hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  aspect-ratio: 1024 / 714;
}

/* ---- Portfolio sections (flowing, not boxed tabs) ---- */
.bac-portfolio-section {
  padding: 0 28px 80px;
}
.bac-portfolio {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.bac-row-wrap {
  --bac-row-scale: 1.25;
  --bac-row-bg: transparent;
  --bac-row-image-width: clamp(375px, 58%, 600px);
  --bac-row-text-start: var(--bac-row-image-width);
  --bac-row-image-mask: linear-gradient(
    90deg,
    #000 0%,
    #000 36%,
    rgba(0, 0, 0, 0.94) 50%,
    rgba(0, 0, 0, 0.68) 66%,
    rgba(0, 0, 0, 0.28) 82%,
    rgba(0, 0, 0, 0.04) 94%,
    transparent 100%
  );
  position: relative;
  border: none;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  transition: background 0.32s ease, border-color 0.32s ease;
}
.bac-portfolio .bac-row-wrap:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}
.bac-row-wrap::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12%;
  bottom: 12%;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, transparent, var(--accent) 30%, var(--accent) 70%, transparent);
  opacity: 0;
  transform: scaleY(0.55);
  transition: opacity 0.28s ease, transform 0.28s ease;
  pointer-events: none;
}
.bac-row-wrap:hover,
.bac-row-wrap:focus-within {
  --bac-row-bg: transparent;
  background: linear-gradient(
    90deg,
    rgba(238, 58, 35, 0.05) 0%,
    rgba(255, 255, 255, 0.02) 28%,
    transparent 62%
  );
  border-bottom-color: rgba(255, 255, 255, 0.09);
}
.bac-row-wrap:hover::before,
.bac-row-wrap:focus-within::before {
  opacity: 0.85;
  transform: scaleY(1);
}
.bac-row-wrap.is-open {
  background: linear-gradient(
    90deg,
    rgba(238, 58, 35, 0.07) 0%,
    rgba(255, 255, 255, 0.015) 32%,
    transparent 68%
  );
  border-bottom-color: rgba(238, 58, 35, 0.14);
}
.bac-row-wrap.is-open::before {
  opacity: 1;
  transform: scaleY(1);
}

.bac-row {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0 22px;
  min-height: calc(148px * var(--bac-row-scale));
  padding: 0 calc(22px * var(--bac-row-scale)) 0 0;
  border: none;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.bac-row-image {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--bac-row-image-width);
  overflow: hidden;
  background: transparent;
  z-index: 0;
  pointer-events: none;
  -webkit-mask-image: var(--bac-row-image-mask);
  mask-image: var(--bac-row-image-mask);
}
.bac-row-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

/* Alternate even rows: image right, copy left */
.bac-row-wrap:nth-child(even) {
  --bac-row-image-mask: linear-gradient(
    270deg,
    #000 0%,
    #000 36%,
    rgba(0, 0, 0, 0.94) 50%,
    rgba(0, 0, 0, 0.68) 66%,
    rgba(0, 0, 0, 0.28) 82%,
    rgba(0, 0, 0, 0.04) 94%,
    transparent 100%
  );
}
.bac-row-wrap:nth-child(even) .bac-row {
  grid-template-columns: auto minmax(0, 1fr);
  padding: 0 0 0 calc(22px * var(--bac-row-scale));
}
.bac-row-wrap:nth-child(even) .bac-row-image {
  left: auto;
  right: 0;
}
.bac-row-wrap:nth-child(even) .bac-row-image img {
  object-position: right center;
}
.bac-row-wrap:nth-child(even) .bac-row-body {
  padding-left: 12px;
  padding-right: var(--bac-row-text-start);
  text-align: right;
  align-items: flex-end;
}
.bac-row-wrap:nth-child(even) .bac-row-desc {
  margin-left: auto;
}
.bac-row-wrap:nth-child(even) .bac-row-meta {
  order: -1;
  flex-direction: row-reverse;
  padding: calc(20px * var(--bac-row-scale)) 8px calc(20px * var(--bac-row-scale)) 0;
}
.bac-row-wrap:nth-child(even):hover,
.bac-row-wrap:nth-child(even):focus-within {
  background: linear-gradient(
    270deg,
    rgba(238, 58, 35, 0.05) 0%,
    rgba(255, 255, 255, 0.02) 28%,
    transparent 62%
  );
}
.bac-row-wrap:nth-child(even).is-open {
  background: linear-gradient(
    270deg,
    rgba(238, 58, 35, 0.07) 0%,
    rgba(255, 255, 255, 0.015) 32%,
    transparent 68%
  );
}
.bac-row-wrap:nth-child(even)::before {
  left: auto;
  right: 0;
}
.bac-row-wrap:nth-child(even) .bac-row-panel {
  padding-left: 0;
  padding-right: 22px;
}
.bac-row-wrap:nth-child(even) .bac-row-panel::before {
  margin-left: 0;
  margin-right: 22px;
  background: linear-gradient(270deg, rgba(238, 58, 35, 0.22), rgba(255, 255, 255, 0.06) 40%, transparent 100%);
}

.bac-row-body {
  position: relative;
  z-index: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: calc(20px * var(--bac-row-scale)) 12px calc(20px * var(--bac-row-scale)) var(--bac-row-text-start);
}
.bac-row-title {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: clamp(1.25rem, 2.1vw, 1.75rem);
  letter-spacing: 0.35px;
  text-transform: uppercase;
  line-height: 1.05;
  color: var(--ink);
}
.bac-row-desc {
  color: rgba(244, 245, 247, 0.52);
  font-size: 0.86rem;
  line-height: 1.45;
  max-width: 480px;
}

.bac-row-meta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-shrink: 0;
  padding: calc(20px * var(--bac-row-scale)) 0 calc(20px * var(--bac-row-scale)) 8px;
}
.bac-row-count {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244, 245, 247, 0.42);
  white-space: nowrap;
}
.bac-row-arrow {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(244, 245, 247, 0.55);
  background: rgba(255, 255, 255, 0.03);
  flex-shrink: 0;
  transition: background 0.22s, border-color 0.22s, color 0.22s, transform 0.28s ease;
}
.bac-row-arrow svg { width: 15px; height: 15px; }
.bac-row-wrap:nth-child(even) .bac-row-arrow svg {
  transform: scaleX(-1);
}
.bac-row-wrap:hover .bac-row-arrow,
.bac-row-wrap:focus-within .bac-row-arrow {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.92);
  color: #000;
}
.bac-row-wrap.is-open .bac-row-arrow {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: rotate(90deg);
}

/* ---- Expanded product panel ---- */
.bac-row-panel {
  padding: 0 0 28px 22px;
  border-top: none;
  animation: bacPanelIn 0.28s ease;
}
.bac-row-panel::before {
  content: "";
  display: block;
  height: 1px;
  margin: 0 22px 0 0;
  background: linear-gradient(90deg, rgba(238, 58, 35, 0.22), rgba(255, 255, 255, 0.06) 40%, transparent 100%);
}
@keyframes bacPanelIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}
.bac-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding-top: 22px;
}
.bac-product-card {
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.22s, transform 0.22s, box-shadow 0.22s;
}
.bac-product-card:hover {
  border-color: rgba(238, 58, 35, 0.45);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
.bac-product-media {
  display: block;
  aspect-ratio: 4 / 3;
  background: #050505;
  overflow: hidden;
}
.bac-product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.bac-product-card:hover .bac-product-media img { transform: scale(1.05); }
.bac-product-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  flex: 1;
}
.bac-product-name {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.bac-product-desc {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}
.bac-product-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 6px;
}
.bac-product-price {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--accent);
}
.bac-product-sku {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(244, 245, 247, 0.4);
}
.bac-product-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 4px;
}
.bac-product-actions .btn { text-align: center; }

@media (max-width: 980px) {
  .bac-hero { min-height: 0; padding: 4px 24px 36px; }
  .bac-hero-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: 0;
  }
  .bac-hero-pillars {
    max-width: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .bac-hero-visual {
    order: 2;
  }
  .bac-hero-copy { order: 1; max-width: none; }
  .bac-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bac-row-wrap {
    --bac-row-image-width: clamp(300px, 58%, 425px);
    --bac-row-text-start: var(--bac-row-image-width);
  }
  .bac-row {
    gap: 0 16px;
    min-height: calc(120px * var(--bac-row-scale));
    padding: 0 18px 0 0;
  }
  .bac-row-body { padding: calc(16px * var(--bac-row-scale)) 10px calc(16px * var(--bac-row-scale)) var(--bac-row-text-start); }
  .bac-row-wrap:nth-child(even) .bac-row {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 0 0 0 18px;
  }
  .bac-row-wrap:nth-child(even) .bac-row-body {
    padding-left: 10px;
    padding-right: var(--bac-row-text-start);
    text-align: right;
    align-items: flex-end;
  }
  .bac-row-wrap:nth-child(even) .bac-row-meta {
    order: -1;
    flex-direction: row-reverse;
    padding: calc(16px * var(--bac-row-scale)) 6px calc(16px * var(--bac-row-scale)) 0;
  }
  .bac-row-meta { padding: calc(16px * var(--bac-row-scale)) 0 calc(16px * var(--bac-row-scale)) 6px; }
}

@media (max-width: 640px) {
  .bac-hero { padding: 3px 16px 28px; min-height: 0; }
  .bac-hero-pillars {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .bac-hero-pillar {
    flex-direction: row;
    align-items: flex-start;
    gap: 14px;
  }
}

/* Upfit page styles moved to css/upfit-page.css */

/* ============ FENIEX BLOG (blog.feniex.com clone) ============ */
.blog-page {
  --blog-accent: #ea3000;
  --blog-bg: #f3f3f3;
  --blog-header: #000;
  --blog-text: #33302f;
  --blog-muted: #83807f;
  --blog-card-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  font-family: "Lato", "Inter", sans-serif;
  color: var(--blog-text);
  background: var(--blog-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.blog-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  padding: 10px 16px;
  background: #fff;
  color: #000;
}
.blog-skip:focus {
  left: 12px;
  top: 12px;
}

/* Main grid */
.blog-main {
  flex: 1;
}
.blog-hero {
  background: var(--blog-header);
  color: #fff;
  padding: calc(70px + 28px) 20px 32px;
}
.blog-hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.blog-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
}
.blog-social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #33302f;
  display: grid;
  place-items: center;
  transition: background 0.2s;
}
.blog-social-link:hover,
.blog-social-link:focus {
  background: #000;
}
.blog-social-link svg {
  width: 18px;
  height: 18px;
  fill: var(--blog-accent);
}
.blog-logo-link { line-height: 0; }
.blog-logo {
  width: min(354px, 78vw);
  height: auto;
  display: block;
}
.blog-search {
  width: min(640px, 100%);
}
.blog-search-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.blog-search-row {
  display: flex;
  align-items: stretch;
  background: #fff;
  border-radius: 999px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.blog-search-input {
  flex: 1;
  border: 0;
  padding: 14px 22px;
  font: inherit;
  font-size: 1rem;
  color: #222;
  background: transparent;
  min-width: 0;
}
.blog-search-input:focus {
  outline: none;
}
.blog-search-btn {
  width: 52px;
  border: 0;
  background: #111;
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.blog-search-btn svg { width: 18px; height: 18px; }
.blog-search-btn:hover { background: #222; }

/* Category tabs */
.blog-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 10px;
  width: 100%;
  max-width: 980px;
}
.blog-tab {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.blog-tab:hover {
  border-color: rgba(234, 48, 0, 0.55);
  color: #fff;
}
.blog-tab.is-active {
  background: var(--blog-accent);
  border-color: var(--blog-accent);
  color: #fff;
}

/* Post grid */
.blog-main-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 40px 20px 72px;
}
.blog-results-meta {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blog-muted);
  margin-bottom: 22px;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 24px;
}
.blog-card {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--blog-card-shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.blog-card-media {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #ddd;
}
.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.blog-card-body {
  padding: 18px 18px 22px;
}
.blog-card-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blog-muted);
  margin-bottom: 10px;
}
.blog-card-tag:hover { color: var(--blog-accent); }
.blog-card-title {
  font-family: "Lato", "Inter", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
}
.blog-card-title a {
  color: #111;
  text-decoration: none;
}
.blog-card-title a:hover { color: var(--blog-accent); }
.blog-empty {
  text-align: center;
  color: var(--blog-muted);
  padding: 48px 20px;
  font-size: 1.05rem;
}

/* Footer */
.blog-footer {
  background: #1a1a1a;
  color: #eee;
  padding: 48px 20px 0;
}
.blog-footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
}
.blog-footer-brand img {
  width: 200px;
  height: auto;
  margin-bottom: 18px;
}
.blog-footer-contact {
  font-size: 1.05rem;
  margin-bottom: 14px;
}
.blog-footer-contact a { color: #fff; }
.blog-footer-address {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #ccc;
  margin-bottom: 20px;
}
.blog-social--footer { justify-content: flex-start; }
.blog-footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.blog-footer-col h4 {
  font-family: "Oswald", sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
  color: #fff;
}
.blog-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.blog-footer-col li + li { margin-top: 8px; }
.blog-footer-col a {
  color: #ccc;
  font-size: 0.92rem;
}
.blog-footer-col a:hover { color: var(--blog-accent); }
.blog-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px 0 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.85rem;
  color: #aaa;
}
.blog-footer-bottom a { color: #ddd; }
.blog-footer-bottom a:hover { color: var(--blog-accent); }

@media (max-width: 960px) {
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blog-footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .blog-hero { padding: calc(70px + 22px) 16px 26px; }
  .blog-main-inner { padding: 28px 16px 56px; }
  .blog-grid { grid-template-columns: 1fr; gap: 20px; }
  .blog-tabs { gap: 6px; }
  .blog-tab { font-size: 0.68rem; padding: 7px 10px; }
  .blog-footer-links { grid-template-columns: 1fr; }
}

/* Blog article pages */
.blog-hero--article {
  padding: calc(70px + 18px) 20px 22px;
}
.blog-article-main {
  padding: 0 20px 72px;
}
.blog-article-wrap {
  max-width: 820px;
  margin: 0 auto;
  background: #fff;
  border-radius: 4px;
  box-shadow: var(--blog-card-shadow);
  padding: 36px 40px 48px;
}
.blog-article-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blog-muted);
  margin-bottom: 28px;
}
.blog-article-back:hover { color: var(--blog-accent); }
.blog-article-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blog-muted);
  margin-bottom: 14px;
}
.blog-article-tag:hover { color: var(--blog-accent); }
.blog-article-title {
  font-family: "Lato", "Inter", sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  line-height: 1.2;
  margin: 0 0 22px;
  color: #111;
}
.blog-article-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid #e8e8e8;
}
.blog-article-author-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  background: #eee;
}
.blog-article-meta-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.blog-article-author {
  font-weight: 700;
  color: #222;
}
.blog-article-date {
  font-size: 0.9rem;
  color: var(--blog-muted);
}
.blog-article-body {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--blog-text);
}
.blog-article-body img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 24px auto;
  border-radius: 2px;
}
.blog-article-body p { margin: 0 0 1.15em; }
.blog-article-body blockquote {
  margin: 28px 0;
  padding: 0;
  border: 0;
}
.blog-article-body blockquote p {
  font-size: 1.5rem;
  line-height: 1.3;
  color: #111;
  margin: 0;
}
.blog-article-body a {
  color: var(--blog-accent);
  text-decoration: underline;
}
.blog-article-body ul,
.blog-article-body ol {
  margin: 0 0 1.15em 1.25em;
  padding: 0;
}
.blog-article-body li { margin-bottom: 0.5em; }
.blog-article-body h2,
.blog-article-body h3 {
  margin: 1.6em 0 0.6em;
  line-height: 1.25;
  color: #111;
}
.blog-article-share {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid #e8e8e8;
}
.blog-article-share-label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blog-muted);
}
.blog-article-share-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #33302f;
  display: grid;
  place-items: center;
}
.blog-article-share-link svg {
  width: 16px;
  height: 16px;
  fill: var(--blog-accent);
}
.blog-article-share-link:hover { background: #000; }
.blog-article-related {
  margin-top: 56px;
  padding-top: 8px;
}
.blog-article-related-title {
  font-family: "Oswald", sans-serif;
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 24px;
  color: #111;
}
.blog-article-related .blog-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.blog-article-empty {
  text-align: center;
  color: var(--blog-muted);
  padding: 48px 0;
}
@media (max-width: 960px) {
  .blog-article-related .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .blog-hero--article { padding: calc(70px + 14px) 16px 18px; }
  .blog-article-main { padding: 0 16px 56px; }
  .blog-article-wrap { padding: 24px 20px 36px; }
  .blog-article-related .blog-grid { grid-template-columns: 1fr; }
}
