/* Shared base for the Redesign v3 prototypes. Each world sets its own tokens. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; min-height: 100svh; overflow-x: clip; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
p, h1, h2, h3, h4, figure, blockquote, ul, ol, dl, dd { margin: 0; }
:where(ul[role="list"], ol[role="list"]) { padding: 0; list-style: none; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -64px; z-index: 100; padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }

/* reveal: hidden only when JavaScript is running, so JS-off means visible */
.js .rv { opacity: 0; translate: 0 18px; transition: opacity 1s cubic-bezier(.22,.8,.24,1), translate 1s cubic-bezier(.22,.8,.24,1); }
.js .rv.is-in { opacity: 1; translate: 0 0; }
.js .rv.d1 { transition-delay: .08s; } .js .rv.d2 { transition-delay: .16s; } .js .rv.d3 { transition-delay: .24s; }

/* phone booking pill */
.book-pill {
  position: fixed; left: 50%; bottom: max(14px, env(safe-area-inset-bottom)); z-index: 40;
  translate: -50% 140%; transition: translate .5s cubic-bezier(.22,.8,.24,1);
  display: none; align-items: center; gap: 10px; padding: 0 22px; min-height: 52px; border-radius: 999px;
  text-decoration: none; font-weight: 700; white-space: nowrap;
}
.book-pill.is-shown { translate: -50% 0; }
@media (max-width: 860px) { .book-pill { display: inline-flex; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv { opacity: 1; translate: none; transition: none; }
  .book-pill { transition: none; }
}
