* { box-sizing: border-box; }
html { height: 100%; }
body { margin: 0; height: 100vh; height: 100dvh; display: flex; flex-direction: column; overflow: hidden; background: var(--bv-color-paper-raised); color: var(--bv-color-ink); font-family: var(--bv-font-body); }
a { color: inherit; text-underline-offset: .3em; transition: color .2s ease; }
a:hover { color: var(--bv-color-accent); }
a:focus-visible { outline: 2px solid var(--bv-color-focus); outline-offset: 4px; }
.skip-link { position: absolute; top: -100px; left: 20px; padding: 12px; background: var(--bv-color-paper); z-index: 2; }
.skip-link:focus { top: 12px; }
.booking-header, main { width: min(1320px, calc(100% - 80px)); margin-inline: auto; }
.booking-header { display: flex; align-items: center; justify-content: space-between; flex: 0 0 clamp(64px, 9vh, 90px); border-bottom: 1px solid var(--bv-color-line); gap: 24px; }
.booking-header a { display: inline-flex; align-items: center; min-height: 44px; gap: 8px; text-decoration: none; }
.booking-header > a:last-child, .booking-label { font: 500 12px/1.5 var(--bv-font-label); letter-spacing: .08em; text-transform: uppercase; }
main { flex: 1; min-height: 0; display: flex; flex-direction: column; padding-bottom: max(4px, env(safe-area-inset-bottom)); }
.booking-intro { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 36px; padding: clamp(18px, 3vh, 32px) 0; flex: 0 0 auto; }
html:root .booking-intro h1 { margin: 0; font-size: clamp(64px, min(8vw, 11vh), 112px); font-weight: 800; line-height: .96; letter-spacing: -.065em; }
.booking-intro h1 span { display: inline-block; animation: arrive .65s both cubic-bezier(.22,1,.36,1); }
.booking-intro h1 span:last-child { animation-delay: .08s; }
.booking-copy p { margin: 0 0 12px; font-size: clamp(16px, 1.5vw, 21px); line-height: 1.4; }
.booking-label { color: var(--bv-color-muted); }
.booking-direct { align-self: flex-end; display: inline-flex; align-items: center; min-height: 32px; flex-shrink: 0; font-size: 12px; color: var(--bv-color-muted); }
.booking-calendar { flex: 1; min-height: 0; display: flex; flex-direction: column; }
#booking-status { margin: 0 0 12px; text-align: center; color: var(--bv-color-muted); font-size: 14px; }
#booking-status[hidden] { display: none; }
/* Bound the third-party document to the available viewport. Its own scrolling
   keeps every slot and field reachable on short screens and with a keyboard. */
#booking-embed { width: 100%; flex: 1; min-height: 0; }
#booking-embed cal-inline, #booking-embed iframe { height: 100% !important; min-height: 0 !important; max-height: 100%; }
@keyframes arrive { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 700px) {
 .booking-header, main { width: calc(100% - 32px); }
 .booking-header { flex-basis: 60px; gap: 16px; }
 .booking-header .brand-lockup { --bv-lockup-width: 124px; }
 .booking-header > a:last-child { font-size: 10px; }
 .booking-intro { grid-template-columns: 1fr; gap: 12px; padding: 18px 0; }
 html:root .booking-intro h1 { font-size: clamp(48px, 8vh, 68px); }
 .booking-copy p { font-size: 14px; margin-bottom: 8px; }
 .booking-label { font-size: 10px; }
 .booking-direct { font-size: 11px; }
}
@media (max-height: 650px) and (min-width: 701px) {
 .booking-header { flex-basis: 56px; }
 .booking-intro { padding: 12px 0; }
 html:root .booking-intro h1 { font-size: 56px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* One composition: the studio introduction beside the booking surface. */
main { display: grid; width: min(1240px, calc(100% - 80px)); grid-template-columns: minmax(0, 400px) minmax(0, 800px); column-gap: 40px; padding-block: 24px; }
.booking-intro { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 24px; padding: 0 0 48px; }
html:root .booking-intro h1 { font-size: clamp(60px, 6.3vw, 92px); line-height: .94; white-space: nowrap; }
.booking-copy p { font-size: clamp(16px, 1.35vw, 20px); margin-bottom: 24px; }
.booking-panel { display: flex; flex-direction: column; min-width: 0; min-height: 0; height: min(100%, 610px); align-self: center; }
.booking-direct { margin-top: 8px; }
@media (max-width: 1259px) {
 .booking-panel { height: 100%; }
 main { width: calc(100% - 32px); grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); gap: 20px; padding-block: 20px 4px; }
 .booking-intro { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 20px; padding: 0; }
 html:root .booking-intro h1 { font-size: clamp(48px, 8vw, 72px); }
 .booking-copy p { font-size: 14px; margin-bottom: 10px; }
}
@media (max-width: 520px) {
 .booking-intro { grid-template-columns: 1fr; gap: 10px; }
 main { gap: 14px; padding-top: 16px; }
 .booking-copy p { margin-bottom: 8px; }
}

/* Header polish: share the composition's outer rails and keep navigation quiet. */
.booking-header { width: min(1240px, calc(100% - 80px)); }
.booking-brand { flex-shrink: 0; }
.booking-brand img { transition: opacity .2s ease, transform .3s cubic-bezier(.22,1,.36,1); }
.booking-brand:hover img { opacity: .88; transform: scale(1.025); }
.booking-nav { display: flex; align-items: center; gap: clamp(24px, 3vw, 44px); }
.booking-nav a { position: relative; font: 500 12px/1.5 var(--bv-font-label); letter-spacing: .1em; text-transform: uppercase; }
.booking-nav a::after { content: ''; position: absolute; bottom: 5px; left: 0; right: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .22s ease; }
.booking-nav a:hover::after, .booking-nav a:focus-visible::after { transform: scaleX(1); }
#main:focus { outline: none; }
.booking-direct { min-height: 44px; margin-top: 0; }
@media (max-width: 1259px) { .booking-header { width: calc(100% - 32px); } }
@media (max-width: 600px) {
 .booking-header { flex-basis: 100px; flex-wrap: wrap; align-content: center; gap: 0; padding-top: 4px; }
 .booking-brand { width: 100%; }
 .booking-nav { width: 100%; justify-content: space-between; gap: 16px; }
 .booking-nav a { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) { .booking-brand img, .booking-nav a::after { transition: none; } }

/* Reserve space for the unchanged fixed homepage header. */
body { padding-top: 98px; }
.home-header a { color: var(--header-fg); }
.home-header .home-nav__portal { color: var(--portal-fg); }
.home-header .home-nav__portal:hover { color: var(--portal-hover-fg); }
.booking-direct { text-decoration: underline; }
@media (max-width: 820px) { body { padding-top: 76px; } }
@media (max-width: 820px) and (max-height: 460px) { body { padding-top: 64px; } }
