/* Strawberry Point Auto — cream / shop-blue / charcoal type */

:root {
  --cream: #f3eee4;
  --cream-deep: #e8e1d3;
  --paper: #faf7f1;
  --shop-blue: #1b4f86;
  --shop-blue-deep: #153e6a;
  --charcoal: #1c1c1a;
  --line: #d8d0c0;
  --ink: #1c1c1a;
  --muted: #5c5c56;
  --white: #fff;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --wrap: min(100% - 2rem, 68rem);
  --header-h: 6rem;
  --radius: 14px;
  --pill: 999px;
  --dock-h: 4.15rem;
}

*,
*::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.55;
  padding-bottom: calc(var(--dock-h) + env(safe-area-inset-bottom));
}

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(--shop-blue);
  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;
  border-radius: 8px;
}

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

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

/* —— Black header —— */
.masthead {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #111110;
  border-bottom: 1px solid #1f1f1d;
}

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

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

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

.nav-toggle {
  appearance: none;
  margin-left: auto;
  border: 1px solid #2a2a28;
  background: #1a1a18;
  color: #f3eee4;
  flex-shrink: 0;
  min-width: 48px;
  min-height: 40px;
  padding: 0 0.85rem;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.9rem;
  cursor: pointer;
}

.site-nav {
  display: none;
  position: absolute;
  inset: 100% 0 auto;
  background: #111110;
  border-bottom: 1px solid #1f1f1d;
  padding: 0.25rem 1rem 0.85rem;
}

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

.site-nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  color: #f3eee4;
  text-decoration: none;
  font-weight: 550;
  font-size: 0.95rem;
  border-bottom: 1px solid #2a2a28;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: #7eb6ea;
}

.header-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.4rem 0.95rem;
  background: var(--shop-blue);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
  border-radius: var(--pill);
}

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

/* —— Photo-first hero, wider/brighter crop of hero.jpg —— */
.hero {
  position: relative;
  height: min(32rem, 68vw);
  min-height: 18rem;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
  background: var(--cream-deep);
}

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

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 38%;
  filter: brightness(1.12) saturate(1.04);
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(28, 28, 26, 0.26) 0%, rgba(28, 28, 26, 0.08) 46%, rgba(28, 28, 26, 0.02) 100%),
    linear-gradient(180deg, rgba(28, 28, 26, 0) 0%, rgba(28, 28, 26, 0.3) 100%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: 3.4rem 0 2.1rem;
  max-width: 34rem;
}

.hero h1 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.9rem, 5.2vw, 3rem);
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-shadow: 0 1px 18px rgba(28, 28, 26, 0.35);
}

.hero-sub {
  margin: 0 0 1.15rem;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.35;
  text-shadow: 0 1px 12px rgba(28, 28, 26, 0.35);
}

.hero-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  max-width: 28rem;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.55rem 1.1rem;
  background: var(--shop-blue);
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 650;
  text-decoration: none;
  border: 0;
  border-radius: var(--pill);
  text-align: center;
}

.btn:hover {
  background: var(--shop-blue-deep);
  color: var(--white);
}

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

h2 {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
  font-weight: 650;
  color: var(--ink);
}

/* —— Work cards —— */
.work-band {
  background: var(--cream);
}

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

.work-cards li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.95rem 1rem 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.work-cards h3 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 650;
  color: var(--ink);
}

.work-cards p {
  margin: 0 0 0.55rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.work-cards a {
  margin-top: auto;
  font-weight: 550;
  text-decoration: none;
}

.work-cards a:hover {
  text-decoration: underline;
}

/* —— Hours + map, compact —— */
.visit {
  padding-top: 0.2rem;
  padding-bottom: 2.4rem;
  background: var(--cream);
}

.visit-card {
  display: grid;
  gap: 1.1rem;
  padding: 1.15rem 1.1rem 1.05rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(28, 28, 26, 0.04);
}

.hours-rows {
  list-style: none;
  margin: 0 0 0.85rem;
  padding: 0;
}

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

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

.address {
  margin: 0 0 0.5rem;
  font-style: normal;
  color: var(--muted);
}

.phone-xl {
  display: inline-block;
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--shop-blue);
}

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

.map-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.map-frame {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  height: 11rem;
}

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

.map-link {
  font-weight: 550;
  font-size: 0.95rem;
}

/* —— Quiet footer —— */
.site-footer {
  padding: 1.35rem 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

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

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

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

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

/* —— Mobile dock —— */
.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  background: rgba(250, 247, 241, 0.96);
  border-top: 1px solid var(--line);
  padding: 0.3rem 0.4rem calc(0.3rem + env(safe-area-inset-bottom));
}

.dock a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  color: var(--shop-blue);
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
}

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

/* —— Interior pages —— */
.page-intro {
  padding: 2rem 0 0;
}

.page-intro h1 {
  margin: 0;
  font-size: clamp(1.6rem, 3.6vw, 2rem);
  font-weight: 650;
  letter-spacing: -0.02em;
}

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

.inv-layout {
  display: grid;
  gap: 1.25rem;
}

.place-photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--cream-deep);
}

.place-photo img {
  width: 100%;
  height: min(22rem, 62vw);
  object-fit: cover;
  object-position: 58% 38%;
}

.inv-empty {
  padding: 0.15rem 0 0;
  max-width: 36rem;
}

.inv-empty h1 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.6rem, 3.6vw, 2rem);
  font-weight: 650;
  letter-spacing: -0.02em;
}

.inv-empty p {
  margin: 0 0 1.1rem;
}

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

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

.prose h2 {
  margin: 1.5rem 0 0.4rem;
  font-size: 1.05rem;
}

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

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

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

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

@media (min-width: 880px) {
  :root {
    --header-h: 6.75rem;
  }

  body {
    padding-bottom: 0;
  }

  .brand img {
    height: 92px;
    max-width: 248px;
  }

  .nav-toggle {
    display: none;
  }

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

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

  .header-call {
    min-height: 42px;
    padding: 0.45rem 1.1rem;
    font-size: 0.95rem;
  }

  .hero {
    height: 34rem;
  }

  .hero-copy {
    padding: 5.5rem 0 2.6rem;
  }

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

  .visit-card {
    grid-template-columns: minmax(18rem, 1fr) 15rem;
    align-items: start;
    gap: 1.35rem;
    padding: 1.2rem 1.25rem 1.1rem;
  }

  .map-frame {
    height: 10.5rem;
  }

  .inv-layout {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 2rem;
  }

  .place-photo img {
    height: 22rem;
  }

  .dock {
    display: none;
  }
}
