/* Booking, case stories, and one shared footer across the site. */
.main-footer.page-footer nav { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.main-footer.page-footer .footer-inner { grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr); gap: 36px 60px; }
.main-footer.page-footer .footer-small { grid-column: 1 / -1; }
.results-track a.result-story-link { position: relative; justify-content: flex-start; color: #fff; text-decoration: none; border: 1px solid #ffffff4d; transition: border-color .15s, background-color .15s; }
.results-track a.result-story-link:hover { border-color: var(--yellow); background: #ffffff1a; }
.results-track a.result-story-link:focus-visible { outline: 3px solid var(--yellow); outline-offset: -4px; }
.result-story-link .results-desc { padding-right: 28px; }
.result-story-arrow { position: absolute; top: 20px; right: 20px; width: 18px; height: 18px; color: #ffffffb3; transition: color .15s; }
.result-story-arrow svg { display: block; width: 100%; height: 100%; }
.result-story-link:is(:hover, :focus-visible) .result-story-arrow { color: var(--yellow); }
.case-story-link { display: inline-block; margin-top: 20px; text-decoration: underline; }
.booking-hero .paragraph-large-2 { max-width: 760px; }
.booking-jump { display: inline-block; margin-top: 8px; text-decoration: underline; }
.booking-section { padding-top: 32px; }
.booking-grid { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: 48px; align-items: start; }
.booking-details { padding-top: 8px; }
.booking-host { display: flex; align-items: center; gap: 20px; margin-bottom: 36px; }
.booking-host img { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; flex: 0 0 100px; }
.booking-page .booking-host h2 { margin-bottom: 5px; font-size: 1.3rem; letter-spacing: -.02em; }
.booking-host p { font-size: .875rem; margin: 0; }
.booking-host .eyebrow { margin-bottom: 4px; color: var(--color); font-size: .72rem; }
.booking-page .booking-details > h2 { margin: 28px 0 10px; font-size: 1.25rem; letter-spacing: -.015em; }
.booking-details > p { color: #615c70; }
.booking-duration { margin-top: 30px !important; padding-top: 24px; border-top: 1px solid #ded9e8; }
.booking-page .booking-calendar > h2 { font-size: 1.6rem; letter-spacing: -.02em; margin-bottom: 12px; }
.booking-embed { position: relative; }
#calendly-booking { min-width: 0; width: 100%; height: 700px; background: #fff; }
#calendly-booking iframe { display: block; width: 100%; height: 100%; border: 0; opacity: 1; transition: opacity .18s ease-out; }
#calendly-booking[data-state="loading"] iframe { opacity: 0; }
#calendly-booking[data-state="failed"] { height: 150px !important; }
.calendar-loading { position: absolute; z-index: 1; inset: 48px 20px auto; display: flex; align-items: center; justify-content: center; gap: 12px; color: #615c70; font-size: .95rem; line-height: 1.5; }
.calendar-loading[hidden] { display: none; }
.calendar-loading::before { content: ""; width: 20px; height: 20px; flex: 0 0 20px; border: 2px solid #e8e2f4; border-top-color: #7000e0; border-radius: 50%; animation: calendar-spin .8s linear infinite; }
.calendar-loading[data-failed="true"]::before { display: none; }
@keyframes calendar-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  #calendly-booking iframe { transition: none; }
  .calendar-loading::before { animation: none; }
}
.calendar-fallback { margin-top: 16px !important; font-size: .9rem; }
.booking-confirmation { margin-block: 20px; padding: 24px; border-radius: 12px; background: #e0f1e9; }
.booking-page .booking-confirmation h2 { font-size: 1.5rem; }
.booking-confirmation p { margin: 0; }
.case-hero h1 { max-width: 1040px; margin: 20px 0; font: 700 clamp(2.4rem, 4.5vw, 4rem)/1.1 Inter, sans-serif; letter-spacing: -.045em; }
.case-hero .page-lede { max-width: 800px; font-size: 1.125rem; }
.eyebrow { font-size: .8rem; text-transform: uppercase; letter-spacing: .09em; font-weight: 700; color: var(--color); }
.breadcrumb { display: inline-block; margin-bottom: 24px; }
.metric-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 36px; padding-top: 28px; border-top: 1px solid #ded9e8; }
.metric-row strong { display: block; margin-bottom: 8px; font: 700 clamp(1.8rem, 3vw, 2.8rem)/1.1 Inter, sans-serif; color: var(--color); }
.metric-row span { display: block; max-width: 260px; color: #615c70; line-height: 1.45; }
.story-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 72px; }
.story-copy section + section { margin-top: 44px; }
.story-copy li, .story-document li { margin-bottom: 14px; }
.story-copy h2, .story-document h2 { font-size: clamp(1.6rem, 2.8vw, 2.4rem); }
.story-aside { align-self: start; padding: 28px; background: #f7f5fc; border-radius: 14px; }
.case-study-page .story-aside h2 { font-size: 1.2rem; letter-spacing: -.02em; }
.story-aside a { display: block; margin-top: 14px; }
.story-document { max-width: 800px; }
.story-document h2 { margin-top: 42px; }
.story-document h2:first-child { margin-top: 0; }
.story-document blockquote { margin: 26px 0; padding: 8px 0 8px 24px; border-left: 4px solid var(--teal); color: #514761; font-size: 1.05rem; }
.story-document blockquote p { margin: 0; }
@media (max-width: 991px) {
  .booking-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .booking-details { max-width: 720px; }
  .main-footer.page-footer .footer-inner { grid-template-columns: minmax(0, 1fr); }
  .main-footer.page-footer nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .story-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 600px) {
  .main-footer.page-footer nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .booking-host { gap: 14px; }
  .booking-host img { width: 80px; height: 80px; flex-basis: 80px; }
  .booking-calendar { margin-inline: -12px; }
  .booking-calendar > h2, .booking-calendar > p { margin-inline: 12px; }
  #calendly-booking { height: 602px; }
  .metric-row { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
