:root {
  --bg: #eef2f3;
  --text: #1a2428;
  --muted: #3a4a50;
  --accent: #0e4a5c;
  --focus: #0e4a5c;
  --rule: #c5d0d4;
  --sans: "Avenir Next", "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.05rem;
  line-height: 1.5;
  border-left: 8px solid #c4a15a;
}

h1, h2, h3, .brand { font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; }
h1, h2, h3, p, ul, figure { margin: 0; }
h1 { font-size: clamp(2.3rem, 6vw, 3.8rem); margin-bottom: 0.4rem; }
h2 { font-size: 1.35rem; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 0.7rem; }
h3 { font-size: 1.15rem; margin-bottom: 0.25rem; }
p { margin-bottom: 0.75rem; }
a { color: var(--accent); }
ul { padding-left: 0; list-style: none; }

: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;
}
.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 { padding: 0.7rem 0; border-bottom: 1px solid var(--text); }
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1rem; align-items: end; }
.brand {
  color: inherit; text-decoration: none; font-size: clamp(1.5rem, 3vw, 2rem);
  display: inline-flex; min-height: 44px; align-items: center;
}
.brand:hover { text-decoration: underline; }
.kicker { color: var(--muted); margin: 0; }

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

.hero { padding: 1.4rem 0 0.6rem; max-width: 46rem; }
.tagline { font-size: 1.25rem; color: var(--accent); font-weight: 700; }

.hero-figure { margin: 0.4rem 0 0; }
.hero-figure img { width: 100%; height: auto; display: block; }

.split { display: grid; gap: 1rem; }
.split-col { background: #f7fafb; border: 1px solid var(--rule); padding: 0.9rem 1rem 0.4rem; }
.split-col li { padding: 0.65rem 0; border-top: 1px solid var(--rule); }

.block { padding: 1.2rem 0 1.6rem; }
.page-head { padding: 1.3rem 0 0.3rem; }
.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.45rem 0.8rem 0.45rem 0; border-bottom: 1px solid var(--rule); }

.dfoot { border-top: 1px solid var(--text); padding: 1rem 0 2rem; background: #e4ecee; }
.dfoot a { font-weight: 700; }

@media (min-width: 48rem) {
  .split { grid-template-columns: 1fr 1fr; align-items: start; }
}
