/* ==========================================================================
   3 LANDSCAPE LLC — Design tokens
   Direction: the client's own logo is a NASCAR-style race number livery
   (chrome italic wordmark, red "3" badge, black field). One of their own
   crew literally does irrigation at Daytona. Instead of a generic
   landscaping template (leaf icons, greens, rounded cards), this leans
   into that: pit-lane black + racing red + brushed chrome, condensed
   competition type, torque/spec-sheet numbers, diagonal livery stripes,
   work-order tags for services, and a grainy field-photo filmstrip.
   ========================================================================== */

:root {
  /* Color */
  --void:        #0b0b0c;   /* primary background */
  --asphalt:     #17181b;   /* card / section surface */
  --asphalt-2:   #1f2124;   /* raised surface */
  --line:        #2b2d31;   /* hairlines on dark */
  --race-red:    #d81f2a;   /* logo red */
  --race-red-dim:#8f1017;
  --chrome-hi:   #f2f3f5;   /* chrome gradient highlight */
  --chrome-lo:   #9aa0a6;   /* chrome gradient shadow */
  --amber:       #e2792f;   /* pulled from the sunset field photos */
  --paper:       #f2f0ea;   /* light section background */
  --paper-ink:   #17181b;   /* text on paper */
  --ash:         #8b8d92;   /* muted text on dark */

  /* Type */
  --display: "Anton", "Arial Narrow", sans-serif;
  --body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", "Courier New", monospace;

  /* Scale */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.75rem;
  --space-4: 3rem;
  --space-5: 5rem;
  --space-6: 8rem;

  --radius: 2px; /* deliberately near-square — this brand isn't soft */
  --container: 1180px;
}

/* ---------------------------------------------------------------------- */
/* Reset                                                                   */
/* ---------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--void);
  color: var(--chrome-hi);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 400; letter-spacing: 0.01em; text-transform: uppercase; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

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

.eyebrow {
  font-family: var(--mono);
  font-size: 1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--race-red);
  font-weight: 500;
}
.eyebrow::before { content: "// "; color: var(--ash); }

.chrome-text {
  background: linear-gradient(180deg, var(--chrome-hi) 0%, var(--chrome-lo) 55%, var(--chrome-hi) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------------------------------------------------------------------- */
/* Buttons                                                                 */
/* ---------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.88rem;
  padding: 0.95em 1.6em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--race-red);
  color: #fff;
}
.btn-primary:hover { background: #ef2530; }

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--chrome-hi);
}
.btn-ghost:hover { border-color: var(--chrome-hi); }

.btn-dark {
  background: var(--void);
  color: var(--paper);
  border-color: var(--void);
}
.btn-dark:hover { background: #000; }

/* ---------------------------------------------------------------------- */
/* Header / Nav                                                            */
/* ---------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 11, 12, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-header::after {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--race-red) 0%, var(--race-red) 60%, var(--amber) 100%);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem var(--space-3);
  max-width: var(--container);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--display);
  font-size: 1.1rem;
  letter-spacing: 0.03em;
}
.brand img { height: 52px; width: auto; }
.brand small {
  display: block;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  color: var(--ash);
  text-transform: uppercase;
  margin-top: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.nav-links a {
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ash);
  position: relative;
  padding: 0.3em 0;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--chrome-hi); }
.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--race-red);
}
.nav-cta { display: flex; align-items: center; gap: var(--space-2); }
.nav-phone {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--chrome-hi);
  white-space: nowrap;
}
.nav-phone span { color: var(--ash); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: var(--chrome-hi);
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
}
.nav-toggle svg { width: 18px; height: 18px; }

@media (max-width: 900px) {
  .nav-links { position: fixed; inset: 84px 0 0 0; background: var(--void); flex-direction: column; align-items: flex-start; padding: var(--space-4) var(--space-3); gap: var(--space-3); transform: translateX(100%); transition: transform 0.25s ease; overflow-y: auto; }
  .nav-links.is-open { transform: translateX(0); }
  .nav-links a { font-size: 1.1rem; }
  .nav-phone { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* ---------------------------------------------------------------------- */
/* Hero                                                                     */
/* ---------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(11,11,12,0.45) 0%, rgba(11,11,12,0.88) 78%, var(--void) 100%),
    url('../images/crew.jpg') center 42%/cover no-repeat;
  padding: var(--space-6) 0 var(--space-5);
  border-bottom: 1px solid var(--line);
}
.hero-stripes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.9;
}
.hero-stripes span {
  position: absolute;
  top: -20%;
  bottom: -20%;
  width: 14vw;
  transform: skewX(-12deg);
}
.hero-stripes span:nth-child(1) { right: 6vw; background: var(--race-red); opacity: 0.7; width: 9vw; }
.hero-stripes span:nth-child(2) { right: 16vw; background: var(--asphalt-2); width: 5vw; opacity: 0.6; }
.hero-stripes span:nth-child(3) { right: -4vw; background: var(--amber); opacity: 0.4; width: 4vw; }

.hero-inner { position: relative; max-width: 640px; }
.hero-inner .eyebrow { margin-bottom: var(--space-2); display: block; }
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 0.98;
  margin-bottom: var(--space-3);
}
.hero p.lede {
  font-size: 1.15rem;
  color: #d7d8db;
  max-width: 46ch;
  margin-bottom: var(--space-4);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-5); }

.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  position: relative;
}
.stat-strip div { padding: var(--space-3) 0 0; border-left: 1px solid var(--line); padding-left: var(--space-3); }
.stat-strip div:first-child { border-left: none; padding-left: 0; }
.stat-num { font-family: var(--display); font-size: 2.1rem; color: var(--chrome-hi); display: block; }
.stat-label { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ash); }

@media (max-width: 700px) {
  .stat-strip { grid-template-columns: 1fr; gap: var(--space-2); }
  .stat-strip div { border-left: none; padding-left: 0; border-top: 1px solid var(--line); padding-top: var(--space-2); }
  .stat-strip div:first-child { border-top: none; padding-top: 0; }
}

/* ---------------------------------------------------------------------- */
/* Section scaffolding                                                     */
/* ---------------------------------------------------------------------- */
.section { padding: var(--space-5) 0; }
.section-dark { background: var(--void); }
.section-asphalt { background: var(--asphalt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-paper { background: var(--paper); color: var(--paper-ink); }
.section-head { max-width: 640px; margin-bottom: var(--space-4); }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin: 0.4em 0 0.5em; }
.section-head p { color: var(--ash); font-size: 1.05rem; }
.section-paper .section-head p { color: #55575c; }
.section-foot { margin-top: var(--space-4); }

/* ---------------------------------------------------------------------- */
/* Services teaser grid (home)                                             */
/* ---------------------------------------------------------------------- */
.teaser-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.teaser-card {
  flex: 1 1 210px;
  background: var(--asphalt);
  padding: var(--space-3);
  transition: background 0.15s ease;
}
.teaser-card:hover { background: var(--asphalt-2); }
.teaser-card .tag { font-family: var(--mono); color: var(--race-red); font-size: 0.75rem; }
.teaser-card h3 { font-size: 1.05rem; margin: 0.6em 0 0.4em; }
.teaser-card p { color: var(--ash); font-size: 0.92rem; margin: 0; }

/* ---------------------------------------------------------------------- */
/* Work-order service cards (services page)                                */
/* ---------------------------------------------------------------------- */
.order-list { display: flex; flex-direction: column; }
.order-card {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.order-list .order-card:last-child { border-bottom: 1px solid var(--line); }
.order-num {
  font-family: var(--display);
  font-size: 2.6rem;
  color: var(--race-red);
  line-height: 1;
}
.order-num small { display: block; font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.14em; color: var(--ash); text-transform: uppercase; margin-top: 0.4em; }
.order-body h3 { font-size: 1.3rem; margin-bottom: 0.4em; }
.order-body p { color: var(--ash); margin: 0; max-width: 60ch; }

@media (max-width: 620px) {
  .order-card { grid-template-columns: 1fr; gap: 0.6rem; }
}

/* ---------------------------------------------------------------------- */
/* Field photo filmstrip                                                   */
/* ---------------------------------------------------------------------- */
.filmstrip {
  display: flex;
  gap: var(--space-2);
  overflow-x: auto;
  padding: var(--space-2) 0 var(--space-3);
  scrollbar-width: thin;
}
.filmstrip figure {
  flex: 0 0 auto;
  width: 210px;
  margin: 0;
  background: var(--asphalt);
  border: 1px solid var(--line);
  padding: 8px 8px 12px;
}
.filmstrip img { width: 100%; height: 140px; object-fit: cover; filter: saturate(1.05) contrast(1.05); }
.filmstrip figcaption { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.06em; color: var(--ash); text-transform: uppercase; margin-top: 8px; }

/* ---------------------------------------------------------------------- */
/* Crew card (about)                                                       */
/* ---------------------------------------------------------------------- */
.crew-photo-frame {
  border: 1px solid var(--line);
  padding: 10px;
  background: var(--asphalt);
  margin-bottom: var(--space-4);
}
.crew-photo-frame img { width: 100%; height: auto; }
.crew-photo-frame figcaption { font-family: var(--mono); font-size: 0.72rem; color: var(--ash); text-transform: uppercase; letter-spacing: 0.08em; padding-top: 8px; }

.pit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}
@media (max-width: 820px) { .pit-grid { grid-template-columns: 1fr; } }

.pit-card {
  background: var(--asphalt);
  border: 1px solid var(--line);
  padding: var(--space-3);
  position: relative;
}
.pit-badge {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--race-red);
  color: #fff;
  font-family: var(--display);
  font-size: 1.5rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-2);
  border: 2px solid var(--chrome-hi);
}
.pit-card h3 { font-size: 1.2rem; margin-bottom: 0.1em; }
.pit-role { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--amber); display: block; margin-bottom: 0.8em; }
.pit-card p { color: var(--ash); font-size: 0.94rem; margin: 0; }
.pit-card p + p { margin-top: 0.6em; }

/* ---------------------------------------------------------------------- */
/* Contact                                                                  */
/* ---------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-5);
  align-items: start;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: var(--space-4); } }

.field { margin-bottom: var(--space-2); }
.field label {
  display: block;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ash);
  margin-bottom: 0.5em;
}
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--asphalt-2);
  border: 1px solid var(--line);
  color: var(--chrome-hi);
  font-family: var(--body);
  font-size: 0.98rem;
  padding: 0.8em 0.9em;
  border-radius: var(--radius);
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--race-red);
  outline: none;
}
.field textarea { resize: vertical; min-height: 120px; }
.honeypot { position: absolute; left: -9999px; }

.contact-card { background: var(--asphalt); border: 1px solid var(--line); padding: var(--space-3); }
.contact-card + .contact-card { margin-top: var(--space-2); }
.contact-card .eyebrow { display: block; margin-bottom: 0.6em; }
.contact-line { display: flex; align-items: baseline; justify-content: space-between; padding: 0.55em 0; border-top: 1px solid var(--line); }
.contact-line:first-of-type { border-top: none; }
.contact-line span:first-child { color: var(--ash); font-size: 0.85rem; }
.contact-line a, .contact-line strong { font-family: var(--mono); font-size: 0.95rem; }

.service-area-banner {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--race-red);
  color: #fff;
  padding: var(--space-2) var(--space-3);
  margin-top: var(--space-3);
}
.service-area-banner strong { font-family: var(--display); font-size: 1.1rem; letter-spacing: 0.02em; }
.service-area-banner span { font-family: var(--mono); font-size: 0.78rem; opacity: 0.85; }

/* ---------------------------------------------------------------------- */
/* CTA band                                                                 */
/* ---------------------------------------------------------------------- */
.cta-band {
  background: var(--asphalt);
  border-top: 1px solid var(--line);
  padding: var(--space-4) 0;
  text-align: center;
}
.cta-band h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin-bottom: 0.6em; }
.cta-band .actions { display: flex; justify-content: center; gap: var(--space-2); flex-wrap: wrap; }

/* ---------------------------------------------------------------------- */
/* Footer                                                                   */
/* ---------------------------------------------------------------------- */
.site-footer {
  background: var(--void);
  border-top: 1px solid var(--line);
  padding: var(--space-4) 0 var(--space-3);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; gap: var(--space-3); } }
.footer-grid h4 { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; color: var(--ash); text-transform: uppercase; margin-bottom: 0.9em; }
.footer-grid ul li { margin-bottom: 0.55em; font-size: 0.92rem; }
.footer-grid ul a:hover { color: var(--race-red); }
.footer-brand { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.8em; }
.footer-brand img { height: 30px; }
.footer-tag { color: var(--ash); font-size: 0.88rem; max-width: 34ch; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
  border-top: 1px solid var(--line);
  padding-top: var(--space-2);
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--ash);
  letter-spacing: 0.04em;
}

/* ---------------------------------------------------------------------- */
/* Page hero (inner pages)                                                 */
/* ---------------------------------------------------------------------- */
.page-hero {
  background: var(--void);
  border-bottom: 1px solid var(--line);
  padding: var(--space-5) 0 var(--space-4);
  position: relative;
  overflow: hidden;
}
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin: 0.4em 0 0.3em; }
.page-hero p { color: #d7d8db; max-width: 56ch; font-size: 1.05rem; margin: 0; }
