/* /var/www/raceenginesystems.com/public/css/style.css */

/* ============================================================
   SECTION 1 — CUSTOM PROPERTIES
   ============================================================ */

:root {
  /* Colors */
  --color-bg:           #0A0A0A;
  --color-surface:      #141414;
  --color-surface-mid:  #1E1E1E;
  --color-light:        #F0F0F0;
  --color-red:          #C8001E;
  --color-red-hot:      #FF1A33;
  --color-chrome:       #8C9198;
  --color-white:        #FFFFFF;
  --color-muted:        #6B6B6B;
  --color-overlay:      rgba(10, 10, 10, 0.72);

  /* Typography */
  --font-display:       'Barlow Condensed', sans-serif;
  --font-body:          'Inter', sans-serif;

  /* Type Scale */
  --text-hero:          clamp(3.5rem, 7vw, 7rem);
  --text-h1:            clamp(2.2rem, 4vw, 3.2rem);
  --text-h2:            clamp(1.9rem, 3.4vw, 2.6rem);
  --text-h3:            clamp(1.2rem, 2vw, 1.6rem);
  --text-eyebrow:       0.75rem;
  --text-body:          clamp(1rem, 1.5vw, 1.125rem);
  --text-caption:       0.8rem;
  --text-stat:          clamp(3rem, 5vw, 5rem);

  /* Spacing */
  --section-padding:    clamp(4rem, 8vw, 8rem);
  --container-padding:  clamp(1.5rem, 5vw, 6rem);
  --max-width:          1440px;

  /* Nav */
  --nav-height:         80px;

  /* Transitions */
  --transition-fast:    0.2s ease;
  --transition-base:    0.3s ease;
}

/* ============================================================
   SECTION 2 — RESET
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}
body {
  overflow-x: hidden;
  max-width: 100%;
  background: var(--color-bg);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
address { font-style: normal; }

/* ============================================================
   SECTION 3 — TYPOGRAPHY BASE
   ============================================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.1;
  letter-spacing: 0.01em;
}
h1 { font-size: var(--text-h1); font-weight: 800; text-transform: uppercase; }
h2 { font-size: var(--text-h2); font-weight: 800; }
h3 { font-size: var(--text-h3); font-weight: 700; }

.eyebrow {
  font-family: var(--font-display);
  font-size: var(--text-eyebrow);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-red);
  display: block;
  margin-bottom: 0.75rem;
}

.stat-number {
  font-family: var(--font-display);
  font-size: var(--text-stat);
  font-weight: 900;
  line-height: 1;
  color: var(--color-red);
}

.stat-label {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.4rem;
}

p { margin-bottom: 1.2rem; }
p:last-child { margin-bottom: 0; }
.text-muted  { color: var(--color-muted); }
.text-chrome { color: var(--color-chrome); }
.text-red    { color: var(--color-red); }

/* ============================================================
   SECTION 4 — LAYOUT UTILITIES
   ============================================================ */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section { padding: var(--section-padding) 0; }

.section--light {
  background: var(--color-light);
  color: var(--color-bg);
}
.section--light h1,
.section--light h2,
.section--light h3 { color: var(--color-bg); }
.section--light .eyebrow { color: var(--color-red); }

.section--surface { background: var(--color-surface); }
.section--surface-mid { background: var(--color-surface-mid); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }

@media (max-width: 1023px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* ============================================================
   SECTION 5 — BUTTONS
   ============================================================ */

.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 1rem 2.2rem;
  border-radius: 0;
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
  white-space: nowrap;
}
.btn--primary {
  background: var(--color-red);
  color: var(--color-white);
  border: 2px solid var(--color-red);
}
.btn--primary:hover, .btn--primary:focus {
  background: var(--color-red-hot);
  border-color: var(--color-red-hot);
}
.btn--outline {
  background: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
}
.btn--outline:hover, .btn--outline:focus {
  background: var(--color-white);
  color: var(--color-bg);
}
.btn--outline-red {
  background: transparent;
  color: var(--color-red);
  border: 2px solid var(--color-red);
}
.btn--outline-red:hover, .btn--outline-red:focus {
  background: var(--color-red);
  color: var(--color-white);
}
.btn:focus-visible { outline: 2px solid var(--color-red); outline-offset: 3px; }


/* ============================================================
   SECTION 6 — NAVIGATION
   ============================================================ */

.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(10, 10, 10, 0.55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  transition: background var(--transition-base), box-shadow var(--transition-base);
}
.site-nav.scrolled {
  background: rgba(10, 10, 10, 0.92);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 var(--container-padding);
  max-width: var(--max-width);
  margin: 0 auto;
}
.nav-logo img { height: 48px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 2.5rem; }
.nav-links > li > a {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-white);
  transition: color var(--transition-fast);
}
.nav-links > li > a:hover,
.nav-links > li > a.active { color: var(--color-red-hot); }

.nav-dropdown { position: relative; }
.nav-dropdown-toggle { display: flex; align-items: center; gap: 0.4rem; cursor: pointer; }
.dropdown-arrow { font-size: 0.6rem; transition: transform var(--transition-fast); }
.nav-dropdown:hover .dropdown-arrow { transform: rotate(180deg); }

.dropdown-menu {
  position: absolute;
  top: 100%;
  padding-top: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  min-width: 240px;
  background: var(--color-surface);
  border-top: 2px solid var(--color-red);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-fast), visibility var(--transition-fast);
  pointer-events: none;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  top: 100%;
  pointer-events: auto;
}
.dropdown-menu li a {
  display: block;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-white);
  padding: 0.85rem 1.5rem;
  transition: background var(--transition-fast), color var(--transition-fast);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.dropdown-menu li:last-child a { border-bottom: none; }
.dropdown-menu li a:hover { background: var(--color-surface-mid); color: var(--color-red-hot); }

.nav-phone {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-red);
  letter-spacing: 0.04em;
  transition: color var(--transition-fast);
}
.nav-phone:hover { color: var(--color-red-hot); }


@media (max-width: 1200px) {
  .nav-links { gap: 1.5rem; }
  .nav-links > li > a { font-size: 1rem; }
  .nav-phone { font-size: 1rem; }
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--color-surface);
  transform: translateX(100%);
  transition: transform 0.35s ease;
  overflow-y: auto;
}
.nav-overlay.open { transform: translateX(0); }
.nav-overlay-content {
  padding: 6rem 2rem 4rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.nav-overlay-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  font-size: 1.5rem;
  color: var(--color-white);
  padding: 0.5rem;
  line-height: 1;
}
.nav-overlay-links { display: flex; flex-direction: column; }
.nav-overlay-links li a {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-white);
  display: block;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color var(--transition-fast);
}
.nav-overlay-links li a:hover { color: var(--color-red-hot); }
.nav-overlay-section {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-muted);
  padding: 1.5rem 0 0.25rem;
}
.nav-overlay-phone {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--color-red);
  margin-top: 2rem;
  display: block;
  transition: color var(--transition-fast);
}
.nav-overlay-phone:hover { color: var(--color-red-hot); }

@media (max-width: 1023px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
}

/* ============================================================
   SECTION 7 — FOOTER
   ============================================================ */

.site-footer { background: var(--color-surface); padding: 5rem 0 0; }
.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding: 0 var(--container-padding) 4rem;
  max-width: var(--max-width);
  margin: 0 auto;
}
.footer-brand img { height: 56px; width: auto; margin-bottom: 1.5rem; }

@media (min-width: 1024px) {
  .footer-brand img {
    height: 98px;
  }
}
.footer-social { display: flex; gap: 14px; margin-top: 1.5rem; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  padding: 0;
  color: var(--color-chrome);
  transition: color var(--transition-fast);
}
.footer-social a:hover { color: var(--color-white); }
.footer-social svg { width: 20px; height: 20px; display: block; fill: currentColor; }
.footer-nav h4, .footer-services h4, .footer-contact h4 {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-red);
  margin-bottom: 1.25rem;
}
.footer-nav ul li, .footer-services ul li { margin-bottom: 6px; line-height: 1.4; }
.footer-nav ul li a, .footer-services ul li a {
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--color-chrome);
  transition: color var(--transition-fast);
}
.footer-nav ul li a:hover, .footer-services ul li a:hover { color: var(--color-white); }
.footer-contact address p { font-size: 0.9rem; line-height: 1.4; color: var(--color-chrome); margin-bottom: 6px; }
.footer-contact address a { line-height: 1.4; color: var(--color-chrome); transition: color var(--transition-fast); }
.footer-contact address a:hover { color: var(--color-white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1.5rem var(--container-padding);
  max-width: var(--max-width);
  margin: 0 auto;
}
.footer-bottom > * {
  padding-left: 0;
  padding-right: 0;
}
.footer-bottom p { font-size: var(--text-caption); color: var(--color-muted); margin: 0; }
.footer-bottom a { color: var(--color-muted); transition: color var(--transition-fast); }
.footer-bottom a:hover { color: var(--color-white); }

@media (max-width: 1023px) {
  .footer-container { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .footer-container { grid-template-columns: 1fr; }
}

/* ============================================================
   SECTION 8 — PAGE HERO (INTERIOR PAGES)
   ============================================================ */

.page-hero {
  position: relative;
  height: 55vh;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.page-hero__bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.page-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(10,10,10,0.5) 0%, rgba(10,10,10,0.8) 100%);
}
.page-hero__content {
  position: relative; z-index: 1;
  padding: var(--nav-height) var(--container-padding) 0;
}
.page-hero__content h1 { font-size: var(--text-h1); color: var(--color-white); margin-top: 0.5rem; }

/* ============================================================
   SECTION 9 — CTA STRIP (REUSABLE)
   ============================================================ */

.cta-strip { position: relative; padding: var(--section-padding) 0; text-align: center; overflow: hidden; }
.cta-strip__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.cta-strip__overlay { position: absolute; inset: 0; background: rgba(10,10,10,0.82); }
.cta-strip__content {
  position: relative; z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}
.cta-strip__content h2 { font-size: var(--text-h1); color: var(--color-white); margin-bottom: 0.75rem; }
.cta-strip__content p { color: var(--color-chrome); font-size: 1.1rem; margin-bottom: 2rem; }
.cta-strip__actions {
  display: flex; align-items: center; justify-content: center;
  gap: 1.5rem; flex-wrap: wrap;
}
.cta-strip__phone {
  font-family: var(--font-display);
  font-size: 1.25rem; font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.05em;
  transition: color var(--transition-fast);
}
.cta-strip__phone:hover { color: var(--color-red-hot); }

/* ============================================================
   SECTION 10 — ACCESSIBILITY
   ============================================================ */

.skip-link {
  position: absolute;
  top: -100%; left: 1rem;
  background: var(--color-red);
  color: var(--color-white);
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--color-red); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   SECTION 11 — BODY / NAV PADDING
   ============================================================ */

.has-page-hero main { padding-top: 0; }
body:not(.has-page-hero) main,
body.no-hero main { padding-top: var(--nav-height); }

/* ============================================================
   SECTION 12 — CONTACT PAGE
   ============================================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 5rem;
  align-items: start;
}

.contact-form-col h2,
.contact-info-col h2 {
  margin-bottom: 0.75rem;
}

.contact-form-col > p {
  margin-bottom: 2.5rem;
}

/* Form layout */
.form-row--2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.form-group label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-chrome);
}

.required { color: var(--color-red); }

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--color-surface-mid);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.875rem 1rem;
  border-radius: 0;
  outline: none;
  transition: border-color var(--transition-fast);
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238C9198' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-group select option {
  background: var(--color-surface-mid);
  color: var(--color-white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-red);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

/* Honeypot — visually hidden (not display:none) */
.contact-form {
  position: relative;
}
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-submit {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.form-note {
  font-size: 0.8rem;
  margin: 0;
}

/* Inline response messages */
.form-success,
.form-error {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  border-radius: 0;
}

.form-success {
  background: rgba(200, 0, 30, 0.08);
  border-left: 3px solid var(--color-red);
}

.form-success h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--color-white);
}

.form-success p {
  color: var(--color-chrome);
  font-size: 0.9rem;
  margin: 0;
}

.form-error {
  background: rgba(255, 255, 255, 0.04);
  border-left: 3px solid var(--color-muted);
}

.form-error p {
  color: var(--color-chrome);
  font-size: 0.9rem;
  margin: 0;
}

.form-error a {
  color: var(--color-red);
  transition: color var(--transition-fast);
}

.form-error a:hover { color: var(--color-red-hot); }

/* Submit button loading state */
#submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Contact info column */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

.contact-detail-item h4 {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-red);
  margin-bottom: 0.5rem;
}

.contact-detail-item address,
.contact-detail-item p {
  color: var(--color-chrome);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}

.contact-phone {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-white);
  transition: color var(--transition-fast);
}

.contact-phone:hover { color: var(--color-red-hot); }

.contact-detail-item a:not(.contact-phone) {
  color: var(--color-chrome);
  transition: color var(--transition-fast);
  font-size: 0.95rem;
}

.contact-detail-item a:not(.contact-phone):hover { color: var(--color-white); }

/* Responsive */
@media (max-width: 1023px) {
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .contact-info-col { order: -1; }
}

@media (max-width: 767px) {
  .form-row--2 { grid-template-columns: 1fr; }
}

/* ============================================================
   SECTION 13 — HOMEPAGE
   ============================================================ */

/* Override nav padding for full-bleed hero */
body.has-home-hero main { padding-top: 0; }

/* --- HERO --- */
.home-hero {
  position: relative;
  min-height: clamp(480px, 56.25vw, 780px);
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.home-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  z-index: 0;
}

.home-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(10,10,10,0.35) 0%,
    rgba(10,10,10,0.55) 50%,
    rgba(10,10,10,0.85) 100%
  );
}

.home-hero__content {
  position: relative;
  z-index: 2;
  padding: calc(var(--nav-height) + 1.5rem) var(--container-padding) 3rem;
  max-width: 900px;
  margin: 0 auto;
}

.home-hero__headline {
  font-size: var(--text-hero);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 0.95;
  color: var(--color-white);
  margin: 0.75rem 0 1.25rem;
}

.home-hero__headline .br-mobile {
  display: none;
}

@media (min-width: 1200px) {
  .home-hero__content {
    max-width: min(96vw, 1400px);
  }
  .home-hero__headline {
    white-space: nowrap;
  }
  .home-hero__headline br {
    display: none;
  }
}

@media (min-width: 901px) and (max-width: 1199px) {
  .home-hero__content {
    max-width: min(92vw, 1100px);
  }
  .home-hero__headline {
    font-size: clamp(2.6rem, 5vw, 4.25rem);
    white-space: nowrap;
  }
  .home-hero__headline br {
    display: none;
  }
}

@media (max-width: 767px) {
  .home-hero__headline {
    white-space: normal;
  }
}

.home-hero__sub {
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  color: var(--color-chrome);
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 2.5rem;
}


.home-hero__actions .btn--primary,
.home-hero__actions a.btn.btn--hero-phone {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  min-height: 60px;
  max-height: 60px;
  padding: 0 2.2rem;
  margin: 0;
  line-height: 1;
  font-size: 1.1rem;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  -webkit-appearance: none;
  appearance: none;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  overflow: hidden;
  border: 2px solid transparent;
  box-shadow: none;
}

.home-hero__actions .btn--primary {
  position: relative;
  background: var(--color-red);
  color: var(--color-white);
  border-color: #8a0016;
}

.home-hero__actions .btn--primary:hover,
.home-hero__actions .btn--primary:focus {
  background: var(--color-red);
  border-color: #8a0016;
  color: var(--color-white);
}

.home-hero__actions a.btn.btn--hero-phone {
  background: var(--color-surface);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.35);
}

.home-hero__actions a.btn.btn--hero-phone:hover,
.home-hero__actions a.btn.btn--hero-phone:focus {
  background: var(--color-surface-mid);
  border-color: rgba(255, 255, 255, 0.35);
  color: #C8001E;
}

@media (min-width: 768px) {
  .home-hero__actions .btn--primary,
  .home-hero__actions a.btn.btn--hero-phone {
    min-width: 244px;
  }
}
.home-hero__actions .btn--primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 55%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: translateX(-160%) skewX(-20deg);
  pointer-events: none;
  animation: heroBtnSheen 3.5s ease-in-out infinite;
}
.home-hero__actions .btn--primary:hover::before,
.home-hero__actions .btn--primary:focus::before {
  animation: heroBtnSheenHover 0.6s ease;
}
@keyframes heroBtnSheen {
  0%, 18% { transform: translateX(-160%) skewX(-20deg); }
  42% { transform: translateX(260%) skewX(-20deg); }
  42.01%, 100% { transform: translateX(-160%) skewX(-20deg); }
}
@keyframes heroBtnSheenHover {
  from { transform: translateX(-160%) skewX(-20deg); }
  to { transform: translateX(260%) skewX(-20deg); }
}
@media (prefers-reduced-motion: reduce) {
  .home-hero__actions .btn--primary::before {
    animation: none;
  }
}

.home-hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: nowrap;
}

.home-hero__phone {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-white);
  transition: color var(--transition-fast);
}
.home-hero__phone:hover { color: var(--color-red-hot); }

/* Scroll indicator */
.home-hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.home-hero__scroll span {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--color-chrome));
  margin: 0 auto;
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50%       { opacity: 0.8; transform: scaleY(1.15); }
}
@media (prefers-reduced-motion: reduce) {
  .home-hero__scroll span { animation: none; }
}

.home-hero__logo {
  margin-bottom: 1.5rem;
}

.home-hero__logo img {
  display: block;
  margin: 0 auto;
  width: clamp(240px, 24vw, 390px);
  height: auto;
  max-width: 100%;
  filter: drop-shadow(0 2px 12px rgba(0,0,0,0.5));
}

.home-hero__content .eyebrow {
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  margin-bottom: 1rem;
}

/* --- SERVICES BAND (off-white contrast) --- */
.services-band {
  position: relative;
  background: linear-gradient(
    to bottom,
    #F4F3F1 0%,
    #ECEBE8 100%
  );
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(3.5rem, 6vw, 5.5rem);
  overflow: hidden;
}

.services-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px,
      rgba(10,10,10,0.05) 1px, transparent 0);
  background-size: 5px 5px;
  pointer-events: none;
}

.services-band::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(200,0,30,0.5) 25%,
    var(--color-red) 50%,
    rgba(200,0,30,0.5) 75%,
    transparent 100%
  );
}

.services-band__inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.services-band h2 {
  color: #141414;
  margin-top: 0.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.services-band .eyebrow {
  color: var(--color-red);
}

.services-band .eyebrow::before {
  background: var(--color-red);
}

/* --- SERVICES SECTION --- */
.services-section {
  padding-top: 56px;
  padding-bottom: 56px;
}

@media (max-width: 767px) {
  .services-section {
    padding-top: 32px;
    padding-bottom: 32px;
  }
}

@media (max-width: 767px) {
  .services-band {
    padding: 2.5rem 0 3rem;
  }
  .home-hero {
    height: auto;
    min-height: clamp(560px, 130vw, 760px);
    padding-bottom: 2.5rem;
  }
  .home-hero__img {
    height: 100%;
  }
  .home-hero__content {
    padding-top: calc(var(--nav-height) + 1rem);
    padding-bottom: 2rem;
  }
  .home-hero__scroll {
    display: none;
  }
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.service-tile {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  cursor: pointer;
  display: block;
}

.service-tile__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.service-tile__bg--engines { background-position: center 40%; }
.service-tile__bg--heads   { background-position: center 25%; }
.service-tile__bg--camshaft { background-position: 70% center; }
.service-tile__bg--dyno    { background-position: center 60%; }
.service-tile__bg--trackside { background-position: center 35%; }

.service-tile:hover .service-tile__bg {
  transform: scale(1.05);
}

.service-tile__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10,10,10,0.95) 0%,
    rgba(10,10,10,0.4) 50%,
    rgba(10,10,10,0.15) 100%
  );
  transition: background var(--transition-base);
}

.service-tile:hover .service-tile__overlay {
  background: linear-gradient(
    to top,
    rgba(10,10,10,0.98) 0%,
    rgba(10,10,10,0.6) 50%,
    rgba(10,10,10,0.3) 100%
  );
}

.service-tile__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1.75rem;
  z-index: 1;
}

.service-tile__content h3 {
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 0.5rem;
  transition: color var(--transition-fast);
}

.service-tile:hover .service-tile__content h3 {
  color: var(--color-white);
}

.service-tile__content p {
  font-size: 0.85rem;
  color: var(--color-chrome);
  margin-bottom: 1rem;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.service-tile:hover .service-tile__content p {
  opacity: 1;
  transform: translateY(0);
}

.service-tile__link {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-red);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color var(--transition-fast), gap var(--transition-fast);
}

.service-tile:hover .service-tile__link {
  color: var(--color-red-hot);
  gap: 0.75rem;
}

/* Tablet: 2 columns, 3 rows */
@media (max-width: 1023px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-tile {
    min-height: 300px;
  }
}

/* Mobile: 1 column */
@media (max-width: 767px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .service-tile {
    min-height: 260px;
  }
  .service-tile__content p {
    opacity: 1;
    transform: none;
  }
}

/* --- CREDIBILITY STRIP --- */
.credibility-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 6rem;
  align-items: center;
}

.credibility-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem 2rem;
}

.stat-block {
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 110px;
  min-width: 0;
}

.credibility-stats .stat-number {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1.05;
  color: var(--color-red);
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.stat-number--text {
  font-size: 2.6rem;
}

.credibility-stats .stat-label {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.5rem;
  line-height: 1.3;
}

.credibility-section .eyebrow,
.builds-section .eyebrow,
.parts-preview-section .eyebrow,
.cta-strip .eyebrow {
  font-size: 1rem;
  letter-spacing: 0.18em;
}

.credibility-copy h2 { margin-bottom: 1.25rem; }

.credibility-copy p { margin-bottom: 2rem; }

@media (max-width: 1023px) {
  .credibility-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .credibility-stats {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 767px) {
  .credibility-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .credibility-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* --- FEATURED BUILDS --- */
.builds-header {
  margin-bottom: 3rem;
}

.builds-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.build-card {
  display: block;
  background: var(--color-surface);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.04);
  transition: border-color var(--transition-base), transform var(--transition-base);
}

.build-card:hover {
  border-color: rgba(200,0,30,0.4);
  transform: translateY(-3px);
}

.build-card__image {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--color-surface-mid);
}

.build-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.build-card:hover .build-card__image img {
  transform: scale(1.04);
}

.build-card__content { padding: 1.5rem 1.75rem 1.75rem; }

.build-card__content .eyebrow {
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
}

.build-card__content h3 {
  color: var(--color-white);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.build-card__spec {
  font-size: 0.85rem;
  color: var(--color-chrome);
  margin: 0;
  line-height: 1.5;
}

.builds-viewall {
  text-align: center;
  margin-top: 2.5rem;
}

@media (max-width: 767px) {
  .builds-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem;
  }
  .builds-viewall {
    margin-top: 2rem;
  }
}

/* --- PARTS PREVIEW --- */

/* --- PARTS BAND (off-white contrast, matches services-band) --- */
.parts-band {
  position: relative;
  background: linear-gradient(
    to bottom,
    #F4F3F1 0%,
    #ECEBE8 100%
  );
  overflow: hidden;
}

.parts-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px,
      rgba(10,10,10,0.05) 1px, transparent 0);
  background-size: 5px 5px;
  pointer-events: none;
}

.parts-band::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(200,0,30,0.5) 25%,
    var(--color-red) 50%,
    rgba(200,0,30,0.5) 75%,
    transparent 100%
  );
}

.parts-band .parts-preview-grid {
  position: relative;
  z-index: 1;
}

.parts-band h2 {
  color: #141414;
}

.parts-band .eyebrow {
  color: var(--color-red);
}

.parts-band .parts-preview-copy p {
  color: #333333;
}

.parts-band .brand-list li {
  color: #141414;
  border-left-color: var(--color-red);
}

.parts-preview-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 6rem;
  align-items: center;
}

.parts-preview-copy h2 { margin-bottom: 1.25rem; }
.parts-preview-copy p  { margin-bottom: 2rem; }

.brand-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1.5rem;
}

.brand-list li {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-bg);
  padding-left: 0.75rem;
  border-left: 2px solid var(--color-red);
}

@media (max-width: 1023px) {
  .parts-preview-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 767px) {
  .brand-list { grid-template-columns: 1fr; }
}

/* CTA strip crop variant (homepage) */
.cta-strip__bg--home {
  background-position: center 70%;
}

/* ============================================================
   SECTION 14 — AESTHETIC SYSTEM (dividers, texture, accents)
   ============================================================ */

/* --- DARK SECTION TEXTURE --- */
.section,
.services-section,
.credibility-section {
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-color: var(--color-bg);
  background-image:
    radial-gradient(circle at 1px 1px,
      rgba(255,255,255,0.022) 1px, transparent 0);
  background-size: 4px 4px;
  pointer-events: none;
}

/* --- CARBON FIBER WEAVE (Featured Builds) --- */
.builds-section {
  position: relative;
  background-color: #0c0c0c;
  background-image:
    linear-gradient(27deg, #141414 5px, transparent 5px),
    linear-gradient(207deg, #141414 5px, transparent 5px),
    linear-gradient(27deg, #141414 5px, transparent 5px),
    linear-gradient(207deg, #141414 5px, transparent 5px),
    linear-gradient(90deg, #1a1a1a 10px, transparent 10px),
    linear-gradient(#171717 25%, #131313 25%, #131313 50%,
      transparent 50%, transparent 75%, #131313 75%);
  background-size: 20px 20px;
  background-position:
    0 0, 10px 10px, 10px 10px, 20px 20px, 0 0, 0 0;
}

.builds-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,0.55);
  pointer-events: none;
}

.builds-section .container {
  position: relative;
  z-index: 1;
}

.section--light {
  position: relative;
  z-index: 1;
}

/* --- IGNITION LINE DIVIDER --- */
.ignition-divider {
  position: relative;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(200,0,30,0.4) 25%,
    var(--color-red) 50%,
    rgba(200,0,30,0.4) 75%,
    transparent 100%
  );
  max-width: var(--max-width);
  margin: 0 auto;
}

.ignition-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 7px;
  height: 7px;
  background: var(--color-red);
  box-shadow: 0 0 12px rgba(200,0,30,0.6);
}

.divider-wrap {
  padding: 0 var(--container-padding);
  margin: 0 auto;
}

/* --- EYEBROW TICK MARK --- */
.eyebrow {
  position: relative;
  padding-left: 0;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--color-red);
  vertical-align: middle;
  margin-right: 0.75rem;
  margin-bottom: 0.2em;
}

.home-hero__content .eyebrow,
.services-band .eyebrow,
.parts-band .eyebrow,
.cta-strip .eyebrow {
  display: inline-block;
}

/* --- FOOTER GRADIENT + TEXTURE --- */
.site-footer {
  position: relative;
  background:
    linear-gradient(
      to bottom,
      var(--color-bg) 0%,
      var(--color-surface) 35%,
      #0d0d0d 100%
    );
  border-top: 2px solid var(--color-red);
  padding: 5rem 0 0;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px,
      rgba(255,255,255,0.02) 1px, transparent 0);
  background-size: 4px 4px;
  pointer-events: none;
}

.footer-container,
.footer-bottom {
  position: relative;
  z-index: 1;
}

/* ============================================================
   SECTION 15 — INTERIOR / SERVICE PAGE CONTENT
   ============================================================ */

.page-hero__content .eyebrow {
  font-size: 0.95rem;
  letter-spacing: 0.18em;
}

.page-content {
  padding: var(--section-padding) 0;
}

.content-block {
  max-width: 820px;
}

.content-block--centered {
  margin: 0 auto;
  text-align: center;
}

.content-lead {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  line-height: 1.6;
  color: var(--color-white);
  margin-bottom: 2.5rem;
}

.content-section {
  margin-bottom: 3rem;
}

.content-section:last-child {
  margin-bottom: 0;
}

.content-section h2 {
  margin-bottom: 1.25rem;
}

.content-section p {
  color: var(--color-chrome);
  margin-bottom: 1.2rem;
}

.content-section p:last-child {
  margin-bottom: 0;
}

.content-section a:not(.btn) {
  color: var(--color-red);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-fast), color var(--transition-fast);
}

.content-section a:not(.btn):hover {
  color: var(--color-red-hot);
  border-bottom-color: var(--color-red-hot);
}

.component-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem 1.5rem;
  margin: 2rem 0 2.5rem;
}

.component-list li {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-white);
  padding-left: 0.85rem;
  border-left: 2px solid var(--color-red);
}

@media (max-width: 767px) {
  .component-list { grid-template-columns: 1fr 1fr; }
}

.related-services {
  padding: var(--section-padding) 0;
}

.related-services__header {
  margin-bottom: 2.5rem;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}

.related-tile {
  position: relative;
  min-height: 240px;
  overflow: hidden;
  display: block;
}

.related-tile__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.related-tile:hover .related-tile__bg {
  transform: scale(1.05);
}

.related-tile__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.35) 70%, rgba(10,10,10,0.15) 100%);
  transition: background var(--transition-base);
}

.related-tile:hover .related-tile__overlay {
  background: linear-gradient(to top,
    rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.5) 70%, rgba(10,10,10,0.3) 100%);
}

.related-tile__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 1.5rem;
  z-index: 1;
}

.related-tile__content h3 {
  color: var(--color-white);
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
}

.related-tile__link {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-red);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color var(--transition-fast), gap var(--transition-fast);
}

.related-tile:hover .related-tile__link {
  color: var(--color-red-hot);
  gap: 0.7rem;
}

@media (max-width: 1023px) {
  .related-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   SECTION 16 — LEGAL / PRIVACY PAGE
   ============================================================ */

.legal-page {
  padding-top: calc(var(--nav-height) + var(--section-padding));
}

.legal-content {
  max-width: 760px;
}

.legal-content h1 {
  margin-bottom: 0.5rem;
}

.legal-updated {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-bottom: 2.5rem;
}

.legal-section {
  margin-bottom: 2rem;
}

.legal-section:last-child {
  margin-bottom: 0;
}

.legal-section h2 {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  margin-bottom: 0.85rem;
  color: var(--color-white);
}

.legal-section p {
  color: var(--color-chrome);
  margin-bottom: 1rem;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section a {
  color: var(--color-red);
  border-bottom: 1px solid transparent;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

.legal-section a:hover {
  color: var(--color-red-hot);
  border-bottom-color: var(--color-red-hot);
}

.legal-section address {
  color: var(--color-chrome);
  line-height: 1.9;
}

/* ============================================================
   SECTION 17 — BUILDS PAGE
   ============================================================ */

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

.builds-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.build-card-full {
  background: var(--color-surface);
  border: 1px solid rgba(255,255,255,0.05);
  overflow: hidden;
  transition: border-color var(--transition-base), transform var(--transition-base);
}

.build-card-full:hover {
  border-color: rgba(200,0,30,0.4);
  transform: translateY(-4px);
}

.build-card-full__image {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--color-surface-mid);
}

.build-card-full__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.build-card-full:hover .build-card-full__image img {
  transform: scale(1.05);
}

.build-card-full__image--placeholder {
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 16/9;
  background: repeating-linear-gradient(
    45deg, #1a1a1a, #1a1a1a 12px, #161616 12px, #161616 24px);
  border-bottom: 2px solid rgba(200,0,30,0.3);
}

.build-card-full__placeholder-label {
  font-family: var(--font-display);
  font-size: 0.8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--color-muted);
}

.build-card-full__content { padding: 1.5rem 1.75rem 1.75rem; }

.build-card-full__class {
  font-family: var(--font-display);
  font-size: 0.8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--color-red);
  display: block; margin-bottom: 0.6rem;
}

.build-card-full__content h3 {
  color: var(--color-white);
  font-size: 1.4rem; margin-bottom: 0.25rem;
}

.build-card-full__vehicle {
  font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 600;
  color: var(--color-chrome); margin-bottom: 0.75rem;
}

.build-card-full__engine {
  font-size: 0.9rem; color: var(--color-chrome);
  line-height: 1.5; margin: 0;
}

@media (max-width: 1023px) {
  .builds-page-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .builds-page-grid { grid-template-columns: 1fr; gap: 1.25rem; }
}

/* ============================================================
   OVERRIDES - header nav-actions + hero ghost phone (2026-09-09)
   ============================================================ */

nav.site-nav .nav-container > .nav-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  white-space: nowrap;
}

.nav-actions .nav-social {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
}

nav.site-nav .nav-actions a svg {
  width: 20px;
  height: 20px;
  display: block;
  fill: currentColor;
}

nav.site-nav .nav-actions a:hover svg {
  color: #C8001E;
}

a.btn.btn--hero-phone {
  background: var(--color-surface);
  border: 2px solid rgba(255, 255, 255, 0.35);
  box-shadow: none;
  color: #FFFFFF;
}

a.btn.btn--hero-phone:hover {
  background: var(--color-surface-mid);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: none;
  color: #C8001E;
}

@media (max-width: 1023px) {
  nav.site-nav .nav-container > .nav-actions {
    display: none !important;
  }
  body.nav-open .site-nav .nav-logo {
    display: none;
  }
}


@media (max-width: 900px) {
  .home-hero__headline {
    white-space: normal;
  }
  .home-hero__headline .br-mobile {
    display: inline;
  }
  .home-hero__headline .br-desktop {
    display: none;
  }
}

/* ============================================================
   MOBILE RESPONSIVE FIXES (2026-09-10)
   ============================================================ */

@media (max-width: 600px) {
  .home-hero__logo {
    display: none;
  }
  .home-hero__sub {
    font-size: clamp(12.5px, 4vw, 15px);
    line-height: 1.4;
  }
  .home-hero__headline {
    font-size: clamp(38px, 12vw, 56px);
  }
  .home-hero__actions {
    flex-direction: column;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
  }
  .home-hero__actions .btn--primary,
  .home-hero__actions a.btn.btn--hero-phone {
    min-width: 0;
    width: 100%;
    max-width: 320px;
  }
}

@media (max-width: 1023px) {
  .nav-overlay {
    overflow-y: auto;
    max-height: 100vh;
    max-height: 100dvh;
  }
  .nav-overlay-content {
    padding: 3rem 1.5rem 3rem;
  }
  .nav-overlay-links li a {
    font-size: 1.125rem;
    line-height: 1.15;
    padding: 0.375rem 0;
  }
  .nav-overlay-section ~ li a {
    font-size: 1rem;
  }
  .nav-overlay-links > li:nth-child(-n+3) a {
    font-size: 1.125rem;
  }
  .nav-overlay-section {
    font-size: 1rem;
    padding: 0.5rem 0 0.125rem;
  }
  .nav-overlay-phone {
    font-size: 1.125rem;
    margin-top: 0.75rem;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .footer-brand img {
    height: 72px;
  }
}

.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-red);
  color: var(--color-white);
  border: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease, background var(--transition-fast);
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover,
.back-to-top:focus {
  background: var(--color-red-hot);
}
.back-to-top svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
