/* Ported from 3rdbrain-site/launch-updates.css by scripts/port-static-assets.ts with unused rules removed. Maintained by hand from here on. */
/* 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; }
.strategy-intake-panel [hidden] { display: none !important; }
.strategy-intake-panel { min-width: 0; }
.strategy-intake-panel h2 { font-size: 1.6rem; letter-spacing: -.02em; }
#strategy-intake { padding: 28px; border: 1px solid #ded9e8; border-radius: 16px; background: #fff; }
.intake-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 24px 0; }
.intake-wide { grid-column: 1 / -1; }
.intake-field { min-width: 0; }
.intake-field label { display: block; margin-bottom: 7px; font-size: .9rem; font-weight: 600; }
.intake-field input, .intake-field select { width: 100%; min-width: 0; min-height: 46px; padding: 10px 12px; border: 1px solid #9890a8; border-radius: 6px; background: #fff; color: #251c39; font: inherit; font-size: 16px; box-sizing: border-box; }
.intake-field :is(input, select):focus-visible, .strategy-intake-panel button:focus-visible { outline: 3px solid #7000e0; outline-offset: 3px; }
.intake-field [aria-invalid="true"] { border-color: #a32632; }
.intake-error { display: block; color: #a32632; font-size: .85rem; margin-top: 5px; }
.intake-error:empty { display: none; }
.intake-errors { padding: 12px; background: #fff1f1; color: #89212c; border-radius: 6px; }
.intake-optional, .intake-reference { font-size: .8rem; color: #615c70; font-weight: 400; }
.intake-reference { overflow-wrap: anywhere; margin-top: 24px; }
.intake-transport, .intake-storage { padding: 16px; background: #f4f0fb; border-radius: 8px; margin-bottom: 24px; font-size: .9rem; }
.intake-transport p { margin: 0; }
.intake-transport button, .intake-edit { padding: 10px 14px; border: 1px solid #7000e0; border-radius: 6px; background: #fff; color: #5700ad; cursor: pointer; font: inherit; }
.intake-transport button { margin-top: 12px; }
.strategy-intake-panel button:disabled { opacity: .6; cursor: wait; }
.intake-resources { padding: 24px; border: 1px solid #ded9e8; border-radius: 12px; }
/* Keep the preview's editable text spans from intercepting form control clicks. */
@media (max-width: 600px) {
  .strategy-intake-panel { margin-inline: 0; }
  #strategy-intake { padding: 20px 16px; }
  .intake-fields { grid-template-columns: minmax(0, 1fr); }
}
.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; }
}

/* Release 2: the Levels of Digital Operations section's optional "take the assessment" button, under
   the levels list. The site's .form-button is sized for short labels (no side padding, 200–220px wide,
   capped at 55px tall, margin-right 50%), so give this one side padding and let it size to its text:
   one line on desktop, wrapping only on a narrow phone. */
.lodo-assessment-cta { margin-top: 24px; }
.lodo-assessment-cta .form-button {
  display: inline-flex;
  width: auto;
  min-width: 0;
  max-width: 100%;
  max-height: none;
  margin: 0;
  padding: 15px 28px;
}
@media screen and (max-width: 479px) {
  .lodo-assessment-cta .form-button { white-space: normal; }
}
