:root {
  --black: #080807;
  --charcoal: #141412;
  --sand: #d2a563;
  --sand-light: #f0d39b;
  --red: #a62b20;
  --red-bright: #d13d2e;
  --cream: #f5efe5;
  --muted: #b7b0a5;
  --line: rgba(210,165,99,.27);
  --wrap: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--cream); background: var(--black); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.wrap { width: var(--wrap); margin-inline: auto; }
.section { padding-block: 96px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 100; padding: 10px 16px; background: white; color: black; }
.skip-link:focus { top: 20px; }

.site-header { position: fixed; z-index: 50; top: 0; left: 0; right: 0; min-height: 82px; display: flex; align-items: center; justify-content: space-between; padding: 12px max(24px, calc((100vw - 1180px)/2)); transition: background .25s, box-shadow .25s; }
.site-header.scrolled { background: rgba(8,8,7,.96); box-shadow: 0 1px 0 rgba(255,255,255,.08); backdrop-filter: blur(12px); }
.brand { display: flex; align-items: center; gap: 12px; text-transform: uppercase; letter-spacing: .08em; }
.brand-logo { width: 62px; height: 62px; object-fit: cover; border: 1px solid rgba(255,255,255,.12); border-radius: 5px; box-shadow: 0 6px 22px rgba(0,0,0,.35); }
.brand strong { display: block; font-size: .95rem; line-height: 1.2; }
.brand small { display: block; margin-top: 4px; color: var(--sand); font-size: .65rem; font-weight: 700; }
.site-nav { display: flex; align-items: center; gap: 28px; font-size: .83rem; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.site-nav a:not(.nav-cta) { color: #eee7dc; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--sand-light); }
.nav-cta { padding: 11px 16px; background: var(--red); border: 1px solid #d94b3b; }
.menu-button { display: none; border: 0; background: transparent; padding: 10px; }
.menu-button span:not(.sr-only) { display: block; width: 26px; height: 2px; background: white; margin: 5px; }

.hero { position: relative; min-height: 780px; display: flex; align-items: flex-end; overflow: hidden; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 56% center; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.64) 39%, rgba(0,0,0,.1) 72%), linear-gradient(0deg, #080807 0%, transparent 26%, rgba(0,0,0,.18) 100%); }
.hero-content { position: relative; z-index: 1; padding-block: 180px 62px; }
.eyebrow { margin: 0 0 16px; color: var(--sand); font-size: .76rem; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; line-height: 1.05; }
h1, h2 { font-family: "Arial Narrow", Impact, Haettenschweiler, sans-serif; text-transform: uppercase; letter-spacing: .025em; }
h1 { max-width: 770px; margin-bottom: 22px; font-size: clamp(3.4rem, 7vw, 6.8rem); }
h1 span { color: var(--sand-light); }
.hero-copy { max-width: 660px; margin: 0 0 30px; color: #e8e1d7; font-size: 1.12rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 13px 20px; border: 1px solid transparent; font-size: .83rem; font-weight: 900; letter-spacing: .08em; line-height: 1.3; text-align: center; text-transform: uppercase; transition: transform .18s, background .18s, border-color .18s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--red); border-color: var(--red-bright); color: white; }
.button-primary:hover { background: #bd3427; }
.button-ghost { border-color: rgba(255,255,255,.58); background: rgba(0,0,0,.26); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 18px 34px; margin-top: 54px; color: #d8d0c5; font-size: .78rem; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.hero-meta span { position: relative; }
.hero-meta span + span::before { content: ""; position: absolute; left: -19px; top: 50%; width: 5px; height: 5px; background: var(--sand); transform: translateY(-50%) rotate(45deg); }

.intro { display: grid; grid-template-columns: 1.25fr .75fr; gap: 30px 80px; }
.section-heading h2, .capabilities-title h2, .support h2, .quote h2, .contact h2 { margin-bottom: 0; font-size: clamp(2.6rem, 5vw, 4.7rem); }
.intro-copy { padding-top: 33px; color: var(--muted); }
.intro-copy p { margin-top: 0; }
.text-link { display: inline-block; margin-top: 10px; color: var(--sand-light); font-weight: 800; }
.text-link span { display: inline-block; margin-left: 6px; transition: transform .18s; }
.text-link:hover span { transform: translateX(5px); }
.platform-grid { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 34px; border: 1px solid var(--line); }
.platform-card { min-height: 250px; padding: 28px; background: #10100e; }
.platform-card + .platform-card { border-left: 1px solid var(--line); }
.platform-card > span { color: var(--red-bright); font-size: .72rem; font-weight: 900; letter-spacing: .14em; }
.platform-card h3 { margin: 56px 0 14px; font-size: 1.35rem; }
.platform-card p { margin: 0; color: var(--muted); font-size: .92rem; }

.capabilities { background: var(--cream); color: var(--black); }
.capabilities-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; align-items: start; }
.capabilities-title { position: sticky; top: 120px; }
.capabilities-title p:not(.eyebrow) { color: #5e5a53; }
.button-dark { margin-top: 20px; background: var(--black); color: white; }
.feature-list article { display: grid; grid-template-columns: 76px 1fr; gap: 26px; padding: 30px 0; border-top: 1px solid rgba(8,8,7,.18); }
.feature-list article:last-child { border-bottom: 1px solid rgba(8,8,7,.18); }
.feature-list article > span { align-self: start; padding-top: 6px; color: var(--red); font-size: .68rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.feature-list h3 { margin-bottom: 9px; font-size: 1.35rem; }
.feature-list p { margin: 0; color: #5e5a53; }

.gallery { padding-bottom: 84px; }
.gallery-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.gallery-heading > p { max-width: 450px; margin: 0 0 8px; color: var(--muted); }
.gallery-grid { display: grid; grid-template-columns: 1.45fr .55fr; grid-template-rows: repeat(2, 300px); gap: 16px; margin-top: 44px; }
.gallery-grid figure { position: relative; min-height: 600px; margin: 0; overflow: hidden; background: #1d1c19; }
.gallery-grid .gallery-main { grid-row: 1 / 3; }
.gallery-grid figure:not(.gallery-main) { min-height: 0; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; }
.gallery-grid figure:not(.gallery-main) img { object-position: center; }
.gallery-grid figcaption { position: absolute; left: 18px; bottom: 18px; padding: 8px 11px; background: rgba(0,0,0,.78); color: #ddd5ca; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.build-details { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.build-details span { padding: 8px 12px; border: 1px solid var(--line); color: #d8d1c7; font-size: .78rem; }

.support { border-block: 1px solid var(--line); background: #11110f; }
.support-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.support-copy { color: var(--muted); }
.support-copy p { margin: 0; }
.support-copy p + p { margin-top: 18px; color: var(--sand-light); }

.quote { background: linear-gradient(120deg, #260b08, #761d16); }
.quote-card { display: grid; grid-template-columns: 1.2fr .8fr; gap: 90px; align-items: center; }
.quote-card > div:first-child > p:last-child { max-width: 700px; color: #e3cbc7; }
.quote-actions { display: grid; gap: 12px; }
.button-outline { border-color: rgba(255,255,255,.55); }
.quote-actions small { margin-top: 4px; color: #d3aaa4; line-height: 1.45; }

.contact { background: #0d0d0c; }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
.contact address { display: grid; font-style: normal; }
.contact address a, .contact address > div { display: grid; grid-template-columns: 130px 1fr; gap: 20px; padding: 20px 0; border-top: 1px solid var(--line); }
.contact address > *:last-child { border-bottom: 1px solid var(--line); }
.contact address span { color: var(--muted); font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.contact address strong { overflow-wrap: anywhere; }
.contact address a:hover strong { color: var(--sand-light); }

footer { padding: 26px 0 88px; color: #918a80; font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-logo { width: 104px; height: 104px; object-fit: cover; border-radius: 7px; border: 1px solid rgba(255,255,255,.1); }
.mobile-quote { display: none; }

@media (max-width: 900px) {
  .section { padding-block: 74px; }
  .menu-button { display: block; z-index: 2; }
  .site-nav { position: fixed; inset: 0 0 auto 0; display: grid; justify-items: center; gap: 20px; padding: 110px 24px 34px; background: rgba(8,8,7,.98); transform: translateY(-110%); transition: transform .25s; }
  .site-nav.open { transform: translateY(0); }
  .site-nav a { font-size: 1rem; }
  .hero { min-height: 760px; }
  .hero > img { object-position: 57% center; }
  .hero-shade { background: linear-gradient(0deg, #080807 0%, rgba(0,0,0,.67) 55%, rgba(0,0,0,.25) 100%); }
  .hero-content { padding-top: 150px; }
  .intro, .capabilities-layout, .support-layout, .quote-card, .contact-layout { grid-template-columns: 1fr; gap: 36px; }
  .intro-copy { padding-top: 0; }
  .platform-grid { grid-template-columns: 1fr 1fr; }
  .platform-card:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .platform-card:nth-child(4) { border-top: 1px solid var(--line); }
  .capabilities-title { position: static; }
  .gallery-heading { display: block; }
  .gallery-heading > p { margin-top: 18px; }
  .gallery-grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .gallery-grid .gallery-main { grid-row: auto; }
  .gallery-grid figure { min-height: 460px; }
  .gallery-grid figure:not(.gallery-main) { min-height: 650px; }
}

@media (max-width: 560px) {
  :root { --wrap: min(100% - 28px, 1180px); }
  .site-header { min-height: 72px; padding-inline: 14px; }
  .brand-logo { width: 48px; height: 48px; }
  .brand strong { font-size: .78rem; }
  .hero { min-height: 780px; }
  .hero-content { padding-bottom: 46px; }
  h1 { font-size: clamp(3.15rem, 16vw, 4.9rem); }
  .hero-actions .button { width: 100%; }
  .hero-meta { display: grid; gap: 10px; margin-top: 34px; }
  .hero-meta span + span::before { display: none; }
  .section-heading h2, .capabilities-title h2, .support h2, .quote h2, .contact h2 { font-size: 2.65rem; }
  .platform-grid { grid-template-columns: 1fr; }
  .platform-card { min-height: 205px; }
  .platform-card + .platform-card { border-left: 0; border-top: 1px solid var(--line); }
  .platform-card h3 { margin-top: 36px; }
  .feature-list article { grid-template-columns: 1fr; gap: 8px; }
  .gallery-grid figure, .gallery-grid figure:not(.gallery-main) { min-height: 410px; }
  .gallery-main img { object-position: 57% center; }
  .contact address a, .contact address > div { grid-template-columns: 1fr; gap: 4px; }
  .footer-inner { display: grid; justify-items: start; }
  .mobile-quote { position: fixed; z-index: 45; left: 12px; right: 12px; bottom: 10px; display: block; padding: 13px 18px; background: var(--red); border: 1px solid var(--red-bright); box-shadow: 0 8px 30px rgba(0,0,0,.45); color: white; font-size: .78rem; font-weight: 900; letter-spacing: .09em; text-align: center; text-transform: uppercase; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* Keep featured vehicles together, with existing Jeep detail views below. */
.gallery-with-truck { grid-template-columns: 1fr 1fr; grid-template-rows: 410px 300px; }
.gallery-with-truck .gallery-main { grid-row: auto; min-height: 0; }
.gallery-with-truck .gallery-truck img { object-fit: contain; }
@media (max-width: 900px) {
  .gallery-with-truck { grid-template-columns: 1fr; grid-template-rows: none; }
  .gallery-with-truck .gallery-main { min-height: 460px; }
  .gallery-with-truck .gallery-truck { min-height: 0; aspect-ratio: 3 / 2; }
}
@media (max-width: 560px) {
  .gallery-with-truck .gallery-main { min-height: 410px; }
}
