/* Dave's Body Shop — colors and type lifted from the hand-painted wall sign on Neubling Ave. */
:root {
  --teal: #13857f;
  --teal-dark: #0d5f5b;
  --sun: #ffc62b;
  --orange: #f0611a;
  --red: #d7263d;
  --red-dark: #b01d31;
  --ink: #16191d;
  --asphalt: #1f2328;
  --asphalt-2: #2a2f35;
  --brick: #f3eee6;
  --mortar: #ddd3c3;
  --paper: #fffdf9;
  --muted: #5b6168;
  --line: #e4ddd1;

  --script: 'Yellowtail', 'Brush Script MT', cursive;
  --display: 'Oswald', 'Arial Narrow', sans-serif;
  --body: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius: 14px;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-dark); }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Wordmark: script "Dave's" over a teal pill, like the sign */
.mark { display: inline-flex; align-items: center; gap: .1em; text-decoration: none; line-height: 1; }
.mark-script {
  font: 400 2rem/1 var(--script);
  background: linear-gradient(#ffe45c, #ffb21f 50%, #f0611a);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(1px 1px 0 var(--ink));
  padding: 0 .1em .12em 0;
}
.mark-pill {
  font: 400 1rem/1 var(--script);
  color: #fff; background: var(--teal);
  border: 2px solid #fff; border-radius: 999px;
  padding: .28em .7em .32em;
  transform: translateY(.45em);
}
.mark-sm .mark-script { font-size: 1.6rem; }
.mark-sm .mark-pill { font-size: .85rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: 600 1rem/1 var(--body); letter-spacing: .01em;
  padding: .75em 1.1em; border-radius: 999px; text-decoration: none;
  border: 2px solid transparent; transition: background-color .15s, color .15s, border-color .15s;
}
.btn-call { background: var(--red); color: #fff; }
.btn-call:hover { background: var(--red-dark); color: #fff; }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-lg { font-size: 1.1rem; padding: .9em 1.4em; }

/* Top bar */
.topbar {
  position: sticky; top: 0; z-index: 10;
  background: var(--asphalt); color: #fff;
  border-bottom: 4px solid var(--red);
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; padding-top: 6px; padding-bottom: 10px; }
.topbar .btn-call { padding: .6em .95em; }

/* Hero: the painted-brick wall */
.hero {
  background-color: var(--brick);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='56'%3E%3Cg fill='none' stroke='%23ddd3c3' stroke-width='2'%3E%3Cpath d='M0 1H88M0 29H88M1 1V29M45 29V57'/%3E%3C/g%3E%3C/svg%3E");
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero-inner { padding-top: clamp(28px, 6vw, 72px); padding-bottom: clamp(36px, 7vw, 84px); text-align: center; }
.sign { margin: 0 auto; max-width: 680px; }
.sign-art { width: 100%; height: auto; overflow: visible; }
.sign-daves {
  font-family: var(--script); font-size: 200px;
  fill: url(#sunset); stroke: var(--ink); stroke-width: 7px; paint-order: stroke; stroke-linejoin: round;
}
.sign-body { font-family: var(--script); font-size: 60px; fill: #fff; }
.lede {
  max-width: 34ch; margin: .6rem auto 1.6rem;
  font: 500 clamp(1.25rem, 2.6vw, 1.6rem)/1.35 var(--display);
  text-transform: uppercase; letter-spacing: .02em;
}
.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* Section headings carry a set of speed stripes */
.section-title {
  font: 700 clamp(1.7rem, 3.6vw, 2.4rem)/1.1 var(--display);
  text-transform: uppercase; letter-spacing: .02em;
  margin: 0 0 1.4rem;
  display: flex; align-items: center; gap: .6em;
}
.section-title::before {
  content: ''; flex: none; width: 1.6em; height: .62em;
  background: repeating-linear-gradient(to bottom, var(--red) 0 .14em, transparent .14em .24em);
  border-radius: 2px;
}

/* Services on asphalt */
.services { background: var(--asphalt); color: #f2f2f2; padding: clamp(44px, 7vw, 80px) 0; }
.service-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.service {
  background: var(--asphalt-2); border-radius: var(--radius);
  padding: 22px 22px 20px; border-top: 4px solid var(--teal);
}
.service h3 { font: 700 1.3rem/1.2 var(--display); text-transform: uppercase; letter-spacing: .02em; margin: 14px 0 6px; color: #fff; }
.service p { margin: 0; color: #c9ced4; }
.roundel {
  display: inline-grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: #fff; color: var(--ink); border: 3px solid var(--sun);
  font: 700 1.35rem/1 var(--display);
}

/* Gallery */
.gallery { padding: clamp(44px, 7vw, 80px) 0; }
.subsection-title {
  font: 700 clamp(1.3rem, 2.6vw, 1.7rem)/1.1 var(--display);
  text-transform: uppercase; letter-spacing: .02em;
  margin: clamp(32px, 5vw, 52px) 0 1rem;
}
.photo-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.photo-grid li { border-radius: var(--radius); overflow: hidden; background: var(--brick); aspect-ratio: 4 / 3; }
.photo-grid a { display: block; height: 100%; }
.photo-grid figure { margin: 0; height: 100%; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.photo-grid a:hover img { transform: scale(1.03); }

/* Visit */
.visit { background: var(--brick); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(44px, 7vw, 80px) 0; }
.visit-inner { display: grid; gap: 32px; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 820px) { .visit-inner { grid-template-columns: 1fr 1fr; } }
address { font-style: normal; font: 600 1.35rem/1.35 var(--body); }
address a { color: var(--ink); text-decoration-color: var(--teal); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.cross { margin: .3rem 0 0; color: var(--muted); }
.phone { margin: .9rem 0 1.2rem; font: 700 1.6rem/1 var(--display); }
.phone a { color: var(--red); text-decoration: none; }
.hours { border-collapse: collapse; min-width: min(100%, 320px); }
.hours caption { text-align: left; font: 700 1rem/1 var(--display); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding-bottom: .5rem; }
.hours th, .hours td { text-align: left; padding: .45rem 1.2rem .45rem 0; border-top: 1px solid var(--mortar); font-weight: 400; }
.hours th { font-weight: 600; }
.note { color: var(--muted); margin: 1rem 0 0; }
.visit-sign { margin: 0; }
.visit-sign img { border-radius: var(--radius); border: 6px solid #fff; box-shadow: 0 10px 30px rgb(22 25 29 / 14%); width: 100%; }

/* Links out */
.find-us { padding: clamp(44px, 7vw, 80px) 0; }
.links { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.link-card {
  display: flex; align-items: center; gap: 14px; height: 100%;
  padding: 16px 18px; border-radius: var(--radius);
  border: 2px solid var(--line); background: #fff;
  color: var(--ink); text-decoration: none;
  transition: border-color .15s, transform .15s;
}
.link-card:hover { border-color: var(--teal); color: var(--ink); transform: translateY(-2px); }
.link-card svg { flex: none; color: var(--teal); }
.link-card strong { display: block; font: 700 1.1rem/1.2 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.link-card small { display: block; color: var(--muted); font-size: .95rem; }

/* Footer */
.footer { background: var(--asphalt); color: #c9ced4; border-top: 4px solid var(--red); padding: 28px 0 36px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.footer p { margin: 0; }
.footer a { color: #fff; }

@media (max-width: 480px) {
  .mark-script { font-size: 1.65rem; }
  .mark-pill { font-size: .85rem; }
  .topbar .btn-call span { font-size: .95rem; }
  .btn-lg { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .link-card, .btn, .photo-grid img { transition: none; }
  .link-card:hover, .photo-grid a:hover img { transform: none; }
}
