/* Shared foundation for every page: reset, icons, dock, FAQ and footer mechanics.
   Each design defines its own tokens and layout in b.css (archived options keep theirs in _archive/assets). */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, svg, video { display: block; max-width: 100%; }
h1, h2, h3, h4, p, blockquote, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
em, i, cite, address { font-style: normal; }
/* No orphans: balance short display lines, avoid single-word last lines in prose */
h1, h2, h3, blockquote, .pair { text-wrap: balance; }
p, li, dd, figcaption { text-wrap: pretty; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

[id] { scroll-margin-top: 16px; }

/* ---------- Primary CTA row: always centered ---------- */
.cta-row { display: flex; justify-content: center; }
.pricing__cta { grid-column: 1 / -1; }

/* ---------- Booking dock: appears once the hero CTA scrolls away ---------- */
.dock {
  position: fixed; left: 0; right: 0; bottom: 20px; z-index: 90; display: flex; justify-content: center;
  pointer-events: none; transform: translateY(160%); visibility: hidden; transition: transform .35s ease, visibility .35s;
}
.dock.is-shown { transform: none; visibility: visible; }
.dock .btn { pointer-events: auto; }
@media (max-width: 560px) { .dock { bottom: 12px; padding: 0 16px; } .dock .btn { width: 100%; } }

/* ---------- FAQ ---------- */
.faq details > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: baseline; }
.faq details > summary::-webkit-details-marker { display: none; }
.faq details > summary::after { content: "+"; flex: none; font-weight: 400; transition: transform .2s; }
.faq details[open] > summary::after { transform: rotate(45deg); }

/* ---------- Social icons: one stroke style for all three ---------- */
.icon {
  width: 20px; height: 20px; fill: none; stroke: currentColor;
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.socials { display: flex; gap: 18px; align-items: center; }
.socials a { display: inline-flex; opacity: .8; transition: opacity .2s; }
.socials a:hover { opacity: 1; }

/* ---------- Video placeholder ---------- */
.video-ph { position: relative; aspect-ratio: 16 / 9; width: 100%; display: grid; place-items: center; overflow: hidden; }
.video-ph__play {
  width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid currentColor; background: transparent; cursor: default;
}
.video-ph__play svg { width: 22px; height: 22px; margin-left: 4px; fill: currentColor; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* ---------- Footer layout: brand + contact, legal row, studio credit. Colors live in each design. ---------- */
.site-foot__main { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; padding-bottom: 32px; }
.site-foot__contact { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.site-foot__email { text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; opacity: .85; transition: opacity .2s; }
.site-foot__email:hover { opacity: 1; }
.site-foot__base {
  display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .14);
}
a.site-foot__legal { text-decoration: none; }
a.site-foot__legal:hover { text-decoration: underline; }
@media (max-width: 560px) {
  .site-foot__main { flex-direction: column; align-items: flex-start; }
}

/* Studio credit: eyebrow line centered at the very bottom */
.made-by {
  display: flex; align-items: center; justify-content: center; width: fit-content; margin: 48px auto 0;
  color: #fff; font: 600 11px/1 "DM Sans", system-ui, sans-serif; letter-spacing: .22em; text-transform: uppercase;
  text-decoration: none; opacity: .5; transition: opacity .2s;
}
.made-by:hover { opacity: 1; }
