/*
Client: Redline Carts
Industry / category: Authorized ICON EV / EPIC / Honor LSV / STAR EV golf-cart & LSV dealer; service, lithium conversions, rentals. Two West Valley lots.
Brand personality (from THEIR voice — site + reviews, not ours): family, local, low-pressure, useful.
Primary persona: Sun City West / West Valley resident (often 55+) who wants a street-legal cart for the community, errands, golf. Fear: getting hustled, waiting months, a battery that dies in Arizona heat. Desire: sit in a real cart today, know who to call when it needs work.
Secondary persona: Goodyear / Estrella family buying leisure/golf; snowbird with a tired lead-acid pack.
Customer journey: which lot is closer → what’s actually here (priced) → named humans + warranty → call or quote. Service/lithium are the keep-them loop.
Primary conversion: Call the closer lot (623-259-9590 Goodyear · 480-636-1991 Sun City West).
Secondary conversion: Inventory browse + quote form to sales@redlinecarts.com. Financing = Sheffield (existing dealer link). Service number 602-206-9042 is quieter.
Metaphor / design concept: THE TWO LOTS — a West Valley dealer catalog, not a manufacturer lifestyle lookbook.
Layout DNA: asphalt chrome + bone lot field. First screen is two lot tickets (the decision). Then a priced “on the lot now” board. Then one landscape product plate with caption UNDER the photo. Proof as named-review dockets. Brands as a dealer line card. No overlay headline on a cart. No 3 equal icon cards. No 01-02-03 process. No condensed-gold outdoor kennel DNA. No ICON-national dark lifestyle ads.
Opening module: Dual lot tickets + phones. Catalog immediately under. Photo plate after the ask.
Proof strategy: Priced in-stock carts (skeptic stays because the lot is real). Then Kim / Kyle / Dan / Greg named in Google quotes they already publish. FOX 10 AZAM + Estrella covers. BBB A+ (accredited 2025-09-02). Family, born-and-raised West Valley.
Type direction + logo-match rationale: REDLINE is a WIDE geometric bar-letter wordmark (stacked horizontals), not condensed. Unbounded for display (wide, sharp, contemporary geometric). Source Sans 3 for body/UI. Do not use Oswald/Bebas/Inter. Do not invert the lockup — red speed stripes must stay #DD152E.
Palette (sampled from mark): redline #DD152E, ink #111114, asphalt #161618, lot bone #F2EEE6, steel #6F6B66. Not ICON orange. Not AAR navy. Not CM BEEZ yellow/teal.
One signature move: a 3px redline that splits the two lots and underlines the wordmark — the tachometer of the brand, used as architecture not decoration.
Deliberate non-goals: no full-bleed overlay H1; no sticky CTA fighting lot-ticket buttons; no invented IG handle (footer social is empty); no expired Black Friday spin-to-win as current offer; no 64-star third-party aggregator claims; no cloning ICON Golf Cars national ads (same vehicles, different business).
Swap-test: CM BEEZ honey-drip or AAR navy/red roof on this layout would look wrong — this is a priced two-lot dealer board.
*/

:root {
  --red: #dd152e;
  --red-deep: #b10f24;
  --ink: #111114;
  --asphalt: #161618;
  --lot: #f2eee6;
  --paper: #faf8f4;
  --steel: #6f6b66;
  --line: #d8d2c6;
  --white: #fff;
  --shadow: 0 18px 40px rgba(17, 17, 20, 0.12);
  --max: 1180px;
  --gutter: clamp(1rem, 3vw, 2rem);
  --redline: 3px solid var(--red);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html:focus-within { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  font-family: "Source Sans 3", system-ui, sans-serif;
  color: var(--ink);
  background: var(--asphalt);
  line-height: 1.5;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, h4 {
  font-family: Unbounded, "Source Sans 3", sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 0.5em;
}
p { margin: 0 0 1em; }
.skip {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 80;
  background: var(--red);
  color: #fff;
  padding: 0.5rem 0.8rem;
}

/* ——— chrome ——— */
.brand-bar { height: 10px; background: var(--red); }
.util {
  background: var(--asphalt);
  color: #cfc9c0;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.util-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.45rem var(--gutter);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.util a { color: #fff; text-decoration: none; }
.util a:hover { color: var(--red); }
.util .hide-sm { display: none; }
@media (min-width: 820px) {
  .util .hide-sm { display: inline; }
}

.site-header {
  background: var(--asphalt);
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid #2a2a2e;
}
.site-header.is-stuck { box-shadow: 0 8px 24px rgba(0,0,0,.35); }
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.7rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}
.logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}
.logo img {
  width: clamp(132px, 28vw, 168px);
  height: auto;
}
.nav-toggle {
  display: inline-flex;
  background: transparent;
  border: 1px solid #3a3a40;
  color: #fff;
  padding: 0.45rem 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
  cursor: pointer;
}
.nav-toggle:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.nav {
  display: none;
}
.nav a {
  text-decoration: none;
  color: #ece8e1;
  font-size: 0.92rem;
  font-weight: 600;
}
.nav a:hover { color: #fff; }
.nav-item { position: relative; }
.nav-sub {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #0d0d0f;
  border-top: var(--redline);
  padding: 0.55rem 0;
  z-index: 50;
}
.nav-sub a {
  display: block;
  padding: 0.4rem 0.9rem;
  white-space: nowrap;
  font-size: 0.88rem;
}
.nav-item:hover .nav-sub,
.nav-item:focus-within .nav-sub { display: block; }
.nav .cta {
  background: var(--red);
  color: #fff !important;
  padding: 0.55rem 0.9rem;
  display: inline-block;
}
.nav .cta:hover { background: var(--red-deep); }

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1rem var(--gutter) 1.4rem;
  background: #0d0d0f;
  border-top: var(--redline);
}
.nav-mobile.is-open { display: flex; }
.nav-mobile a { color: #fff; text-decoration: none; font-weight: 600; }
@media (min-width: 980px) {
  .nav-toggle { display: none; }
  .nav {
    display: flex;
    align-items: center;
    gap: 1.15rem;
  }
  .nav-mobile,
  .nav-mobile.is-open {
    display: none !important;
  }
}

/* ——— buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-decoration: none;
  padding: 0.85rem 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 0;
  cursor: pointer;
  line-height: 1.2;
}
a.btn, a.btn:visited { text-decoration: none; }
.btn--red { background: var(--red); color: #fff !important; }
.btn--red:hover { background: var(--red-deep); }
.btn--ghost {
  background: transparent;
  color: #fff !important;
  border: 1px solid #fff;
}
.btn--ghost:hover { background: #fff; color: var(--ink) !important; }
.btn--ink {
  background: var(--ink);
  color: #fff !important;
}
.btn--ink:hover { background: #000; }
.btn--ghost-ink {
  background: transparent;
  border: 1px solid var(--ink);
  color: var(--ink) !important;
}
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.kicker {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 0.55rem;
}
.kicker--light { color: #f3b3bb; }

/* film first — product is the opening, type sits UNDER the carts */
.film { background: #000; margin: 0; }
.film img {
  width: 100%;
  height: auto;
  display: block;
  background: #000;
}
@media (min-width: 760px) {
  .film img {
    height: min(72vh, 760px);
    object-fit: cover;
    object-position: center 62%;
  }
}

/* ——— opening: two lots ——— */
.lots-open {
  background: var(--lot);
  color: var(--ink);
  padding: clamp(1.4rem, 3.5vw, 2.4rem) 0 0;
}
.lots-open h1 {
  font-size: clamp(2rem, 5.4vw, 3.7rem);
  max-width: 16ch;
}
.lede {
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  color: #3b3834;
  max-width: 46ch;
}
.lot-grid {
  display: grid;
  gap: 0;
  margin-top: 1.6rem;
  border-top: var(--redline);
  grid-template-columns: 1fr;
}
@media (min-width: 860px) {
  .lot-grid {
    grid-template-columns: 1fr 3px 1fr;
  }
}
.lot-rule {
  background: var(--red);
  min-height: 3px;
}
.lot-ticket {
  padding: 1.4rem 0 1.7rem;
}
@media (min-width: 860px) {
  .lot-ticket--gy { padding-right: 1.6rem; }
  .lot-ticket--scw { padding-left: 1.6rem; }
}
.lot-ticket h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  margin-bottom: 0.2rem;
}
.lot-meta { color: var(--steel); margin: 0 0 0.9rem; font-size: 0.98rem; }
.lot-phone {
  font-family: Unbounded, sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.05rem);
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 0.85rem;
  letter-spacing: -0.03em;
}
.lot-phone:hover { color: var(--red); }
.lot-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }

#hero-ctas { display: block; }

/* ——— catalog board ——— */
.board {
  background: var(--paper);
  padding: clamp(2rem, 5vw, 3.4rem) 0;
}
.board-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
}
.filters {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.filter {
  border: 1px solid var(--line);
  background: transparent;
  padding: 0.4rem 0.75rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.88rem;
}
.filter.is-on, .filter:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.catalog {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  gap: 1rem;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-width: 0;
  color: inherit;
}
.card > a {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.card-meta {
  margin: 0 0 0.35rem;
  font-size: 0.82rem;
  color: var(--steel);
}
.inv-jump {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin: 1rem 0 1.1rem;
}
.inv-jump a {
  border: 1px solid var(--line);
  padding: 0.5rem 0.75rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  background: #fff;
}
.inv-jump a:hover { border-color: var(--ink); }
.sort-bar {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-weight: 600;
  max-width: 22rem;
}
.sort-bar select {
  width: 100%;
  padding: 0.75rem 0.8rem;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 1rem;
}
.inv-h3 {
  font-size: 1.12rem;
  margin: 2rem 0 0.75rem;
}
#lot, #specials, #order, #goodyear, #scw, #lithium,
#order-golf, #order-leisure, #order-utility, #order-eco, #order-gas {
  scroll-margin-top: 5.5rem;
}
.card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  background: #ece8e0;
}
.card-body { padding: 0.85rem 0.9rem 1rem; }
.chip {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 0.3rem;
}
.card h3 {
  font-size: 1.02rem;
  margin: 0 0 0.35rem;
  letter-spacing: -0.02em;
}
.price {
  font-family: Unbounded, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
}
.price small { font-family: "Source Sans 3", sans-serif; font-weight: 600; color: var(--steel); font-size: 0.82rem; }

/* ——— photo plate (caption UNDER — never overlay the cart) ——— */
.plate {
  background: var(--asphalt);
  color: #fff;
}
.plate img {
  width: 100%;
  max-height: min(78vh, 820px);
  object-fit: cover;
  object-position: center 62%;
}
.plate figcaption {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.1rem var(--gutter) 1.5rem;
  color: #cfc9c0;
  font-size: 0.95rem;
}
.plate strong { color: #fff; }

/* ——— chapters ——— */
.chapter {
  padding: clamp(2.2rem, 6vw, 4.2rem) 0;
}
.chapter--lot { background: var(--lot); }
.chapter--paper { background: var(--paper); }
.chapter--ink { background: var(--ink); color: #fff; }
.chapter--ink .lede, .chapter--ink p { color: #d4cfc6; }
.split {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1.05fr 0.95fr; gap: 2.4rem; }
  .split--flip { grid-template-columns: 0.95fr 1.05fr; }
  .split--flip .copy { order: -1; }
}
.split img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}
.split .copy { align-self: start; }

.roster {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 1.2rem;
}
@media (min-width: 760px) {
  .roster { grid-template-columns: 1fr 1fr; }
}
.roster a, .roster article {
  background: var(--paper);
  padding: 1.15rem 1.2rem;
  text-decoration: none;
  color: inherit;
  display: block;
}
.roster a:hover { background: #fff; }
.roster h3 { font-size: 1.2rem; margin-bottom: 0.25rem; }

.dockets {
  display: grid;
  gap: 1rem;
}
@media (min-width: 800px) {
  .dockets { grid-template-columns: 1.4fr 1fr 1fr; }
}
.docket {
  background: #fff;
  border-top: var(--redline);
  padding: 1.2rem 1.15rem 1.3rem;
  box-shadow: var(--shadow);
}
.docket.featured { grid-row: span 1; }
.docket blockquote {
  margin: 0 0 0.9rem;
  font-size: 1.05rem;
}
.docket footer { color: var(--steel); font-size: 0.88rem; font-weight: 600; }

.facts {
  display: grid;
  gap: 0.8rem;
  margin: 1.2rem 0;
}
@media (min-width: 700px) {
  .facts { grid-template-columns: repeat(3, 1fr); }
}
.fact {
  border-left: var(--redline);
  padding: 0.2rem 0 0.2rem 0.9rem;
}
.fact b { display: block; font-family: Unbounded, sans-serif; font-size: 1.05rem; }

/* ——— interiors ——— */
.page-hero {
  background: var(--lot);
  padding: clamp(1.8rem, 4vw, 3rem) 0 2rem;
  border-bottom: var(--redline);
}
.page-hero h1 { font-size: clamp(1.9rem, 4.5vw, 3.1rem); max-width: 18ch; }
main { flex: 1; background: var(--paper); }
@media (max-width: 979px) {
  main { padding-bottom: 4.2rem; }
}

.prose { max-width: 68ch; }
.prose a { color: var(--red-deep); }
.prose a.btn, .prose a.btn--red, .prose a.btn--ink { color: #fff !important; }
.specs {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.98rem;
}
.specs th, .specs td {
  text-align: left;
  padding: 0.55rem 0.4rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.specs th { width: 38%; color: var(--steel); font-weight: 600; }

.form {
  display: grid;
  gap: 0.7rem;
  max-width: 36rem;
}
.form label { font-weight: 600; font-size: 0.92rem; }
.form input, .form select, .form textarea {
  width: 100%;
  padding: 0.7rem 0.75rem;
  border: 1px solid var(--line);
  background: #fff;
}
.form textarea { min-height: 8rem; }
.form button { justify-self: start; }
.form-note { font-size: 0.88rem; color: var(--steel); }
.form-success {
  display: none;
  background: #fff;
  border-left: var(--redline);
  padding: 1rem 1.1rem;
}
.form.is-ok { display: none; }
.form.is-ok + .form-success { display: block; }

.map-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 800px) {
  .map-grid { grid-template-columns: 1fr 1fr; }
}
.map-grid iframe {
  width: 100%;
  height: 240px;
  border: 0;
  filter: grayscale(0.2);
}

/* sticky mobile CTA */
.sticky-cta {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 30;
  background: var(--red);
  color: #fff;
  text-align: center;
  padding: 0.85rem 1rem;
  text-decoration: none;
  font-weight: 700;
}
.sticky-cta.is-show { display: block; }
@media (min-width: 980px) {
  .sticky-cta, .sticky-cta.is-show { display: none !important; }
}

footer.site {
  background: #0d0d0f;
  color: #cfc9c0;
  padding: 2.2rem 0 1.4rem;
  margin-top: auto;
  border-top: 3px solid var(--red);
}
footer.site a { color: #fff; text-decoration: none; }
footer.site a:hover { color: var(--red); }
.foot-grid {
  display: grid;
  gap: 1.4rem;
}
@media (min-width: 800px) {
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
.colophon {
  background: #080809;
  color: #8a8680;
  font-size: 0.78rem;
  padding: 1rem 0 1.4rem;
  border-top: 1px solid #222;
}
.colophon a { color: #cfc9c0; }
.colophon p { margin: 0 0 0.35rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}
