
/* GHOST PROTOCOLS — HEADER V2 */
.gp-header-v2 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  min-height: 94px;
  gap: 18px;
  border-bottom: 1px solid rgba(180,241,101,.22);
  background: #101210;
  z-index: 30;
}
.gp-header-v2 .brand-word { flex-shrink: 0; }
.gp-header-v2 nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(10px,1.35vw,23px);
  min-width: 0;
}
.gp-header-v2 nav a {
  white-space: nowrap;
  font-size: 11px;
  font-weight: 600;
}
.gp-header-v2 .ghost-ai-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #79A27A;
}
.gp-header-v2 .ghost-ai-nav img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}
.gp-header-v2 .header-cta {
  flex-shrink: 0;
  background: #79A27A;
  color: #101210;
  border-color: #79A27A;
  font-weight: 800;
  letter-spacing: .7px;
}
.gp-header-v2 .header-cta:hover {
  background: #d0ff98;
  color: #101210;
}
.gp-menu-toggle,
.gp-mobile-contact { display: none !important; }

@media(max-width:1180px) {
  .gp-header-v2 { gap: 12px; }
  .gp-header-v2 .brand-word { font-size: 25px; }
  .gp-header-v2 .brand-mark { width: 39px; height: 39px; }
  .gp-header-v2 nav { gap: 11px; }
  .gp-header-v2 nav a { font-size: 10px; }
  .gp-header-v2 .header-cta { padding: 10px 12px; }
}

@media(max-width:900px) {
  .gp-header-v2 {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    min-height: 76px;
    padding: 14px 20px;
    gap: 12px;
  }
  .gp-header-v2 .brand-word {
    min-width: 0;
    font-size: clamp(20px,4vw,27px);
    gap: 9px;
  }
  .gp-header-v2 .brand-mark {
    width: 40px;
    height: 40px;
  }
  .gp-header-v2 .brand-small {
    font-size: 6px;
    letter-spacing: 1px;
  }
  .gp-header-v2 .header-cta { display: none; }
  .gp-menu-toggle {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    border: 1px solid #526743;
    background: #192019;
    color: #79A27A;
    cursor: pointer;
  }
  .gp-menu-toggle span {
    width: 19px;
    height: 2px;
    background: currentColor;
    transition: transform .2s, opacity .2s;
  }
  .gp-menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(7px) rotate(45deg);
  }
  .gp-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }
  .gp-menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-7px) rotate(-45deg);
  }
  .gp-header-v2 nav {
    display: none;
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 0 4px;
    border-top: 1px solid #303d2b;
  }
  .gp-header-v2 nav.gp-nav-open {
    display: flex;
  }
  .gp-header-v2 nav a {
    display: flex;
    align-items: center;
    min-height: 47px;
    padding: 12px 14px;
    border-bottom: 1px solid #293126;
    font-size: 12px;
    letter-spacing: .5px;
  }
  .gp-header-v2 .gp-mobile-contact {
    display: flex !important;
    justify-content: center;
    margin-top: 12px;
    background: #79A27A;
    color: #101210;
    font-weight: 800;
  }
}


/* GP_MOBILE_MENU_V3 — compact premium mobile navigation */
.gp-nav-backdrop {display:none}

@media(max-width:900px){
  body.gp-menu-active {overflow:hidden}

  .gp-nav-backdrop.gp-backdrop-open {
    display:block;
    position:fixed;
    inset:0;
    z-index:1190;
    background:rgba(0,0,0,.76);
    backdrop-filter:blur(7px);
    -webkit-backdrop-filter:blur(7px);
  }

  .gp-header-v2 {
    position:relative;
    z-index:1200;
  }

  .gp-header-v2:has(.gp-nav-open){
    z-index:1201;
  }

  .gp-header-v2 nav.gp-nav-open {
    display:flex;
    position:absolute;
    top:calc(100% + 6px);
    left:14px;
    right:14px;
    width:auto;
    max-height:calc(100dvh - 115px);
    overflow-y:auto;
    overscroll-behavior:contain;
    background:#101711;
    border:1px solid #354b36;
    border-radius:18px;
    padding:12px;
    box-shadow:0 22px 70px rgba(0,0,0,.65);
    gap:3px;
  }

  .gp-header-v2 nav a {
    display:flex;
    align-items:center;
    gap:13px;
    min-height:51px;
    padding:12px 13px;
    border:0;
    border-radius:11px;
    font-size:13px;
    font-weight:650;
    letter-spacing:.1px;
    color:#f1f3ec;
  }

  .gp-header-v2 nav a.active {
    background:#1b2c1e;
    color:#79A27A;
  }

  .gp-nav-icon {
    width:26px;
    flex:0 0 26px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    font-size:19px;
    color:#79A27A;
  }

  .gp-nav-arrow {
    margin-left:auto;
    font-size:23px;
    font-weight:400;
    opacity:.55;
  }

  .gp-header-v2 nav .ghost-ai-nav {
    min-height:52px;
    justify-content:flex-start;
    margin-top:5px;
    border:1px solid #345c3b;
    border-radius:11px;
    background:#17271b;
    color:#79A27A;
  }

  .gp-header-v2 nav .ghost-ai-nav img {
    width:26px;
    height:26px;
  }

  .gp-header-v2 nav .admin-link {
    min-height:38px;
    margin-top:6px;
    padding:9px 13px;
    font-size:11px;
    color:#879188;
    opacity:.8;
    border-top:1px solid #28372b;
    border-radius:0;
  }

  .gp-header-v2 nav .admin-link::before {
    content:'⚙';
    margin-right:8px;
  }

  .gp-header-v2 nav .gp-mobile-contact {
    min-height:49px;
    margin-top:7px;
    border-radius:10px;
    background:#79A27A;
    color:#101610;
    font-size:12px;
    letter-spacing:.6px;
  }

  .gp-menu-toggle {
    border-radius:10px;
    background:#19251b;
  }
}

/* BLACKLINE_KEYBOARD_GREEN_V2 */

/* Ghost Protocols — muted keyboard green */
:root {
  --gp-black:#090D0C;
  --gp-panel:#151B17;
  --gp-green:#436F46;
  --gp-green-bright:#79A27A;
  --gp-platinum:#E4ECE4;
  --gp-border:#345739;
}

html,body {
  background:#090D0C;
  color:#E4ECE4;
}

.gp-header-v2 {
  background:#101511;
  border-color:#345739;
}

.gp-header-v2 .header-cta,
.gp-header-v2 .gp-mobile-contact {
  background:#345D39 !important;
  border-color:#436F46 !important;
  color:#fff !important;
}

.gp-header-v2 .header-cta:hover,
.gp-header-v2 .gp-mobile-contact:hover {
  background:#436F46 !important;
}

.gp-menu-toggle {
  background:#151B17 !important;
  border-color:#436F46 !important;
  color:#79A27A !important;
}

.gp-menu-toggle span {
  background:#79A27A !important;
}

.gp-header-v2 nav.gp-nav-open {
  background:#101511 !important;
  border-color:#345739 !important;
}

.gp-header-v2 nav a.active {
  background:#183F19 !important;
  color:#A8C6A8 !important;
}

.gp-header-v2 nav .ghost-ai-nav {
  background:#142319 !important;
  border-color:#436F46 !important;
  color:#A8C6A8 !important;
}

.gp-nav-icon,
.gp-nav-arrow {
  color:#79A27A;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline:2px solid #79A27A;
  outline-offset:3px;
}

/* GP_BLACKLINE_V3_START */
/* BLACKLINE — Keyboard Green / Obsidian / Platinum */

:root {
  --gp-black:#090D0C;
  --gp-panel:#151B17;
  --gp-green:#436F46;
  --gp-bright:#79A27A;
  --gp-platinum:#E4ECE4;
  --gp-border:#345739;
}

html,body {
  background:#090D0C !important;
  color:#E4ECE4;
}

.command-hero {
  background:
    radial-gradient(ellipse at 85% 15%,
      rgba(67,111,70,.12),transparent 48%),
    linear-gradient(145deg,#0E1510,#090D0C 70%) !important;
  border-bottom:1px solid rgba(67,111,70,.25);
}

.command-hero__grid {
  align-items:center;
}

.command-hero__eyebrow,
.command-hero__intel-head {
  color:#9EB6A0 !important;
  letter-spacing:2px;
}

.command-hero__title {
  color:#F0F4F0;
  text-shadow:none !important;
}

.command-hero__brand--green {
  color:#79A27A !important;
  -webkit-text-fill-color:#79A27A !important;
}

.command-hero__lede {
  color:#A6B4A6 !important;
  line-height:1.7;
  max-width:590px;
}

.command-hero__capabilities {
  color:#A6B4A6;
}

.command-hero__capabilities span[aria-hidden] {
  color:#436F46 !important;
}

.command-hero__intel {
  background:linear-gradient(145deg,#18221A,#101712) !important;
  border:1px solid #345739 !important;
  border-radius:18px;
  box-shadow:0 24px 65px rgba(0,0,0,.3);
}

.command-hero__intel-cell {
  background:rgba(12,20,14,.42);
  border-color:rgba(67,111,70,.22) !important;
}

.command-hero__intel-label {
  color:#98A99B !important;
}

.command-hero__intel-value {
  color:#DCE9DC !important;
  text-shadow:none !important;
}

.command-hero__intel-foot,
.command-hero__tagline {
  color:#8CA38E !important;
}

.command-hero__scan {
  opacity:.13 !important;
}

.signal {
  background:#79A27A !important;
  box-shadow:0 0 9px rgba(67,111,70,.4) !important;
}

.inventory {
  background:#090D0C;
}

.gp-search-wrap {
  position:relative;
  z-index:5;
}

.search-bar {
  background:#171F19 !important;
  border:1px solid #436F46 !important;
  border-radius:14px !important;
  box-shadow:0 10px 36px rgba(0,0,0,.18) !important;
  overflow:visible;
}

.search-bar:focus-within {
  border-color:#79A27A !important;
  box-shadow:0 0 0 3px rgba(67,111,70,.18) !important;
}

.search-bar input {
  color:#E4ECE4 !important;
  background:transparent !important;
}

.search-bar input::placeholder {
  color:#879A89 !important;
}

.filters {
  background:transparent;
  gap:12px;
}

.filter-group select,
.filters select {
  background-color:#151B17;
  color:#E4ECE4;
  border:1px solid #344A38;
  border-radius:10px;
}

.filter-group select:focus {
  border-color:#79A27A;
}

.filters label {
  color:#A6B4A6;
}

.button.primary,
button.primary,
.command-hero__cta.primary {
  background:#345D39 !important;
  color:#FFFFFF !important;
  border-color:#436F46 !important;
  box-shadow:none !important;
}

.button.primary:hover,
button.primary:hover {
  background:#436F46 !important;
  transform:translateY(-1px);
}

.vehicle-grid {
  gap:18px;
}

.vehicle-card {
  background:#141B16 !important;
  border:1px solid #2D4031 !important;
  border-radius:16px !important;
  overflow:hidden;
  box-shadow:0 10px 30px rgba(0,0,0,.18);
  transition:
    transform .22s ease,
    border-color .22s ease,
    box-shadow .22s ease;
}

.vehicle-card:hover {
  transform:translateY(-3px);
  border-color:#436F46 !important;
  box-shadow:0 18px 42px rgba(0,0,0,.35);
}

.card-media {
  background:#101711;
  overflow:hidden;
}

.card-media img {
  transition:transform .35s ease;
}

.vehicle-card:hover .card-media img {
  transform:scale(1.035);
}

.card-body {
  background:#141B16;
}

.card-body h3 {
  color:#F0F3EF !important;
  letter-spacing:-.2px;
}

.card-kicker,
.card-specs {
  color:#A0B0A2 !important;
}

.card-price {
  color:#DCEBDD !important;
}

.card-arrow {
  color:#79A27A !important;
}

.card-badge {
  border-radius:6px;
}

.save-button {
  border-radius:10px;
}

.results-line {
  color:#A6B4A6;
}

.text-button,
.quiet-button {
  border-color:#345739;
}

.footer {
  background:#0E1410;
  border-color:#345739;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline:2px solid #79A27A;
  outline-offset:3px;
}

@media(max-width:700px) {
  .command-hero {
    padding-top:28px !important;
    padding-bottom:24px !important;
  }

  .command-hero__grid {
    gap:22px;
  }

  .command-hero__title {
    line-height:1.12;
  }

  .command-hero__lede {
    line-height:1.55;
  }

  .command-hero__intel {
    border-radius:14px;
  }

  .search-bar {
    border-radius:12px !important;
  }

  .vehicle-grid {
    gap:14px;
  }

  .vehicle-card {
    border-radius:14px !important;
  }

  .vehicle-card:hover {
    transform:none;
  }
}

@media(prefers-reduced-motion:reduce) {
  .vehicle-card,
  .card-media img {
    transition:none !important;
  }
}
/* GP_BLACKLINE_V3_END */

/* GP_MUTED_GREEN_FIX_V2 */

/* Floating Ghost AI launcher */
a[href*="ai.ghostprotocols.tech"][class],
[class*="ask-ghost"],
[class*="ghost-ai-float"],
[class*="ghost-chat-float"] {
  background:#294A30 !important;
  background-image:linear-gradient(120deg,#294A30,#436F46) !important;
  color:#F4F7F4 !important;
  border-color:#648B69 !important;
  box-shadow:0 8px 26px rgba(0,0,0,.35) !important;
  transition:transform .25s ease,box-shadow .25s ease !important;
}

/* Enquiry action */
[class*="sticky-cta"],
[class*="enquiry-bar"],
[class*="enquire-bar"],
[class*="sticky"][class*="enquir"] {
  background:#294A30 !important;
  background-image:linear-gradient(110deg,#294A30,#436F46) !important;
  color:#F4F7F4 !important;
  border-color:#648B69 !important;
  box-shadow:0 -5px 22px rgba(0,0,0,.3) !important;
}

a[href*="ai.ghostprotocols.tech"][class]:hover,
[class*="ask-ghost"]:hover,
[class*="sticky-cta"]:hover {
  transform:translateY(-2px);
  box-shadow:0 12px 30px rgba(0,0,0,.4) !important;
}

@media(prefers-reduced-motion:reduce) {
  a[href*="ai.ghostprotocols.tech"][class],
  [class*="ask-ghost"],
  [class*="sticky-cta"] {
    transition:none !important;
  }
}
