
:root {
  --bg: #0d0e0e;
  --panel: #151716;
  --soft: #1d201e;
  --text: #f4f3ee;
  --muted: #aaa99f;
  --accent: #d9ff62;
  --line: #2a2d2a;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

.wrap {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.hero {
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  position: relative;
  background:
    linear-gradient(270deg, rgba(8,10,9,.88) 0%, rgba(8,10,9,.66) 46%, rgba(8,10,9,.26) 73%, rgba(8,10,9,.16) 100%),
    url("tahoe-finish.jpg") center 38% / cover no-repeat;
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,.18);
  position: relative;
  z-index: 2;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(6px);
}

.brand img {
  width: 88px;
  height: auto;
  display: block;
  background: transparent;
  filter: brightness(0) invert(1) drop-shadow(0 8px 20px rgba(0, 0, 0, 0.35));
}

.links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: .92rem;
  color: #f1f1eb;
}

.hero-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  padding: 90px 0 110px;
  position: relative;
  z-index: 1;
}

.hero-inner > * {
  width: 48%;
  max-width: 620px;
  margin-left: auto;
}

.eyebrow {
  font-size: .77rem;
  font-weight: 800;
  letter-spacing: .2em;
  color: var(--accent);
  margin: 0 0 20px;
}

h1 {
  font-size: clamp(4rem, 10vw, 8.5rem);
  line-height: .86;
  letter-spacing: -.06em;
  margin: 0;
  max-width: 900px;
}

h2 {
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  line-height: 1;
  letter-spacing: -.045em;
  margin: 0 0 24px;
}

h3 {
  margin: 14px 0 12px;
  font-size: 1.55rem;
  line-height: 1.15;
}

.lede {
  max-width: 720px;
  color: #dfdfd8;
  font-size: 1.2rem;
  margin: 34px 0 0;
}

.actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.button {
  display: inline-block;
  background: var(--accent);
  color: #111;
  padding: 14px 20px;
  border-radius: 999px;
  font-weight: 800;
}

.button.small { padding: 9px 14px; }

.text-link { color: #f0f0eb; font-weight: 700; }

.section { padding: 110px 0; }

.two-col {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 80px;
}

.copy, .wide-copy {
  color: #c8c8c1;
  font-size: 1.12rem;
}

.copy p:first-child { margin-top: 0; }

.wide-copy {
  max-width: 800px;
  margin: 0 0 48px;
}

.photo-break {
  padding: 0 0 110px;
}

.photo-break img {
  display: block;
  width: 100%;
  height: min(62vw, 620px);
  object-fit: cover;
  object-position: center 42%;
  border-radius: 22px;
  border: 1px solid var(--line);
}

.stats {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #101211;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-grid div {
  padding: 42px 28px;
  border-right: 1px solid var(--line);
}

.stat-grid div:last-child { border-right: 0; }

.stat-grid strong {
  display: block;
  font-size: 2.3rem;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-grid span { color: var(--muted); }

.cards {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
}

.card span {
  font-size: .72rem;
  letter-spacing: .14em;
  color: var(--accent);
  font-weight: 800;
}

.card p { color: var(--muted); }

.alt {
  background: var(--panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  margin-top: 40px;
}

.brand-grid div {
  padding: 26px;
  background: var(--panel);
  border-right: 1px solid var(--line);
}

.brand-grid div:last-child { border-right: 0; }

.brand-grid strong { display: block; margin-bottom: 7px; }
.brand-grid span { color: var(--muted); font-size: .94rem; }

.cta {
  margin-top: 90px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 52px;
}

.cta p:not(.eyebrow) {
  max-width: 720px;
  color: #c8c8c1;
  margin-bottom: 28px;
}

footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  color: var(--muted);
  font-size: .9rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

@media (max-width: 850px) {
  .hero {
    background:
      linear-gradient(180deg, rgba(8,10,9,.24) 0%, rgba(8,10,9,.56) 48%, rgba(8,10,9,.91) 100%),
      url("tahoe-finish.jpg") 38% center / cover no-repeat;
  }

  .hero-inner {
    align-items: flex-start;
  }

  .hero-inner > * {
    width: 100%;
    max-width: none;
    margin-left: 0;
  }

  .brand img { width: 138px; }
  .links a:not(.button) { display: none; }
  .two-col { grid-template-columns: 1fr; gap: 26px; }
  .cards { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .stat-grid div:nth-child(2) { border-right: 0; }
  .stat-grid div { border-bottom: 1px solid var(--line); }
  .brand-grid { grid-template-columns: 1fr 1fr; }
  .brand-grid div { border-bottom: 1px solid var(--line); }
  .cta { padding: 32px; }
  .photo-break img { height: 72vw; }
}

@media (max-width: 520px) {
  .hero { min-height: 82vh; }
  .hero-inner { padding: 60px 0 80px; }
  .stat-grid, .brand-grid { grid-template-columns: 1fr; }
  .stat-grid div, .brand-grid div { border-right: 0; }
  .footer-inner { flex-direction: column; }
}


/* =========================================================
   DISTANCE DUDE CLEANUP V4
   ========================================================= */

.hero {
  background:
    linear-gradient(
      270deg,
      rgba(8,10,9,.92) 0%,
      rgba(8,10,9,.72) 38%,
      rgba(8,10,9,.30) 64%,
      rgba(8,10,9,.10) 100%
    ),
    url("tahoe-finish.jpg") center 38% / cover no-repeat;
}

.hero-inner {
  align-items: stretch !important;
}

.hero-copy {
  width: min(48%, 620px);
  margin-left: auto;
}

.hero-copy > * {
  width: 100% !important;
  max-width: 100%;
}

.hero-copy h1 {
  max-width: 620px;
}

.simple-contact {
  padding-top: 100px;
  padding-bottom: 120px;
}

.simple-contact > p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: 28px;
}


/* Mobile */
@media (max-width: 850px) {

  .hero {
    background:
      linear-gradient(
        180deg,
        rgba(8,10,9,.20) 0%,
        rgba(8,10,9,.55) 48%,
        rgba(8,10,9,.92) 100%
      ),
      url("tahoe-finish.jpg") 38% center / cover no-repeat;
  }

  .hero-copy {
    width: 100%;
    margin-left: 0;
  }

}


/* DISTANCE DUDE LOGO FIX */
.brand {
  background: transparent !important;
  backdrop-filter: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

.brand img {
  width: 120px !important;
  height: auto !important;
  max-height: none !important;
  display: block !important;
  opacity: 1 !important;
  filter: brightness(0) invert(1)
          drop-shadow(0 3px 8px rgba(0,0,0,.55)) !important;
}

@media (max-width: 850px) {
  .brand img {
    width: 96px !important;
  }
}


/* DISTANCE DUDE LOGO V7 */
.brand {
  background: transparent !important;
  backdrop-filter: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

.brand img {
  width: 118px !important;
  height: auto !important;
  max-height: none !important;
  display: block !important;
  opacity: 1 !important;
  filter: drop-shadow(0 3px 8px rgba(0,0,0,.45)) !important;
}

@media (max-width: 850px) {
  .brand img {
    width: 96px !important;
  }
}


/* FINAL HEADER POLISH V8 */

.nav {
  padding-top: 14px !important;
  padding-bottom: 18px !important;
}

.brand img {
  width: 132px !important;
  height: auto !important;
  display: block !important;
  opacity: 1 !important;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.45)) !important;
}

@media (max-width: 850px) {
  .brand img {
    width: 105px !important;
  }
}

/* =========================================================
   MOBILE POLISH V10
   ========================================================= */

@media (max-width: 700px) {

  .wrap {
    width: min(calc(100% - 28px), var(--max));
  }

  .nav {
    padding: 10px 0 14px !important;
  }

  .brand img {
    width: 92px !important;
  }

  .links {
    gap: 10px;
  }

  .links a:not(.button) {
    display: none;
  }

  .button.small {
    padding: 9px 13px;
    font-size: .88rem;
  }

  .hero {
    min-height: 78vh;
    background:
      linear-gradient(
        180deg,
        rgba(8,10,9,.10) 0%,
        rgba(8,10,9,.40) 45%,
        rgba(8,10,9,.92) 100%
      ),
      url("tahoe-finish.jpg") 32% center / cover no-repeat;
  }

  .hero-inner {
    justify-content: flex-end;
    align-items: stretch !important;
    padding: 40px 0 46px !important;
  }

  .hero-copy {
    width: 100% !important;
    margin-left: 0 !important;
  }

  .hero-copy > * {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
  }

  .eyebrow {
    font-size: .68rem;
    letter-spacing: .16em;
    margin-bottom: 12px;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.6rem);
    line-height: .9;
    max-width: 100%;
  }

  .lede {
    font-size: 1rem;
    line-height: 1.5;
    margin-top: 22px;
    max-width: 100%;
  }

  .actions {
    margin-top: 24px;
    gap: 14px;
  }

  .text-link {
    font-size: .95rem;
  }

  .section {
    padding: 72px 0;
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  h2 {
    font-size: clamp(2.4rem, 12vw, 3.6rem);
    line-height: .96;
  }

  .copy,
  .wide-copy {
    font-size: 1rem;
  }

  .photo-break {
    padding-bottom: 72px;
  }

  .photo-break img {
    height: 70vw;
    min-height: 300px;
    object-position: 58% center;
    border-radius: 16px;
  }

  .stat-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stat-grid div {
    padding: 24px 18px;
  }

  .stat-grid strong {
    font-size: 1.8rem;
  }

  .stat-grid span {
    font-size: .86rem;
  }

  .cards {
    gap: 14px;
    margin-top: 30px;
  }

  .card {
    padding: 22px;
  }

  .simple-contact {
    padding-top: 72px;
    padding-bottom: 82px;
  }

  .simple-contact .button {
    width: 100%;
    text-align: center;
  }

  .footer-inner {
    flex-direction: column;
    gap: 6px;
  }
}

