:root {
  --bg: #f6efe6;
  --text: #241c17;
  --muted: #4a3d36;
  --accent: #5c241c;
  --on-accent: #f6efe6;
  --focus: #5c241c;
  --band: #efe2d2;
  --serif: "Palatino Linotype", Palatino, "Iowan Old Style", Georgia, 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(--serif);
  font-size: 1.125rem;
  line-height: 1.55;
}

h1, h2, h3, p, figure { margin: 0; }
h1 { font-size: clamp(2.5rem, 7vw, 4.4rem); font-weight: 600; line-height: 0.98; letter-spacing: -0.03em; margin-bottom: 0.4rem; }
h2 { font-size: 1.7rem; font-weight: 600; margin: 0 0 0.55rem; }
h3 { font-size: 1.35rem; font-weight: 600; margin-bottom: 0.25rem; }
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: "Segoe UI", "Helvetica Neue", sans-serif;
}
.demo-banner p { margin: 0 auto; max-width: 72rem; padding: 0.7rem 1rem; }
.demo-banner a { color: #1a1408; font-weight: 700; }

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

.dhead { background: var(--accent); color: var(--on-accent); padding: 0.9rem 0 0.7rem; }
.dhead a { color: var(--on-accent); }
.brand {
  color: var(--on-accent); text-decoration: none; font-size: clamp(1.7rem, 4vw, 2.5rem);
  display: inline-flex; min-height: 44px; align-items: center;
}
.brand:hover { text-decoration: underline; }
.kicker { margin: 0.1rem 0 0.35rem; letter-spacing: 0.06em; }

.dnav { display: flex; flex-wrap: wrap; gap: 0.15rem 1rem; }
.dnav a {
  color: var(--on-accent); 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(--on-accent); }

.dhead :focus-visible { outline-color: #f4d35e; }

.statement { padding: 1.5rem 0 1rem; }
.tagline { font-size: clamp(1.3rem, 3vw, 1.8rem); max-width: 36rem; }

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

.block { padding: 1.2rem 0; }
.page-head { padding: 1.3rem 0 0.2rem; }

.courses { border-top: 8px solid var(--accent); }
.course { padding: 1rem 0; border-bottom: 8px solid var(--accent); }
.course:nth-child(even) { background: var(--band); }
.course h3, .course p { width: min(70rem, calc(100% - 2rem)); margin-left: auto; margin-right: auto; }

.wrap-services, .about, .contact-card { width: min(70rem, calc(100% - 2rem)); margin: 0 auto 2rem; }
.about { padding-top: 1.3rem; }
.about p:first-of-type { font-size: 1.3rem; }

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 #d9cbb8; }

.dfoot { background: var(--accent); color: var(--on-accent); padding: 1rem 0 2rem; }
.dfoot a { color: var(--on-accent); font-weight: 700; }
.dfoot :focus-visible { outline-color: #f4d35e; }
