:root {
  --accent: #4f46e5;
  --accent-text: #fff;
  --bg: #f7f5f2;
  --panel: #fff;
  --fg: #171717;
  --muted: #66615b;
  --line: #ded9d2;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(30, 25, 20, .09);
  color-scheme: light;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--fg); background: var(--bg); line-height: 1.5; }
body[data-scheme="dark"] { --bg: #181716; --panel: #242220; --fg: #faf8f5; --muted: #bbb4ac; --line: #47423d; color-scheme: dark; }
a { color: inherit; }
button, input, textarea { font: inherit; }
.skip { position: fixed; left: 1rem; top: -5rem; z-index: 20; background: var(--panel); padding: .7rem 1rem; }
.skip:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.top { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0 max(1.25rem, calc((100vw - 1180px) / 2)); background: var(--panel); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; gap: .75rem; align-items: center; font-weight: 700; text-decoration: none; }
.mark { width: 38px; height: 38px; display: grid; place-items: center; background: var(--fg); color: var(--bg); border-radius: 50%; overflow: hidden; }
.mark img { width: 100%; height: 100%; object-fit: cover; }
.steps { display: flex; justify-content: center; gap: clamp(.4rem, 3vw, 2rem); list-style: none; margin: 0; padding: .85rem 1rem; background: var(--panel); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.steps a { color: var(--muted); text-decoration: none; font-size: .88rem; }
.steps [aria-current="step"] { color: var(--fg); font-weight: 700; }
.hero { min-height: 190px; display: flex; align-items: end; color: #fff; padding: 2.3rem max(1.25rem, calc((100vw - 1180px) / 2)); background: linear-gradient(120deg, #171717, #4b4540); }
.hero.has-cover { background-image: linear-gradient(90deg, rgba(0,0,0,.72), rgba(0,0,0,.3)), var(--cover); background-size: cover; background-position: center; }
.hero h1 { font: 400 clamp(2rem, 6vw, 4.2rem)/1 ui-serif, Georgia, serif; margin: 0 0 .5rem; }
.hero p { margin: 0; max-width: 52rem; }
.cols { width: min(1180px, calc(100% - 2.5rem)); margin: 2.5rem auto 7rem; display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 3rem; align-items: start; }
.single { width: min(760px, calc(100% - 2.5rem)); margin: 2.5rem auto 6rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-weight: 700; font-size: .75rem; color: var(--accent); }
h2 { margin: .35rem 0; font: 400 clamp(2rem, 5vw, 3.2rem)/1.08 ui-serif, Georgia, serif; }
.lead { color: var(--muted); margin: .4rem 0 2rem; }
.category-tabs { display: flex; gap: .55rem; overflow: auto; padding: .25rem 0 1.5rem; }
.chip, .select, .time, .provider { border: 1px solid var(--line); background: var(--panel); color: var(--fg); border-radius: 999px; padding: .65rem .95rem; cursor: pointer; }
.chip[aria-pressed="true"], .time[aria-pressed="true"], .provider[aria-checked="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-text); font-weight: 700; }
.category { margin-top: 1.8rem; }
.category h3 { font-size: 1.15rem; margin-bottom: .2rem; }
.category > p { color: var(--muted); margin-top: 0; }
.services { list-style: none; margin: .7rem 0; padding: 0; border-top: 1px solid var(--line); }
.service-row { display: grid; grid-template-columns: minmax(0, 1fr) max-content 42px; grid-template-areas: "copy price add"; gap: 1rem; align-items: center; padding: 1.15rem 0; border-bottom: 1px solid var(--line); }
.service-row.has-image { grid-template-columns: 64px minmax(0, 1fr) max-content 42px; grid-template-areas: "image copy price add"; }
.service-row strong, .service-row small { display: block; }
.service-row small, .provider-copy small { color: var(--muted); }
.service-copy { grid-area: copy; min-width: 0; }
.service-image { grid-area: image; width: 64px; height: 64px; border-radius: var(--radius); object-fit: cover; background: var(--soft); }
.service-price { grid-area: price; white-space: nowrap; }
.add { grid-area: add; justify-self: end; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--fg); color: var(--fg); background: transparent; font-size: 1.5rem; cursor: pointer; }
.add[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
.card { position: sticky; top: 5rem; padding: 1.4rem; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.summary-list { list-style: none; margin: 0 0 1.2rem; padding: 0; }
.summary-list li { padding: .7rem 0; border-bottom: 1px solid var(--line); }
.summary-list small { color: var(--muted); display: block; }
.btn { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; width: 100%; padding: .7rem 1.1rem; background: var(--accent); color: var(--accent-text); border: 0; border-radius: calc(var(--radius) - 3px); font-weight: 700; text-decoration: none; cursor: pointer; }
.btn.secondary { background: transparent; color: var(--fg); border: 1px solid var(--line); }
.btn.danger { background: #a51d2d; color: #fff; }
.btn[aria-disabled="true"], .btn:disabled { opacity: .45; pointer-events: none; }
.provider-group { margin: 1.8rem 0 2.5rem; }
.provider-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: .75rem; }
.provider { border-radius: var(--radius); text-align: left; min-height: 76px; display: flex; align-items: center; gap: .75rem; }
.provider strong, .provider small { display: block; }
.provider-image { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: var(--soft); flex: 0 0 auto; }
.field { display: grid; gap: .35rem; margin: 1rem 0; }
.field input, .field textarea { width: 100%; padding: .8rem .9rem; background: var(--panel); color: var(--fg); border: 1px solid var(--line); border-radius: 8px; }
.field textarea { min-height: 100px; resize: vertical; }
.hint, .status { color: var(--muted); font-size: .9rem; }
.date-row { display: flex; gap: .8rem; align-items: end; flex-wrap: wrap; margin: 1.5rem 0; }
.date-row .field { margin: 0; flex: 1 1 220px; }
.date-row .btn { width: auto; }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: .65rem; }
.time { border-radius: 8px; text-align: center; }
.notice { margin: 1rem 0; padding: 1rem; border-left: 4px solid var(--accent); background: var(--panel); }
.panel { margin: 1.25rem 0; padding: 1.25rem; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.panel dl { display: grid; grid-template-columns: minmax(8rem, .6fr) 1fr; gap: .6rem 1rem; margin: 0; }
.panel dt { color: var(--muted); }
.panel dd { margin: 0; font-weight: 650; }
.actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); align-items: center; gap: .8rem; margin: 1.5rem 0; }
.text-link { text-align: center; padding: .6rem; }
.status[data-error="true"] { color: #a51d2d; font-weight: 650; }
.verify-row { display: flex; gap: .7rem; align-items: end; }
.verify-row .field { flex: 1; }
.verify-row .btn { width: auto; margin-bottom: 1rem; }
.bar { display: none; }
.foot { padding: 2rem max(1.25rem, calc((100vw - 1180px) / 2)); border-top: 1px solid var(--line); color: var(--muted); background: var(--panel); display: flex; gap: 1rem 2rem; flex-wrap: wrap; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }
@media (max-width: 860px) {
  html { scroll-padding-bottom: 7rem; }
  :focus-visible { scroll-margin-block: 7rem; }
  .cols { grid-template-columns: 1fr; width: min(100% - 2rem, 680px); margin-top: 2rem; }
  .card { display: none; }
  .bar { position: fixed; z-index: 10; display: flex; align-items: center; gap: .8rem; left: 0; right: 0; bottom: 0; padding: .8rem 1rem max(.8rem, env(safe-area-inset-bottom)); background: var(--panel); border-top: 1px solid var(--line); box-shadow: 0 -8px 30px rgba(0,0,0,.1); }
  .bar .summary-text { min-width: 0; flex: 1; }
  .bar .summary-text strong, .bar .summary-text small { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .bar .btn { width: auto; min-width: 120px; }
  .hero { min-height: 160px; }
  .service-row { grid-template-columns: minmax(0, 1fr) 42px; grid-template-areas: "copy add" "price add"; }
  .service-row.has-image { grid-template-columns: 64px minmax(0, 1fr) 42px; grid-template-areas: "image copy add" "image price add"; }
  .single { width: min(100% - 2rem, 680px); margin-top: 2rem; }
  .panel dl { grid-template-columns: 1fr; gap: .15rem; }
  .panel dd { margin-bottom: .7rem; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }
