/* A focused invitation, using the shared SPADE palette and typography. */
.booking-page {
  padding-top: 0;
  min-height: 100dvh;
}

.booking-page .site-header {
  position: static;
  max-width: 1280px;
  margin-inline: auto;
  padding: 22px 40px;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.booking-page .nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 24px;
}

.booking-page .booking-home-link,
.booking-page .booking-header-link {
  color: var(--ink-muted);
  font-size: 0.88rem;
}

.booking-page a:focus-visible,
.booking-page button:focus-visible {
  outline: var(--focus-width) solid var(--focus-color);
  outline-offset: 5px;
  border-radius: var(--r1);
}

.booking-main {
  max-width: 1280px;
  margin-inline: auto;
  padding: 40px 40px 0;
}

.booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 790px);
  gap: 40px;
  align-items: start;
}

.booking-intro {
  padding-top: 22px;
}

.booking-intro h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.6rem, 3.3vw, 3rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.booking-intro .static-line {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 0.6em;
  letter-spacing: 0.01em;
  color: var(--ink-muted);
  margin-bottom: 0.4em;
}

.booking-intro .hero-typewriter-wrap {
  display: flex;
  align-items: center;
  min-height: 1.15em;
  white-space: nowrap;
}

.booking-intro .hero-typewriter {
  color: var(--accent);
}

.booking-intro .hero-cursor {
  width: 3px;
  height: 0.9em;
  background: var(--accent);
  margin-left: 3px;
  animation: booking-blink 900ms step-end infinite;
}

@keyframes booking-blink {
  50% {
    opacity: 0;
  }
}

.booking-lead {
  max-width: 34ch;
  margin-top: 28px;
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--ink-muted);
}

.booking-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 26px 0 32px;
  list-style: none;
}

.booking-facts li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.83rem;
  white-space: nowrap;
  color: var(--ink-muted);
}

.booking-facts svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.booking-person {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: center;
  gap: 18px 16px;
  max-width: 360px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.booking-person img {
  width: 96px;
  height: 96px;
  border-radius: var(--r3);
  object-fit: cover;
  object-position: center;
}

.booking-person-name {
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
}

.booking-person-role {
  margin-top: 2px;
  color: var(--ink-muted);
  font-size: 0.83rem;
}

.booking-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  margin-top: 4px;
  color: var(--accent);
  font-size: 0.83rem;
  font-weight: 600;
}

.booking-linkedin svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  fill: currentColor;
}

.booking-linkedin:hover span:first-of-type {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.booking-person .booking-message {
  --button-size: 0.9rem;
  --button-padding: 14px 16px;
  grid-column: 1 / -1;
  width: 100%;
  min-height: 48px;
  justify-content: flex-start;
  gap: 12px;
  text-align: left;
}

.booking-person .booking-message:hover {
  transform: none;
}

.booking-message svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.booking-message-arrow {
  margin-left: auto;
}

.booking-panel {
  min-width: 0;
}

.booking-panel h2 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.25;
}

.booking-calendar-shell {
  position: relative;
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: var(--r3);
  background: var(--surface);
}

.booking-calendar {
  position: relative;
  z-index: 0;
  width: 100%;
  min-height: 420px;
}

.booking-calendar iframe {
  border-radius: var(--r3);
  display: block;
}

.booking-loading {
  position: absolute;
  z-index: 1;
  border-radius: inherit;
  background: var(--surface);
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 40px 24px;
  color: var(--ink-muted);
  pointer-events: none;
  text-align: center;
}

.booking-loading[hidden] {
  display: none;
}

.booking-loader {
  width: 24px;
  height: 24px;
  border: 2px solid var(--line-strong);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: booking-turn 900ms linear infinite;
}

[data-booking-state='slow'] .booking-loader,
[data-booking-state='failed'] .booking-loader {
  display: none;
}

[data-booking-state='failed'] {
  min-height: 160px;
}

[data-booking-state='failed'] .booking-calendar {
  display: none;
}

.booking-fallback {
  margin-top: 14px;
  font-size: 0.8rem;
  line-height: 1.5;
}

.booking-fallback a {
  color: var(--ink-muted);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--line-strong);
}

.booking-fallback a:hover,
.booking-page .booking-home-link:hover,
.booking-page .booking-header-link:hover {
  color: var(--accent);
  text-decoration-color: currentColor;
}

.booking-fallback span {
  display: inline-block;
  margin-left: 4px;
  transition: transform 180ms var(--ease-audit-out);
}

.booking-fallback a:hover span {
  transform: translate(2px, -2px);
}

.booking-noscript {
  padding: 24px;
  color: var(--ink-muted);
}

.booking-noscript a {
  text-decoration: underline;
}

.booking-trust {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 36px;
  margin-top: 40px;
  padding-block: 28px 20px;
  border-top: 1px solid var(--line-strong);
}

.booking-client-logo {
  width: 78px;
  height: 22px;
  margin-left: auto;
  object-fit: contain;
  filter: grayscale(1) brightness(0) invert(1);
  opacity: 0.65;
}

.booking-credentials-label {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 12px;
}

.booking-certificates {
  display: flex;
  gap: 22px;
}

.booking-certificates a {
  display: grid;
  justify-items: center;
  gap: 6px;
  color: var(--ink-muted);
  font-family: var(--mono);
  font-size: 0.65rem;
}

.booking-certificates img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  transition: transform 180ms ease;
}

.booking-certificates a:first-child img {
  padding: 6px;
  background-color: var(--cream-0);
  border-radius: var(--r2);
  color-scheme: light;
}

.booking-certificates a:hover img {
  transform: translateY(-3px);
}

@media (prefers-color-scheme: light) {
  .booking-client-logo {
    filter: grayscale(1);
  }
}

.booking-page .site-footer {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 40px;
  background: transparent;
  border: 0;
}

.booking-page .booking-footer-inner {
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 0.75rem;
  color: var(--ink-muted);
}

.booking-page .booking-footer-links {
  display: flex;
  gap: 20px;
}

@keyframes booking-turn {
  to {
    transform: rotate(360deg);
  }
}

@keyframes booking-arrive {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .booking-intro {
    animation: booking-arrive 440ms var(--ease-audit-out) both;
  }
}

@media (max-width: 1190px) {
  .booking-page .site-header {
    padding: 20px 24px;
  }
  .booking-main {
    padding: 30px 24px 0;
  }
  .booking-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }
  .booking-intro {
    padding-top: 0;
  }
  .booking-intro h1 {
    font-size: clamp(2.6rem, 8vw, 3rem);
  }
  .booking-lead {
    margin-top: 18px;
    max-width: 48ch;
    font-size: 1rem;
  }
  .booking-facts {
    margin: 18px 0 20px;
  }
  .booking-person {
    grid-template-columns: 80px minmax(0, 1fr);
    padding-top: 20px;
  }
  .booking-person img {
    width: 80px;
    height: 80px;
  }
  .booking-panel h2 {
    font-size: 1.25rem;
    margin-bottom: 14px;
  }
  .booking-page .site-footer {
    padding: 24px;
  }
  .booking-page .booking-footer-inner {
    padding: 0;
    align-items: flex-start;
  }
  .booking-page .booking-footer-links {
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
  }
}

@media (max-width: 700px) {
  .booking-intro h1 {
    font-size: clamp(2.2rem, 9vw, 2.6rem);
  }
  .booking-trust {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    margin-top: 28px;
  }
  .booking-credentials {
    justify-self: center;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .booking-intro .hero-cursor {
    animation: none;
    display: none;
  }
  .booking-certificates img {
    transition: none;
  }
  .booking-loader {
    animation: none;
  }
  .booking-fallback span {
    transition: none;
  }
}

@media (scripting: none) {
  .booking-calendar-shell {
    min-height: 0;
  }
  .booking-calendar {
    display: none;
  }
}
