/* HYAD contact block: the "book a call" route. Added 24 Nov 2026.
   Sits on top of /assets/styles.css and uses its tokens only. Nothing here loads from another site. */

.send-row { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 12px; }
.send-row .btn { width: 100%; justify-content: center; font-size: 14px; padding: 19px; margin-top: 0; }
.send-row .btn-ghost { background: none; font-family: inherit; }
.send-row .btn-green { border: 1px solid var(--green); }   /* same height as the outlined button under it */
.send-row .btn[disabled] { opacity: .6; cursor: default; transform: none; }
/* the site's .btn sets its own display, which would beat the hidden attribute */
.send-row [hidden], .book[hidden], .book [hidden] { display: none !important; }
.send-row .btn:focus-visible, .book a:focus-visible, .book button:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

/* once the calendar is open it gets the full width, and the heading sits above it */
.contact-grid.is-booking { grid-template-columns: 1fr; gap: 36px; }
.contact-grid.is-booking .contact-left { position: static; }
.contact-grid.is-booking .contact-left p,
.contact-grid.is-booking .contact-left .direct { display: none; }
.contact-grid.is-booking .contact-left h2 { margin-bottom: 0; }

.book { scroll-margin-top: 110px; }
.book h3 { font-size: clamp(26px, 3vw, 36px); line-height: 1.1; letter-spacing: -0.02em; font-weight: 700; outline: none; }
.book-status { color: var(--white); font-size: 17px; line-height: 1.5; margin-bottom: 18px; }
.book-sub { color: var(--grey); font-size: 17px; line-height: 1.6; margin-top: 12px; }
/* No box of our own round the calendar: the booking tool draws its own card. The line of text shows only until it has loaded. */
.book-frame { position: relative; margin-top: 28px; background: var(--black); overflow: hidden; container-type: inline-size; scroll-margin-top: 96px; }
.book-frame::before { content: "Loading the calendar"; position: absolute; top: 40px; left: 0; right: 0; text-align: center; color: var(--grey); font-size: 15px; }
.book-frame.is-ready::before { content: none; }
/* The frame starts short and takes its height from the booking tool, which reports it (see booking.js).
   If that page never comes up, the tool's ordinary page is loaded instead. It cannot report its height, so the frame is
   sized to hold it (measured 24 Nov 2026): stacked on a narrow frame it needs about 1050px plus 0.82 of the frame's
   width, with room for a full day of times; side by side on a wide frame it needs up to 730px. */
/* color-scheme: the embed page is see-through only while the frame's scheme matches its own, which is the plain default.
   Set to dark, the browser paints a white sheet behind it. */
.book-frame iframe { position: relative; display: block; width: 100%; height: 420px; border: 0; color-scheme: normal; }
.book-frame.is-plain iframe { height: 1460px; height: calc(1160px + 82cqw); color-scheme: dark; }
@container (min-width: 768px) { .book-frame.is-plain iframe { height: 736px; } }
.book-slow { margin-top: 20px; color: var(--grey); font-size: 17px; line-height: 1.5; }
.book-slow a { color: var(--green); text-underline-offset: 4px; }
.book-foot { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; margin-top: 18px; font-size: 15px; }
.book-foot a, .book-foot button {
  color: var(--grey); background: none; border: 0; padding: 12px 0; font: inherit; cursor: pointer;
  text-decoration: underline; text-underline-offset: 4px;
}
.book-foot a:hover, .book-foot button:hover { color: var(--green); }
