/* /book/ (November 6, 2026): the homepage's call framing and the booking card in one centred column, the width of
   Calendly's calendar (738px), so the calendar card opens directly beneath at the same width and with the same edge.
   Loaded after home.css (tokens, type, .wrap, .section, .button, .eyebrow) and before header.css. There is no motion
   library on this page: the only movement is the calendar card easing to Calendly's reported height (book.js),
   instant with reduced motion (home.css). Arriving at /book/#schedule, home.css's scroll-padding (100px, 80px on
   phones) clears the sticky header (84px, 68px on phones), and the section's own top padding keeps the heading clear. */
[hidden]{display:none!important}
/* With JavaScript on (html.js, set by /flag.js before the first paint) the booking button and its notice hold their
   place from the start, so nothing moves when book.js reveals them. Without JavaScript they stay hidden. */
.js .booking-main>[data-calendly-load][hidden]{display:inline-flex!important}
.js .booking-main>[data-calendly-note][hidden]{display:block!important}
.booking{padding-top:44px}
/* Arriving at /book/#schedule keeps the page at its top: the banner whole, the heading clear of the header. */
#schedule{scroll-margin-top:40px}
.book-intro,.booking-card,.calendar-card{width:100%;max-width:738px;margin-inline:auto}
/* The heading's last two words stay together, so it never ends on a lone word (Firefox does not balance it at 320px). */
.nowrap{white-space:nowrap}
.book-lead{max-width:620px;margin-top:24px;font-size:18px;line-height:1.6;color:var(--ink)}

/* The booking card: the sample workspace's edge (1px rule, 14px radius); the email path sits on its panel tint. */
.booking-card{margin-top:40px;overflow:hidden;border:1px solid var(--rule);border-radius:14px;background:var(--white)}
.booking-main{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;column-gap:28px;padding:26px 30px 28px}
.booking-facts{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:8px 32px;margin:0;padding:0;list-style:none}
.booking-facts li{display:flex;align-items:center;gap:10px;font-size:16px;line-height:1.4;color:var(--ink)}
.booking-facts svg{width:22px;height:22px;flex:none;fill:none;stroke:var(--royal);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.booking-main>[data-calendly-load]{margin-top:24px}
.booking-consent{margin-top:24px;max-width:400px;font-size:13px;line-height:1.6;color:var(--muted)}
.booking-consent a,.booking-address a,.calendly-fallback a{color:var(--royal);text-underline-offset:.3em}
.booking-alt{padding:18px 30px 20px;border-top:1px solid var(--rule);background:var(--panel)}
.booking-address{font-size:15px;line-height:1.6;color:var(--ink)}
.booking-note{margin-top:4px;font-size:14px;line-height:1.55;color:var(--muted)}

/* The calendar card: continuous with the booking card (same width, edge and white), sized to Calendly's calendar
   (680px + padding + border = 738px). At 680px or narrower Calendly draws its calendar without a box of its own. */
.calendar-card{margin-top:16px;padding:22px 28px 28px;border:1px solid var(--rule);border-radius:14px;background:var(--white);overflow:hidden;transition:height .6s var(--ease);scroll-margin-top:16px}
.calendar-head{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding-bottom:14px;margin-bottom:6px;border-bottom:1px solid #e7ecf4}
.calendar-title{font:600 14px/1.4 var(--sans);color:var(--ink)}
.calendar-zone{font-size:13px;color:var(--muted)}
/* Shown with the calendar, above Calendly's own form (Lex, v11). */
.calendar-notes{margin:10px 0 4px;font-size:14px;line-height:1.5;color:var(--muted)}
.calendar-booked{display:flex;align-items:center;gap:12px;padding:14px 18px;margin-bottom:10px;border-radius:10px;background:#E6F2EB;color:#256449;font-weight:500}
.icon-check{width:24px;height:24px;padding:4px;border-radius:50%;background:#256449;color:var(--white);stroke-width:2.2}
.calendar-body{position:relative;display:flow-root}
/* The calendar shows at Calendly's full height, never trimmed, so Calendly's cookie banner (pinned to the frame's
   bottom edge) is always whole. Calendly's own white foot, on the card's white, is the card's bottom padding. */
.calendar-card.has-frame{padding-bottom:0}
.calendar-skeleton{display:grid;gap:14px;padding:22px 0 10px}
.calendar-skeleton span{display:block;height:14px;border-radius:8px;background:var(--mist);animation:skeleton 1.2s ease-in-out infinite alternate}
.calendar-skeleton span:nth-child(1){width:38%}.calendar-skeleton span:nth-child(2){height:190px;border-radius:12px}.calendar-skeleton span:nth-child(3){width:72%}.calendar-skeleton span:nth-child(4){width:54%}
@keyframes skeleton{to{opacity:.5}}
.calendly-loading{display:flex;align-items:center;gap:10px;margin:14px 0 0;font-size:14px;color:var(--muted)}
.calendly-loading:before{content:"";width:8px;height:8px;border-radius:50%;background:var(--azure);animation:calendly-pulse 1.1s ease-in-out infinite alternate}
@keyframes calendly-pulse{to{opacity:.25;transform:scale(.7)}}
.calendly-fallback{margin:14px 0 0;font-size:15px;color:var(--ink)}
.calendly-frame{display:block;width:100%;max-width:680px;margin-inline:auto;border:0;border-radius:0;background:var(--white);transition:opacity .45s var(--ease)}
.calendly-frame:not(.is-ready){position:absolute;left:0;top:0;opacity:0;pointer-events:none}

/* v16 (Lex: "give it the same care as the homepage"): a soft band behind the page's top, the points about the call as
   two clear rows with their icons in Mist discs, and the arrival: the heading rises, the lead follows, the points
   settle in one after another while the homepage's small light comes down beside the card (book.js), and the halo of
   "Show available times" completes as the light goes in. Opacity and transform only; nothing moves with reduced
   motion; without JavaScript the page is still and whole. */
.booking{background:linear-gradient(180deg,var(--pale) 0,var(--pale) 340px,var(--paper) 620px)}
.booking-card{position:relative;z-index:2;border-color:var(--card-border);border-radius:var(--card-radius);box-shadow:var(--card-shadow)}
.booking-facts{gap:12px 36px}
.booking-facts li{gap:14px;font-size:17px;font-weight:500}
.booking-facts svg{box-sizing:content-box;width:20px;height:20px;padding:9px;border-radius:50%;background:var(--mist)}
.booking-main>[data-calendly-load]{position:relative}
.booking-main>[data-calendly-load]:after{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:0 0 0 3px #578fe866,0 4px 42px 10px #578fe8cc;pointer-events:none}
@media(prefers-reduced-motion:no-preference){
  .js .book-intro h1{animation:rise .8s .05s var(--ease) both}
  .js .book-intro .book-lead{animation:rise .7s .3s var(--ease) both}
  .js .booking-card{animation:rise .7s .45s var(--ease) both}
  .js .booking-facts li{animation:rise .55s .95s var(--ease) both}
  .js .booking-facts li+li{animation-delay:1.2s}
  .js .booking-main>[data-calendly-load]:after{animation:halo-in .9s 1.7s var(--ease) both}
}
@keyframes halo-in{from{opacity:0;transform:scale(.92)}to{opacity:1;transform:none}}

/* Phones (v13): the homepage's phone rules. One column; the page opens 32px under the header; 24px under the
   heading, 28px between blocks, 20px inside the card; the two facts are rows with a divider; running text 17px (the
   agreement notice is fine print at 14px). */
@media(max-width:767px){
  .booking{padding-top:32px}
  .book-lead{margin-top:26px;font-size:17px}
  .booking-card{margin-top:28px}
  .booking-main{display:block;padding:10px 20px 24px}
  .booking-facts{display:block}
  .booking-facts li{padding:14px 0;font-size:17px;line-height:1.6;text-wrap:balance}
  .booking-facts li+li{border-top:1px solid #e4e8ee}
  .booking-main>[data-calendly-load]{margin-top:14px}
  .booking-consent{margin-top:16px;font-size:14px}
  .booking-alt{padding:22px 20px 24px}
  .booking-address{font-size:17px}
  .booking-note,.calendar-notes{font-size:16px}
  .booking-address+.booking-address,.booking-note{margin-top:16px}
  .calendar-zone{font-size:14px}
}
@media(max-width:640px){
  .calendar-card{padding:16px 10px 12px}
  .calendar-head{flex-direction:column;align-items:flex-start;gap:2px;padding:0 8px 12px;border-bottom:0;margin-bottom:0}
  .calendar-notes{margin:0 8px 10px}
  .calendar-booked{margin-inline:6px}
  .calendar-card .calendly-loading,.calendar-card .calendly-fallback{margin-inline:8px}
}
/* On a narrow phone the calendar runs to the screen's edges (v22): Calendly draws its dates 44px across, and in a
   frame narrower than about 336px neighbouring dates lie over each other (by 12px in the 250px frame a 320px
   phone had; by 2px even at 390). Edge to edge they are clear from 336px up. Below 360px book.js opens the
   calendar in a new tab instead, so this frame is never shown there. */
@media(max-width:480px){
  .calendar-card{width:calc(100% + 48px);max-width:none;margin-inline:-24px;padding-inline:0;border-inline:0;border-radius:0}
  .calendar-head{padding-inline:24px}
  .calendar-notes,.calendar-booked,.calendar-card .calendly-loading,.calendar-card .calendly-fallback{margin-inline:24px}
  .calendar-skeleton{padding-inline:24px}
}
