/* ==========================================================================
   JDM IMPORTS — collectiblejdm.com
   Design follows the original GoDaddy site rather than JDM Hunter's: this is
   a boutique broker for "discerning collectors", so the visual language is
   quiet and photo-led, not the punchy tool aesthetic of the inventory site.
   Taken from the original's computed styles:
     - Mulish (was "Muli") + Quicksand, headings at weight 400, centred
     - #1b1b1b text, #f7f7f7 tint, #2f4f4f dark-slate accent, #5e5e5e muted
     - full-bleed cover photo hero with white light-weight text over it
   No framework, no build step, no JS needed to render.
   ========================================================================== */

:root {
  --ink: #1b1b1b;
  --ink-soft: #5e5e5e;
  --ink-faint: #a4a4a4;
  --slate: #2f4f4f;          /* the original's accent — dark slate */
  --slate-hover: #24605e;
  --tint: #f7f7f7;
  --white: #ffffff;
  --line: #e6e6e6;

  --font-body: 'Mulish', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-head: 'Quicksand', var(--font-body);

  --wrap: 1080px;
  --narrow: 760px;
}

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

html { font-size: 16px; scroll-behavior: smooth; overflow-x: clip; }

body {
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a { color: var(--slate); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.5rem; width: 100%; }
.narrow { max-width: var(--narrow); margin-left: auto; margin-right: auto; }

/* ---------- Header ---------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0;
}

.brand { display: flex; align-items: center; gap: .7rem; }
.brand:hover { text-decoration: none; }
.brand img { width: 42px; height: 42px; object-fit: contain; }

.brand-name {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: .06em;
  text-transform: uppercase;
  line-height: 1.2;
}

.brand-sub {
  display: block;
  font-size: .66rem;
  font-weight: 400;
  color: var(--ink-faint);
  text-transform: uppercase;
  letter-spacing: .16em;
}

.site-nav { display: flex; align-items: center; gap: .15rem; flex-wrap: wrap; }

.site-nav a {
  color: var(--ink-soft);
  font-size: .84rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .5rem .7rem;
}
.site-nav a:hover { color: var(--ink); text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--slate); }

.nav-cta {
  border: 1px solid var(--slate);
  color: var(--slate) !important;
  border-radius: 2px;
  margin-left: .4rem;
}
.nav-cta:hover { background: var(--slate); color: #fff !important; }

/* ---------- Hero: full-bleed photo, centred light text ---------- */
.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 5rem 1.5rem;
  background-color: #111;
  background-size: cover;
  background-position: center 55%;
}

/* Scrim so white text stays readable over any part of the photo. */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.42), rgba(0,0,0,.28) 45%, rgba(0,0,0,.55));
}

.hero-inner { position: relative; z-index: 1; max-width: 780px; }

.hero h1 {
  font-family: var(--font-body);
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: .01em;
  color: #fff;
  margin-bottom: 1.1rem;
  text-shadow: 0 2px 18px rgba(0,0,0,.45);
}

.hero-lede {
  font-size: 1.02rem;
  font-weight: 300;
  color: rgba(255,255,255,.92);
  max-width: 62ch;
  margin: 0 auto 1.9rem;
  text-shadow: 0 1px 12px rgba(0,0,0,.5);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }

/* ---------- Buttons: outlined, restrained ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .95rem 1.9rem;
  border-radius: 2px;
  border: 1px solid transparent;
  min-height: 46px;
  transition: background .18s ease, color .18s ease;
}
.btn:hover { text-decoration: none; }

.btn-primary { background: var(--slate); color: #fff; border-color: var(--slate); }
.btn-primary:hover { background: var(--slate-hover); border-color: var(--slate-hover); }

.btn-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.75); }
.btn-light:hover { background: #fff; color: var(--ink); }

.btn-outline { background: transparent; color: var(--slate); border-color: var(--slate); }
.btn-outline:hover { background: var(--slate); color: #fff; }

/* ---------- Sections: airy, centred ---------- */
main { flex: 1; }

.section { padding: 4.5rem 0; text-align: center; }
.section-tint { background: var(--tint); }
.section-tight { padding: 3rem 0; text-align: center; }

.section h2 {
  font-family: var(--font-body);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 400;
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 1rem;
}

.section h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--ink);
  margin-bottom: .5rem;
}

.lede {
  font-size: 1.02rem;
  font-weight: 300;
  color: var(--ink-soft);
  max-width: 66ch;
  margin-left: auto;
  margin-right: auto;
}
.section p + p { margin-top: 1rem; }

/* Thin rule under section headings, as on the original. Drawn from CSS so it
   can never appear inside FAQ entries or car blocks. */
.section > .wrap > h2::after,
.callout h2::after {
  content: '';
  display: block;
  width: 54px;
  height: 1px;
  background: var(--slate);
  opacity: .55;
  margin: 1.1rem auto 0;
}

.page-head { padding: 3.5rem 0 1rem; text-align: center; }
.page-head h1 {
  font-family: var(--font-body);
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: .8rem;
}

/* ---------- Feature columns (no heavy cards) ---------- */
.grid { display: grid; gap: 2.5rem; margin-top: 2.5rem; text-align: center; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.card { background: none; border: none; padding: 0; }
.card p { color: var(--ink-soft); font-weight: 300; font-size: .97rem; }

.card-num {
  display: block;
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: .5rem;
}

/* ---------- FAQ ---------- */
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 1.9rem 0;
  text-align: left;
  max-width: var(--narrow);
  margin: 0 auto;
}
.faq-item:last-of-type { border-bottom: none; }
.faq-item h2 {
  font-family: var(--font-head);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: .02em;
  margin-bottom: .6rem;
  text-align: left;
}
.faq-item p { color: var(--ink-soft); font-weight: 300; }

/* ---------- Cars: photo-led, generous ---------- */
.car {
  max-width: 880px;
  margin: 0 auto 4rem;
  text-align: center;
}
.car:last-child { margin-bottom: 0; }

.car-photo {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  margin-bottom: 1.4rem;
  background: var(--tint);
}

.car h2 {
  font-family: var(--font-body);
  font-size: 1.35rem;
  font-weight: 400;
  margin-bottom: .6rem;
}
.car p { color: var(--ink-soft); font-weight: 300; max-width: 62ch; margin: 0 auto; }
.car ul {
  list-style: none;
  margin: 1rem auto 0;
  max-width: 62ch;
  color: var(--ink-soft);
  font-weight: 300;
  font-size: .93rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .3rem 1.4rem;
}
.car li::before { content: '· '; color: var(--ink-faint); }

.tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: .5rem;
}

/* ---------- Callout ---------- */
.callout {
  background: var(--tint);
  padding: 3.5rem 2rem;
  text-align: center;
}
.callout h2 { margin-bottom: .8rem; }
.callout p { color: var(--ink-soft); font-weight: 300; max-width: 58ch; margin: 0 auto 1.8rem; }

/* ---------- Contact ---------- */
.nap { font-style: normal; line-height: 2; font-weight: 300; color: var(--ink-soft); }
.nap strong {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: .95rem;
  margin-bottom: .4rem;
}

.hours { width: 100%; max-width: 340px; margin: 1rem auto 0; border-collapse: collapse; }
.hours th, .hours td {
  padding: .5rem 0;
  border-bottom: 1px solid var(--line);
  font-size: .92rem;
  font-weight: 300;
  color: var(--ink-soft);
}
.hours th { text-align: left; font-weight: 400; }
.hours td { text-align: right; }

.contact-cols { display: grid; gap: 3rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); text-align: center; }
.contact-cols ul { list-style: none; color: var(--ink-soft); font-weight: 300; }
.contact-cols li { padding: .2rem 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--tint);
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  padding: 3rem 0 2rem;
  margin-top: 0;
  font-size: .9rem;
  font-weight: 300;
  text-align: center;
}
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 2rem; }
.site-footer h3 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: .7rem;
}
.site-footer a { color: var(--ink-soft); }
.site-footer a:hover { color: var(--slate); }
.footer-bottom {
  margin-top: 2.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  font-size: .8rem;
  color: var(--ink-faint);
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

/* ---------- Skip link ---------- */
.skip { position: absolute; left: -9999px; background: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: .5rem; }

/* ---------- Mobile ---------- */
@media (max-width: 820px) {
  .header-inner { flex-direction: column; align-items: center; gap: .7rem; }
  .site-nav { justify-content: center; }
  .site-nav a { padding: .45rem .5rem; font-size: .78rem; }
  .hero { min-height: 460px; padding: 3.5rem 1.25rem; }
  .section { padding: 3rem 0; }
  .car { margin-bottom: 3rem; }
  .callout { padding: 2.5rem 1.25rem; }
}
