:root {
  --bg: #f3f0e6;
  --text: #102326;
  --muted: #314446;
  --accent: #0a3e44;
  --focus: #0a3e44;
  --rule: #c5d2cf;
  --serif: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
  --sans: "Segoe UI", "Helvetica Neue", sans-serif;
  color-scheme: light;
}

html { scroll-padding-top: 4.75rem; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
}

h1, h2, .brand, .tagline {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.08;
}

h1, h2, h3, p, ul, ol, dl, figure { margin: 0; }

h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); margin-bottom: 0.45rem; }

h2 { font-size: 1.7rem; margin: 0 0 0.6rem; }

p { margin-bottom: 0.8rem; }

a { color: var(--accent); }

:focus { outline: 3px solid var(--focus); outline-offset: 3px; }
:focus:not(:focus-visible) { outline: none; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

.skip {
  position: absolute; left: 0.75rem; top: 0.75rem; transform: translateY(-160%);
  background: #f4d35e; color: #1a1408; padding: 0.5rem 0.75rem; z-index: 40;
}
.skip:focus { transform: none; }

.demo-banner {
  position: sticky; top: 0; z-index: 20;
  background: #f4d35e; color: #1a1408;
  font-family: var(--sans);
}
.demo-banner p { margin: 0 auto; max-width: 72rem; padding: 0.7rem 1rem; }
.demo-banner a { color: #1a1408; font-weight: 700; }

.wrap { width: min(72rem, calc(100% - 2rem)); margin-inline: auto; }

.dhead { border-bottom: 6px solid var(--accent); padding: 0.8rem 0 0.9rem; }

.kicker {
  letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.78rem;
  font-weight: 700; color: var(--accent); margin-bottom: 0.25rem;
}

.brand {
  color: inherit; text-decoration: none; font-size: clamp(1.6rem, 4vw, 2.3rem);
  display: inline-flex; align-items: center; min-height: 44px;
}
.brand:hover { text-decoration: underline; }

.trade-label { color: var(--muted); margin: 0.1rem 0 0.4rem; }

.dnav { display: flex; flex-wrap: wrap; gap: 0.2rem 1rem; }
.dnav a {
  color: var(--text); text-decoration: none; min-height: 44px;
  display: inline-flex; align-items: center; border-bottom: 2px solid transparent;
}
.dnav a:hover { text-decoration: underline; }
.dnav a[aria-current="page"] { border-bottom-color: var(--accent); font-weight: 700; }

.hero { display: grid; gap: 1.2rem; padding: 1.3rem 0 0.4rem; }
.tagline { font-size: 1.35rem; margin-bottom: 0.7rem; }
.phone-line { font-size: 1.15rem; }

.hero-figure { margin: 0; }
.hero-figure img { width: 100%; height: auto; display: block; border: 2px solid var(--accent); }

.block { padding: 1.3rem 0; }

.ruled { margin: 0.4rem 0 0.8rem; }
.ruled dt {
  font-weight: 700; padding-top: 0.7rem;
  border-top: 1px dotted var(--accent);
}
.ruled dd { margin: 0.2rem 0 0.7rem; color: var(--text); }

.page-head { padding: 1.3rem 0 0.2rem; }
.wrap-services, .about, .contact-card { width: min(72rem, calc(100% - 2rem)); margin: 0 auto 2rem; }
.about { padding-top: 1.2rem; }

table.hours { border-collapse: collapse; width: 100%; max-width: 28rem; margin: 0.4rem 0 1rem; }
.hours caption { text-align: left; font-weight: 700; margin-bottom: 0.3rem; }
.hours th, .hours td { text-align: left; padding: 0.4rem 0.8rem 0.4rem 0; border-bottom: 1px solid var(--rule); }
.hours th { font-weight: 600; }

.dfoot { border-top: 6px solid var(--accent); padding: 1rem 0 2rem; }
.dfoot a { font-weight: 700; }

@media (min-width: 52rem) {
  .hero { grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 2rem; }
}
