/* 2 Nov (Shali): the service sections read as one journey.
   1. One heading style for the section titles after the hero: centred, light display, same scale, intro centred under it.
   2. Build on your Horizon continues Diagnostics: its title takes the same size as "Horizon Assessment." on the dark ground.
   3. A slim journey line (Assess, Care, Programs) floats at the foot of the screen while these sections are on screen;
      journey.js marks the current step; each step jumps to its section. */
#beyond .bh-h, #care .cf-h, #programs .pg-h { font: 300 clamp(40px, 4.4vw, 64px)/1.02 !important; font-family: var(--f-display) !important; letter-spacing: -.045em !important; text-align: center; }
#beyond .bh-h { font-size: clamp(32px, 4vw, 56px) !important; }
#care .cf-head, #programs .pg-head { display: block !important; max-width: 760px; margin: 0 auto !important; text-align: center; }
#care .cf-intro, #programs .pg-intro { max-width: 34em; margin: 18px auto 0 !important; text-align: center; }
#programs .pg-wrap { padding-inline: max(24px, calc((100vw - 1200px) / 2)) !important; max-width: none !important; }
#programs.pg { padding-left: 0 !important; padding-right: 0 !important; }

.yl-journey { position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 45; display: flex; gap: 4px; padding: 5px;
  border-radius: 999px; background: rgba(14, 14, 15, .55); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  box-shadow: inset 0 0 0 1px rgba(233, 228, 218, .14); transform: translate(-50%, 16px); opacity: 0; pointer-events: none;
  transition: opacity .5s ease, transform .6s cubic-bezier(.22, 1, .36, 1); }
.yl-journey.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.yl-journey a { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 999px; color: rgba(233, 228, 218, .62);
  font: 500 13px/1 var(--f-text); text-decoration: none; transition: background-color .4s ease, color .4s ease; }
.yl-journey a i { font-style: normal; font-size: 11px; color: rgba(233, 228, 218, .4); transition: color .4s ease; }
.yl-journey a:hover { color: var(--star); }
.yl-journey a[aria-current="step"] { background: var(--star); color: var(--void); }
.yl-journey a[aria-current="step"] i { color: rgba(14, 14, 15, .5); }
.yl-journey a:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
@media (max-width: 759px) { .yl-journey a { height: 30px; padding: 0 11px; font-size: 12px; } }
@media (prefers-reduced-motion: reduce) { .yl-journey { transition: none; } }
/* settle.js: titles scale from the centre of their line; sections clip the large frames so the page never scrolls sideways */
html.has-settle #beyond .bh-h, html.has-settle #care .cf-h, html.has-settle #programs .pg-h { transform-origin: 50% 50%; will-change: transform, opacity; }
html.has-settle #beyond, html.has-settle #care, html.has-settle #programs { overflow-x: clip; }
html.has-settle .bh-list-8, html.has-settle #care .cf-list, html.has-settle #programs .pg-list { transform-origin: 50% 0; }
/* 3 Nov (Shali): desktop docking (journey.js .is-docked): the line sits in the empty band that opens Assess, Care and
   Programs and scrolls with the page, so it never rests on cards, copy or buttons. It fades rather than slides. */
@media (min-width: 1001px) {
  .yl-journey.is-docked { position: absolute; bottom: auto; transform: translate(-50%, 0); transition: opacity .35s ease, visibility .35s; }
  .yl-journey.is-docked.is-on { transform: translate(-50%, 0); }
}
