/* PlacementFlow, Our story (Fable 5.2, 11 Nov 2026). The page is one line the visitor follows. Prefix st-.

   The line arrives in pieces (five loose bars of ink, each a place a student has to look). As each is scrolled past it
   swings onto the axis and blue runs down it; from there blue keeps flowing down the page with the reader: through the
   belief, through the questions that led from placements to the whole journey, into navy where two more lines join it
   (clinicians, medical schools), and into the PF mark, which opens into the blue field the homepage starts on.

   Nothing is pinned and the scroll is never intercepted: every moment is read from where the page is (story.js).
   Everything below is drawn finished by the CSS alone: the pieces loose, the line whole and blue, every stop lit, the
   field open. story.js only takes over once it has measured the page (html.st-live), so a failed script, no script
   or reduced motion all leave a complete, still page.

   On a phone the axis is a rail down the left-hand edge; from 900px it is the centre of the page, with what is asked
   on its left and what answers it on its right. */

body.os {
  --st-w: 8px;                 /* the line's width */
  --st-ax: 14px;               /* the axis, the line's centre, from the wrap's left edge */
  --st-axx: calc(var(--gutter) + 14px);  /* the same, from the page's left edge */
  --st-hang: 30px;             /* from the axis to the text that hangs off it */
  --st-seg: clamp(96px, 15.6vh, 112px);  /* one piece of the line */
  --st-ring: 26px; --st-rw: 5px;
  --st-gap: 12px;              /* between the three stripes' centres */
  --st-bandx: calc(var(--st-axx) + var(--st-gap));  /* the middle of the three stripes */
  --st-r: 52px;                /* the corner the side stripes turn */
  --st-mk: 60px;               /* the mark the lines arrive at */
  --st-u: 1vw;                 /* the loose pieces' unit of distance */
  --st-track: #e2e6ed; --st-wait: #7b8593; --st-sky: #8fb8ff;
  --st-ease: cubic-bezier(.16, 1, .3, 1);
  background: #fff; overflow-x: clip;
}
@media (min-width: 900px) {
  body.os { --st-w: 12px; --st-ax: 50%; --st-axx: 50%; --st-hang: 56px; --st-seg: clamp(176px, 25vh, 232px); --st-ring: 36px; --st-rw: 6px;
    --st-gap: 24px; --st-bandx: 50%; --st-r: 132px; --st-mk: 96px; --st-u: min(1vw, 14.4px); }
}
html { scroll-padding-top: calc(var(--nav-h) + 16px); }
body.os .nav { overflow: visible; background: #fff; }
.os ::selection { background: rgba(23, 104, 242, .2); }
.st-btn, .st-go, .st-mf-s { -webkit-tap-highlight-color: transparent; }
main:focus { outline: none; }
.st-nw { white-space: nowrap; }
.st-l { display: block; }

/* ---------------- I · before: the line, in pieces ---------------- */
.st-white { position: relative; background: #fff; }
.st-open-in { position: relative; padding-top: calc(var(--nav-h) + clamp(32px, 6.4vh, 56px)); }
.st-h1 { font-size: clamp(38px, 11.4vw, 68px); line-height: 1; font-weight: 700; letter-spacing: -.036em; color: var(--ink); }
.st-hl { display: block; }
.st-hl > span { display: inline-block; }
.st-fine { margin-top: 14px; font-size: 14.5px; line-height: 1.45; color: var(--muted); }
.st-pieces { position: relative; width: 0; margin: clamp(26px, 5vh, 40px) 0 0 var(--st-ax); }
.st-piece { position: relative; height: var(--st-seg); }
/* each bar overlaps its neighbours by half the line's width, so the joined line has no seams */
.st-bar { position: absolute; left: calc(var(--st-w) / -2); top: calc(var(--st-w) / -2); width: var(--st-w); height: calc(100% + var(--st-w)); border-radius: 99px;
  background: var(--ink) linear-gradient(to bottom, var(--blue) 50%, var(--ink) 50%) 0 100% / 100% 202% no-repeat; transform: translate(var(--bx), var(--by)) rotate(var(--br)); transition: background-position .22s ease-out; }
/* a label lies beside its loose piece (--lx from the axis, --dy from the piece's own middle). It does not travel:
   it lets go there, and comes back beside the line once the piece has joined (.is-near, set by story.js) */
.st-tag { position: absolute; left: var(--st-hang); top: 50%; transform: translate(calc(var(--lx) - var(--st-hang)), calc(var(--by) + var(--dy, 0px))); width: max-content; max-width: min(17em, calc(100vw - var(--gutter) - var(--st-axx) - var(--lx))); margin-top: -1.5em;
  font-size: 15px; line-height: 1.4; color: var(--ink-2); transition: color .3s; }
.st-tag b { display: block; font-size: 16px; font-weight: 600; color: var(--ink); transition: color .3s; }
.st-piece.is-near .st-tag { transform: none; max-width: min(17em, calc(100vw - var(--gutter) - var(--st-axx) - var(--st-hang))); }
/* where each piece lies before it joins: its own place and angle, each in its own row to the right of the rail */
.st-piece:nth-child(1) { --i: 0; --bx: calc(24.6 * var(--st-u)); --by: calc(.05 * var(--st-seg)); --br: 34deg; --lx: calc(var(--bx) + .28 * var(--st-seg) + 16px); }
.st-piece:nth-child(2) { --i: 1; --bx: calc(8.7 * var(--st-u)); --by: calc(-.04 * var(--st-seg)); --br: -18deg; --lx: calc(var(--bx) + .155 * var(--st-seg) + 15px); }
.st-piece:nth-child(3) { --i: 2; --bx: calc(31 * var(--st-u)); --by: calc(.03 * var(--st-seg)); --br: 50deg; --lx: calc(var(--bx) + .383 * var(--st-seg) + 17px); }
.st-piece:nth-child(4) { --i: 3; --bx: calc(14.9 * var(--st-u)); --by: calc(-.05 * var(--st-seg)); --br: -40deg; --lx: calc(var(--bx) + .32 * var(--st-seg) + 17px); }
.st-piece:nth-child(5) { --i: 4; --bx: calc(28.2 * var(--st-u)); --by: calc(.04 * var(--st-seg)); --br: 12deg; --lx: calc(var(--bx) + .104 * var(--st-seg) + 15px); }

/* ---------------- the line, whole, from the belief to the end of the white ground ---------------- */
.st-rest { position: relative; }
.st-axis { position: absolute; top: 0; bottom: 0; left: var(--st-axx); width: var(--st-w); margin-left: calc(var(--st-w) / -2); border-radius: 99px 99px 0 0; overflow: hidden; background: var(--st-track); }
.st-flow { position: absolute; inset: 0; background: var(--blue); transform-origin: top; }

/* a row on the line: a stop, what is said, and what stands beside it */
.st-row { box-sizing: border-box; position: relative; padding-left: calc(var(--st-ax) + var(--st-hang)); --st-fs: clamp(31px, 8.6vw, 54px); }
.st-ring { position: absolute; left: var(--st-ax); top: calc(var(--st-fs) * .52 - var(--st-ring) / 2); box-sizing: border-box; width: var(--st-ring); height: var(--st-ring); margin-left: calc(var(--st-ring) / -2);
  border-radius: 50%; background: #fff; border: var(--st-rw) solid var(--blue); transition: border-color .35s, transform .5s var(--st-ease); }
.st-say { font-size: var(--st-fs); line-height: 1.03; font-weight: 700; letter-spacing: -.034em; color: var(--ink); text-wrap: balance; transition: color .45s; }
.st-aside { max-width: 27em; margin-top: 16px; font-size: 17.5px; line-height: 1.5; color: var(--ink-2); text-wrap: balance; transition: color .45s; }
.st-aside--lg { font-size: 21px; line-height: 1.3; font-weight: 500; letter-spacing: -.012em; color: var(--ink); }

/* ---------------- II · the belief ---------------- */
.st-belief { position: relative; padding: clamp(64px, 11vh, 120px) 0 clamp(96px, 17vh, 184px); }
.st-mark-at { position: absolute; top: 0; }

/* ---------------- III · it began with placements: each question, and the stop that answers it ---------------- */
.st-route { padding-bottom: clamp(88px, 13vh, 152px); }
.st-stops { margin-top: clamp(44px, 7.4vh, 80px); }
.st-stop { position: relative; padding: 0 0 clamp(30px, 5.2vh, 52px) calc(var(--st-ax) + var(--st-hang)); --st-ns: clamp(33px, 9.2vw, 56px); }
.st-dot { position: absolute; left: calc(-1 * var(--st-hang)); top: calc(var(--st-ns) * .53 - var(--st-ring) * .39); box-sizing: border-box; width: calc(var(--st-ring) * .78); height: calc(var(--st-ring) * .78); margin-left: calc(var(--st-ring) * -.39);
  border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px #fff; transition: background-color .35s, transform .5s var(--st-ease); }
.st-q { font-size: 16.5px; line-height: 1.35; color: var(--ink-2); transition: color .45s; }
.st-n { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 2px; font-size: var(--st-ns); line-height: 1.06; font-weight: 700; letter-spacing: -.034em; color: var(--ink); transition: color .45s; }
.st-chip { padding: 2px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; line-height: 1.5; letter-spacing: 0; white-space: nowrap; }
.st-chip--here { background: #eaf2fd; color: #1559b0; }
.st-chip--amb { box-shadow: inset 0 0 0 1.5px #9db6dc; color: #1559b0; }
.st-stop--ahead .st-dot { background: #fff; border: 2.5px dashed var(--blue); }
.st-row--more { margin-top: clamp(20px, 4vh, 44px); --st-fs: clamp(27px, 7.2vw, 44px); }
.st-key { display: grid; gap: 7px; max-width: none; font-size: 14px; line-height: 1.45; color: var(--muted); }
.st-key-i { display: flex; align-items: center; gap: 10px; }
.st-key-f, .st-key-d { flex: none; box-sizing: border-box; width: 13px; height: 13px; border-radius: 50%; }
.st-key-f { background: var(--blue); }
.st-key-d { border: 2px dashed var(--blue); }

/* ---------------- IV · a bigger ambition: two more lines join, and the three run on together ---------------- */
.st-people { position: relative; padding-top: clamp(80px, 13vh, 144px); background: var(--deep); color: #fff; overflow: clip; }
.st-people ::selection, .st-more ::selection { background: rgba(143, 184, 255, .35); color: #fff; }
.st-stem { position: absolute; top: 0; bottom: 0; left: var(--st-axx); width: var(--st-w); margin-left: calc(var(--st-w) / -2); background: rgba(255, 255, 255, .12); }
.st-stem-flow { position: absolute; inset: 0; background: var(--blue); transform-origin: top; }
.st-row--on .st-ring { background: var(--deep); border-color: #fff; }
.st-row--on .st-say { color: #fff; }
.st-row--on .st-aside { color: rgba(255, 255, 255, .84); }
.st-band { position: relative; margin-top: clamp(76px, 11vh, 120px); padding-bottom: clamp(72px, 11vh, 128px); }
/* a side stripe: it comes in along the top of its box and turns down its inner edge. On a phone both come from the
   right, one inside the other; from 900px one comes from each side */
.st-arm { position: absolute; bottom: 0; right: 0; box-sizing: border-box; border: 0 solid; border-top-width: var(--st-w); border-left-width: var(--st-w); pointer-events: none; }
.st-arm--cl { top: 0; left: calc(var(--st-axx) + var(--st-gap) - var(--st-w) / 2); border-color: var(--st-sky); border-top-left-radius: var(--st-r); }
.st-arm--ms { top: var(--st-gap); left: calc(var(--st-axx) + 2 * var(--st-gap) - var(--st-w) / 2); border-color: #fff; border-top-left-radius: calc(var(--st-r) - var(--st-gap)); }
.st-band-in { position: relative; z-index: 1; }
.st-who { position: absolute; inset: 0 0 auto; font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.st-who li { position: absolute; display: flex; align-items: center; gap: 9px; white-space: nowrap; }
.st-who li::before { content: ""; width: 18px; height: var(--st-w); border-radius: 99px; background: var(--blue); }
.st-who li.st-who--cl::before { background: var(--st-sky); }
.st-who li.st-who--ms::before { background: #fff; }
.st-who--st { left: calc(var(--st-ax) + 2 * var(--st-gap) + var(--st-hang) - 6px); top: calc(-1.3em - 12px); }
.st-who--cl { right: 0; top: calc(-1.3em - 12px); }
.st-who--ms { right: 0; top: calc(var(--st-gap) + var(--st-w) + 12px); }
.st-nodes { padding-top: calc(var(--st-r) + 68px); }
.st-nodes--ahead { padding-top: 0; }
.st-ahead { padding: 6px 0 clamp(26px, 4.4vh, 40px) calc(var(--st-ax) + 2 * var(--st-gap) + var(--st-hang) - 6px); font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--st-sky); }
.st-node { position: relative; padding: 0 0 clamp(30px, 5vh, 48px) calc(var(--st-ax) + 2 * var(--st-gap) + var(--st-hang) - 6px); --st-cw: calc(2 * var(--st-gap) + var(--st-w) + 14px); }
.st-node p { max-width: 21em; font-size: 17px; line-height: 1.42; color: rgba(255, 255, 255, .84); text-wrap: pretty; transition: color .45s; }
.st-node b { display: block; font-size: 22px; line-height: 1.2; font-weight: 600; letter-spacing: -.016em; color: #fff; }
/* where the three lines meet today: a stop that spans all three */
.st-cap { position: absolute; top: 3px; left: calc(var(--st-ax) + var(--st-gap)); box-sizing: border-box; width: var(--st-cw); height: 22px; margin-left: calc(var(--st-cw) / -2); border-radius: 99px; background: #fff; transition: opacity .35s, transform .5s var(--st-ease); }
/* what each is heading for: a dashed stop, on its own line */
.st-node--ahead .st-cap { top: 1px; width: 26px; height: 26px; margin-left: -13px; background: var(--deep); border: 2.5px dashed #fff; }
.st-node--ahead p { font-size: 18px; color: #fff; }
.st-node--st .st-cap { left: var(--st-ax); }
.st-node--ms .st-cap { left: calc(var(--st-ax) + 2 * var(--st-gap)); }
.st-plain { padding-left: calc(var(--st-ax) + 2 * var(--st-gap) + var(--st-hang) - 6px); margin-top: 8px; font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: -.014em; color: #fff; text-wrap: balance; }
.st-plain .st-l { margin-top: 6px; font-size: 16.5px; line-height: 1.5; font-weight: 400; letter-spacing: 0; color: rgba(255, 255, 255, .84); }

/* ---------------- V · the invitation: the mark, and the field it opens into ---------------- */
.st-home { position: relative; background: var(--deep); color: #fff; overflow: clip; }
.st-home ::selection { background: rgba(255, 255, 255, .3); color: #fff; }
.st-field { position: absolute; inset: 0; background: var(--blue); }
.st-pf { position: absolute; z-index: 1; top: 0; left: var(--st-bandx); display: grid; place-items: center; width: var(--st-mk); height: var(--st-mk); margin-left: calc(var(--st-mk) / -2);
  border-radius: calc(var(--st-mk) * .27); background: #fff; color: var(--blue); font-size: calc(var(--st-mk) * .41); font-weight: 700; letter-spacing: -.02em; transition: background-color .35s, color .35s; }
.st-home-in { position: relative; z-index: 1; padding: calc(var(--st-mk) + clamp(52px, 9vh, 104px)) 0 clamp(88px, 14vh, 168px); }
.st-fin { font-size: clamp(40px, 11.6vw, 76px); line-height: .98; font-weight: 700; letter-spacing: -.036em; }
.st-fin-l { max-width: 22em; margin-top: 18px; font-size: 19px; line-height: 1.45; color: #fff; text-wrap: balance; }
.st-acts { display: grid; gap: 4px; margin-top: 30px; }
.st-btn { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; min-height: 54px; margin-bottom: 8px; padding: 0 26px; border-radius: 12px; background: #fff; color: var(--blue);
  font-size: 16.5px; font-weight: 600; letter-spacing: -.005em; white-space: nowrap; box-shadow: 0 1px 2px rgba(7, 20, 38, .12), 0 10px 24px -14px rgba(7, 20, 38, .45);
  touch-action: manipulation; -webkit-user-select: none; user-select: none; transition: background-color .15s, transform .14s ease-out; }
.st-btn:active { transform: scale(.975); }
/* the arrow stays with the last word, however the link wraps */
.st-go { justify-self: start; padding: 12px 0; border-radius: 8px; font-size: 16.5px; font-weight: 600; line-height: 1.3; color: #fff; touch-action: manipulation; }
.st-go svg { display: inline-block; width: 16px; height: 16px; margin-left: 9px; vertical-align: -2px; transition: transform .2s var(--st-ease); }
.st-go:active { opacity: .78; }
.st-home a:focus-visible, .st-more :focus-visible { outline-color: #fff; }
@media (hover: hover) and (pointer: fine) {
  .st-btn:hover { background: #f1f6ff; }
  .st-go:hover svg { transform: translateX(4px); }
}

/* ---------------- the long version, behind one action ---------------- */
.st-more { background: var(--deep); color: #fff; }
.st-mf { border-bottom: 1px solid rgba(255, 255, 255, .14); }
.st-mf-s { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 20px; padding: 30px 0; cursor: pointer; list-style: none; border-radius: 10px; touch-action: manipulation; -webkit-user-select: none; user-select: none; }
.st-mf-s::-webkit-details-marker { display: none; }
.st-mf-t { font-size: clamp(23px, 2.5vw, 32px); line-height: 1.15; font-weight: 600; letter-spacing: -.022em; }
.st-mf-d { grid-column: 1; max-width: 34em; font-size: 15.5px; line-height: 1.45; color: rgba(255, 255, 255, .76); text-wrap: pretty; }
.st-mf-i { grid-column: 2; grid-row: 1 / span 2; position: relative; width: 46px; height: 46px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); transition: box-shadow .2s, background-color .2s; }
.st-mf-i::before, .st-mf-i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 2px; margin: -1px 0 0 -8px; border-radius: 2px; background: #fff; transition: transform .3s var(--st-ease); }
.st-mf-i::after { transform: rotate(90deg); }
.st-mf[open] .st-mf-i::after { transform: rotate(0deg); }
.st-mf-s:active .st-mf-i { background: rgba(255, 255, 255, .12); }
@media (hover: hover) and (pointer: fine) { .st-mf-s:hover .st-mf-i { box-shadow: inset 0 0 0 1.5px #fff; background: rgba(255, 255, 255, .08); } }
.st-mf-b { padding: 8px 0 clamp(56px, 9vh, 96px); }
.st-ch { padding: clamp(32px, 5vh, 52px) 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.st-ch-h { font-size: clamp(25px, 2.8vw, 38px); line-height: 1.1; font-weight: 600; letter-spacing: -.026em; text-wrap: balance; }
.st-ch-p { margin-top: 20px; }
.st-ch-p > p { max-width: 62ch; font-size: 17.5px; line-height: 1.66; color: rgba(255, 255, 255, .86); text-wrap: pretty; }
.st-ch-p > * + p { margin-top: 1.05em; }
.st-ch-p > p.st-ch-k { font-size: clamp(20px, 1.7vw, 24px); line-height: 1.4; font-weight: 500; letter-spacing: -.012em; color: #fff; }
.st-ch-p > p.st-ch-n { font-size: 14.5px; color: rgba(255, 255, 255, .74); }
.st-tenets { margin-top: 26px; }
.st-tenets > div { padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.st-tenets dt { font-size: clamp(20px, 1.9vw, 26px); line-height: 1.2; font-weight: 600; letter-spacing: -.018em; color: #fff; text-wrap: balance; }
.st-tenets dd { max-width: 58ch; margin: 8px 0 0; font-size: 16.5px; line-height: 1.58; color: rgba(255, 255, 255, .8); text-wrap: pretty; }
.st-five dt { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.st-more .st-chip--here { background: rgba(143, 184, 255, .2); color: #fff; }
.st-more .st-chip--amb { box-shadow: inset 0 0 0 1.5px rgba(143, 184, 255, .75); color: #fff; }
.st-ch-l { margin-top: 22px; }
.st-ch-l li { position: relative; max-width: 58ch; padding: 12px 0 12px 26px; font-size: 17.5px; line-height: 1.5; color: #fff; }
.st-ch-l li::before { content: ""; position: absolute; left: 0; top: 19px; box-sizing: border-box; width: 12px; height: 12px; border-radius: 50%; border: 2px dashed var(--st-sky); }
.st-mail { font-weight: 600; color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .5); overflow-wrap: anywhere; }
.st-sign { display: grid; justify-items: start; gap: 2px; margin-top: 30px !important; }
.st-sign-n { font-size: 19px; font-weight: 600; color: #fff; }
.st-sign-r { font-size: 15px; color: rgba(255, 255, 255, .74); }

/* ---------------- from 900px: the axis is the centre of the page ---------------- */
@media (min-width: 900px) {
  .st-open-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding-top: calc(var(--nav-h) + clamp(36px, 8.4vh, 84px)); }
  .st-top { grid-column: 2; padding-left: var(--st-hang); }
  .st-h1 { font-size: clamp(50px, 5.7vw, 84px); line-height: .98; }
  .st-fine { margin-top: 18px; font-size: 15px; }
  .st-pieces { grid-column: 1 / -1; justify-self: center; margin: clamp(26px, 5vh, 52px) 0 0; }
  .st-tag { max-width: 18em; font-size: 16px; }
  .st-tag b { font-size: 17.5px; }
  .st-piece.is-near .st-tag { max-width: 18em; }
  /* odd labels sit left of the line, so they hang from their right-hand edge in both states (a change of place is then a
     transform, never a layout shift) */
  .st-piece:nth-child(odd) .st-tag { left: auto; right: var(--st-hang); transform: translateX(100%) translate(calc(var(--lx) + var(--st-hang)), calc(var(--by) + var(--dy, 0px))); }
  .st-piece.is-near:nth-child(odd) .st-tag { transform: none; text-align: right; }
  /* a piece waits where no label that has already taken its place beside the line can be under it. Up to 1279px
     the page is too narrow to stand a piece clear of those labels sideways, so the last three lie flat in the gaps
     between them, each with its label underneath */
  .st-piece:nth-child(1) { --bx: calc(-27.8 * var(--st-u)); --by: calc(-1.33 * var(--st-seg)); --br: 64deg; --lx: calc(var(--bx) - 96px); --dy: calc(.219 * var(--st-seg) + 40px); }
  .st-piece:nth-child(2) { --bx: calc(23.6 * var(--st-u)); --by: calc(-1.04 * var(--st-seg)); --br: 80deg; --lx: calc(var(--bx) - 106px); --dy: calc(.087 * var(--st-seg) + 40px); }
  .st-piece:nth-child(3) { --bx: calc(-25 * var(--st-u)); --by: calc(-1.813 * var(--st-seg) + 46px); --br: -68deg; --lx: calc(var(--bx) - 88px); --dy: calc(.187 * var(--st-seg) + 40px); }
  .st-piece:nth-child(4) { --bx: calc(24 * var(--st-u)); --by: calc(-1.845 * var(--st-seg) + 46px); --br: -72deg; --lx: calc(var(--bx) - 96px); --dy: calc(.155 * var(--st-seg) + 40px); }
  .st-piece:nth-child(5) { --bx: calc(-22 * var(--st-u)); --by: calc(-1.75 * var(--st-seg) + 45px); --br: 60deg; --lx: calc(var(--bx) - 80px); --dy: calc(.25 * var(--st-seg) + 41px); }

  .st-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: calc(2 * var(--st-hang)); align-items: baseline; padding-left: 0; --st-fs: clamp(40px, 4.5vw, 66px); }
  .st-row > .st-say { grid-column: 2; grid-row: 1; }
  .st-row > .st-aside { grid-column: 1; grid-row: 1; justify-self: end; margin-top: 0; text-align: right; font-size: clamp(18px, 1.42vw, 20.5px); }
  .st-row > .st-aside--lg { font-size: clamp(22px, 2.1vw, 30px); }
  .st-stop { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: calc(2 * var(--st-hang)); align-items: baseline; padding-left: 0; --st-ns: clamp(40px, 4.5vw, 66px); }
  .st-q { grid-column: 1; justify-self: end; text-align: right; font-size: clamp(19px, 1.72vw, 25px); }
  .st-n { grid-column: 2; margin-top: 0; }
  .st-chip { font-size: 13px; }
  .st-row--more { --st-fs: clamp(32px, 3.3vw, 48px); }
  .st-row > .st-key { justify-items: end; font-size: 14.5px; }
  .st-key-i { flex-direction: row-reverse; }

  /* one stripe from each side, the right-hand one a little lower */
  .st-band { --st-low: 112px; }
  .st-arm--cl { left: 0; right: auto; width: calc(50% - var(--st-gap) + var(--st-w) / 2); border-left-width: 0; border-right-width: var(--st-w); border-top-left-radius: 0; border-top-right-radius: var(--st-r); }
  .st-arm--ms { top: var(--st-low); left: calc(50% + var(--st-gap) - var(--st-w) / 2); border-top-left-radius: var(--st-r); }
  .st-who { font-size: 15.5px; }
  .st-who--st { left: calc(50% + var(--st-hang) + var(--st-gap)); top: calc(-1.3em - 16px); }
  .st-who--cl { left: 0; right: auto; top: calc(-1.3em - 16px); }
  .st-who--ms { right: 0; top: calc(var(--st-low) - 1.3em - 16px); }
  .st-nodes { padding-top: calc(var(--st-low) + var(--st-r) + 72px); }
  .st-node { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: calc(2 * var(--st-hang) + 2 * var(--st-gap)); padding-left: 0; padding-bottom: clamp(40px, 7vh, 72px); }
  .st-node p { grid-column: 2; font-size: 18.5px; }
  .st-node b { font-size: clamp(24px, 2.3vw, 32px); }
  .st-node:nth-child(2) p, .st-node--cl p { grid-column: 1; justify-self: end; text-align: right; }
  .st-cap { top: 6px; left: 50%; height: 26px; }
  .st-node--ahead .st-cap { top: 0; width: 30px; height: 30px; margin-left: -15px; }
  .st-nodes--ahead { padding-top: 0; }
  .st-ahead { width: calc(50% - var(--st-hang) - var(--st-gap)); margin-left: auto; padding-left: 0; font-size: 16px; }
  .st-node--ahead p { font-size: clamp(19px, 1.6vw, 22px); }
  .st-node--st .st-cap { left: 50%; }
  .st-node--cl .st-cap { left: calc(50% - var(--st-gap)); }
  .st-node--ms .st-cap { left: calc(50% + var(--st-gap)); }
  .st-plain { width: calc(50% - var(--st-hang) - var(--st-gap)); padding-left: 0; margin-top: 0; text-align: right; font-size: clamp(21px, 1.9vw, 26px); }
  .st-plain .st-l { font-size: 17.5px; }

  .st-home-in { text-align: center; }
  .st-fin { font-size: clamp(56px, 7vw, 96px); }
  .st-fin-l { max-width: none; margin-top: 22px; font-size: clamp(19px, 1.7vw, 24px); }
  .st-acts { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 32px; margin-top: clamp(32px, 4.4vh, 48px); }
  .st-btn { margin-bottom: 0; }
  .st-go { padding: 16px 0; }
  .st-mf-s { padding: 38px 0; }
  .st-ch { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: clamp(40px, 6vw, 96px); }
  .st-ch-p { margin-top: 4px; }
}
/* from 1280px there is room to stand a piece clear of the labels sideways: the third and fifth stand upright with
   their labels beside them, and the fourth lies across the far right with its label above it */
@media (min-width: 1280px) {
  .st-piece:nth-child(1) { --st-drop: -.3; }
  .st-piece:nth-child(3) { --by: calc(-1.56 * var(--st-seg)); --br: -24deg; --lx: calc(var(--bx) + 64px); --dy: 0px; }
  .st-piece:nth-child(4) { --st-drop: 1; --bx: calc(418px + var(--st-u)); --by: calc(-1.82 * var(--st-seg)); --br: -48deg; --lx: calc(var(--bx) - 84px); --dy: calc(-.335 * var(--st-seg) - 41px); }
  .st-piece:nth-child(5) { --bx: calc(-27 * var(--st-u)); --by: calc(-1.42 * var(--st-seg)); --br: 16deg; --lx: calc(var(--bx) + 49px); --dy: 0px; }
}
/* a short laptop: the same page, a little tighter */
@media (min-width: 900px) and (max-height: 720px) {
  .st-h1 { font-size: clamp(46px, 4.9vw, 68px); }
  .st-row { --st-fs: clamp(38px, 4vw, 56px); }
  .st-stop { --st-ns: clamp(38px, 4vw, 56px); }
}

/* ---------------- with motion: how the page opens ---------------- */
@keyframes st-rise { from { transform: translateY(104%); } }
@keyframes st-fade { from { opacity: 0; } }
@keyframes st-land { from { opacity: 0; translate: 0 -26px; rotate: -9deg; } }
html.motion .st-hl { overflow: hidden; padding: .06em 0 .14em; margin: -.06em 0 -.14em; }
html.motion .st-hl > span { animation: st-rise .78s var(--st-ease) both; animation-delay: calc(var(--n, 0) * 70ms); }
html.motion .st-hl:nth-child(2) { --n: 1; }
html.motion .st-hl:nth-child(3) { --n: 2; }
html.motion .st-fine { animation: st-fade .6s ease .46s both; }
html.motion .st-bar { animation: st-land .9s var(--st-ease) both; animation-delay: calc(240ms + var(--i) * 70ms); }
html.motion .st-tag { animation: st-fade .5s ease backwards; animation-delay: calc(520ms + var(--i) * 70ms); }
html.motion .st-mf[open] .st-mf-b { animation: st-open .45s var(--st-ease) both; }
@keyframes st-open { from { opacity: 0; transform: translateY(-10px); } }

/* ---------------- with motion, once story.js has measured the page: what the blue has not reached yet ---------------- */
html.st-live .st-axis { border-radius: 0; }
html.st-live .st-flow, html.st-live .st-stem-flow { transform: scaleY(0); }
html.st-live .st-piece.is-in .st-bar { background-position: 0 0; transition: background-position .5s var(--st-ease); }
html.st-live .st-piece.is-in + .st-piece.is-in .st-bar { border-top-left-radius: 0; border-top-right-radius: 0; }
html.st-live .st-piece.is-in .st-tag, html.st-live .st-piece.is-in .st-tag b { color: var(--muted); }
html.st-live .st-white [data-st-stop]:not(.is-on) .st-ring { border-color: #c3cad4; transform: scale(.8); }
html.st-live .st-white [data-st-stop]:not(.is-on) :is(.st-say, .st-n) { color: var(--st-wait); }
html.st-live .st-white [data-st-stop]:not(.is-on) :is(.st-aside, .st-q) { color: var(--muted); }
html.st-live .st-stop:not(.is-on) .st-dot { background-color: #c3cad4; transform: scale(.72); }
html.st-live .st-stop--ahead:not(.is-on) .st-dot { background-color: #fff; border-color: var(--st-wait); }
html.st-live .st-row--on:not(.is-on) .st-ring { border-color: rgba(255, 255, 255, .4); transform: scale(.8); }
html.st-live .st-row--on:not(.is-on) .st-say { color: rgba(255, 255, 255, .62); }
html.st-live .st-node:not(.is-on) .st-cap { opacity: .34; transform: scale(.82); }
html.st-live .st-node:not(.is-on) p { color: rgba(255, 255, 255, .62); }
html.st-live .st-home:not(.is-open) .st-pf { background-color: var(--blue); color: #fff; }

/* ---------------- a forced-colours theme (Windows contrast themes): the line must survive losing its backgrounds ---------------- */
@media (forced-colors: active) {
  .st-bar, .st-axis, .st-flow, .st-dot, .st-ring, .st-key-f, .st-key-d, .st-stem, .st-stem-flow, .st-arm, .st-cap, .st-who li::before, .st-pf { forced-color-adjust: none; }
  .st-bar { background: CanvasText; }
  .st-axis, .st-stem { background: GrayText; }
  .st-flow, .st-stem-flow, .st-key-f, html.st-live .st-piece.is-in .st-bar, .st-who li::before { background: Highlight; }
  .st-dot { background: Highlight; box-shadow: none; }
  .st-ring { background: Canvas; border-color: Highlight; }
  .st-arm { border-color: Highlight; }
  .st-cap, .st-pf { background: Highlight; color: HighlightText; }
  .st-stop--ahead .st-dot, .st-node--ahead .st-cap, .st-key-d { background: Canvas; border-color: Highlight; }
  html.st-live .st-white [data-st-stop]:not(.is-on) .st-ring, html.st-live .st-row--on:not(.is-on) .st-ring { border-color: GrayText; }
  html.st-live .st-stop:not(.is-on) .st-dot { background: GrayText; }
  html.st-live .st-stop--ahead:not(.is-on) .st-dot { background: Canvas; border-color: GrayText; }
  .st-field { display: none; }
}

/* ---------------- print: the finished page, whatever the scroll position ---------------- */
@media print {
  .st-flow, .st-stem-flow, .st-bar { transform: none !important; }
  .st-field, .st-arm { clip-path: none !important; }
  .st-home-in, .st-tag { opacity: 1 !important; }
}

/* ---------------- the shared footer (as on the approved page) ---------------- */
.ms-ft { background: var(--deep); color: rgba(255, 255, 255, .78); padding: 64px 0 40px; font-size: 14px; }
.ms-ft-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: start; }
.ms-ft-logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-size: 16px; font-weight: 600; letter-spacing: -.02em; border-radius: 8px; }
.ms-ft-logo i { font-style: normal; color: #8fb8ff; }
.ms-ft-mark { width: 29px; height: 29px; border-radius: 8px; display: grid; place-items: center; background: var(--blue); color: #fff; font-size: 12px; font-weight: 700; }
.ms-ft-nav { display: grid; grid-template-columns: repeat(3, auto); gap: 24px 56px; }
.ms-ft-nav p { margin-bottom: 10px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.ms-ft-nav a { display: block; padding: 4px 0; color: rgba(255, 255, 255, .78); }
.ms-ft-nav a:hover, .ms-ft-nav a[aria-current] { color: #fff; }
.ms-ft a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.ms-ft-legal { display: grid; gap: 8px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 13px; color: rgba(255, 255, 255, .72); }
.ms-ft-legal p { text-wrap: pretty; }
.ms-ft-legal a { color: rgba(255, 255, 255, .86); text-decoration: underline; text-underline-offset: 2px; text-decoration-color: rgba(255, 255, 255, .35); }
@media (max-width: 1100px) {
  .ms-ft-top { grid-template-columns: 1fr; }
  .ms-ft-nav { grid-template-columns: repeat(3, auto); justify-content: start; }
}
@media (max-width: 760px) {
  .ms-ft-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 32px; }
}
