/* Strawberry Point Auto — small lot, cream / shop-blue / charcoal */

:root {
  --cream: #f3eee4;
  --cream-deep: #e8e1d3;
  --paper: #faf7f1;
  --shop-blue: #1b4f86;
  --shop-blue-deep: #153e6a;
  --electric: #00a0ff;
  --electric-deep: #0086d6;
  --charcoal: #1c1c1a;
  --charcoal-2: #2a2a28;
  --line: #d4cbb8;
  --ink: #1a1a17;
  --muted: #5c5c56;
  --white: #fff;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --wrap: min(100% - 2rem, 68rem);
  --header-h: 4.25rem;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.02rem;
  line-height: 1.5;
}

img,
svg,
iframe {
  display: block;
  max-width: 100%;
}

a {
  color: var(--shop-blue);
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--shop-blue-deep);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--electric);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 80;
  padding: 0.5rem 0.75rem;
  background: var(--shop-blue);
  color: var(--white);
  text-decoration: none;
}

.skip-link:focus {
  top: 0.75rem;
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

/* —— Sticky header —— */
.masthead {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--charcoal);
  border-bottom: 1px solid #33332f;
}

.masthead-inner {
  display: flex;
  align-items: center;
  gap: 0.65rem 1rem;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  line-height: 0;
  text-decoration: none;
}

.brand img {
  height: 48px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
}

.nav-toggle {
  appearance: none;
  margin-left: auto;
  border: 1px solid #5a5a54;
  background: transparent;
  color: var(--cream);
  flex-shrink: 0;
  min-width: 48px;
  min-height: 44px;
  padding: 0 0.85rem;
  font-family: inherit;
  font-size: 0.9rem;
  cursor: pointer;
}

.site-nav {
  display: none;
  position: absolute;
  inset: 100% 0 auto;
  background: var(--charcoal);
  border-bottom: 1px solid #33332f;
  padding: 0.25rem 1rem 0.85rem;
}

.site-nav.is-open {
  display: block;
}

.site-nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  color: var(--cream);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border-bottom: 1px solid #33332f;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--white);
}

.header-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.4rem 0.8rem;
  background: var(--electric);
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
}

.header-call:hover {
  background: var(--electric-deep);
  color: var(--white);
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: min(32rem, 78vw);
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
  background: var(--charcoal);
}

.hero-photo {
  position: absolute;
  inset: 0;
  margin: 0;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 50%;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 16, 14, 0.78) 0%, rgba(16, 16, 14, 0.38) 52%, rgba(16, 16, 14, 0.18) 100%),
    linear-gradient(180deg, rgba(16, 16, 14, 0.1) 0%, rgba(16, 16, 14, 0.7) 100%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: 3.25rem 0 2.75rem;
  max-width: 36rem;
}

.hero h1 {
  margin: 0 0 1.2rem;
  font-size: clamp(1.85rem, 5.4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.55rem 1.15rem;
  background: var(--electric);
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--electric);
}

.btn:hover {
  background: var(--electric-deep);
  border-color: var(--electric-deep);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.75);
}

.btn-ghost:hover {
  background: var(--white);
  color: var(--charcoal);
  border-color: var(--white);
}

/* —— Shared sections —— */
.band {
  padding: 2.75rem 0;
}

h2 {
  margin: 0 0 1.1rem;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--shop-blue);
}

/* —— Work strip —— */
.work-band {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.work-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.work-strip li {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.7rem 0.6rem;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 650;
  text-align: center;
}

/* —— Hours + address + map —— */
.visit {
  background: var(--cream-deep);
}

.visit-grid {
  display: grid;
  gap: 1.75rem;
}

.hours-rows {
  list-style: none;
  margin: 0 0 1.15rem;
  padding: 0;
  background: var(--white);
  border: 1px solid var(--line);
}

.hours-rows li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.62rem 0.95rem;
  border-bottom: 1px solid var(--line);
}

.hours-rows li:last-child {
  border-bottom: 0;
}

.address {
  margin: 0 0 0.85rem;
  font-style: normal;
  color: #3d3d38;
}

.phone-xl {
  display: inline-block;
  margin: 0;
  font-size: 1.35rem;
  font-weight: 750;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--shop-blue);
}

.phone-xl:hover {
  color: var(--shop-blue-deep);
}

.map-col {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  min-height: 100%;
}

.map-frame {
  flex: 1 1 auto;
  background: var(--white);
  border: 1px solid var(--line);
  min-height: 20rem;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 20rem;
  border: 0;
}

.map-link {
  font-weight: 650;
}

/* —— Footer —— */
.site-footer {
  padding: 2.1rem 0 1.6rem;
  background: var(--charcoal);
  color: #d7d0c3;
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  gap: 1.5rem 2rem;
  margin-bottom: 1.25rem;
}

.site-footer h3 {
  margin: 0 0 0.5rem;
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer p,
.site-footer address {
  margin: 0;
  font-style: normal;
}

.site-footer a {
  color: var(--cream);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-hours {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-hours li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.12rem 0;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.1rem;
}

.footer-legal {
  padding-top: 1rem;
  border-top: 1px solid #3a3a36;
  color: #b8b1a4;
  font-size: 0.85rem;
}

/* —— Interior pages —— */
.page-bar {
  background: var(--charcoal-2);
  color: var(--cream);
  padding: 1.5rem 0 1.35rem;
}

.page-bar h1 {
  margin: 0;
  font-size: clamp(1.6rem, 3.6vw, 2rem);
  font-weight: 700;
}

.inv-page {
  padding: 2rem 0 3rem;
}

.inv-empty-panel {
  margin-bottom: 1.25rem;
  padding: 1.6rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--line);
}

.inv-empty-panel p {
  margin: 0 0 1rem;
  max-width: 36rem;
}

.inv-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.inv-slot {
  min-height: 9.5rem;
  background: var(--paper);
  border: 1px dashed #c4bba7;
}

.prose {
  padding: 2rem 0 3.25rem;
}

.prose .inner {
  width: min(100% - 2rem, 40rem);
  margin-inline: auto;
}

.prose h2 {
  margin: 1.6rem 0 0.45rem;
  font-size: 1.05rem;
}

.prose p {
  margin: 0 0 1rem;
}

.not-found {
  padding: 3.5rem 0 4.5rem;
}

.not-found h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.6rem, 3.6vw, 2rem);
  font-weight: 700;
}

.not-found p {
  margin: 0 0 1.25rem;
  max-width: 32rem;
}

@media (min-width: 640px) {
  .work-strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .work-strip li:last-child {
    grid-column: span 1;
  }

  .inv-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 880px) {
  .brand img {
    height: 56px;
    max-width: 140px;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: flex;
    position: static;
    margin-left: auto;
    background: none;
    border: 0;
    padding: 0;
    gap: 0.15rem 1.4rem;
  }

  .site-nav a {
    min-height: 44px;
    border: 0;
    font-size: 0.95rem;
  }

  .header-call {
    min-height: 44px;
    padding: 0.45rem 1.05rem;
    font-size: 1rem;
  }

  .hero {
    min-height: 32rem;
    align-items: center;
  }

  .hero-copy {
    padding: 5rem 0;
  }

  .work-strip {
    grid-template-columns: repeat(5, 1fr);
  }

  .visit-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .visit-grid {
    grid-template-columns: 0.95fr 1.15fr;
    align-items: stretch;
  }

  .map-frame,
  .map-frame iframe {
    min-height: 100%;
    height: 100%;
  }
}
