/* Local Sites preview template. Tokens only in :root. One radius, two weights, system fonts. */

:root {
  --ink: #1c1916;
  --ink-hover: #3a352f;
  --paper: #f4f0e8;
  --muted: #5c574e;
  --rule: #d4cfc4;
  --map-rule: #b8b2a6;
  --map-fill: #ece7de;
  --accent: #1c1916;
  --accent-ink: #f4f0e8;
  --focus: #1c1916;
  --radius: 4px;
  --space: 8px;
  --gutter: 24px;
  --section-gap: 64px;
  --measure: 65ch;
  --wrap: 1360px;
  --header-h: 56px;
  --ease: ease-out;
  --dur: 180ms;
  --dur-press: 150ms;
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --font-body: "Segoe UI", system-ui, -apple-system, "Roboto", "Helvetica Neue", Arial, sans-serif;
  --z-skip: 40;
  --z-banner: 30;
  --z-header: 20;
  --step-caption: 13px;
  --step-body: 17px;
  --step-lead: 18px;
  --step-h2: 24px;
  --step-h1: clamp(2.25rem, 1.6rem + 3vw, 3.25rem);
}

@media (min-width: 800px) {
  :root {
    --gutter: 40px;
    --section-gap: 96px;
    --header-h: 64px;
  }
}

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

html,
body {
  margin: 0;
  overflow-x: clip;
}

html {
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-body);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0;
}

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

a:focus-visible,
.btn-call:focus-visible,
.site-title:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: var(--z-skip);
  padding: 8px 12px;
  background: var(--ink);
  color: var(--accent-ink);
  text-decoration: none;
  border-radius: var(--radius);
}

.skip:focus {
  top: 8px;
}

.wrap {
  width: min(100%, var(--wrap));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.banner {
  position: relative;
  z-index: var(--z-banner);
  background: var(--ink);
  color: var(--accent-ink);
  font-size: var(--step-caption);
  line-height: 1.4;
  padding: 8px var(--gutter);
  text-align: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
  padding-block: 8px;
}

.site-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--ink);
  text-decoration: none;
  min-width: 0;
}

.btn-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 44px;
  padding: 10px 16px;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  text-decoration: none;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  touch-action: manipulation;
  transition:
    background-color var(--dur) var(--ease),
    color var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    transform var(--dur) var(--ease);
}

@media (hover: hover) {
  .btn-call:hover {
    background: var(--ink-hover);
    border-color: var(--ink-hover);
    color: var(--accent-ink);
    transform: translateY(-1px);
  }

  a:hover {
    color: var(--ink-hover);
  }
}

.btn-call:active {
  transform: scale(0.96);
  transition-duration: var(--dur-press);
}

.intro {
  padding-top: 40px;
}

@media (min-width: 800px) {
  .intro {
    padding-top: 64px;
  }
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.15;
}

h1 {
  margin: 0 0 12px;
  font-size: min(var(--step-h1), 72px);
  letter-spacing: -0.03em;
  max-width: 18ch;
}

h2 {
  margin: 0 0 16px;
  font-size: var(--step-h2);
  letter-spacing: -0.015em;
}

.lead {
  margin: 0;
  max-width: var(--measure);
  font-size: var(--step-lead);
  line-height: 1.5;
  color: var(--muted);
}

.section {
  margin-top: var(--section-gap);
}

.services {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}

.services li {
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
}

.hours {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.hours th,
.hours td {
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
  text-align: left;
  font-weight: 400;
  vertical-align: baseline;
}

.hours td {
  text-align: right;
}

.hours th {
  width: 42%;
  padding-right: 16px;
}

.hours tr:first-child th,
.hours tr:first-child td {
  border-top: 1px solid var(--rule);
}

.split {
  display: grid;
  gap: var(--section-gap);
  margin-top: var(--section-gap);
}

.split .section:first-child {
  margin-top: 0;
}

@media (min-width: 800px) {
  .split {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 64px 80px;
    align-items: start;
  }

  .split .section {
    margin-top: 0;
  }
}

.place {
  display: grid;
  gap: 24px;
}

@media (min-width: 800px) {
  .place {
    grid-template-columns: minmax(0, 20rem) minmax(0, 1fr);
    gap: 32px 48px;
    align-items: start;
  }
}

.adr {
  font-style: normal;
  margin: 0 0 8px;
}

.phone {
  margin: 0 0 8px;
}

.directions {
  display: inline-block;
  min-height: 44px;
  padding: 10px 0;
  touch-action: manipulation;
}

.map {
  margin: 0;
  min-width: 0;
  min-height: 280px;
}

.map iframe {
  display: block;
  width: 100%;
  height: 280px;
  border: 1px solid var(--map-rule);
  border-radius: var(--radius);
  background: var(--map-fill);
}

@media (min-width: 800px) {
  .map iframe {
    height: 360px;
  }
}

.reviews {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.review {
  margin: 0;
  padding: 24px 0 24px 16px;
  border-top: 1px solid var(--rule);
  border-left: 2px solid var(--ink);
}

.review:last-child {
  border-bottom: 1px solid var(--rule);
}

.review blockquote {
  margin: 0 0 12px;
}

.review blockquote p {
  margin: 0;
  max-width: var(--measure);
}

.review figcaption {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  font-size: var(--step-caption);
  color: var(--muted);
}

.reviewer {
  color: var(--ink);
}

.site-footer {
  margin-top: var(--section-gap);
  border-top: 1px solid var(--rule);
  padding: 32px 0 48px;
  font-size: var(--step-caption);
  color: var(--muted);
}

.site-footer p {
  margin: 0 0 4px;
}

.site-footer .footer-name {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.site-footer a {
  color: var(--muted);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  .btn-call {
    transition: none;
  }

  .btn-call:hover,
  .btn-call:active {
    transform: none;
  }
}

.split.single{grid-template-columns:1fr}
.score{margin:12px 0 0;color:var(--muted);font-size:var(--step-body)}
.score strong{color:var(--ink);font-weight:600}
.note{margin:12px 0 0;color:var(--muted);font-size:var(--step-caption)}
.note-lg{margin:0}
.when{color:var(--muted)}
