/* ============================================================
   Latham Street - design system for Manny's Paint and Body Shop
   Tokens mirror the active Novamira design (slug: latham-street).
   ============================================================ */

:root {
  --bg: #F6F3F0;
  --surface: #FFFFFF;
  --ink: #171312;
  --deep: #0F0C0B;
  --accent: #C8102E;
  --accent-dark: #A50C25;
  --muted: #6B6259;
  --line: #DED8D2;

  --font-head: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;

  --xs: 8px;
  --sm: 16px;
  --md: 28px;
  --lg: 56px;
  --xl: 96px;

  --r-sm: 2px;
  --r-md: 4px;

  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.08;
  letter-spacing: 0.01em;
  margin: 0;
}

p { margin: 0; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding-inline: 20px;
}

.skip-link {
  position: absolute;
  left: -9999px;
}
.skip-link:focus {
  left: 12px; top: 12px;
  z-index: 200;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  font-family: var(--font-head);
  text-transform: uppercase;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 16px;
  line-height: 1;
  padding: 17px 26px;
  border-radius: var(--r-md);
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}

.btn-primary {
  background: var(--accent);
  color: #FFFFFF;
}
.btn-primary:hover, .btn-primary:focus-visible { background: var(--accent-dark); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline:hover, .btn-outline:focus-visible {
  background: var(--ink);
  color: var(--bg);
}

.btn-outline--ondark {
  color: #F6F3F0;
  border-color: rgba(246, 243, 240, .55);
}
.btn-outline--ondark:hover, .btn-outline--ondark:focus-visible {
  background: #F6F3F0;
  color: var(--ink);
  border-color: #F6F3F0;
}

/* ---------- utility bar ---------- */

.util {
  background: var(--deep);
  color: #CFC7C0;
  font-size: 14.5px;
}
.util .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sm);
  min-height: 42px;
}
.util-facts {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.util a { text-decoration: none; }
.util a:hover { color: #fff; }
.util strong { color: #fff; font-weight: 600; }

/* ---------- header ---------- */

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--md);
  min-height: 92px;
}

.lockup {
  display: flex;
  align-items: baseline;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
.lockup { align-items: center; }
.lockup-mark {
  height: 66px;
  width: auto;
  display: block;
}
.footer-mark {
  height: 62px;
  width: auto;
  display: block;
  margin-bottom: 14px;
}
.lockup .sub {
  font-family: var(--font-head);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  color: var(--muted);
  line-height: 1.35;
}
.lockup .sub span { display: block; white-space: nowrap; }

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
}
.nav ul { display: contents; }
.nav li { list-style: none; margin: 0; }
.nav a {
  font-family: var(--font-head);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 15px;
  text-decoration: none;
  color: var(--ink);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a:focus-visible { border-bottom-color: var(--accent); }

.nav-toggle { display: none; }

/* ---------- hero ---------- */

.hero {
  background: var(--deep);
  color: #F6F3F0;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: stretch;
  gap: 0;
  width: 100%;
}
.hero-copy {
  padding: clamp(48px, 6vw, 104px) clamp(20px, 4vw, 72px);
  align-self: center;
  max-width: 680px;
  margin-left: auto;
}
.hero-eyebrow {
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(34px, 3.6vw, 60px);
  line-height: 1.06;
  color: #FFFFFF;
  margin-bottom: 22px;
  text-wrap: balance;
}
.hero-line { display: block; }
.hero h1 .accent { color: var(--accent); }
.hero-sub {
  font-size: clamp(17px, 1.35vw, 19.5px);
  line-height: 1.6;
  color: #CFC7C0;
  max-width: 52ch;
  margin-bottom: 34px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero-media {
  position: relative;
  min-height: 460px;
  background: #100D0C;
}
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15,12,11,.92) 0%, rgba(15,12,11,.35) 26%, rgba(15,12,11,0) 58%);
}

/* ---------- proof band ---------- */

.proof {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.proof .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--md);
  padding-block: 26px;
}
.proof-rating {
  display: flex;
  align-items: center;
  gap: 16px;
}
.proof-score {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 54px;
  line-height: 1;
  letter-spacing: -0.01em;
}
.proof-stars {
  color: var(--accent);
  font-size: 17px;
  letter-spacing: 2px;
  line-height: 1.2;
}
.proof-count {
  font-size: 15px;
  color: var(--muted);
}
.proof-facts {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.proof-fact dt {
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 12.5px;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin: 0 0 4px;
}
.proof-fact dd {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 21px;
  line-height: 1.1;
}

/* ---------- mobile call bar ---------- */

.callbar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 100;
  background: var(--accent);
  border: none;
}
.callbar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  color: #fff;
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 17px;
}

/* ---------- responsive ---------- */

@media (max-width: 1000px) {
  /* Copy leads on small screens so the headline and the estimate button are
     both above the fold. Most visitors arrive from the Google Business Profile
     on a phone and decide inside one screen. */
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { margin-left: 0; max-width: none; order: 1; padding-block: clamp(32px, 7vw, 56px); }
  .hero-media { order: 2; min-height: 260px; }
  .hero-media::after {
    background: linear-gradient(180deg, rgba(15,12,11,.35) 0%, rgba(15,12,11,0) 45%);
  }
}

@media (max-width: 860px) {
  .nav { display: none; }
  .util-facts .util-hide { display: none; }
  .proof .wrap { flex-direction: column; align-items: flex-start; gap: var(--sm); }
  .proof-facts { gap: 28px; }
}

@media (max-width: 720px) {
  body { padding-bottom: 60px; }
  .callbar { display: block; }
  .util { font-size: 13.5px; }
  .util .wrap { justify-content: center; }
  .hero h1 { font-size: clamp(32px, 8.6vw, 44px); }
  .lockup-mark { height: 46px; }
  .footer-mark { height: 50px; }
  .lockup .sub { font-size: 10px; letter-spacing: 0.1em; }
  .site-header .wrap { min-height: 68px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .proof-score { font-size: 44px; }
}

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

/* ---------- founder tribute ---------- */

.memorial {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding-block: clamp(56px, 7vw, 96px);
}
.memorial-grid {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
.memorial-portrait {
  margin: 0;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 10px;
}
.memorial-portrait img { width: 100%; height: auto; }

.memorial-copy { max-width: 62ch; }
.memorial-copy--solo { grid-column: 1 / -1; }

.memorial-kicker {
  font-family: var(--font-head);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 14px;
}
.memorial-name {
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 6px;
}
.memorial-dates {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 17px;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 22px;
}
.memorial-body {
  font-size: 17.5px;
  line-height: 1.7;
  color: var(--ink);
}
.memorial-body + .memorial-body { margin-top: 16px; }

@media (max-width: 820px) {
  .memorial-grid { grid-template-columns: 1fr; }
  .memorial-portrait { max-width: 320px; }
}

/* ---------- preferred towing partner ---------- */

.partner {
  background: var(--ink);
  color: #CFC7C0;
  padding-block: clamp(48px, 6vw, 80px);
}
.partner-inner { max-width: 760px; margin-inline: 0; }
@media (min-width: 1240px) {
  /* sits left of centre inside the container, against open space on the right */
  .partner-inner { margin-left: max(20px, calc((100vw - var(--wrap)) / 2)); }
}
.partner-heading {
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.1;
  color: #FFFFFF;
  margin-bottom: 14px;
}
.partner-body {
  font-size: 17.5px;
  line-height: 1.65;
  max-width: 58ch;
  margin-bottom: 26px;
}
.partner-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 28px;
}
.partner-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 16px;
  text-decoration: none;
  color: #FFFFFF;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 6px;
  transition: color .18s ease, border-color .18s ease;
}
.partner-link:hover, .partner-link:focus-visible {
  color: var(--accent);
  border-bottom-color: #FFFFFF;
}
.partner-arrow { transition: transform .18s ease; }
.partner-link:hover .partner-arrow { transform: translateX(4px); }
.partner-tel {
  font-family: var(--font-head);
  font-weight: 500;
  letter-spacing: 0.04em;
  font-size: 16px;
  color: #CFC7C0;
  text-decoration: none;
  border-bottom: 1px solid rgba(207, 199, 192, .4);
  padding-bottom: 6px;
}
.partner-tel:hover, .partner-tel:focus-visible { color: #FFFFFF; border-bottom-color: #FFFFFF; }

/* The tribute now sits between the proof band and the towing partner. Extra
   air on both sides keeps it from reading as part of either one. */
.proof + .memorial { padding-top: clamp(72px, 9vw, 120px); }
.memorial + .partner { border-top: 1px solid var(--line); }
.memorial { padding-bottom: clamp(72px, 9vw, 120px); }

@media (prefers-reduced-motion: reduce) {
  .partner-link:hover .partner-arrow { transform: none; }
}
