:root {
  --slate: #46515a;
  --slate-2: #5b6770;
  --slate-3: #2f373d;
  --ink: #262d33;
  --muted: #5f6a72;
  --paper: #faf9f6;
  --paper-2: #f1efe9;
  --line: #dedad1;
  --gold: #c19552;
  --gold-2: #a98040;
  --gold-lt: #dcba84;
  --gold-soft: #f4ead9;
  --red: #b3261e;
  --red-soft: #fdecea;
  --amber: #8a4b00;
  --amber-soft: #fff3df;
  --serif: 'Libre Caslon Text', Georgia, 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --radius: 18px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.5; min-height: 100vh; }
a { color: var(--slate); }
button, input, textarea, select { font: inherit; color: inherit; }
button, a, label { -webkit-tap-highlight-color: transparent; }
.boot, .center { text-align: center; }
.boot { padding: 30vh 16px; color: var(--muted); }
.muted { color: var(--muted); }
.ic { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* header */
.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; padding-top: max(10px, env(safe-area-inset-top)); background: var(--slate); color: var(--paper); }
.brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-family: var(--serif); font-weight: 700; font-size: 18px; line-height: 1.05; }
.brand img { width: 44px; height: 44px; border-radius: 12px; box-shadow: 0 0 0 2px rgba(220, 186, 132, .55); }
.brand small { display: block; font-family: var(--sans); font-weight: 600; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; opacity: .75; margin-top: 3px; }
.pill-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--paper); color: var(--slate); font-weight: 700; text-decoration: none; font-size: 15px; }
.checker { height: 12px; background: var(--slate) repeating-conic-gradient(var(--gold) 0 25%, transparent 0 50%) 0 0 / 12px 12px; }

/* page */
main { padding: 0 16px 24px; }
.page { max-width: 620px; margin: 0 auto; padding-top: 22px; }
.hero { margin-bottom: 18px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--slate-2); }
.eyebrow::before { content: ""; width: 24px; height: 3px; border-radius: 2px; background: var(--gold); }
h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(30px, 8vw, 40px); line-height: 1.1; margin: 0 0 8px; color: var(--slate-3); text-wrap: balance; }
.lead { margin: 0; color: var(--muted); font-size: 17px; }
.hero.done { text-align: center; padding: 8px 0 4px; }
.big-check { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--gold); color: #fff; margin-bottom: 10px; }
.big-check .ic { width: 38px; height: 38px; }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 4px 14px rgba(0, 0, 0, .04); }
.card.flat { padding: 4px 16px; }

/* steps */
.step { margin: 26px 0 0; }
.step h2 { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 700; font-size: 22px; line-height: 1.2; margin: 0 0 12px; color: var(--slate-3); }
.step h2 .n { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--slate); color: var(--paper); font-family: var(--sans); font-size: 14px; flex: none; }
.step.has-err h2 .n { background: var(--red); }
.err { display: block; color: var(--red); font-style: normal; font-weight: 600; font-size: 15px; margin: 8px 0 0; }
.hint { color: var(--muted); font-size: 14px; margin: 8px 0 0; }
.disclaimer { font-size: 14px; color: var(--slate-2); background: var(--paper-2); border-left: 4px solid var(--gold); border-radius: 8px; padding: 10px 12px; margin: 10px 0 0; }
.disclaimer.warn { background: var(--amber-soft); border-left-color: #d98a1c; color: var(--amber); }

/* days */
.days { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; scroll-snap-type: x proximity; scroll-padding: 0 16px; scrollbar-width: thin; }
.day { position: relative; flex: none; width: 80px; display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 10px 4px 9px; border-radius: 16px; border: 2px solid var(--line); background: #fff; cursor: pointer; scroll-snap-align: start; color: var(--ink); }
.day .wd { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; color: var(--muted); white-space: nowrap; }
.day .dn { font-family: var(--serif); font-size: 24px; font-weight: 700; line-height: 1.1; }
.day .mo { font-size: 13px; color: var(--muted); }
.day .tag { position: absolute; top: -8px; left: 50%; transform: translateX(-50%); background: var(--paper-2); border: 1px solid var(--line); color: var(--muted); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: 0 6px; border-radius: 999px; }
.day.full { background: var(--paper-2); }
.day.full .dn { color: var(--muted); }
.day.on { border-color: var(--slate); background: var(--slate); color: var(--paper); }
.day.on .wd, .day.on .mo { color: rgba(250, 249, 246, .8); }
.day.on .dn { color: var(--paper); }
.day.more { overflow: hidden; border-style: dashed; }
.day.more input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
.day.more.on { border-style: solid; }

/* people */
.stepper { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; }
.stepper + .stepper { border-top: 1px solid var(--line); }
.stepper-label b { display: block; font-size: 18px; }
.stepper-label small { color: var(--muted); font-size: 14px; }
.stepper-ctl { display: flex; align-items: center; gap: 6px; }
.stepper-ctl button { width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--slate); background: #fff; color: var(--slate); display: grid; place-items: center; cursor: pointer; touch-action: manipulation; }
.stepper-ctl button:active { background: var(--gold-soft); }
.stepper-ctl button[disabled] { border-color: var(--line); color: #b9b4a9; cursor: default; }
.stepper-ctl button.soft { border-color: var(--line); color: #b9b4a9; }
.stepper-ctl output { min-width: 40px; text-align: center; font-family: var(--serif); font-size: 26px; font-weight: 700; }

/* areas */
.areas { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.area { position: relative; text-align: left; display: flex; flex-direction: column; gap: 2px; padding: 14px 14px 13px; border-radius: 16px; border: 2px solid var(--line); background: #fff; cursor: pointer; min-height: 84px; color: var(--ink); }
.area b { font-family: var(--serif); font-size: 20px; }
.area small { color: var(--muted); font-size: 14px; line-height: 1.3; }
.area .area-check { position: absolute; right: 10px; top: 10px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; color: transparent; }
.area .area-check .ic { width: 16px; height: 16px; }
.area.on { border-color: var(--slate); background: var(--gold-soft); }
.area.on .area-check { background: var(--slate); border-color: var(--slate); color: #fff; }
.area[disabled] { background: var(--paper-2); color: var(--muted); cursor: default; }
.area[disabled] b { color: var(--muted); }

/* tick boxes */
.tick { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; margin-top: 10px; border-radius: 14px; border: 2px solid var(--line); background: #fff; cursor: pointer; }
.tick.on { border-color: var(--slate); }
.tick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tick .box { flex: none; width: 26px; height: 26px; border-radius: 8px; border: 2px solid var(--slate); display: grid; place-items: center; color: transparent; background: #fff; margin-top: 1px; }
.tick .box .ic { width: 18px; height: 18px; }
.tick input:checked + .box { background: var(--slate); color: #fff; }
.tick input:focus-visible + .box { outline: 3px solid var(--gold); outline-offset: 2px; }
.tick-text b { display: block; font-size: 17px; }
.tick-text small { display: block; color: var(--muted); font-size: 14px; line-height: 1.4; }
.summary .tick { border: none; padding: 4px 0; margin: 6px 0 4px; background: none; }
.summary .tick .box { width: 22px; height: 22px; border-radius: 6px; }
.sub { margin: 10px 0 4px 14px; padding-left: 14px; border-left: 3px solid var(--gold-soft); }

/* times */
.day-title { font-weight: 700; margin: 0 0 8px; color: var(--slate-2); }
.svc h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 12px 0 8px; }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; }
.time { padding: 11px 4px; border-radius: 12px; border: 2px solid var(--line); background: #fff; font-weight: 700; font-variant-numeric: tabular-nums; cursor: pointer; color: var(--ink); }
.time.on { background: var(--slate); border-color: var(--slate); color: var(--paper); }
.time[disabled] { background: var(--paper-2); color: #b2ada3; text-decoration: line-through; cursor: default; border-color: var(--paper-2); }

/* chips (sport) */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 6px; }
.chip { padding: 8px 14px; border-radius: 999px; border: 2px solid var(--line); background: #fff; cursor: pointer; font-size: 15px; font-weight: 600; color: var(--ink); }
.chip.on { background: var(--slate); border-color: var(--slate); color: var(--paper); }

/* fields */
.field { display: block; margin: 0 0 14px; }
.field > span { display: block; font-weight: 700; margin-bottom: 6px; }
input[type=text], input[type=tel], textarea { width: 100%; border: 2px solid var(--line); border-radius: 12px; padding: 12px 14px; background: #fff; font-size: 17px; min-height: 50px; }
textarea { resize: vertical; min-height: 84px; }
input:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
input[aria-invalid=true], textarea[aria-invalid=true] { border-color: var(--red); background: var(--red-soft); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* notes & buttons */
.note { background: var(--gold-soft); color: #5a4220; border-radius: 14px; padding: 12px 14px; margin: 12px 0; font-size: 15px; }
.note.warn { background: var(--red-soft); color: var(--red); }
.note.gold { border: 2px solid var(--gold); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; min-height: 48px; border-radius: 999px; border: 2px solid var(--slate); background: var(--slate); color: var(--paper); font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; }
.btn.gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn.gold:hover { background: var(--gold-2); border-color: var(--gold-2); color: #fff; }
.btn.ghost { background: #fff; color: var(--slate); }
.btn.danger { background: #fff; color: var(--red); border-color: var(--red); }
.btn.small { min-height: 40px; padding: 8px 14px; font-size: 15px; }
.btn.big { width: 100%; min-height: 58px; font-size: 19px; }
.btn[disabled] { opacity: .6; cursor: default; }
.row-btns { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0; }
.row-btns.center { justify-content: center; }
.row-btns .btn { flex: 1 1 180px; }
.row-btns.center .btn { flex: 0 1 auto; }

.summary { margin-top: 28px; }
.sum-line { font-family: var(--serif); font-weight: 700; font-size: 18px; margin: 0 0 4px; color: var(--slate-3); }

.upcoming { margin-bottom: 4px; }
.upcoming b { display: block; margin-bottom: 6px; }
.upcoming a { display: flex; justify-content: space-between; padding: 8px 0; border-top: 1px solid var(--line); text-decoration: none; font-weight: 600; }

/* your booking */
.ticket { padding: 0; overflow: hidden; margin-top: 8px; }
.ticket-when { background: var(--slate); color: var(--paper); padding: 14px 16px; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.ticket-when span { font-family: var(--serif); font-size: 19px; }
.ticket-when b { font-family: var(--serif); font-size: 30px; color: var(--gold-lt); }
.ticket dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 16px; margin: 0; padding: 16px; }
.ticket dt { color: var(--muted); }
.ticket dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.ticket.void { opacity: .6; }
.ticket.void .ticket-when { background: var(--muted); text-decoration: line-through; }
.cancel-box { margin-top: 18px; }
.cancel-box p { margin: 4px 0 12px; color: var(--muted); }

/* pet rules */
.rules { list-style: none; counter-reset: r; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; }
.rules li { counter-increment: r; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px 14px 58px; position: relative; }
.rules li::before { content: counter(r); position: absolute; left: 14px; top: 14px; width: 30px; height: 30px; border-radius: 50%; background: #d9733a; color: #fff; display: grid; place-items: center; font-weight: 700; }
.rules b { display: block; font-family: var(--serif); font-size: 19px; margin-bottom: 2px; color: var(--slate-3); }
.rules span { color: var(--muted); }
.rules-img { display: block; width: 100%; height: auto; border-radius: var(--radius); }

/* footer */
.foot { text-align: center; color: var(--muted); font-size: 14px; padding: 26px 16px calc(26px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); margin-top: 30px; background: var(--paper-2); }
.foot p { margin: 4px 0; }

@media (min-width: 640px) {
  main { padding: 0 24px 32px; }
  .days { margin: 0; padding-left: 2px; padding-right: 2px; flex-wrap: wrap; overflow: visible; }
  .day { width: 80px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }

/* morning: book by phone */
.time.wide { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 8px; }
.time.phone-only { border-style: dashed; color: var(--slate); }
.time.phone-only small { font-weight: 600; color: var(--muted); font-size: 13px; }
.time.phone-only small::before { content: "·"; margin-right: 8px; }
.time.past { background: var(--paper-2); color: #b2ada3; border-color: var(--paper-2); text-decoration: line-through; }
.note.notice { background: #fff; border: 2px solid var(--gold); }
.note .linkish, .linkish { background: none; border: none; padding: 0; color: var(--slate); text-decoration: underline; font-weight: 700; cursor: pointer; font-size: inherit; }

/* pop-ups */
body.no-scroll { overflow: hidden; }
.dlg-bg { position: fixed; inset: 0; z-index: 50; background: rgba(38, 45, 51, .55); display: grid; place-items: end center; padding: 16px; padding-bottom: max(16px, env(safe-area-inset-bottom)); overflow-y: auto; }
.dlg { width: min(460px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto; background: #fff; border-radius: 22px; padding: 22px 20px 18px; text-align: center; box-shadow: 0 20px 50px rgba(0, 0, 0, .25); display: grid; gap: 10px; }
.dlg h2 { font-family: var(--serif); font-size: 24px; line-height: 1.2; margin: 2px 0 0; color: var(--slate-3); text-wrap: balance; }
.dlg-text p { margin: 0 0 8px; color: var(--muted); }
.dlg-text p:last-child { margin-bottom: 2px; }
.dlg-icon { justify-self: center; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-2); }
.dlg-icon .ic { width: 28px; height: 28px; }
.dlg-img { display: block; width: 100%; max-height: 52vh; object-fit: contain; border-radius: 14px; background: var(--paper-2); }
.dlg-link { font-weight: 700; color: var(--slate); }
.dlg-btns { display: grid; gap: 10px; margin-top: 4px; }
.dlg-sum { background: var(--paper-2); border-radius: 14px; padding: 10px 12px; font-size: 16px; line-height: 1.45; }
@media (min-width: 640px) { .dlg-bg { place-items: center; } }
