/* Doctor of Fades: the booking site (November 2026).
   One idea: the doctor's office. The diploma lettering (Manufacturing Consent) for the few big
   lines, Archivo for everything read, its condensed width for labels and figures, and Courier
   Prime for anything the doctor would type or write on the slip. Ivory, champagne gold and black ink:
   no dark surfaces (the shop's own scheme since its November 2026 renovation).
   Colours come from brand.css (shop.config.js), faces from fonts.css. Surfaces set colour roles
   (paper, or ink by default) and components read them. See brand/BRAND.md. */

:root {
  --f: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --f-display: 'Manufacturing Consent', 'Old English Text MT', Georgia, serif;
  --f-cond: 'Archivo', 'Arial Narrow', Arial, sans-serif;
  --f-type: 'Courier Prime', ui-monospace, 'Courier New', monospace;
  --smoke: #7A705C; --graphite: #17140F; --card: #FFFDF7; --antique: #8C6D2C; --rule: #A6853F; --champagne: #E6D5A8;
  --red: #B0331E;
  --pad: clamp(18px, 4.4vw, 64px);
  --max: 1320px;
  --head-h: 68px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
  --safe-b: env(safe-area-inset-bottom, 0px);
  /* names the plate and the fade were first written with */
  --gutter: var(--pad); --header-h: var(--head-h); --out: var(--ease-out); --f-text: var(--f); --f-plate: var(--f-cond);
  /* Metal. Metallic gold for the buttons and the big figures; brushed champagne for the cards. */
  --brass-grad: linear-gradient(98deg, #7b5c24 0%, #b79148 16%, #e9d39c 42%, #f3e3b6 50%, #caa55d 66%, #8a6829 100%);
  --champ-grad: linear-gradient(100deg, #C2A462 0%, #DBC48F 18%, #F1E5C3 44%, #F7EED3 52%, #E3CF9D 70%, #C8AB69 100%);
  --brush: repeating-linear-gradient(0deg, rgba(255, 250, 232, .07) 0 1px, rgba(70, 50, 12, .045) 1px 2px);
}

/* Colour roles. --fg text, --fg-2 secondary text, --line rules, --tint a quiet fill.
   Ivory is the page; .stone is the deeper cream band. Text is black. Nothing is dark. */
:root, .black, .paper, .on-paper, [data-paper] {
  --bg: var(--paper); --fg: #0B0A08; --fg-2: #5C5443; --line: #E3D9C2; --line-2: #C9BB95; --tint: #EEE6D2;
  --act-bg: #0B0A08; --act-fg: var(--paper); --act-hover: #2E281E;
  color-scheme: light;
}
.stone, .on-stone {
  --bg: var(--stone); --fg: #0B0A08; --fg-2: #5C5443; --line: #D8CCAE; --line-2: #B5A57C; --tint: #E3D8BF;
  --act-bg: #0B0A08; --act-fg: var(--stone); --act-hover: #2E281E;
  color-scheme: light;
}
.paper, .on-paper, [data-paper], .stone, .on-stone, .black { background: var(--bg); color: var(--fg); }

/* ── Base ─────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 8px); overflow-x: clip; }
body {
  margin: 0; background: var(--paper); color: var(--fg);
  font: 400 17px/1.55 var(--f); font-stretch: 100%; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-kerning: normal;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
a, button, input, select, textarea, label, summary, [role="button"] { touch-action: manipulation; }
h1, h2, h3, h4, p, blockquote, figure, dl, dd { margin: 0; }
h1, h2, h3, h4 { font-weight: 700; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
::selection { background: var(--brass); color: var(--black); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

/* The diploma lettering: big, few, never in capitals */
.display, .title { font-family: var(--f-display); font-style: normal; font-weight: 400; text-transform: none; letter-spacing: 0; line-height: .94; }
.title { font-size: clamp(58px, 8.6vw, 128px); text-wrap: balance; }
.lede { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.5; color: var(--fg-2); max-width: 44ch; text-wrap: pretty; }
.muted { color: var(--fg-2); }
.small { font-size: 15px; }
.xs { font-size: 13.5px; }
.block { display: block; }
.grow { flex: 1; min-width: 0; }
.row { display: flex; align-items: center; gap: 12px; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.stack > * + * { margin-top: var(--gap, 12px); }
.eyebrow { display: block; font: 400 15px/1.3 var(--f-type); color: var(--fg-2); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

/* A line cut in behind a razor: the headline's reveal */
.cut { position: relative; display: inline-block; vertical-align: bottom; }
.cut-t { display: inline-block; padding: .1em .06em .2em; margin: -.1em -.06em -.2em; clip-path: inset(0 100% 0 0); transition: clip-path .95s var(--ease-io) var(--cut-delay, 0ms); }
.cut-in .cut-t { clip-path: inset(0 -4% 0 0); }
.cut::after { content: ''; position: absolute; top: 4%; bottom: -6%; left: 0; width: 2px; background: var(--brass); opacity: 0; pointer-events: none; }
.cut-in::after { animation: razor .95s var(--ease-io) var(--cut-delay, 0ms) both; }
@keyframes razor { 0% { left: 0; opacity: 1; } 92% { opacity: 1; } 100% { left: 100%; opacity: 0; } }

/* A lamp: lit when the shop is open */
.lamp { display: inline-block; width: 9px; height: 9px; flex: none; border-radius: 50%; border: 1.5px solid currentColor; opacity: .55; margin-right: 10px; vertical-align: 1px; position: relative; }
.lamp.on { border-color: var(--antique); background: var(--brass); opacity: 1; box-shadow: 0 0 0 0 rgba(201, 164, 92, .55); animation: lamp-on 2.8s var(--ease-out) infinite; }
@keyframes lamp-on { 70%, 100% { box-shadow: 0 0 0 9px rgba(201, 164, 92, 0); } }
.skel { color: transparent !important; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ── Controls ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 2px; border: 1px solid var(--rule);
  background: var(--brush), var(--brass-grad); background-size: auto, 240% 100%; background-position: 0 0, 58% 0; color: #140F07;
  font: 700 16px/1.1 var(--f); letter-spacing: .01em; text-decoration: none; white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 248, 224, .75), inset 0 -1px 0 rgba(84, 60, 16, .4);
  transition: background-position 1s var(--ease-out), border-color .2s, color .2s, transform .15s var(--ease);
}
.btn:hover:not(:disabled) { background-position: 0 0, 18% 0; }
.btn:active:not(:disabled) { transform: translateY(1px) scale(.99); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.ghost { background: var(--card); color: var(--fg); border-color: var(--rule); box-shadow: none; }
.btn.ghost:hover:not(:disabled) { background: var(--card); border-color: var(--fg); }
.btn.quiet { background: transparent; box-shadow: none; border-color: transparent; color: var(--fg); min-height: 40px; padding: 0 6px; text-decoration: underline; text-underline-offset: 4px; }
.btn.quiet:hover:not(:disabled) { background: transparent; border-color: transparent; text-decoration-thickness: 2px; }
.btn.danger { background: var(--red); border-color: var(--red); color: #fff; box-shadow: none; }
.btn.danger:hover:not(:disabled) { background: #8F1C13; border-color: #8F1C13; }
.btn.danger-ghost { background: transparent; border-color: var(--red); color: var(--red); box-shadow: none; }
.btn.danger-ghost:hover:not(:disabled) { background: var(--red); color: #fff; }
.btn.lg { min-height: 58px; padding: 0 34px; font-size: 17px; }
.btn.sm { min-height: 40px; padding: 0 18px; font-size: 15px; }
.btn.block { display: flex; width: 100%; }
.btn .icon, .btn .glyph { flex: none; }
.btn-price { padding-left: 12px; margin-left: 2px; border-left: 1px solid color-mix(in srgb, currentColor 35%, transparent); font-weight: 400; }
.linkish {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 0; border: 0; background: none; color: var(--fg);
  font-size: 15px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px;
}
.linkish:hover { text-decoration-thickness: 2px; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: var(--fg); }
.icon-btn:hover { background: var(--tint); }
.icon-btn-space { display: inline-block; width: 44px; height: 44px; }
.icon { display: inline-block; vertical-align: middle; }

/* Forms */
.field { display: block; }
.field > span { display: block; font-size: 15px; font-weight: 700; margin-bottom: 7px; }
.field > span em { font-style: normal; font-weight: 400; color: var(--fg-2); }
.field input, .field select, .field textarea, .input {
  width: 100%; min-height: 54px; padding: 12px 16px; border-radius: 3px;
  background: var(--card); border: 1px solid var(--line-2); color: var(--black); font-size: 17px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 96px; resize: vertical; line-height: 1.45; }
.field input:focus, .field select:focus, .field textarea:focus, .input:focus { outline: none; border-color: var(--antique); box-shadow: 0 0 0 3px rgba(190, 154, 78, .28); }
.field input::placeholder, .field textarea::placeholder { color: color-mix(in srgb, var(--fg-2) 70%, transparent); }
.field .hint { margin-top: 7px; font-size: 14px; color: var(--fg-2); }
.field .hint.err, .field.invalid .hint { color: var(--red); }
.field.invalid input { border-color: var(--red); }
.form-error { display: flex; gap: 8px; align-items: flex-start; color: var(--red); font-size: 15px; font-weight: 700; }
.form-error .icon { flex: none; margin-top: 2px; }
.code-input { text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }

/* Chips and segmented choices */
.chip, .pick-chip {
  display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 14px; border-radius: 3px;
  border: 1px solid var(--line-2); background: transparent; color: var(--fg); font-size: 15px; font-weight: 700;
}
.pick-chip .muted { font-weight: 400; }
.pick-chip.on, .pick-chip[aria-pressed="true"] { background: var(--champagne); border-color: var(--antique); color: #0B0A08; }
.pick-chip.on .muted { color: inherit; opacity: .75; }
.pick-chip:disabled { opacity: .4; cursor: not-allowed; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg button { min-height: 40px; padding: 0 14px; border-radius: 3px; border: 1px solid var(--line-2); background: transparent; color: var(--fg); font-size: 15px; font-weight: 700; }
.seg button.on, .seg button[aria-checked="true"] { background: var(--champagne); border-color: var(--antique); color: #0B0A08; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid currentColor; margin-right: 8px; vertical-align: 1px; flex: none; opacity: .7; }
.dot.on { background: currentColor; opacity: 1; }
/* Live: a chair is free. A soft glow breathes out from the dot. */
.pulse { position: relative; display: inline-block; width: 8px; height: 8px; flex: none; border-radius: 50%; background: currentColor; }
.pulse::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: currentColor; opacity: .5; animation: pulse 2.6s var(--ease-out) infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .45; } 70%, 100% { transform: scale(3.2); opacity: 0; } }

/* Avatars */
.avatar { --av: 56px; --av-r: 2px; width: var(--av); height: var(--av); flex: none; border-radius: var(--av-r); overflow: hidden; display: inline-grid; place-items: center; background: var(--tint); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar.initials { background: var(--brush), var(--champ-grad); box-shadow: inset 0 0 0 1px rgba(110, 82, 28, .55); }
.avatar.initials span { color: #1A1206; font-size: calc(var(--av) * .38); }

.spinner { width: 20px; height: 20px; border-radius: 50%; display: inline-block; border: 2px solid color-mix(in srgb, currentColor 22%, transparent); border-top-color: currentColor; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading-block { display: grid; place-items: center; min-height: 140px; }

/* Toasts */
.toast-wrap { position: fixed; left: 0; right: 0; bottom: calc(18px + var(--safe-b)); z-index: 400; display: grid; place-items: center; padding: 0 16px; pointer-events: none; }
.toast { display: flex; gap: 10px; align-items: center; max-width: 520px; padding: 13px 18px; border-radius: 3px; background: var(--card); color: var(--fg); font-weight: 700; box-shadow: 0 0 0 1px var(--rule), 0 14px 30px -10px rgba(60, 44, 12, .45); animation: toast-in .3s var(--ease-out); }
.toast.error { background: var(--red); color: #fff; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }

/* Dialog sheets: from the bottom on phones, a dialog on wider screens */
.sheet-backdrop { position: fixed; inset: 0; z-index: 360; display: flex; align-items: flex-end; justify-content: center; background: rgba(38, 28, 8, .42); animation: fade .2s; }
.sheet {
  --bg: var(--paper); --fg: var(--black); --fg-2: #5F574A; --line: #DDD3BF; --line-2: #BFB298; --tint: #EAE2D0; --act-bg: var(--black); --act-fg: var(--stone); --act-hover: #2E281E;
  width: 100%; max-height: 92dvh; display: flex; flex-direction: column; outline: none; color-scheme: light;
  background: var(--bg); color: var(--fg); border-radius: 16px 16px 0 0; padding-bottom: var(--safe-b);
  animation: sheet-up .38s var(--ease-out);
}
.sheet-grip { width: 40px; height: 4px; border-radius: 4px; background: var(--line-2); margin: 8px auto 0; flex: none; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 2px 22px; }
.sheet-head h2 { font-size: 21px; line-height: 1.2; }
.sheet-body { padding: 8px 22px 22px; overflow-y: auto; overscroll-behavior: contain; }
.sheet-foot { display: flex; gap: 10px; padding: 12px 22px 18px; border-top: 1px solid var(--line); }
.sheet-foot .btn { flex: 1; min-width: 0; padding: 0 14px; white-space: normal; text-align: center; }
@media (min-width: 720px) {
  .sheet-backdrop { align-items: center; padding: 24px; }
  .sheet { max-width: 480px; border-radius: 12px; animation: pop .26s var(--ease-out); }
  .sheet.wide { max-width: 640px; }
  .sheet-grip { display: none; }
}
@keyframes fade { from { opacity: 0; } }
@keyframes sheet-up { from { transform: translateY(40px); opacity: .6; } }
@keyframes pop { from { transform: scale(.97); opacity: 0; } }
@keyframes breathe { 50% { opacity: .45; } }

/* Loading screen and errors before the app runs */
.boot { min-height: 100svh; display: grid; place-items: center; background: var(--paper); }
.boot-mark, .boot .mark { width: 64px; height: auto; color: var(--stone); animation: breathe 1.6s ease-in-out infinite; }
.boot-error { min-height: 100svh; display: grid; place-content: center; justify-items: center; gap: 18px; padding: 24px; text-align: center; background: var(--paper); color: var(--fg); }


/* ── The brass button: the one that books ──────────────────────────────────── */
.btn-plate {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px; border: 0; border-radius: 2px; cursor: pointer; white-space: nowrap; text-decoration: none;
  font: 800 16px/1 var(--f-cond); font-stretch: 74%; letter-spacing: .045em; text-transform: uppercase; color: #140F07; text-shadow: 0 1px 0 rgba(255, 238, 196, .5);
  background:
    repeating-linear-gradient(0deg, rgba(255, 246, 220, .055) 0 1px, rgba(40, 26, 6, .045) 1px 2px),
    var(--brass-grad);
  background-size: auto, 240% 100%; background-position: 0 0, 58% 0;
  box-shadow: inset 0 1px 0 rgba(255, 246, 218, .8), inset 0 -1px 0 rgba(58, 38, 8, .7), inset 1px 0 0 rgba(255, 240, 200, .25), 0 1px 0 #6B5220, 0 14px 22px -14px rgba(60, 44, 12, .6);
  transition: background-position 1.1s var(--ease-out), transform .25s var(--ease-out), box-shadow .25s;
}
.btn-plate:hover { background-position: 0 0, 18% 0; }
.btn-plate:active { transform: translateY(1px); box-shadow: inset 0 1px 0 rgba(255, 246, 218, .6), inset 0 -1px 0 rgba(58, 38, 8, .7), 0 1px 0 #6B5220, 0 6px 10px -8px rgba(60, 44, 12, .7); }
.btn-plate.lg { min-height: 60px; padding: 0 36px; font-size: 18px; }
.btn-plate.sm { min-height: 40px; padding: 0 20px; font-size: 14.5px; }
.btn-plate.block { display: flex; width: 100%; }

/* ── The wall, the plate and the fade ───────────────────────────────────────── */
.wall, .wall i { position: absolute; inset: 0; pointer-events: none; }
.wall { z-index: -1; background: radial-gradient(120% 90% at 50% 30%, #FDFAF2 0%, var(--paper) 50%, #EFE8D6 100%); }
/* A picture light above the plate */
.wall-lamp { background: radial-gradient(40% 66% at 50% -2%, rgba(255, 253, 244, .95) 0%, rgba(255, 253, 244, .4) 40%, transparent 74%); animation: lamp 2.2s .1s var(--out) both; }
@keyframes lamp { from { opacity: .15; } }
/* Panelling: two hairline mouldings, lit from above */
.wall-panel { inset: calc(var(--header-h) + 6px) calc(var(--gutter) - 22px) 44px; border: 1px solid rgba(140, 109, 44, .38); box-shadow: 0 1px 0 rgba(255, 255, 255, .85), inset 0 1px 0 rgba(255, 255, 255, .85); }
.wall-panel::after { content: ''; position: absolute; inset: 9px; border: 1px solid rgba(140, 109, 44, .18); }
.wall-grain { opacity: .2; mix-blend-mode: multiply; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* The wall settles to flat ink at its foot, so the fade below starts from one black */
.wall .wall-foot { display: none; }
.plate-stage { display: grid; place-items: center; perspective: 1500px; min-width: 0; }
.plate {
  --tilt-x: 0deg; --tilt-y: 0deg;
  position: relative; width: min(42vw, 860px, calc((100svh - 300px) * 1.6)); aspect-ratio: 1.6;
  transform: rotateX(var(--tilt-x)) rotateY(var(--tilt-y)); transition: transform .9s var(--out); will-change: transform;
}
.plate-still, .plate-gl { position: absolute; inset: -76px; width: calc(100% + 152px); height: calc(100% + 152px); max-width: none; }
.plate-gl { opacity: 0; transition: opacity .5s; }
.plate.is-live .plate-gl { opacity: 1; }
.plate.is-live .plate-still { display: none; }
.fade { position: relative; height: clamp(170px, 21vw, 290px); margin-top: -1px; background: var(--paper); }
.fade canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
/* The guard rule, laid across the fade like a tape: No. 3 at the top, skin at the bottom */
.guards { position: absolute; top: -18px; bottom: -22px; left: var(--gutter); width: 52px; margin: 0; padding: 0; list-style: none; background: var(--paper); border: 1px solid rgba(23, 20, 15, .55); box-shadow: 0 10px 22px -10px rgba(0, 0, 0, .55); }
.guards::before { content: 'Guard'; position: absolute; left: 0; right: 0; top: -22px; text-align: center; font: 500 9px/1 var(--f-text); letter-spacing: .3em; text-transform: uppercase; color: var(--smoke); }
.guards li { position: absolute; left: 0; right: 0; top: calc(18px + var(--t) * (100% - 40px)); display: flex; align-items: center; gap: 7px; transform: translateY(-50%); font: 500 13px/1 var(--f-display); color: var(--graphite); font-variant-numeric: lining-nums; }
.guards li::before { content: ''; width: 15px; height: 1px; background: currentColor; }
.guards li::after { content: ''; position: absolute; left: 0; top: calc(50% + (100vw * 0) + 14px); width: 8px; height: 1px; background: rgba(23, 20, 15, .5); }
.guards li:last-child::after { display: none; }

/* Controls, retuned: lettered like a shop window, never italic */
.btn { font: 800 16px/1.1 var(--f-cond); font-stretch: 74%; letter-spacing: .045em; text-transform: uppercase; }
.btn.lg { min-height: 60px; font-size: 18px; }
.btn.sm { font-size: 14.5px; }
.btn.quiet, .linkish { font: 600 15px/1.2 var(--f); font-stretch: 100%; letter-spacing: 0; text-transform: none; }
.avatar.initials span { font-family: var(--f-display); }

/* ── Header ───────────────────────────────────────────────────────────────── */
.hd {
  position: fixed; inset: 0 0 auto; z-index: 200; height: var(--head-h); display: flex; align-items: center; gap: 28px; padding: 0 var(--pad);
  color: var(--fg); transition: background-color .35s, color .35s, box-shadow .35s;
}
.hd.solid { background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 1px 0 rgba(140, 109, 44, .3); }
.hd.light { color: #17140F; }
.hd.light.solid { background: color-mix(in srgb, var(--paper) 90%, transparent); box-shadow: 0 1px 0 rgba(23, 20, 15, .12); }
.hd-brand { display: inline-flex; align-items: center; color: inherit; flex: none; }
.hd-brand .lockup { height: 30px; width: auto; }
.hd-nav { display: flex; gap: clamp(16px, 2.2vw, 34px); margin-left: auto; }
.hd-nav a { position: relative; padding: 8px 0; font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.hd-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px; background: var(--brass); transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s var(--ease-out); }
.hd-nav a:hover::after { transform: scaleX(1); }
.hd-actions { display: flex; align-items: center; gap: 18px; }
.hd-call { display: inline-flex; align-items: center; gap: 8px; font: 400 15px/1 var(--f-type); text-decoration: none; white-space: nowrap; }
.hd-call:hover { text-decoration: underline; }
.hd-burger { display: none; width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; color: inherit; position: relative; }
.hd-burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; transition: transform .3s var(--ease-out), top .3s var(--ease-out); }
.hd-burger span:first-child { top: 17px; } .hd-burger span:last-child { top: 25px; }
.hd.open .hd-burger span:first-child { top: 21px; transform: rotate(45deg); } .hd.open .hd-burger span:last-child { top: 21px; transform: rotate(-45deg); }
.hd-sheet { position: fixed; inset: var(--head-h) 0 0; z-index: -1; display: flex; flex-direction: column; justify-content: space-between; padding: 26px var(--pad) calc(28px + var(--safe-b)); background: var(--paper); color: var(--fg); overflow-y: auto; animation: fade .2s; }
.hd-sheet nav { display: grid; gap: 4px; }
.hd-sheet nav a { font: 400 clamp(44px, 12.5vw, 64px)/1.08 var(--f-display); text-decoration: none; animation: rise-in .5s var(--ease-out) calc(var(--i) * 45ms) both; }
.hd-sheet-foot { display: grid; gap: 4px; font: 400 16px/1.3 var(--f-type); }
.hd-sheet-foot a { padding: 8px 0; text-decoration: none; }
.hd-sheet-foot .hd-staff { margin-top: 8px; padding-top: 16px; border-top: 1px solid rgba(140, 109, 44, .35); color: var(--smoke); }
.hd.open { background: var(--paper); color: var(--fg); }
html.menu-open { overflow: hidden; }
@keyframes rise-in { from { opacity: 0; transform: translateY(14px); } }
@media (max-width: 1060px) { .hd-nav { display: none; } .hd-actions { margin-left: auto; } .hd-burger { display: block; } }
@media (max-width: 560px) { .hd { gap: 12px; } .hd-call { display: none; } .hd-actions { gap: 6px; } .hd-brand .lockup { height: 25px; } .walk-cta .btn, .visit-actions .btn, .rv-cta .btn { flex: 1 1 auto; } }

/* ── Hero: the wall, the plate, the slip ──────────────────────────────────── */
.hero { position: relative; isolation: isolate; min-height: 100svh; display: grid; padding-top: var(--head-h); overflow: clip; }
.hero-main {
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(290px, 340px); align-items: center; gap: clamp(26px, 3vw, 60px);
  width: 100%; max-width: 1640px; margin: 0 auto; padding: clamp(20px, 3vh, 44px) var(--pad) clamp(56px, 9vh, 110px);
}
.say { min-width: 0; }
.say-now { font: 400 15px/1.45 var(--f-type); color: var(--fg); }
.say-where { display: block; padding-left: 19px; color: var(--smoke); }
.say-h { margin-top: 18px; font: 400 clamp(54px, 4.9vw, 104px)/.92 var(--f-display); color: var(--fg); }
.say-h .cut { display: block; width: fit-content; white-space: nowrap; }
.hero.is-out .say-h { color: var(--fg); }
.say-p { margin-top: 22px; max-width: 34ch; font-size: clamp(17px, 1.25vw, 19.5px); line-height: 1.5; color: #453E31; text-wrap: pretty; }
.say-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.say-cta { align-items: center; gap: 12px 24px; }
.say-walk { display: inline-flex; align-items: center; gap: 8px; padding: 8px 0; font: 800 16px/1 var(--f-cond); font-stretch: 74%; letter-spacing: .045em; text-transform: uppercase; text-decoration: none; color: var(--fg); }
.say-walk span { background: linear-gradient(var(--brass), var(--brass)) 0 100% / 100% 1.5px no-repeat; padding-bottom: 5px; }
.say-walk .glyph { transition: transform .3s var(--ease-out); }
.say-walk:hover .glyph { transform: translateX(5px); }
.say-proof { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; font: 400 15px/1.3 var(--f-type); color: var(--smoke); text-decoration: none; }
.say-proof:hover span:last-child { text-decoration: underline; }
.stars { display: inline-flex; gap: 2px; color: #A9853C; }
.plate { width: min(37vw, 780px, calc((100svh - 290px) * 1.6)); }

/* The slip: a sheet off the doctor's pad, pinned to the wall */
.slip {
  position: relative; justify-self: end; width: min(100%, 350px); padding: 22px 22px 16px; color: #0B0A08; rotate: 1.2deg;
  background: var(--card); box-shadow: 0 0 0 1px rgba(140, 109, 44, .75), 0 0 0 6px var(--card), 0 0 0 7px rgba(140, 109, 44, .4), 0 36px 44px -32px rgba(60, 44, 12, .55);
  --fg: #0B0A08; --fg-2: #5C5443; animation: slip-in .9s var(--ease-out) .5s both;
}
@keyframes slip-in { from { opacity: 0; transform: translateY(22px) rotate(2deg); } }
.slip-head { display: flex; align-items: center; gap: 14px; padding: 6px 0 14px; border-bottom: 1.5px solid var(--rule); }
.slip-head .rx { color: #8C6D2C; flex: none; }
.slip-head strong { display: block; font: 800 21px/1 var(--f-cond); font-stretch: 72%; letter-spacing: .03em; text-transform: uppercase; }
.slip-head span { display: block; margin-top: 5px; font: 400 14px/1.25 var(--f-type); color: #5F574A; }
.slip-times li { border-bottom: 1px dashed rgba(23, 20, 15, .32); animation: rise-in .5s var(--ease-out) calc(.75s + var(--i) * 80ms) both; }
.slip-times button { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; width: 100%; padding: 13px 0 11px; border: 0; background: none; text-align: left; }
.slip-times b { font: 700 22px/1 var(--f-type); letter-spacing: -.03em; white-space: nowrap; }
.slip-times button > span { display: grid; gap: 3px; min-width: 0; font: 400 14px/1.15 var(--f-type); color: #17140F; }
.slip-times small { font-size: 12.5px; color: #5F574A; }
.slip-n { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.slip-times i { font: 800 13.5px/1 var(--f-cond); font-stretch: 74%; font-style: normal; letter-spacing: .05em; text-transform: uppercase; padding: 6px 9px 5px; border: 1px solid var(--rule); transition: background-color .2s, color .2s; }
.slip-times button:hover i, .slip-times button:focus-visible i { background: var(--champagne); }
.slip-times.skel li { height: 50px; background: linear-gradient(90deg, transparent, rgba(23, 20, 15, .07), transparent) 0 0 / 200% 100%; animation: shimmer 1.4s linear infinite; }
.slip-none, .slip-up, .slip-usual { display: block; width: 100%; padding: 14px 0; border: 0; border-bottom: 1px dashed rgba(23, 20, 15, .32); background: none; text-align: left; font: 400 15px/1.4 var(--f-type); color: #17140F; text-decoration: none; }
.slip-up b { display: block; font: 700 34px/1 var(--f-type); letter-spacing: -.02em; }
.slip-up span, .slip-usual { text-decoration: underline; text-underline-offset: 3px; }
.slip .btn-plate { margin-top: 16px; box-shadow: inset 0 1px 0 rgba(255, 246, 218, .8), inset 0 -1px 0 rgba(58, 38, 8, .7), 0 1px 0 #6B5220, 0 10px 18px -12px rgba(60, 44, 12, .6); }
.slip-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: 10px; font: 400 13.5px/1.2 var(--f-type); color: #5F574A; }
.scrawl { width: 128px; height: 36px; color: #2B3A67; flex: none; }
.scrawl path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: sign 1.5s var(--ease-io) 1.5s forwards; }
@keyframes sign { to { stroke-dashoffset: 0; } }

@media (max-width: 1239px) {
  .hero-main { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 28px 40px; align-items: start; }
  .plate-stage { grid-column: 1 / -1; order: -1; }
  .plate { width: min(100%, 640px, 68vw, calc((100svh - 430px) * 1.6)); min-width: min(100%, 420px); }
  .say-h { font-size: clamp(60px, 7.4vw, 92px); }
}
/* Phones: one screen. Who and where, the next free chairs, then call or directions. No plate. */
@media (max-width: 719px) {
  .hero { min-height: 0; }
  .hero-main { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 14px var(--pad) 28px; }
  .say-now { font-size: 13px; }
  .say-h { margin-top: 10px; font-size: clamp(40px, 11.6vw, 50px); line-height: .9; }
  .say-p { margin-top: 12px; max-width: none; font-size: 16px; line-height: 1.42; }
  .say-cta .btn-plate, .say-cta .btn { flex: 1 1 auto; }
  .slip { justify-self: stretch; width: 100%; margin-top: 20px; padding: 16px 18px; rotate: none; animation-delay: .2s; }
  .slip-head { padding: 8px 0 12px; }
  .slip-head .rx { width: 26px; height: 30px; }
  .slip-head strong { font-size: 19px; }
  .slip-times button { min-height: 48px; padding: 11px 0 10px; }
  .slip-times b { font-size: 20px; }
  .slip-times li { animation-delay: calc(.35s + var(--i) * 70ms); }
  .slip .btn-plate { min-height: 54px; margin-top: 14px; }
  .slip-foot { display: none; }
  .say-quick { display: flex; gap: 10px; margin-top: 12px; }
  .say-quick .btn { flex: 1 1 0; min-height: 50px; padding: 0 12px; }
  .hero .say-proof { margin-top: 14px; font-size: 13.5px; }
  /* The fade between the hero and the paper: shorter, without the guard tape */
  .fade { height: 76px; }
  .guards { display: none; }
}

/* ── Walk-ins ─────────────────────────────────────────────────────────────── */
.walk { padding: clamp(26px, 4vw, 60px) 0 clamp(70px, 9vw, 130px); }
.walk-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(30px, 5vw, 90px); align-items: center; }
.walk .title { font-size: clamp(64px, 10.6vw, 164px); line-height: .86; }
.walk .title .cut { display: block; width: fit-content; }
.walk .lede { margin-top: 26px; }
.walk-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.board {
  position: relative; padding: clamp(22px, 2.6vw, 36px); color: #1A1206; --fg: #1A1206; --fg-2: #5A4A28;
  background: var(--brush), var(--champ-grad); background-size: auto, 200% 100%; background-position: 0 0, 40% 0;
  box-shadow: inset 0 1px 0 rgba(255, 250, 232, .9), inset 0 0 0 1px rgba(110, 82, 28, .5), 0 0 0 7px var(--paper), 0 0 0 8px var(--rule), 0 36px 50px -36px rgba(60, 44, 12, .6);
}
.board-top { display: flex; align-items: center; font: 400 15px/1.3 var(--f-type); color: #5A4A28; }
.board-big { margin-top: 18px; display: grid; gap: 10px; }
.board { container-type: inline-size; }
/* Sized to the card, so "10:30 AM" fits as well as "3 of 5" */
.board-big b { font: 800 clamp(64px, 23cqw, 168px)/.8 var(--f-cond); font-stretch: 64%; letter-spacing: -.01em; color: #1A1206; text-shadow: 0 1px 0 rgba(255, 248, 224, .7); }
.board-big span { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.3; max-width: 26ch; }
.board-facts { margin-top: 24px; border-top: 1px solid rgba(60, 44, 12, .38); font: 400 15px/1.35 var(--f-type); }
.board-facts div { display: grid; grid-template-columns: 74px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px dashed rgba(60, 44, 12, .34); }
.board-facts dt { color: #5A4A28; }
@media (max-width: 860px) { .walk-grid { grid-template-columns: minmax(0, 1fr); } .board { margin: 8px; } }

/* ── Section heads ────────────────────────────────────────────────────────── */
.sec-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: end; gap: 20px clamp(30px, 5vw, 90px); margin-bottom: clamp(30px, 4.4vw, 64px); }
.sec-head .lede { justify-self: end; padding-bottom: .7em; }
@media (max-width: 860px) { .sec-head { grid-template-columns: minmax(0, 1fr); } .sec-head .lede { justify-self: start; padding-bottom: 0; } }

/* ── The Doctors: a door plate each ───────────────────────────────────────── */
.doctors { padding: clamp(40px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); border-top: 1px solid var(--line); }
.plates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(26px, 3vw, 44px) clamp(18px, 2.4vw, 34px); }
.dr-plate, .dr-any {
  position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; align-items: center; column-gap: 16px; width: 100%; min-height: 124px; padding: 20px 26px;
  border: 0; border-radius: 3px; text-align: left; color: #1A1206;
  background: var(--brush), var(--champ-grad);
  background-size: auto, 220% 100%; background-position: 0 0, 46% 0;
  box-shadow: inset 0 1px 0 rgba(255, 250, 232, .95), inset 0 -2px 0 rgba(110, 82, 28, .38), 0 2px 0 #9A7A3A, 0 22px 26px -20px rgba(60, 44, 12, .6);
  transition: background-position 1.2s var(--ease-out), transform .3s var(--ease-out), box-shadow .3s;
}
.dr-plate::before { content: ''; position: absolute; inset: 7px; border: 1px solid rgba(110, 82, 28, .62); border-radius: 1px; box-shadow: 0 1px 0 rgba(255, 246, 218, .5); pointer-events: none; }
.dr-plate:hover, .dr-any:hover { background-position: 0 0, 12% 0; transform: translateY(-3px); }
.dr-plate:active, .dr-any:active { transform: translateY(0); }
.screw { position: absolute; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #f6e7bd, #8a6829 70%); box-shadow: 0 1px 1px rgba(40, 26, 6, .7), inset 0 0 0 .5px rgba(40, 26, 6, .5); }
.screw::after { content: ''; position: absolute; left: 1px; right: 1px; top: 4px; height: 1px; background: rgba(40, 26, 6, .75); transform: rotate(-28deg); }
.screw:nth-of-type(1) { left: 12px; } .screw:nth-of-type(2) { right: 12px; } .screw:nth-of-type(2)::after { transform: rotate(40deg); }
.dr-mono, .dr-photo { grid-row: 1 / 3; width: 62px; height: 62px; margin-left: 12px; border-radius: 50%; }
.dr-mono { display: grid; place-items: center; font: 400 40px/1 var(--f-display); padding-bottom: 4px; color: #1A1206; border: 1.5px solid rgba(40, 26, 6, .6); box-shadow: 0 1px 0 rgba(255, 246, 218, .6), inset 0 1px 2px rgba(40, 26, 6, .3); }
.dr-photo { object-fit: cover; box-shadow: 0 0 0 1.5px rgba(40, 26, 6, .6), 0 1px 0 2px rgba(255, 246, 218, .5); }
.dr-name { align-self: end; font: 400 clamp(36px, 3.2vw, 46px)/.95 var(--f-display); text-shadow: 0 1px 0 rgba(255, 244, 212, .65); }
.dr-title { align-self: start; margin-top: 5px; font: 700 13.5px/1.2 var(--f-cond); font-stretch: 76%; letter-spacing: .05em; text-transform: uppercase; color: rgba(26, 18, 6, .82); }
.dr-times { display: grid; gap: 8px; margin-top: 16px; padding: 0 4px; }
.dr-next { font: 400 14px/1.2 var(--f-type); color: var(--fg-2); flex: none; }
.chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.chip-t { display: grid; gap: 4px; min-width: 0; padding: 9px 10px 8px; border: 1px solid var(--line-2); border-radius: 2px; background: transparent; color: var(--fg); text-align: left; transition: background-color .2s, color .2s, border-color .2s; }
.chip-t small { font: 400 12.5px/1 var(--f-type); color: var(--fg-2); }
.chip-t b { font: 700 16.5px/1 var(--f-type); letter-spacing: -.01em; white-space: nowrap; }
.chip-t.first { border-color: #8C6D2C; box-shadow: inset 3px 0 0 var(--brass); }
.chip-t:hover, .chip-t:focus-visible { background: var(--champagne); border-color: var(--antique); color: #0B0A08; }
.chip-t:hover small, .chip-t:focus-visible small { color: inherit; opacity: .75; }
.chip-t.wait { grid-column: 1 / -1; font: 600 14.5px/1.2 var(--f); }
.chips.skel i { height: 50px; border-radius: 2px; background: linear-gradient(90deg, var(--tint), var(--line), var(--tint)) 0 0 / 200% 100%; animation: shimmer 1.4s linear infinite; }
.dr-ig { display: inline-flex; align-items: center; gap: 6px; margin: 8px 4px 0; font: 400 14px/1 var(--f-type); color: var(--fg-2); text-decoration: none; }
.dr-any { background: var(--card); color: var(--fg); grid-template-columns: auto 1fr; min-height: 124px; box-shadow: inset 0 0 0 1px rgba(140, 109, 44, .8), inset 0 0 0 6px var(--card), inset 0 0 0 7px rgba(140, 109, 44, .35), 0 22px 26px -22px rgba(60, 44, 12, .5); }
.dr-any .mark { grid-row: 1 / 3; margin: 0 6px 0 12px; color: var(--antique); }
.dr-any .dr-name { text-shadow: none; font-size: clamp(32px, 2.8vw, 40px); }
.dr-any .dr-title { color: var(--fg-2); font: 400 14px/1.3 var(--f-type); letter-spacing: 0; text-transform: none; }
.dr-any .dr-go { display: none; }
@media (max-width: 1100px) { .plates { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .plates { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

/* ── Haircuts: the figures ────────────────────────────────────────────────── */
.cuts { padding: clamp(40px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); border-top: 1px solid rgba(140, 109, 44, .4); border-bottom: 1px solid rgba(140, 109, 44, .4); background: var(--stone); --tint: #E0D6BE; }
.figs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(26px, 3vw, 46px) clamp(14px, 1.8vw, 26px); counter-reset: fig; }
.fig button { display: grid; width: 100%; padding: 0; border: 0; background: none; text-align: left; color: inherit; }
.fig-plate { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--card); box-shadow: 0 0 0 1px rgba(140, 109, 44, .8), 0 0 0 5px var(--card), 0 0 0 6px rgba(140, 109, 44, .42), 0 24px 30px -24px rgba(60, 44, 12, .5); margin: 6px; }
.fig-plate img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; filter: contrast(1.04) saturate(.92); transition: transform 1.1s var(--ease-out); }
.fig button:hover .fig-plate img, .fig button:focus-visible .fig-plate img { transform: scale(1.045); }
.fig-cap { display: grid; gap: 3px; margin-top: 16px; padding: 0 6px; }
.fig-no { font: 400 13.5px/1 var(--f-type); color: #8C6D2C; }
.fig-cap strong { font: 800 clamp(19px, 1.5vw, 23px)/1.08 var(--f-cond); font-stretch: 72%; letter-spacing: .02em; text-transform: uppercase; }
.fig-note { font: 400 14px/1.35 var(--f-type); color: var(--fg-2); }
.fig-book { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 12px 6px 0; padding-top: 10px; border-top: 1px dashed rgba(23, 20, 15, .4); font: 800 14px/1 var(--f-cond); font-stretch: 74%; letter-spacing: .05em; text-transform: uppercase; }
.fig-book span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; padding-bottom: 3px; transition: background-size .35s var(--ease-out); }
.fig button:hover .fig-book span, .fig button:focus-visible .fig-book span { background-size: 100% 1.5px; }
.fig-book b { font: 700 16px/1 var(--f-type); letter-spacing: -.01em; }
@media (max-width: 1000px) { .figs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .figs { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 72%; gap: 14px; margin: 0 calc(var(--pad) * -1); padding: 4px var(--pad) 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .figs::-webkit-scrollbar { display: none; }
  .fig { scroll-snap-align: center; }
}

/* ── Treatments: the price list ───────────────────────────────────────────── */
.menu { padding: clamp(60px, 8vw, 120px) 0 clamp(70px, 9vw, 130px); background: var(--paper); }
.menu-cols { columns: 3; column-gap: clamp(30px, 4vw, 70px); }
.mn-group { break-inside: avoid; margin-bottom: 40px; }
.mn-group.side { padding: 26px 26px 10px; margin-top: 6px; background: var(--card); box-shadow: inset 0 0 0 1px rgba(140, 109, 44, .75), inset 0 0 0 5px var(--card), inset 0 0 0 6px rgba(140, 109, 44, .32); }
.mn-h { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1.5px solid var(--rule); font: 800 19px/1 var(--f-cond); font-stretch: 72%; letter-spacing: .05em; text-transform: uppercase; color: var(--fg); }
.mn-h .rx { color: var(--antique); }
.mn-group.side .mn-h:not(:first-child) { margin-top: 26px; }
.mn-row { display: block; width: 100%; padding: 15px 0 14px; border: 0; border-bottom: 1px dashed rgba(60, 44, 12, .3); background: none; text-align: left; color: inherit; transition: padding .3s var(--ease-out), background-color .3s; }
button.mn-row:hover, button.mn-row:focus-visible { padding-left: 12px; padding-right: 12px; background: rgba(190, 154, 78, .16); }
.mn-line { display: flex; align-items: baseline; gap: 10px; }
.mn-line strong { font-size: 18.5px; font-weight: 600; line-height: 1.25; }
.mn-line i { flex: 1; min-width: 18px; border-bottom: 1.5px dotted rgba(60, 44, 12, .42); transform: translateY(-4px); }
.mn-line b { font: 700 19px/1 var(--f-type); color: var(--fg); white-space: nowrap; }
.mn-sub { display: block; margin-top: 5px; font-size: 14.5px; line-height: 1.4; color: var(--fg-2); max-width: 46ch; }
.mn-row.flat { padding: 12px 0; }
.mn-note { padding: 14px 0 12px; font: 400 14px/1.4 var(--f-type); color: var(--fg-2); }
.menu-cta { display: flex; justify-content: center; margin-top: 18px; }
@media (max-width: 1100px) { .menu-cols { columns: 2; } }
@media (max-width: 700px) { .menu-cols { columns: 1; } }

/* ── Offers (written in GHL) and packages ────────────────────────────────── */
.offers { padding: clamp(60px, 8vw, 110px) 0; background: var(--stone); border-top: 1px solid rgba(140, 109, 44, .4); border-bottom: 1px solid rgba(140, 109, 44, .4); }
.of-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: clamp(16px, 2vw, 28px); margin: 0; padding: 0; list-style: none; }
.of-card { display: flex; flex-direction: column; gap: 12px; padding: 26px 26px 24px; background: var(--card); box-shadow: inset 0 0 0 1px rgba(140, 109, 44, .75), inset 0 0 0 5px var(--card), inset 0 0 0 6px rgba(140, 109, 44, .32); }
.of-until { font: 400 15px/1.3 var(--f-type); color: var(--antique); }
.of-title { font-size: clamp(21px, 1.9vw, 26px); font-weight: 600; line-height: 1.22; text-wrap: balance; }
.of-details { font-size: 15.5px; line-height: 1.5; color: var(--fg-2); max-width: 52ch; }
.of-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 8px; }
.packages { border-top: 1px solid rgba(140, 109, 44, .4); }
.pk-flat .mn-group { break-inside: auto; }
.pk-flat li { break-inside: avoid; }
.pk-note { max-width: 82ch; margin: 10px auto 0; text-align: center; }
.pk-cta { flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* ── Second opinions ──────────────────────────────────────────────────────── */
.reviews { padding: clamp(60px, 8vw, 120px) 0; background: var(--stone); border-top: 1px solid rgba(140, 109, 44, .4); border-bottom: 1px solid rgba(140, 109, 44, .4); }
.rv-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(30px, 5vw, 90px); align-items: end; }
.rv-num { margin-top: 26px; font: 800 clamp(150px, 22vw, 330px)/.76 var(--f-cond); font-stretch: 64%; letter-spacing: -.02em; width: fit-content; background: var(--brass-grad); background-size: 160% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.rv-stars { display: flex; gap: 6px; margin-top: 26px; color: #A9853C; }
.rv-count { margin-top: 12px; font: 400 16px/1.3 var(--f-type); color: var(--fg-2); }
.rv-line { font-size: clamp(22px, 2.3vw, 32px); line-height: 1.25; max-width: 22ch; text-wrap: balance; }
.rv-quotes { display: grid; gap: 22px; }
.rv-quotes blockquote { font-size: clamp(19px, 1.7vw, 24px); line-height: 1.35; }
.rv-quotes cite { display: block; margin-top: 8px; font: 400 14.5px/1.3 var(--f-type); color: var(--fg-2); }
.rv-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
@media (max-width: 860px) { .rv-grid { grid-template-columns: minmax(0, 1fr); align-items: start; } }

/* ── Find us ──────────────────────────────────────────────────────────────── */
.visit { padding: clamp(60px, 8vw, 120px) 0; }
.visit-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(30px, 5vw, 80px); align-items: start; }
.visit-addr { margin-top: 24px; font: 800 clamp(28px, 3vw, 42px)/1.04 var(--f-cond); font-stretch: 72%; letter-spacing: .02em; text-transform: uppercase; }
.visit-now { display: flex; align-items: center; margin-top: 16px; font: 400 16px/1.3 var(--f-type); }
.visit-now .lamp.on { border-color: #8C6D2C; background: #B08A43; }
.visit-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.visit-walk { margin-top: 26px; max-width: 46ch; color: var(--fg-2); }
.visit-walk strong { color: var(--fg); }
.hours { width: 100%; max-width: 440px; margin-top: 28px; border-collapse: collapse; font: 400 15.5px/1.3 var(--f-type); }
.hours caption { padding-bottom: 10px; border-bottom: 1.5px solid var(--rule); text-align: left; font: 800 17px/1 var(--f-cond); font-stretch: 72%; letter-spacing: .05em; text-transform: uppercase; }
.hours th, .hours td { padding: 9px 0; border-bottom: 1px dashed var(--line-2); font-weight: 400; text-align: left; }
.hours td { text-align: right; }
.hours .today th, .hours .today td { font-weight: 700; }
.visit-map { position: relative; aspect-ratio: 5 / 4; background: var(--tint); box-shadow: 0 0 0 1px rgba(140, 109, 44, .8), 0 0 0 7px var(--card), 0 0 0 8px rgba(140, 109, 44, .45), 0 40px 50px -38px rgba(60, 44, 12, .5); margin: 8px; }
.visit-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.82) contrast(1.03); }
.visit-open { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; background: var(--card); color: var(--fg); box-shadow: 0 0 0 1px var(--rule); font: 800 13.5px/1 var(--f-cond); font-stretch: 74%; letter-spacing: .05em; text-transform: uppercase; text-decoration: none; }
@media (max-width: 860px) { .visit-grid { grid-template-columns: minmax(0, 1fr); } .visit-map { aspect-ratio: 1; order: -1; } }

/* ── Footer ───────────────────────────────────────────────────────────────── */
.ft { padding: clamp(60px, 8vw, 110px) 0 calc(34px + var(--safe-b)); background: var(--stone); color: var(--fg); border-top: 1px solid rgba(140, 109, 44, .4); }
.ft-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; padding-bottom: clamp(40px, 6vw, 80px); border-bottom: 1px solid rgba(140, 109, 44, .4); }
.ft-big { font: 400 clamp(46px, 7.2vw, 112px)/.92 var(--f-display); max-width: 12ch; }
.ft-row { display: grid; grid-template-columns: auto 1fr auto; align-items: start; gap: 24px clamp(30px, 6vw, 100px); padding: 34px 0; font-size: 15.5px; color: #453E31; }
.ft-lockup { color: var(--fg); }
.ft-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.ft-row a { text-decoration: none; } .ft-row a:hover { text-decoration: underline; }
.ft-copy { font: 400 13.5px/1.4 var(--f-type); color: #6E654F; }
@media (max-width: 760px) { .ft-row { grid-template-columns: minmax(0, 1fr); } .ft { padding-bottom: calc(110px + var(--safe-b)); } }

/* The Book button that follows on phones */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 150; display: none; gap: 10px; padding: 10px 14px calc(10px + var(--safe-b)); background: linear-gradient(180deg, transparent, rgba(246, 241, 228, .96) 34%); transform: translateY(110%); transition: transform .45s var(--ease-out); }
.dock.show { transform: none; }
.dock-book { flex: 1 1 0; min-width: 0; padding-left: 12px; padding-right: 12px; white-space: nowrap; }
.dock-call { width: 60px; padding: 0; flex: none; background: var(--card); box-shadow: none; }
@media (max-width: 760px) { .dock { display: flex; } }
html.flow-open .dock, html.menu-open .dock { display: none; }

/* ── Phones: the same sections with less air, so the page is quicker to get through ── */
@media (max-width: 719px) {
  .title { font-size: clamp(48px, 13.4vw, 58px); }
  .sec-head { gap: 12px; margin-bottom: 22px; }
  .lede { font-size: 16.5px; }

  .walk { padding: 26px 0 54px; }
  .walk .title { font-size: clamp(52px, 15vw, 64px); }
  .walk .lede { margin-top: 16px; }
  .walk-cta { flex-wrap: nowrap; gap: 10px; margin-top: 22px; }
  .walk-cta .btn { flex: 1 1 auto; min-height: 52px; padding: 0 14px; font-size: 16px; }
  .board-big { margin-top: 12px; }
  .board-facts { margin-top: 16px; }

  .doctors, .cuts { padding: 40px 0 52px; }
  .plates { gap: 22px; }
  .dr-plate, .dr-any { min-height: 88px; padding: 14px 22px; column-gap: 12px; }
  .dr-mono, .dr-photo { width: 48px; height: 48px; margin-left: 6px; }
  .dr-mono { font-size: 30px; }
  .dr-name, .dr-any .dr-name { font-size: 32px; }
  .dr-next { display: none; }
  .dr-times { margin-top: 10px; padding: 0; }
  .dr-ig { margin-top: 6px; }

  .menu { padding: 48px 0 52px; }
  .mn-group { margin-bottom: 28px; }
  .mn-row { padding: 12px 0 11px; }
  .mn-line strong { font-size: 17px; }
  .mn-sub { font-size: 13.5px; }
  .mn-group.side { padding: 18px 18px 4px; }

  .reviews { padding: 48px 0; }
  .rv-num { margin-top: 14px; font-size: clamp(100px, 30vw, 130px); }
  .rv-stars { margin-top: 14px; }
  .rv-cta { gap: 10px; margin-top: 24px; }
  .rv-cta .btn, .visit-actions .btn { min-height: 52px; padding: 0 16px; font-size: 16px; }

  .visit { padding: 44px 0 52px; }
  .visit-map { order: 0; aspect-ratio: 4 / 3; }
  .visit-actions { gap: 10px; margin-top: 22px; }
  .hours { margin-top: 24px; }

  .ft { padding-top: 48px; }
  .ft-big { font-size: clamp(40px, 11vw, 52px); }
  .ft-links { gap: 2px 22px; }
  .ft-links a { display: inline-block; padding: 8px 0; }

  .dock { gap: 8px; padding-left: 12px; padding-right: 12px; }
  .dock .dock-call { width: 56px; }
}

/* Things rise into place as they come into view, where the browser can tie it to the scroll */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .dr, .fig, .mn-group, .board, .visit-map { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 42%; }
    @keyframes rise { from { opacity: 0; transform: translateY(34px); } }
  }
}
/* ── Inner pages (manage, waitlist link, find, email preferences, birthday) ── */
.site.page { min-height: 100svh; background: var(--paper); }
.page-main { max-width: 640px; margin: 0 auto; padding: calc(var(--head-h) + 44px) var(--pad) 96px; }
.page-main.narrow { max-width: 520px; }
.page-main > * + * { margin-top: 18px; }
.page-title { font: 400 clamp(52px, 13vw, 92px)/.9 var(--f-display); }
.page-main .eyebrow + .page-title { margin-top: 8px; }
.lede { font-size: 18px; }
.manage-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 3px; background: var(--tint); }
.notice .icon { flex: none; margin-top: 2px; }
.empty { text-align: center; padding: 40px 16px; color: var(--fg-2); }
.empty .icon { margin: 0 auto 10px; color: var(--fg); }
.empty strong { display: block; margin-bottom: 14px; color: var(--fg); font-size: 18px; }
.is-cancelled { opacity: .55; filter: grayscale(1); }
.wl-card { display: flex; gap: 14px; align-items: center; padding: 16px; border: 1px solid var(--line-2); border-radius: 3px; }
.wl-slots { margin-top: 6px; }
.wl-leave { margin-top: 4px; }
.bday-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; }

/* ── Booking flow: a sheet comes up and the page sinks back ─────────────────── */
.site { transform-origin: 50% var(--vy, 50vh); transition: transform .6s var(--ease-out); }
html.flow-open { overflow: hidden; }
html.flow-open .site { transform: scale(.93); }
.flow-backdrop { position: fixed; inset: 0; z-index: 300; display: flex; align-items: flex-end; justify-content: center; background: rgba(38, 28, 8, .5); opacity: 0; transition: opacity .35s; }
.flow-backdrop.in { opacity: 1; }
.flow {
  --bg: var(--paper); --fg: var(--black); --fg-2: #5F574A; --line: #DDD3BF; --line-2: #BFB298; --tint: #EAE2D0; --act-bg: var(--black); --act-fg: var(--stone); --act-hover: #2E281E;
  color-scheme: light; position: relative; width: 100%; height: calc(100dvh - 14px); display: flex; background: var(--bg); color: var(--fg); overflow: hidden;
  border-radius: 20px 20px 0 0; transform: translateY(100%); transition: transform .55s var(--ease-out);
}
.flow-backdrop.in .flow { transform: none; }
.flow-rail { display: none; }
.flow-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.flow-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 8px 4px; }
.progress { list-style: none; display: flex; gap: 6px; flex: 1; max-width: 220px; }
.progress li { flex: 1; height: 3px; border-radius: 2px; background: var(--line); transition: background-color .3s; }
.progress li.past, .progress li.now { background: var(--rule); }
.progress li.now { opacity: .5; }
.crumbs { flex: 1; text-align: center; }
.flow-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 4px 20px 28px; }
.step-anim { animation: step-in .4s var(--ease-out); }
.step-anim.back { animation-name: step-back; }
@keyframes step-in { from { opacity: 0; transform: translateX(22px); } }
@keyframes step-back { from { opacity: 0; transform: translateX(-22px); } }
.step-head { margin: 10px 0 22px; }
.step-n { display: none; }
.step-title { font: 400 52px/.88 var(--f-display); outline: none; }
.step-sub { margin-top: 10px; color: var(--fg-2); font-size: 15.5px; }
.flow-foot { display: flex; align-items: center; gap: 14px; padding: 12px 20px calc(12px + var(--safe-b)); background: var(--brush), var(--champ-grad); color: #1A1206; box-shadow: inset 0 1px 0 rgba(255, 250, 232, .9), 0 -1px 0 var(--rule); }
.flow-foot .eyebrow { color: #5A4A28; }
.foot-price { font: 700 26px/1 var(--f-cond); font-stretch: 68%; }
.mobile-sum { font-size: 15px; font-weight: 700; }
@media (min-width: 960px) {
  .flow-backdrop { align-items: center; padding: 28px; }
  .flow { max-width: 1080px; height: min(820px, calc(100dvh - 56px)); border-radius: 18px; transform: translateY(40px) scale(.98); opacity: 0; transition: transform .55s var(--ease-out), opacity .4s; box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .7); }
  .flow-backdrop.in .flow { transform: none; opacity: 1; }
  .flow.single { max-width: 640px; }
  /* The rail is stone, the step is paper: the booking reads like a ticket being filled in */
  .flow-rail {
    display: flex; flex-direction: column; width: 320px; flex: none; padding: 28px 28px 26px;
    background: var(--stone); color: var(--black);
    --fg: var(--black); --fg-2: #5F574A; --line: #D3C8AF; --line-2: #A39679; --tint: #E2D8C2;
  }
  .rail-head { display: flex; align-items: center; color: var(--black); }
  .rail-head .lockup { height: 30px; width: auto; }
  .rail-steps { list-style: none; margin-top: 38px; display: grid; gap: 2px; }
  .rail-step { display: flex; align-items: center; gap: 12px; width: 100%; padding: 9px 0; border: 0; background: none; color: #5F574A; font-size: 16px; text-align: left; }
  .rail-step:disabled { cursor: default; }
  li.now .rail-step { color: var(--black); font-weight: 700; }
  li.past .rail-step { color: var(--black); }
  li.past .rail-step:not(:disabled):hover .rail-label { text-decoration: underline; }
  .rail-n { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid #A39679; font-size: 13px; font-weight: 700; }
  li.now .rail-n { background: var(--champagne); color: #0B0A08; border-color: var(--antique); }
  li.past .rail-n { border-color: var(--antique); color: var(--antique); }
  .flow-rail .ticket { margin-top: auto; }
  .flow-head { padding: 14px 14px 4px 28px; }
  .flow:not(.single) .progress { visibility: hidden; }
  .flow-body { padding: 0 48px 40px; }
  .step-title { font-size: 68px; }
  .mobile-sum { display: none; }
}

/* The ticket: the booking so far (desktop rail) */
.ticket { padding-top: 18px; border-top: 1px solid var(--line-2); }
.ticket-rows { list-style: none; display: grid; gap: 12px; }
.ticket-rows li { display: grid; gap: 2px; }
.ticket-rows .eyebrow { color: var(--fg-2); font-weight: 400; font-size: 13.5px; }
.ticket-v { font-weight: 700; min-height: 22px; }
.ticket-rows li.set .ticket-v { animation: step-in .35s var(--ease-out); }
.ticket-blank { display: block; width: 60%; height: 1px; margin-top: 11px; background: var(--line-2); }
.ticket-foot { display: flex; align-items: baseline; justify-content: space-between; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line-2); }
.ticket-foot .eyebrow { color: var(--fg-2); font-weight: 400; }
.ticket-total { font: 700 36px/1 var(--f-cond); font-stretch: 68%; }

/* Lists in the flow: barbers, services, who's free */
.fl-list { list-style: none; border-top: 1px solid var(--line); }
.fl-list > li { border-bottom: 1px solid var(--line); animation: step-in .45s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 28ms); }
.fl-row {
  display: flex; align-items: center; gap: 16px; width: 100%; min-height: 80px; padding: 12px 6px;
  border: 0; background: none; color: inherit; text-align: left; transition: background-color .15s;
}
.fl-row:hover { background: var(--tint); }
.fl-pic { width: 64px; height: 64px; flex: none; overflow: hidden; display: grid; place-items: center; border-radius: 3px; background: var(--brush), var(--champ-grad); color: #1A1206; box-shadow: inset 0 0 0 1px rgba(110, 82, 28, .55); position: relative; }
.fl-pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.fl-pic .display { font-size: 26px; }
.fl-pic .icon { color: #1A1206; }
.fl-pic.sm { width: 44px; height: 44px; }
.fl-main { flex: 1; min-width: 0; display: grid; gap: 3px; }
.fl-name { font: 400 30px/.95 var(--f-display); }
.fl-sub { font-size: 14.5px; color: var(--fg-2); }
.fl-side { display: inline-flex; align-items: center; font-size: 14.5px; color: var(--fg-2); text-align: right; white-space: nowrap; }
.fl-side.none { opacity: .7; }
.svc-row { min-height: 72px; }
.svc-name { font: 400 24px/1 var(--f-display); }
.svc-price { font: 700 28px/1 var(--f-cond); font-stretch: 68%; }
.svc-check { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-2); color: transparent; flex: none; }
.svc-row.on { background: var(--tint); }
.svc-row.on .svc-check { background: var(--brass); border-color: var(--antique); color: #0B0A08; }
.addon-panel { display: none; margin-top: 22px; }
.addon-panel.open { display: block; animation: step-in .3s var(--ease-out); }
.addon-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 20px; }
.details .addon-row { margin: 14px 0 0; }

/* Days and times */
.date-strip { display: flex; gap: 6px; overflow-x: auto; padding: 2px 20px 10px; margin: 0 -20px; scroll-snap-type: x proximity; scrollbar-width: none; }
.date-strip::-webkit-scrollbar { display: none; }
.day {
  flex: none; width: 64px; min-height: 80px; display: grid; justify-items: center; align-content: center; gap: 2px;
  border: 1px solid var(--line-2); border-radius: 4px; background: transparent; color: var(--fg); scroll-snap-align: start;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.day:active { transform: scale(.97); }
.day .dow { font-size: 13px; color: var(--fg-2); }
.day .dnum { font: 700 30px/1.05 var(--f-cond); font-stretch: 68%; }
.day .dot { margin: 4px 0 0; width: 6px; height: 6px; opacity: .8; border: 0; background: var(--fg); }
.day.full .dot, .day.off .dot { background: transparent; }
.day.full, .day.off { color: var(--fg-2); border-style: dashed; }
.day.off { opacity: .55; }
.day[aria-pressed="true"] { background: var(--brush), var(--champ-grad); border-color: var(--antique); border-style: solid; color: #0B0A08; opacity: 1; box-shadow: inset 0 1px 0 rgba(255, 250, 232, .9); }
.day[aria-pressed="true"] .dow { color: #5A4A28; }
.day[aria-pressed="true"] .dot { background: #0B0A08; }
.day.more { width: 72px; }
.day-label { margin: 16px 0 6px; font-size: 17px; font-weight: 700; }
.periods { display: grid; gap: 20px; margin-top: 8px; }
.period .eyebrow { margin-bottom: 8px; font-weight: 400; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(98px, 1fr)); gap: 8px; }
.slot {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-height: 50px; padding: 4px 6px;
  border: 1px solid var(--line-2); border-radius: 4px; background: transparent; color: var(--fg); font-size: 16px; font-weight: 700;
  animation: step-in .4s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 14ms);
  transition: background-color .15s, border-color .15s, color .15s;
}
.slot:hover { border-color: var(--antique); }
.slot[aria-pressed="true"] { background: var(--brush), var(--champ-grad); border-color: var(--antique); color: #0B0A08; }
.slot-who { font-size: 12.5px; font-weight: 400; color: var(--fg-2); }
.slot[aria-pressed="true"] .slot-who { color: #5A4A28; }
.skeleton-strip { display: flex; gap: 6px; }
.skeleton-strip span { width: 64px; height: 80px; border-radius: 4px; background: var(--tint); animation: breathe 1.4s ease-in-out infinite; animation-delay: calc(var(--i) * 80ms); }
.time-extras { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--line); }
.repeat { width: 100%; display: grid; gap: 10px; }
.repeat .eyebrow { font-weight: 400; }
.day-empty { margin-top: 18px; padding: 28px 20px; border: 1px dashed var(--line-2); border-radius: 4px; text-align: center; }
.day-empty .display { font-size: 30px; }
.day-empty-actions { margin-top: 16px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* First available: barbers soonest first, with their next times */
.soon-list { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.soon { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; gap: 4px 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); animation: step-in .45s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 30ms); }
.soon-name strong { display: block; font: 400 26px/1 var(--f-display); }
.soon-day { font-size: 14px; color: var(--fg-2); }
.soon-price { font: 700 24px/1 var(--f-cond); font-stretch: 68%; }
.soon-times { grid-column: 2 / -1; display: flex; flex-wrap: wrap; gap: 6px; }
.chip-time { flex-direction: row; gap: 6px; min-height: 42px; padding: 0 12px; }
.chip-time .when { font-weight: 400; color: var(--fg-2); }
.soon-or { margin: 26px 0 10px; font-weight: 400; }

/* Details */
.summary { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 3px; background: var(--brush), var(--champ-grad); color: #1A1206; box-shadow: inset 0 1px 0 rgba(255, 250, 232, .9), inset 0 0 0 1px rgba(110, 82, 28, .5); }
.summary .muted { color: #5A4A28; }
.sum-when { font-size: 18px; font-weight: 700; }
.sum-price { font: 700 32px/1 var(--f-cond); font-stretch: 68%; }
.change-svc { margin-top: 6px; }
.known { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 4px; }
.known .eyebrow { font-weight: 400; }
.fields { display: grid; gap: 16px; margin-top: 22px; }
.add-note { margin-top: 14px; }
.consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: #8C6D2C; }
.ref-note { display: flex; gap: 8px; align-items: center; margin-top: 14px; }
.flow-cta { margin-top: 24px; }
.fine { margin-top: 10px; text-align: center; }
/* Add to your visit: a row of products (swipe on phones) */
.shelf-pick { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.shelf-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 16px; margin-bottom: 12px; }
.shelf-head h3 { font-size: 17px; font-weight: 700; }
.shelf-head p { font-size: 13.5px; color: var(--fg-2); }
.shelf-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(148px, 1fr); gap: 8px; overflow-x: auto; padding: 2px 2px 8px; margin: 0 -2px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.shelf-row .pt { scroll-snap-align: start; padding: 12px 12px 10px; }
.shelf-row .pt-art { height: 64px; }
.shelf-row .pt-art.photo { height: 104px; aspect-ratio: auto; }
.shelf-row .pt:hover { transform: none; box-shadow: none; }
.call-line { margin-top: 18px; font-size: 14.5px; color: var(--fg-2); }
.call-line a { color: var(--fg); font-weight: 700; }
.manage-shelf { margin-top: 22px; display: grid; gap: 12px; justify-items: start; }
.manage-shelf .shelf-pick { width: 100%; }

/* Standing appointments */
.series-box { margin-top: 18px; padding: 16px; border: 1px solid var(--line-2); border-radius: 4px; }
.series-head { display: flex; align-items: center; gap: 8px; }
.series-list { list-style: none; margin-top: 10px; display: grid; gap: 2px; font-size: 15px; }
.series-list li { display: flex; align-items: center; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.series-list li > span:first-child { min-width: 110px; }
.series-list li.skip { color: var(--fg-2); text-decoration: line-through; }
.series-list li.here { font-weight: 700; }
.series-list a { display: flex; gap: 12px; width: 100%; text-decoration: none; }
.tag-first { margin-left: auto; font-size: 12.5px; font-weight: 700; padding: 2px 8px; border-radius: 3px; background: var(--champagne); color: #0B0A08; box-shadow: inset 0 0 0 1px rgba(110, 82, 28, .5); }

/* Booked: the appointment card */
.booked-card { position: relative; overflow: hidden; padding: 24px 22px 20px; margin: 7px; border-radius: 2px; background: var(--brush), var(--champ-grad); background-size: auto, 200% 100%; color: #1A1206; isolation: isolate; }
.booked-card .avatar { --av-r: 3px; }
.bc-top { display: flex; align-items: center; gap: 14px; }
.bc-top .eyebrow { color: #5A4A28; font-weight: 400; }
.bc-svc { font-weight: 700; }
.bc-mark { position: absolute; z-index: -1; right: -18px; bottom: -26px; height: 210px; width: auto; color: rgba(110, 82, 28, .16); }
.bc-when { margin-top: 22px; font: 700 24px/1.1 var(--f-cond); font-stretch: 68%; }
.bc-time { font: 700 76px/.95 var(--f-cond); font-stretch: 68%; letter-spacing: -.02em; }
.bc-perf { margin: 18px 0 14px; border-top: 1px dashed rgba(60, 44, 12, .45); }
.facts { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.facts dt { font-size: 13px; color: #5A4A28; }
.facts dd { font-weight: 700; }
.facts .muted { color: #5A4A28; font-weight: 400; }
.facts .wide-fact { grid-column: 1 / -1; }
.facts .code { letter-spacing: .1em; }
.cal-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.booked-card .btn.ghost { background: transparent; border-color: rgba(60, 44, 12, .55); color: #1A1206; }
.done { text-align: left; }
.done-mark { height: 84px; width: auto; color: var(--black); margin: 18px 0 6px; overflow: visible; }
.done-title { font: 400 72px/.86 var(--f-display); }
.done-sub { margin: 10px 0 22px; color: var(--fg-2); }
.done-actions { display: flex; gap: 10px; margin-top: 22px; }
.done-actions .btn { flex: 1; }
/* The P draws itself on the booked screen */
.pmark .pm-star { transform-box: fill-box; transform-origin: center; }
.pmark.draw .pm-star { transform: scale(0); animation: pm-star .5s var(--pm-d, 120ms) cubic-bezier(.3, 1.4, .5, 1) forwards; }
.pmark.draw .pm-trail, .pmark.draw .pm-stem { stroke-dasharray: 1 2; stroke-dashoffset: 1; }
.pmark.draw .pm-trail { animation: pm-draw 1.05s calc(var(--pm-d, 120ms) + 260ms) cubic-bezier(.55, .1, .3, 1) forwards; }
.pmark.draw .pm-stem { animation: pm-draw .55s calc(var(--pm-d, 120ms) + 1120ms) cubic-bezier(.5, 0, .25, 1) forwards; }
@keyframes pm-draw { to { stroke-dashoffset: 0; } }
@keyframes pm-star { to { transform: scale(1); } }

/* Motion off: no entrances, no cut, nothing that moves on its own */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0ms !important; transition-duration: .001ms !important; }
  .cut-t { clip-path: none; }
  .cut::after { display: none; }
  .pmark .pm-star { transform: none; }
  .pulse::after { display: none; }
}

/* ── The booking flow and private pages, in this shop's hand ───────────────── */
.page-title, .step-title, .done-title { letter-spacing: 0; line-height: .94; }
.svc-name { font: 600 19px/1.2 var(--f); font-stretch: 100%; }
.fl-name, .soon-name strong { line-height: 1; }
.bc-time, .sum-price, .svc-price, .foot-price, .ticket-total, .soon-price, .day .dnum { letter-spacing: 0; }
.day .dnum { font-family: var(--f-type); font-stretch: 100%; }
.slot { font-family: var(--f-type); }
.done-mark { color: #8C6D2C; }
.booked-card { box-shadow: inset 0 1px 0 rgba(255, 250, 232, .9), inset 0 0 0 1px rgba(110, 82, 28, .5), 0 0 0 6px var(--card), 0 0 0 7px rgba(140, 109, 44, .5); }
.flow-foot .btn, .booked-card .btn:not(.ghost) { background: var(--card); border-color: var(--antique); color: #0B0A08; box-shadow: none; }
.flow-foot .btn:hover:not(:disabled), .booked-card .btn:not(.ghost):hover { background: #fff; }
.boot-mark, .boot .mark { color: var(--antique); }
/* The crown, stamped like a seal */
.pmark.draw { animation: stamp .7s var(--pm-d, 120ms) cubic-bezier(.2, 1.3, .4, 1) both; transform-origin: 50% 60%; }
@keyframes stamp { 0% { opacity: 0; transform: scale(1.7) rotate(-9deg); } 55% { opacity: 1; } 100% { transform: none; } }

/* Touch screens keep :hover after a tap, which made a tapped row or time look picked.
   Hover effects stay for a mouse; on touch only the real choice is marked. */
@media (hover: none) {
  .fl-row:not(.on):hover { background: none; }
  .slot:not([aria-pressed="true"]):hover { border-color: var(--line-2); }
  .chip-t:hover { background: transparent; border-color: var(--line-2); color: var(--fg); }
  .chip-t.first:hover { border-color: #8C6D2C; }
  .chip-t:hover small { color: var(--fg-2); opacity: 1; }
  button.mn-row:hover { padding-left: 0; padding-right: 0; background: none; }
  .dr-plate:hover, .dr-any:hover { transform: none; background-position: 0 0, 46% 0; }
  .btn-plate:hover { background-position: 0 0, 58% 0; }
  .slip-times button:hover i { background: none; color: inherit; }
  .icon-btn:hover { background: transparent; }
}

/* ── Two shops, one engine ───────────────────────────────────────────────────
   The sister shop's link in the footer, how to find a shop inside another, and the
   parts of the booking flow a salon uses: a menu in pages with several picks, and
   who to see chosen on the time screen. */
.ft-sister { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px 26px; padding: 26px 0 28px; border-bottom: 1px solid rgba(140, 109, 44, .4); color: var(--fg); text-decoration: none; }
.ft-sis-k { grid-column: 1 / -1; font: 400 13.5px/1 var(--f-type); color: #6E654F; }
.ft-sister img { height: 40px; width: auto; }
.ft-sister strong { font: 800 22px/1 var(--f-cond); font-stretch: 72%; letter-spacing: .04em; text-transform: uppercase; }
.ft-sis-what { font-size: 15.5px; color: #453E31; }
.ft-sister .glyph { transition: transform .3s var(--ease-out); }
.ft-sister:hover .glyph { transform: translateX(5px); }
.ft-sister:hover .ft-sis-what { text-decoration: underline; }
@media (max-width: 719px) { .ft-sister { grid-template-columns: 1fr auto; gap: 10px 16px; padding: 20px 0 22px; } .ft-sister img { height: 32px; } .ft-sis-what { grid-column: 1; } .ft-sister .glyph { grid-row: 2 / 4; grid-column: 2; } }
.visit-where { margin-top: 20px; max-width: 46ch; }

.menu-tabs { position: sticky; top: -4px; z-index: 3; display: flex; gap: 6px; overflow-x: auto; margin: 0 -20px 4px; padding: 8px 20px 10px; background: var(--paper); scrollbar-width: none; }
.menu-tabs::-webkit-scrollbar { display: none; }
.menu-tab { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 2px; background: var(--card); color: var(--fg); font: 800 15px/1 var(--f-cond); font-stretch: 74%; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.menu-tab.on { background: var(--brush), var(--champ-grad); border-color: var(--antique); }
.tab-n { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: #0B0A08; color: var(--paper); font: 700 12px/1 var(--f-type); letter-spacing: 0; }
.menu-note { margin: 2px 0 10px; font-size: 14.5px; line-height: 1.4; color: var(--fg-2); }
.svc-box { display: inline-grid; place-items: center; width: 24px; height: 24px; flex: none; border: 1.5px solid var(--antique); border-radius: 2px; background: var(--card); color: transparent; transition: background-color .15s, color .15s; }
.svc-row.multi.on .svc-box { background: var(--brush), var(--brass-grad); color: #0B0A08; }
.svc-row.multi .fl-sub { text-wrap: pretty; }
.menu-step .call-line { margin-bottom: 8px; }
.menu-bar { position: sticky; bottom: -28px; z-index: 4; display: none; align-items: center; justify-content: space-between; gap: 14px; margin: 18px -20px -28px; padding: 12px 20px calc(12px + var(--safe-b)); background: var(--brush), var(--champ-grad); color: #1A1206; box-shadow: inset 0 1px 0 rgba(255, 250, 232, .9), 0 -1px 0 rgba(110, 82, 28, .5), 0 -18px 22px -20px rgba(60, 44, 12, .5); }
.menu-bar.open { display: flex; animation: step-in .25s var(--ease-out); }
.menu-sum { display: grid; gap: 4px; min-width: 0; }
.menu-sum strong { font: 700 16px/1.2 var(--f); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.menu-sum span { font: 400 13.5px/1 var(--f-type); color: #5A4A28; }
.menu-bar .btn { flex: none; background: var(--card); border-color: var(--antique); color: #0B0A08; box-shadow: none; }
.menu-bar .btn:hover:not(:disabled) { background: #fff; }
.with-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 4px 0 16px; }
.with-label { margin-right: 6px; font: 400 14.5px/1 var(--f-type); color: var(--fg-2); }
.with { min-height: 42px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 2px; background: var(--card); color: var(--fg); font: 600 15.5px/1 var(--f); }
.with:hover { border-color: var(--antique); }
.with.on { background: var(--brush), var(--champ-grad); border-color: var(--antique); color: #0B0A08; }
