/*
  REV Car Audio — style.css  v1.2  260413
  RULE: Every text color is hardcoded. No element relies on color inheritance.
  PALETTE:
    Backgrounds  →  #0C0C0E  #141416  #1A1A1E
    Headings     →  #FFFFFF
    Body copy    →  #E2E2E0   (high-contrast near-white)
    Secondary    →  #BEBEBE   (still clearly legible on dark)
    Labels/muted →  #909090   (for fine-print only, never for reading copy)
    Accent green →  #BADA55
    Hover green  →  #A0C040
    Green on btn →  #0C0C0E   (black text on green button — always readable)
*/

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,300;0,400;0,600;0,700;0,800;0,900;1,700&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=IBM+Plex+Mono:wght@300;400;500&display=swap');

/* ─── RESET ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* ─── BODY — base text is near-white, never inherit dark ─── */
body {
  background: #0C0C0E;
  color: #E2E2E0;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 18px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ─── ALL LINKS default light ─── */
a { color: #E2E2E0; text-decoration: none; transition: color .22s; }
a:hover { color: #BADA55; }

/* ─── HEADINGS — always white ─── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .03em;
  line-height: 1.05;
  color: #FFFFFF;
}
h1 { font-size: clamp(3.2rem, 8vw, 6.8rem); }
h2 { font-size: clamp(2.4rem, 5vw, 4.4rem); }
h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h4 { font-size: 1.15rem; letter-spacing: .1em; }

/* ALL paragraphs — explicitly near-white */
p { color: #E2E2E0; }

/* ALL list items — explicitly near-white */
li { color: #E2E2E0; }

/* ─── EYEBROW LABEL ─── */
.eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .68rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: #BADA55;
  display: block;
  margin-bottom: .8rem;
}

/* ─── LEAD COPY ─── */
.lead {
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  font-weight: 300;
  color: #BEBEBE;
  max-width: 640px;
  line-height: 1.7;
}

/* ─── RULE ─── */
.rule { width: 52px; height: 2px; background: #BADA55; margin: 14px 0 26px; }
.rule-center { margin: 14px auto 26px; }

/* ─── LAYOUT ─── */
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 28px; }
section { padding: 96px 28px; }

/* ─── NAV ─────────────────────────────────────────── */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 36px; height: 70px;
  display: flex; align-items: center; justify-content: space-between;
  background: transparent;
  transition: background .25s, border-bottom-color .25s;
}
.site-nav.scrolled {
  background: rgba(12,12,14,.97);
  border-bottom: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(14px);
}
.nav-logo img { height: 42px; }

.nav-links { display: flex; gap: 38px; list-style: none; align-items: center; }
.nav-links a {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #BEBEBE;           /* explicit — readable gray */
  transition: color .22s;
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1px; background: #BADA55; transition: width .22s;
}
.nav-links a:hover, .nav-links a.active { color: #FFFFFF; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

/* CTA button in nav */
.nav-cta {
  background: #BADA55 !important;
  color: #0C0C0E !important;    /* black text on green — maximum contrast */
  font-family: 'IBM Plex Mono', monospace !important;
  font-size: .68rem !important;
  letter-spacing: .16em !important;
  text-transform: uppercase !important;
  font-weight: 700 !important;
  padding: 10px 22px !important;
  border-radius: 2px !important;
  transition: background .22s !important;
}
.nav-cta:hover { background: #A0C040 !important; color: #0C0C0E !important; }
.nav-cta::after { display: none !important; }

/* Mobile toggle */
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 4px; cursor: pointer; border: none; background: none; }
.nav-toggle span { display: block; width: 25px; height: 2px; background: #FFFFFF; transition: transform .3s, opacity .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 99;
  background: #0C0C0E;
  flex-direction: column; align-items: center; justify-content: center; gap: 44px;
  padding: 100px 32px 60px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.6rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .06em;
  color: #FFFFFF;
  transition: color .22s;
}
.mobile-menu a:hover { color: #BADA55; }
.mobile-menu .mob-cta {
  background: #BADA55; color: #0C0C0E;
  padding: 16px 44px; font-size: .85rem; border-radius: 2px;
}

/* ─── BUTTONS ─────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: .7rem; letter-spacing: .2em; text-transform: uppercase;
  font-weight: 600;
  padding: 15px 30px; border-radius: 2px; border: none;
  cursor: pointer; transition: all .22s; white-space: nowrap;
}
.btn svg { width: 15px; height: 15px; transition: transform .22s; }
.btn:hover svg { transform: translateX(3px); }

/* Primary = green bg, black text */
.btn-primary { background: #BADA55; color: #0C0C0E; }
.btn-primary:hover {
  background: #A0C040; color: #0C0C0E;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(186,218,85,.28);
}

/* Outline = transparent bg, white text, white border */
.btn-outline {
  background: transparent;
  color: #FFFFFF;
  border: 1px solid rgba(255,255,255,.32);
}
.btn-outline:hover { border-color: #BADA55; color: #BADA55; }

/* ─── HERO ─────────────────────────────────────────── */
.hero {
  position: relative; height: 100vh; min-height: 680px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: brightness(.38);
  transform: scale(1.04); transition: transform 9s ease;
}
.hero:hover .hero-bg { transform: scale(1.0); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom,
    rgba(12,12,14,.25) 0%,
    transparent 35%,
    rgba(12,12,14,.55) 75%,
    #0C0C0E 100%);
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center; padding: 0 24px; max-width: 880px;
  animation: fadeUp .9s ease both;
}
.hero-logo {
  width: clamp(140px, 22vw, 240px);
  margin: 0 auto 36px;
  display: block;
  text-align: center;
}
.hero-logo img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}
.hero h1 { color: #FFFFFF; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: #BADA55; }
.hero-sub {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1rem, 2vw, 1.22rem);
  font-weight: 300; font-style: italic;
  color: #BEBEBE;             /* explicit readable gray */
  margin-bottom: 40px;
  letter-spacing: .02em;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.hero-scroll {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: .58rem; letter-spacing: .22em; text-transform: uppercase;
  color: #909090;             /* explicit — decorative only */
  animation: pulse 2.2s ease infinite;
}
.hero-scroll-line { width: 1px; height: 38px; background: linear-gradient(to bottom, #909090, transparent); }

/* ─── TRUST STRIP ─────────────────────────────────── */
.trust-strip {
  background: #1A1A1E;
  border-top: 1px solid rgba(255,255,255,.09);
  border-bottom: 1px solid rgba(255,255,255,.09);
  padding: 24px 28px;
}
.trust-inner {
  max-width: 1180px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  gap: 48px; flex-wrap: wrap;
}
.trust-item { display: flex; align-items: center; gap: 13px; }
.trust-icon {
  width: 22px; height: 22px;
  color: #BADA55; flex-shrink: 0;
}
.trust-text {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .66rem; letter-spacing: .14em; text-transform: uppercase;
}
.trust-text strong {
  display: block;
  color: #FFFFFF;             /* explicit white */
  font-weight: 600;
  font-size: .69rem;
  margin-bottom: 2px;
}
.trust-text span { color: #BEBEBE; } /* explicit readable gray */

/* ─── SECTION HEADER ──────────────────────────────── */
.section-header { margin-bottom: 60px; }
.section-header.center { text-align: center; }
.section-header h2 { color: #FFFFFF; }
.section-header .lead { margin-top: 16px; }
.section-header.center .lead { margin: 16px auto 0; }

/* ─── SYSTEM CARDS ────────────────────────────────── */
.systems-section { background: #0C0C0E; }
.systems-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 3px;
  margin-top: 56px;
}
.sys-card {
  background: #141416;
  padding: 40px 30px 36px;
  border-top: 3px solid transparent;
  transition: border-color .22s, transform .25s;
  cursor: pointer;
}
.sys-card:hover { border-top-color: #BADA55; transform: translateY(-5px); }

.sys-stage {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .63rem; letter-spacing: .22em; text-transform: uppercase;
  color: #BADA55;             /* explicit green */
  display: block; margin-bottom: 10px;
}
.sys-card h3 { color: #FFFFFF; font-size: 2rem; margin-bottom: 14px; }
.sys-card p {
  font-size: .97rem;
  color: #BEBEBE;             /* explicit readable gray */
  line-height: 1.62;
  margin-bottom: 24px;
}
.sys-price {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.65rem; font-weight: 700;
  color: #BADA55;             /* explicit green */
}
.sys-price-note {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .6rem; letter-spacing: .08em; text-transform: uppercase;
  color: #909090;             /* explicit — fine print only */
  display: block; margin-top: 5px;
}

.systems-footer { text-align: center; margin-top: 48px; }
.systems-footnote {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .62rem; letter-spacing: .12em; text-transform: uppercase;
  color: #909090;             /* explicit fine print */
  margin-top: 16px; display: block;
}

/* ─── SERVICES ────────────────────────────────────── */
.services-section {
  background: #141416;
  border-top: 1px solid rgba(255,255,255,.09);
}
.services-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 28px;
  margin-top: 56px;
}
.svc-card {
  background: #1A1A1E;
  border: 1px solid rgba(255,255,255,.10);
  padding: 38px 30px; border-radius: 2px;
  transition: border-color .22s, transform .25s;
}
.svc-card:hover { border-color: #BADA55; transform: translateY(-4px); }
.svc-icon { width: 38px; height: 38px; color: #BADA55; margin-bottom: 22px; }
.svc-card h3 { color: #FFFFFF; font-size: 1.45rem; margin-bottom: 13px; }
.svc-card p {
  font-size: .97rem;
  color: #E2E2E0;             /* explicit near-white — this is primary reading copy */
  line-height: 1.68; margin-bottom: 22px;
}
.svc-price {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .7rem; letter-spacing: .13em; text-transform: uppercase;
  color: #BADA55;             /* explicit green */
}

/* ─── LEGACY / ABOUT STRIP ───────────────────────── */
.legacy-section {
  background: #0C0C0E;
  border-top: 1px solid rgba(255,255,255,.09);
}
.legacy-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.legacy-img-wrap { position: relative; aspect-ratio: 4/5; overflow: hidden; }
.legacy-img-wrap .placeholder-img {
  width: 100%; height: 100%;
  background: #1A1A1E;
  display: flex; align-items: center; justify-content: center;
  font-family: 'IBM Plex Mono', monospace;
  font-size: .64rem; letter-spacing: .15em; text-transform: uppercase;
  color: #909090;             /* explicit — decorative label */
}
.legacy-img-accent {
  position: absolute; bottom: -18px; right: -18px;
  width: 58%; aspect-ratio: 1;
  border: 2px solid rgba(186,218,85,.18);
  pointer-events: none;
}
blockquote {
  border-left: 3px solid #BADA55;
  background: #1A1A1E;
  padding: 22px 26px;
  margin: 32px 0;
  font-style: italic;
  font-size: 1.08rem;
  color: #E2E2E0;             /* explicit near-white — reading copy */
  line-height: 1.72;
}

/* ─── PAGE HERO (sub-pages) ──────────────────────── */
.page-hero {
  padding: 158px 28px 76px;
  text-align: center;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(186,218,85,.07) 0%, transparent 66%);
  pointer-events: none;
}
.page-hero h1 { color: #FFFFFF; }
.page-hero .lead { margin: 18px auto 0; }

/* ─── ABOUT PAGE ──────────────────────────────────── */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: start; margin-top: 60px;
}
.about-text h2 { color: #FFFFFF; margin-bottom: 8px; }
.about-text p { color: #E2E2E0; margin-bottom: 18px; font-size: 1rem; }
.about-text .p-secondary { color: #BEBEBE; }   /* explicit secondary */
.about-text a { color: #BADA55; }
.about-text a:hover { color: #FFFFFF; }
.about-img-main {
  width: 100%; aspect-ratio: 3/4; background: #1A1A1E; overflow: hidden;
}
.about-img-accent {
  background: #141416; border: 2px solid rgba(255,255,255,.10); overflow: hidden;
}
.about-image-stack { position: relative; padding-bottom: 40px; }

/* VALUES GRID */
.values-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 3px; margin-top: 60px;
}
.value-card {
  padding: 38px 26px; background: #141416;
  border-top: 2px solid rgba(186,218,85,.18);
  transition: border-color .22s;
}
.value-card:hover { border-top-color: #BADA55; }
.value-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.8rem; font-weight: 900;
  color: rgba(186,218,85,.22);
  line-height: 1; margin-bottom: 18px;
  transition: color .22s;
}
.value-card:hover .value-num { color: #BADA55; }
.value-card h4 { color: #FFFFFF; font-size: 1rem; margin-bottom: 10px; letter-spacing: .12em; }
.value-card p {
  font-size: .93rem;
  color: #BEBEBE;             /* explicit readable gray */
  line-height: 1.62;
}

/* ─── CONTACT PAGE ────────────────────────────────── */
.contact-section { padding: 60px 28px 100px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.45fr; gap: 80px; align-items: start; }
.contact-info h2 { color: #FFFFFF; margin-bottom: 16px; }
.contact-info > p { color: #E2E2E0; margin-bottom: 38px; font-size: .98rem; }

.contact-detail { display: flex; gap: 15px; margin-bottom: 26px; align-items: flex-start; }
.detail-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: #1A1A1E;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  color: #BADA55;
}
.detail-text {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .74rem; letter-spacing: .06em;
}
.detail-text strong {
  display: block;
  color: #909090;             /* explicit — label */
  font-size: .59rem; text-transform: uppercase; letter-spacing: .2em;
  margin-bottom: 4px;
}
.detail-text, .detail-text a { color: #E2E2E0; }  /* explicit near-white */
.detail-text a:hover { color: #BADA55; }

.map-wrap {
  margin-top: 36px; aspect-ratio: 4/3;
  background: #1A1A1E; border: 1px solid rgba(255,255,255,.10);
  border-radius: 2px; overflow: hidden;
}
.map-wrap iframe {
  width: 100%; height: 100%; border: 0;
  filter: grayscale(100%) invert(90%) contrast(88%);
}

/* Contact form */
.form-wrap {
  background: #141416;
  border: 1px solid rgba(255,255,255,.12);
  padding: 46px 40px; border-radius: 2px;
}
.form-wrap h3 { color: #FFFFFF; font-size: 1.65rem; margin-bottom: 8px; }
.form-wrap > p { color: #BEBEBE; font-size: .95rem; margin-bottom: 34px; }

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: .6rem; letter-spacing: .2em; text-transform: uppercase;
  color: #BEBEBE;             /* explicit — readable label */
  margin-bottom: 7px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: #0C0C0E;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 2px;
  padding: 13px 15px;
  color: #E2E2E0;             /* explicit near-white input text */
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem; line-height: 1.5;
  outline: none;
  transition: border-color .22s;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #606060; }  /* explicit — dim placeholder */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: #BADA55; }
.form-group select option { background: #141416; color: #E2E2E0; }
.form-group textarea { resize: vertical; min-height: 115px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-submit { width: 100%; justify-content: center; padding: 17px; font-size: .74rem; }
.form-note {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .6rem; letter-spacing: .1em; text-transform: uppercase;
  color: #909090;             /* explicit — fine print */
  text-align: center; margin-top: 14px;
}

/* CTA STRIP */
.cta-strip {
  padding: 80px 28px;
  background: #141416;
  border-top: 1px solid rgba(255,255,255,.09);
  text-align: center;
}
.cta-strip h2 { color: #FFFFFF; max-width: 600px; margin: 12px auto 18px; }
.cta-strip p { color: #BEBEBE; max-width: 500px; margin: 0 auto 38px; font-size: .98rem; }

/* ─── FOOTER ──────────────────────────────────────── */
.site-footer {
  padding: 60px 28px 32px;
  background: #0C0C0E;
  border-top: 1px solid rgba(255,255,255,.09);
}
.footer-grid {
  max-width: 1180px; margin: 0 auto 48px;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px;
}
.footer-brand img { height: 38px; margin-bottom: 18px; }
.footer-brand p {
  font-size: .9rem;
  color: #909090;             /* explicit — intentionally muted in footer brand blurb */
  max-width: 300px; line-height: 1.62; margin-bottom: 22px;
}
.footer-phone {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.5rem; font-weight: 700;
  color: #BADA55;             /* explicit green */
  letter-spacing: .05em; transition: color .22s;
}
.footer-phone:hover { color: #FFFFFF; }
.footer-col h5 {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .6rem; letter-spacing: .2em; text-transform: uppercase;
  color: #909090;             /* explicit — column header label */
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 9px; }
.footer-col a {
  font-size: .92rem;
  color: #BEBEBE;             /* explicit readable gray */
  transition: color .22s;
}
.footer-col a:hover { color: #BADA55; }
.footer-hours {
  font-size: .88rem;
  color: #909090;             /* explicit muted — hours are supporting info */
  margin-top: 8px; line-height: 1.62;
}
.footer-bottom {
  max-width: 1180px; margin: 0 auto;
  padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .6rem; letter-spacing: .1em;
  color: #606060;             /* explicit — fine print only */
}
.footer-c32x {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .6rem; letter-spacing: .1em;
  color: #606060;             /* explicit fine print */
  transition: color .22s;
}
.footer-c32x:hover { color: #BADA55; }

/* ─── REVEAL ANIMATION ───────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ─── KEYFRAMES ──────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}
@keyframes pulse {
  0%, 100% { opacity: .38; }
  50%       { opacity: .85; }
}

/* ─── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 1024px) {
  .systems-grid  { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .legacy-grid   { grid-template-columns: 1fr; gap: 44px; }
  .legacy-img-wrap { aspect-ratio: 16/9; }
  .about-grid    { grid-template-columns: 1fr; }
  .contact-grid  { grid-template-columns: 1fr; }
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 40px; }
  .values-grid   { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  section { padding: 72px 20px; }
  .nav-links, .nav-cta { display: none !important; }
  .nav-toggle { display: flex; }
  .systems-grid  { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .form-row      { grid-template-columns: 1fr; }
  .footer-grid   { grid-template-columns: 1fr; gap: 32px; }
  .values-grid   { grid-template-columns: 1fr; }
  .form-wrap     { padding: 30px 22px; }
  .trust-inner   { gap: 26px; }
}
