/* Structure shared by every demo. Each theme file sets the tokens and reshapes components. */
:root {
  --bg: #fff;
  --ink: #1a1a1a;
  --muted: #555;
  --surface: #f3f3f3;
  --line: #ddd;
  --brand: #333;
  --on-brand: #fff;
  --accent: #333;
  --on-accent: #fff;
  --radius: 8px;
  --head: system-ui, sans-serif;
  --body: system-ui, sans-serif;
  --head-weight: 700;
  --head-spacing: -0.01em;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.6 var(--body); }
img, svg { max-width: 100%; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; font-family: var(--head); font-weight: var(--head-weight); letter-spacing: var(--head-spacing); line-height: 1.1; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.625rem); }
h3 { font-size: 1.25rem; line-height: 1.25; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--focus, var(--accent)); outline-offset: 2px; }

.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; z-index: 50; padding: 10px 16px; background: #fff; color: #000; }
.skip:focus { left: 8px; top: 8px; }

/* Demo notice */
.demo-bar { display: flex; flex-wrap: wrap; gap: 4px 16px; justify-content: center; padding: 6px 16px; background: #20262b; color: #e9edf0; font: 400 0.875rem/1.4 system-ui, sans-serif; }
.demo-bar strong { font-weight: 600; }
.demo-bar a { color: #fff; font-weight: 600; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--header-bg, var(--bg)); color: var(--header-ink, var(--ink)); border-bottom: 1px solid var(--header-line, var(--line)); }
.header-row { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font: var(--head-weight) 1.25rem/1 var(--head); text-decoration: none; letter-spacing: var(--head-spacing); }
.logo svg { width: 32px; height: 32px; flex: none; }
#site-nav { margin-left: auto; }
#site-nav .nav-book a { padding: 8px 14px; background: var(--accent); color: var(--on-accent); border-radius: var(--radius); font-weight: 700; text-decoration: none; }
#site-nav ul { display: flex; gap: 20px; }
#site-nav a { display: block; padding: 6px 0; font-size: 0.975rem; font-weight: 500; text-decoration: none; }
#site-nav a:hover, #site-nav a[aria-current] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.header-phone { padding: 9px 14px; background: var(--brand); color: var(--on-brand); border-radius: var(--radius); font-weight: 700; text-decoration: none; white-space: nowrap; }
.menu-toggle { display: none; margin-left: auto; padding: 9px 14px; background: none; color: inherit; border: 2px solid currentColor; border-radius: var(--radius); font: 600 1rem var(--body); cursor: pointer; }

/* Buttons */
.btn { display: inline-block; padding: 14px 22px; background: var(--accent); color: var(--on-accent); border: 2px solid var(--accent); border-radius: var(--radius); font: 700 1.0625rem/1.2 var(--body); text-align: center; text-decoration: none; cursor: pointer; }
.btn:hover { filter: brightness(1.08); }
.btn-alt { background: transparent; color: inherit; border-color: currentColor; }
.btn-alt:hover { background: rgb(128 128 128 / 0.14); filter: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.text-link { display: inline-block; margin-top: 24px; font-weight: 700; text-underline-offset: 4px; }

/* Sections */
.band { padding-block: clamp(48px, 7vw, 88px); }
.band h2:not(.sched h2, .side-card h2)::after { content: ""; display: block; width: 56px; height: 5px; margin-top: 14px; border-block: 1px solid currentColor; opacity: 0.55; }
.band h2 + .lede, .band h2 + ul, .band h2 + ol, .band h2 + .faq { margin-top: 24px; }
.lede { max-width: 60ch; color: var(--muted); font-size: 1.125rem; }
.lede + ul { margin-top: 28px; }
.page-head { padding-block: clamp(40px, 6vw, 72px); background: var(--brand); color: var(--on-brand); }
.page-head h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
.page-head p { max-width: 60ch; margin-top: 14px; font-size: 1.1875rem; }

/* Services */
.svc-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.svc-list a { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 22px; background: var(--surface); border-radius: var(--radius); text-decoration: none; }
.svc-list a:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.svc-list p { color: var(--muted); }
.svc-price { margin-top: auto; padding-top: 8px; font-weight: 700; }

.why-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.why-list p, .team p, .steps p, .area-grid p { margin-top: 6px; color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; counter-reset: step; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: block; margin-bottom: 10px; font: var(--head-weight) 2.5rem/1 var(--head); color: var(--brand); }

.review-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.review-list.one { max-width: 680px; grid-template-columns: 1fr; }
.review { display: flex; flex-direction: column; justify-content: space-between; gap: 16px; padding: 24px; background: var(--surface); border-radius: var(--radius); }
.review blockquote { margin: 0; }
.review-by { font-size: 0.95rem; }
.review-by span:not(.stars) { color: var(--muted); }
.stars { color: var(--star, var(--accent)); letter-spacing: 2px; }
.sample-note { max-width: 68ch; margin-bottom: 24px; color: var(--muted); }

.area-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.area-chips li { padding: 7px 14px; background: var(--surface); border-radius: var(--radius); font-weight: 600; }
.area-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 28px; }
.area-grid h2 { font-size: 1.375rem; }
.after-list { margin-top: 36px; font-weight: 600; }

.faq { max-width: 780px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { padding: 16px 0; font-weight: 700; font-size: 1.125rem; cursor: pointer; }
.faq details p { max-width: 68ch; padding-bottom: 18px; color: var(--muted); }

.band-cta { background: var(--brand); color: var(--on-brand); }
.band-cta p { max-width: 58ch; margin-top: 12px; font-size: 1.125rem; }

/* Two-column pages */
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
.prose { max-width: 70ch; }
.prose p + p { margin-top: 1em; }
.prose h2 { margin-top: 36px; margin-bottom: 12px; font-size: 1.625rem; }
.prose h2:first-child { margin-top: 0; }
.check li { position: relative; padding: 5px 0 5px 28px; }
.check li::before { content: ""; position: absolute; left: 4px; top: 12px; width: 12px; height: 7px; border-left: 3px solid var(--brand); border-bottom: 3px solid var(--brand); transform: rotate(-45deg); }
.side-card { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 8px; padding: 24px; background: var(--surface); border-radius: var(--radius); }
.side-card h2 { font-size: 1rem; font-family: var(--body); letter-spacing: 0; }
.side-card p + h2 { margin-top: 12px; }
.side-card .btn { margin-top: 8px; }
.side-price { font: var(--head-weight) 1.625rem/1.2 var(--head); }
.side-price a { text-decoration: none; }
.link-list { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 18px; }
.link-list a { font-weight: 600; text-underline-offset: 4px; }

.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; margin-top: 28px; }
.team-role { font-weight: 600; color: var(--ink) !important; }

.project-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 24px; }
.project-list li { padding: 26px; background: var(--surface); border-radius: var(--radius); }
.project-list h2 { font-size: 1.5rem; }
.project-place { margin-top: 4px; color: var(--muted); }
.project-list dl { margin: 16px 0 0; }
.project-list dt { margin-top: 10px; font-weight: 700; }
.project-list dd { margin: 0; color: var(--muted); }

/* Form */
.quote-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.quote-form h2, .form-note, .form-error, .quote-form .btn { grid-column: 1 / -1; }
.form-note { color: var(--muted); }
.field label { display: block; margin-bottom: 4px; font-weight: 600; }
.field-wide { grid-column: 1 / -1; }
.field input, .field select, .field textarea { width: 100%; padding: 12px; background: #fff; color: #1a1a1a; border: 2px solid var(--field-line, #8a8a8a); border-radius: var(--radius); font: inherit; }
.field [aria-invalid="true"] { border-color: #b3261e; }
.form-error { color: #b3261e; font-weight: 600; }
.quote-form .btn { justify-self: start; }
.form-done { padding: 28px; background: var(--surface); border-radius: var(--radius); }
.form-done p { margin-top: 10px; }

/* Footer */
.site-footer { padding-top: 56px; background: var(--footer-bg, #20262b); color: var(--footer-ink, #e9edf0); font-size: 0.975rem; }
.site-footer .logo { margin-bottom: 12px; font-size: 1.125rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid p { margin-bottom: 10px; }
.footer-grid h2 { margin-bottom: 8px; font: 700 1rem var(--body); letter-spacing: 0; }
.footer-grid p + h2 { margin-top: 16px; }
.footer-grid li { padding: 2px 0; }
.footer-grid a, .footer-end a { text-underline-offset: 3px; }
.footer-end { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 40px; padding-block: 18px; border-top: 1px solid rgb(255 255 255 / 0.2); }
.footer-end a + a { margin-left: 16px; }

.call-bar { display: none; }

@media (max-width: 1240px) {
  .header-phone { display: none; }
}
@media (max-width: 960px) {
  .menu-toggle { display: block; }
  #site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; margin: 0; padding: 8px 20px 16px; background: var(--header-bg, var(--bg)); border-bottom: 1px solid var(--header-line, var(--line)); }
  #site-nav.open { display: block; }
  #site-nav ul { flex-direction: column; gap: 0; }
  #site-nav a { padding: 10px 0; }
  #site-nav .nav-book { margin-top: 8px; }
  #site-nav .nav-book a { display: inline-block; padding: 10px 16px; }
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .side-card { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { padding-bottom: 60px; }
  .call-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; inset: auto 0 0 0; z-index: 30; }
  .call-bar a { padding: 18px 8px; background: var(--brand); color: var(--on-brand); font-weight: 700; text-align: center; text-decoration: none; }
  .call-bar a + a { background: var(--accent); color: var(--on-accent); }
  .svc-list, .review-list, .project-list { grid-template-columns: minmax(0, 1fr); }
  .quote-form { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
