/* ==========================================================================
   Who is Johnson Beharry: immersive timeline
   ========================================================================== */

.st { background: #000; color: #fff; position: relative; }
.st em { font-style: normal; color: var(--jb-red-hot); }

/* ---------- Fixed chrome ---------- */
.st-progress { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 120; pointer-events: none; opacity: 0; transition: opacity .4s; }
.st-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--jb-navy-2), var(--jb-purple), var(--jb-red)); transform: scaleX(0); transform-origin: left; }

.st-year {
	position: fixed; right: calc(var(--jb-gutter) + 36px); bottom: 14px; z-index: 30; pointer-events: none;
	display: flex; font-family: var(--jb-stencil); font-weight: 600; font-size: clamp(37px, 5.3vw, 87px); line-height: 1;
	color: rgba(255, 255, 255, .9); opacity: 0; transform: translateY(20px); transition: opacity .6s, transform .8s var(--jb-ease);
	font-variant-numeric: tabular-nums; letter-spacing: -.02em;
}
.st-year__col { display: block; height: 1em; overflow: hidden; }
.st-year__strip { display: flex; flex-direction: column; transition: transform 1.2s cubic-bezier(.7, 0, .2, 1); }
.st-year__strip b { display: block; height: 1em; font-weight: 900; text-align: center; }

.st-rail { position: fixed; right: 14px; top: 50%; z-index: 30; transform: translateY(-50%); opacity: 0; transition: opacity .5s; }
.st-rail ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.st-rail a { display: flex; align-items: center; justify-content: flex-end; gap: 10px; height: 18px; text-decoration: none; color: #fff; }
.st-rail a::after { content: ''; width: 14px; height: 2px; background: rgba(255, 255, 255, .35); transition: width .4s var(--jb-ease), background .3s; }
.st-rail a span { font-size: 15px; font-weight: 600; opacity: 0; transform: translateX(6px); transition: .3s; white-space: nowrap; text-shadow: 0 1px 8px #000; }
.st-rail a:hover span, .st-rail a.is-active span { opacity: 1; transform: none; }
.st-rail a.is-active::after { width: 30px; background: var(--jb-red-hot); }
.st-rail a:hover::after { background: #fff; }

body.st-chrome .st-progress, body.st-chrome .st-rail { opacity: 1; }
body.st-chrome .st-year.is-on { opacity: 1; transform: none; }
.st-rail a, .st-rail { pointer-events: auto; }
body:not(.st-chrome) .st-rail { pointer-events: none; }

/* ---------- Scene basics ---------- */
.st-ch { position: relative; }
.st-scene { position: relative; height: 100vh; height: 100svh; overflow: hidden; background: #000; }
.st-bg { position: absolute; inset: 0; z-index: 0; }
.st-bg__img, .st-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.st-bg__img { will-change: transform; }
.st-video--overlay { z-index: 1; mix-blend-mode: screen; opacity: .28; filter: sepia(1) saturate(1.6) hue-rotate(-12deg) contrast(1.2); }
.st-fx { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.st-shade { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.st-shade--left { background: linear-gradient(90deg, rgba(0, 0, 0, .82) 0%, rgba(0, 0, 0, .45) 45%, rgba(0, 0, 0, .1) 75%), linear-gradient(0deg, rgba(0, 0, 0, .7), transparent 40%); }

.st-head { position: absolute; z-index: 5; left: var(--jb-gutter); top: calc(var(--jb-header-h) + 4vh); max-width: 70vw; }
.st-head--center { left: 50%; transform: translateX(-50%); text-align: center; max-width: 90vw; }
.st-head--map { top: auto; bottom: 26vh; }
.st-journey:not(.st-journey--2) .st-head--map, .st-journey:not(.st-journey--2) .st-beats--low { left: auto; right: calc(var(--jb-gutter) + 60px); text-align: right; }
.st-journey .st-beats--low { width: min(520px, 80vw); }
.st-date { font-size: 15px; font-weight: 600; color: var(--jb-bronze-lt); margin: 0 0 12px; }
.st-h { font-family: var(--jb-display); font-weight: 600; font-size: clamp(37px, min(6.4vw, 9.9vh), 116px); line-height: 1.08; margin: 0; letter-spacing: -.02em; }
.st-h--sm { font-size: clamp(32px, 4.6vw, 79px); }
.st-kicker { font-family: var(--jb-display); font-weight: 600; font-size: clamp(22px, 2.4vw, 36px); color: var(--jb-bronze-lt); margin: 0 0 6px; letter-spacing: -.02em; }

.st-beats { position: absolute; z-index: 6; left: var(--jb-gutter); bottom: 15vh; width: min(640px, calc(100vw - var(--jb-gutter) * 2 - 40px)); display: grid; }
.st-beats--low { bottom: 11vh; }
.st-beats--center { left: 50%; bottom: auto; top: 50%; transform: translate(-50%, -50%); width: min(1100px, 88vw); text-align: center; }
.st-beat {
	grid-area: 1 / 1; align-self: end; margin: 0;
	font-family: var(--jb-body); font-weight: 500; font-size: clamp(21px, 2vw, 32px); line-height: 1.32; color: #fff;
	text-shadow: 0 2px 30px rgba(0, 0, 0, .6);
}
.st-beat--xl { font-family: var(--jb-display); font-weight: 600; font-size: clamp(29px, 4.4vw, 74px); line-height: 1.08; text-shadow: none; letter-spacing: -.02em; }
.js .st:not(.st--static) .st-beat { opacity: 0; visibility: hidden; }

.st-cap { position: absolute; z-index: 7; left: var(--jb-gutter); bottom: 14px; margin: 0; max-width: 52vw; font-size: 11px; line-height: 1.4; color: rgba(255, 255, 255, .5); }
.st-inset .st-cap, .st-card .st-cap, .st-medals .st-cap { position: static; max-width: none; margin-top: 10px; }

.st-inset { position: absolute; z-index: 5; right: calc(var(--jb-gutter) + 50px); top: calc(var(--jb-header-h) + 8vh); width: min(30vw, 440px); margin: 0; transform: rotate(2.5deg); }
.st-inset img { width: 100%; border: 10px solid #f1ede4; box-shadow: 0 40px 80px rgba(0, 0, 0, .6); filter: sepia(.25) contrast(1.05); }
.st-inset--right { transform: rotate(-2deg); }

.st-cue { position: absolute; z-index: 6; left: 50%; bottom: 28px; transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; font-size: 15px; color: rgba(255, 255, 255, .6); }
.st-cue i { width: 1px; height: 46px; background: rgba(255, 255, 255, .25); position: relative; overflow: hidden; }
.st-cue i::after { content: ''; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #fff; animation: st-cue 1.8s var(--jb-ease) infinite; }
@keyframes st-cue { to { top: 100%; } }

.st-flash { position: absolute; inset: 0; z-index: 8; background: #fff; opacity: 0; pointer-events: none; mix-blend-mode: screen; }

/* ---------- Intro ---------- */
.st-intro__photo {
	position: absolute; inset: 0; z-index: 1;
	background-size: cover; background-position: 70% 30%;
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cpath d='M33 2h54L68 44H52zM33 118h54L68 76H52zM2 33v54l42-19V52zM118 33v54L76 68V52z'/%3E%3Ccircle cx='60' cy='60' r='23'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cpath d='M33 2h54L68 44H52zM33 118h54L68 76H52zM2 33v54l42-19V52zM118 33v54L76 68V52z'/%3E%3Ccircle cx='60' cy='60' r='23'/%3E%3C/svg%3E");
	-webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
	-webkit-mask-position: var(--mx, 68%) var(--my, 42%); mask-position: var(--mx, 68%) var(--my, 42%);
	-webkit-mask-size: calc(var(--m, 46vmin) * var(--s, 1)); mask-size: calc(var(--m, 46vmin) * var(--s, 1));
	filter: grayscale(var(--g, 1)) contrast(1.05);
}
.st-intro__shade { position: absolute; inset: 0; z-index: 2; background: #000; opacity: 0; }
.st-intro__title { position: absolute; z-index: 3; left: var(--jb-gutter); top: 50%; transform: translateY(-50%); max-width: 60vw; }
.st-intro__title h1 { font-family: var(--jb-display); font-weight: 600; font-size: clamp(44px, min(7.2vw, 11.6vh), 133px); line-height: 1.08; margin: 0 0 26px; letter-spacing: -.02em; }
.st-intro__title h1 > span { display: block; }
.st-intro__title h1 .char { display: inline-block; will-change: transform; }
.st-intro__sub { font-size: clamp(16px, 1.3vw, 19px); color: rgba(255, 255, 255, .7); max-width: 420px; margin: 0; }

/* ---------- Grenada ---------- */
.st-grenada .st-video { filter: saturate(1.1) brightness(.85); }
.st-grenada [data-grenada-dusk] { opacity: 0; }
.st-collage { position: absolute; z-index: 4; right: calc(var(--jb-gutter) + 40px); top: 0; bottom: 0; width: 46vw; pointer-events: none; }
.st-collage figure { position: absolute; margin: 0; border: 8px solid #f1ede4; box-shadow: 0 40px 80px rgba(0, 0, 0, .55); opacity: 0; }
.st-collage img { display: block; width: 100%; }
.st-collage__a { width: 52%; top: 16%; left: 2%; transform: rotate(-4deg); }
.st-collage__b { width: 58%; top: 34%; right: 0; transform: rotate(3deg); }
.st-collage__c { width: 46%; bottom: 10%; left: 18%; transform: rotate(-1deg); }

/* ---------- Journey map ---------- */
.st-journey .st-scene { background: radial-gradient(120% 90% at 50% 40%, #0b1650 0%, #03061a 70%); }
.st-map { position: absolute; inset: 0; z-index: 1; }
.st-map__svg { width: 100%; height: 100%; display: block; transform-origin: var(--ox, 50%) var(--oy, 50%); }
.st-map__land { fill: none; stroke: rgba(160, 180, 255, .28); stroke-width: 5.5; stroke-linecap: round; }
.st-map__leg { fill: none; stroke: var(--jb-red-hot); stroke-width: 3.5; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(216, 52, 63, .8)); }
.st-journey:not(.st-journey--2) .st-map__leg--2 { opacity: 0; }
.st-journey--2 .st-map__leg--1 { opacity: .35; }
.st-map__traveller { fill: #fff; filter: drop-shadow(0 0 10px #fff); }
.st-map__pin { fill: #fff; }
.st-map__ring { fill: none; stroke: rgba(255, 255, 255, .5); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: st-ping 2.2s ease-out infinite; }
@keyframes st-ping { from { transform: scale(.4); opacity: 1; } to { transform: scale(2.4); opacity: 0; } }
.st-map__place text { fill: #fff; font-family: var(--jb-body); font-size: 22px; font-weight: 600; paint-order: stroke; stroke: rgba(3, 6, 26, .8); stroke-width: 6px; }
.st-journey:not(.st-journey--2) [data-place="amarah"] { opacity: 0; }
.st-km { font-family: var(--jb-stencil); font-weight: 600; font-size: clamp(37px, 5.2vw, 87px); line-height: 1.08; margin: 0; letter-spacing: -.02em; }
.st-km span { font-variant-numeric: tabular-nums; }

/* ---------- London ---------- */
.st-london .st-bg__img { filter: saturate(var(--sat, 1)) brightness(var(--bri, .85)); }

/* ---------- The call ---------- */
.st-call .st-scene { display: grid; place-items: center; text-align: center; background: #000; }
.st-call__glow { position: absolute; left: 50%; top: 50%; width: 140vmax; height: 140vmax; margin: -70vmax 0 0 -70vmax; border-radius: 50%; background: radial-gradient(circle, #f6d9a6 0%, #c9925a 22%, #6d3d1f 45%, rgba(0, 0, 0, 0) 68%); transform: scale(0); opacity: .95; }
.st-call__rings { position: absolute; left: 50%; top: 50%; width: 0; height: 0; }
.st-call__rings i { position: absolute; left: -60px; top: -60px; width: 120px; height: 120px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .55); animation: st-ring 2.4s ease-out infinite; }
.st-call__rings i:nth-child(2) { animation-delay: .8s; }
.st-call__rings i:nth-child(3) { animation-delay: 1.6s; }
@keyframes st-ring { from { transform: scale(.3); opacity: 1; } to { transform: scale(4); opacity: 0; } }
.st-call__label { position: absolute; top: calc(var(--jb-header-h) + 5vh); left: 0; right: 0; font-size: 15px; font-weight: 600; color: var(--jb-bronze-lt); margin: 0; }
.st-call__text { position: relative; z-index: 2; font-family: var(--jb-display); font-weight: 600; font-size: clamp(29px, min(4.6vw, 7.3vh), 82px); line-height: 1.08; max-width: 15ch; margin: 0; padding: 0 var(--jb-gutter); letter-spacing: -.02em; }
.st-call__text .w { opacity: .14; transition: opacity .25s, color .4s; }
.st-call__text .w.on { opacity: 1; }
.st-call.is-warm .st-call__text { color: #1b0f05; }
.st-call__after { position: absolute; z-index: 2; left: 0; right: 0; bottom: 14vh; margin: 0; font-size: clamp(20px, 1.8vw, 28px); font-weight: 600; color: #1b0f05; opacity: 0; }

/* ---------- Army ---------- */
.st-facts { position: absolute; z-index: 6; right: calc(var(--jb-gutter) + 50px); bottom: 15vh; width: min(360px, 32vw); list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.st-facts li { padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, .25); opacity: 0; }
.st-facts b { display: block; font-family: var(--jb-display); font-weight: 600; font-size: 34px; line-height: 1; letter-spacing: -.02em; }
.st-facts span { font-size: 14px; color: rgba(255, 255, 255, .72); }

/* ---------- 1 May ---------- */
.st-may .st-scene { background: #050505; }




.st-may__hud { position: absolute; z-index: 4; left: 18%; right: 18%; top: calc(38% - 30px); display: flex; justify-content: space-between; font-size: 15px; font-weight: 600; color: rgba(255, 255, 255, .65); }
.st-may .st-head--center { top: calc(var(--jb-header-h) + 3vh); }
.st-may .st-beats--low { left: 50%; transform: translateX(-50%); text-align: center; width: min(820px, 90vw); }

/* ---------- 11 June ---------- */
.st-june .st-bg__img { filter: brightness(var(--bri, .55)) saturate(var(--sat, .35)) hue-rotate(185deg) blur(var(--blur, 0px)); }
.st-june__vignette { position: absolute; inset: 0; z-index: 3; pointer-events: none; background: radial-gradient(circle at 50% 50%, transparent var(--v, 60%), #000 calc(var(--v, 60%) + 25%)); }
.st-june__ecg { position: absolute; z-index: 6; left: 8vw; right: 8vw; top: 50%; height: 18vh; transform: translateY(-50%); opacity: 0; }
.st-june__ecg svg { width: 100%; height: 100%; overflow: visible; }
.st-june__ecg path { fill: none; stroke: var(--jb-red-hot); stroke-width: 3; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 8px rgba(216, 52, 63, .9)); }
.st-june__after { position: absolute; z-index: 6; left: 0; right: 0; bottom: 20vh; text-align: center; margin: 0; font-family: var(--jb-display); font-weight: 600; font-size: clamp(24px, 2.9vw, 45px); opacity: 0; letter-spacing: -.02em; }

/* ---------- Victoria Cross ---------- */
.st-vc .st-scene { background: #000; }
.st-vc__palace { opacity: 0; }
.st-vc__palace .st-bg__img { filter: brightness(.45) saturate(.8); }
.st-vc__medal { position: absolute; z-index: 3; left: 64%; top: 52%; height: 78vh; aspect-ratio: 1400 / 1936; transform: translate(-50%, -50%); overflow: hidden; -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 62%, transparent 100%); mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 62%, transparent 100%); }
.st-vc__medal img { width: 100%; height: 100%; object-fit: cover; }
.st-vc__glint { position: absolute; inset: -50% -100%; background: linear-gradient(115deg, transparent 40%, rgba(255, 236, 200, .55) 50%, transparent 60%); transform: translateX(var(--gl, -60%)); mix-blend-mode: overlay; }
.st-vc__since { display: block; font-family: var(--jb-stencil); font-size: clamp(52px, 6.4vw, 110px); line-height: 1.08; color: var(--jb-bronze-lt); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }

/* ---------- Medals ---------- */
.st-medals { position: relative; min-height: 110vh; display: flex; align-items: flex-end; overflow: hidden; background: #000; padding: 0 0 12vh; }
.st-medals__img { position: absolute; inset: -10% 0; }
.st-medals__img img { width: 100%; height: 100%; object-fit: cover; opacity: .8; }
.st-medals::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, #000 5%, rgba(0, 0, 0, .2) 50%, #000); }
.st-medals__text { position: relative; z-index: 1; }
.st-medals__line { font-family: var(--jb-display); font-weight: 600; font-size: clamp(26px, 3.6vw, 59px); line-height: 1.08; max-width: 16ch; margin: 0; letter-spacing: -.02em; }

/* ---------- After: horizontal ---------- */
.st-after { background: #07091c; }
.st-after__pin { height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding-top: var(--jb-header-h); }
.st-after__head { margin-bottom: 4vh; }
.st-after__head .st-h { margin: 0; }
.st-after__track { display: flex; gap: clamp(20px, 3vw, 44px); padding: 0 var(--jb-gutter); width: max-content; will-change: transform; align-items: flex-start; }
.st-card { flex: none; width: clamp(280px, 30vw, 460px); }
.st-card__year { font-family: var(--jb-stencil); font-weight: 600; font-size: clamp(35px, 3.5vw, 58px); line-height: 1.08; color: var(--jb-bronze-lt); margin: 0 0 16px; letter-spacing: -.02em; }
.st-card figure { margin: 0 0 18px; aspect-ratio: 4 / 3; overflow: hidden; background: #111; }
.st-card figure.is-portrait { aspect-ratio: 4 / 3; }
.st-card figure img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; transition: transform 1.2s var(--jb-ease); }
.st-card:hover figure img { transform: scale(1.04); }
.st-card > p:not(.st-card__year):not(.st-cap) { font-size: 18px; color: rgba(255, 255, 255, .85); margin: 0; }
.st-card__book { aspect-ratio: 4 / 3; margin-bottom: 18px; display: grid; place-content: center; text-align: center; background: linear-gradient(135deg, #1d1d1d, #3a2b1c); border-left: 14px solid #0d0d0d; }
.st-card__book span { font-family: var(--jb-display); font-weight: 600; font-size: clamp(29px, 2.7vw, 43px); line-height: 1.08; color: #f1e4c9; letter-spacing: -.02em; }
.st-card__book small { font-size: 15px; color: var(--jb-bronze-lt); margin-top: 12px; }
.st-card--found { align-self: stretch; }
.st-card__emblem { width: 50%; height: auto; aspect-ratio: 1; margin: 10px 0 30px; }

/* ---------- Today ---------- */
.st-today { background: var(--jb-paper); color: var(--jb-ink); padding: clamp(110px, 14vw, 200px) 0; }
.st-today__inner { max-width: 1100px; text-align: center; display: grid; justify-items: center; }
.st-today__emblem { width: 110px; margin-bottom: 40px; }
.st-today__emblem svg { width: 100%; height: auto; }
.st-today__emblem .arm, .st-today__emblem .disc { transform-box: fill-box; transform-origin: center; }
.st-today__title { font-family: var(--jb-display); font-weight: 600; font-size: clamp(30px, 3.7vw, 61px); line-height: 1.08; margin: 0 0 34px; letter-spacing: -.02em; }
.st-today__title .w { opacity: .14; transition: opacity .25s; }
.st-today__title .w.on { opacity: 1; }
.st-today__text { font-size: 19px; color: var(--jb-muted); max-width: 680px; margin: 0 0 36px; }
.st-today__btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- Credits ---------- */
.st-credits { background: var(--jb-paper); color: var(--jb-muted); padding: 0 0 60px; font-size: 13px; }
.st-credits summary { cursor: pointer; font-weight: 600; font-size: 15px; color: var(--jb-navy); padding: 14px 0; border-top: 1px solid var(--jb-line); }
.st-credits ul { margin: 10px 0 0; padding-left: 18px; columns: 2 420px; column-gap: 40px; }
.st-credits li { margin-bottom: 8px; break-inside: avoid; }
.st-credits a { color: var(--jb-navy); }

/* ---------- Static fallback (reduced motion / no JS) ---------- */
.st--static .st-scene { height: auto; min-height: 100vh; padding: calc(var(--jb-header-h) + 40px) 0 80px; }
.st--static .st-head, .st--static .st-beats, .st--static .st-beats--center { position: relative; left: auto; top: auto; bottom: auto; transform: none; margin: 0 var(--jb-gutter) 24px; }
.st--static .st-beat { grid-area: auto; margin-bottom: 16px; }
.st--static .st-beats { display: block; }
.st--static .st-collage, .st--static .st-inset, .st--static .st-facts, .st--static .st-june__ecg, .st--static .st-may__hud, .st--static 
.st--static 
.st--static .st-intro__photo { -webkit-mask-image: none; mask-image: none; opacity: .35; }
.st--static .st-call__text, .st--static .st-call__after { position: relative; opacity: 1; color: #fff; }
.st--static .st-call__text .w, .st--static .st-today__title .w { opacity: 1; }
.st--static .st-after__track { width: auto; flex-wrap: wrap; }
.st--static .st-vc__palace, .st--static .st-june__after { opacity: 1; position: relative; }

/* ---------- Small screens ---------- */
@media (max-width: 860px) {
	.st-rail { display: none; }
	.st-year { right: var(--jb-gutter); bottom: auto; top: calc(var(--jb-header-h) + 8px); font-size: 35px; }
	.st-collage { width: 70vw; right: -6vw; top: 8vh; bottom: 40vh; }
	.st-inset { width: 46vw; right: var(--jb-gutter); top: auto; bottom: 42vh; }
	.st-facts { left: var(--jb-gutter); right: auto; width: auto; bottom: auto; top: calc(var(--jb-header-h) + 26vh); }
	.st-facts li { padding: 8px 0; }
	.st-facts b { font-size: 22px; }
	.st-facts span { font-size: 12px; }
	.st-beats { bottom: 9vh; }
	.st-beat { font-size: 20px; }
	.st-cap { max-width: 80vw; }
	.st-vc__medal { left: 50%; top: 40%; height: 46vh; }
	
	.st-may__hud { left: 6%; right: 6%; top: calc(36% - 26px); font-size: 9px; }
	.st-intro__title { max-width: 90vw; top: auto; bottom: 14vh; transform: none; }
	.st-head--map { bottom: 30vh; }
}
@media (max-width: 860px) and (orientation: portrait) {
	.st-map__svg { transform-origin: var(--ox, 50%) var(--oy, 50%); }
}
.st-journey:not(.st-journey--2) .st-head--map { bottom: 40vh; }
.st-journey:not(.st-journey--2) .st-beats--low { bottom: 24vh; }
.st-journey--2 [data-place="grenada"] { opacity: 0; }
@media (max-width: 860px) {
	.st-journey .st-head--map, .st-journey .st-beats--low { left: var(--jb-gutter) !important; right: auto !important; text-align: left !important; }
	.st-journey .st-head--map { bottom: 30vh !important; }
	.st-journey .st-beats--low { bottom: 14vh !important; }
}
.st-intro__l1, .st-intro__w, .st-intro__l2 em { white-space: nowrap; }
@media (max-width: 860px) {
	.st-collage { top: 30vh; bottom: 24vh; }
	.st-intro__title h1 { font-size: clamp(42px, 12.5vw, 73px); }
	.st-h { font-size: clamp(36px, 9.9vw, 59px); }
}

/* Credits: one list at the end of the page */
.st-cap { display: none; }
.st-credits { padding: 50px 0 70px; border-top: 1px solid var(--jb-line); }
.st-credits__title { font-family: var(--jb-body); font-size: 15px; font-weight: 600; color: var(--jb-navy); margin: 0 0 16px; }
.st-credits ul { margin: 0; padding-left: 16px; font-size: 12px; line-height: 1.5; }

.js .st:not(.st--static) .st-cue > * { animation: st-fade-in 1s ease 1.2s both; }
@keyframes st-fade-in { from { opacity: 0; } to { opacity: 1; } }

/* Intro stays hidden until story.js starts it (failsafe after 5s if scripts never load). */
.js .st:not(.st--ready) .st-intro__title, .js .st:not(.st--ready) .st-intro__photo { opacity: 0; animation: st-fade-in .4s ease 5s forwards; }
.st-date { font-size: 16px; font-weight: 500; }


/* ==== Round 3 ==== */
/* Periscope */
.st-may__view { position: absolute; inset: 0; z-index: 1; clip-path: inset(var(--ct, 30%) var(--cx, 16%) var(--ct, 30%) var(--cx, 16%) round var(--cr, 10px)); }
.st--static .st-may__view { position: relative; height: 60vh; --ct: 0%; --cx: 0%; --cr: 0px; }
.st-may__rumble { position: absolute; inset: -4%; overflow: hidden; animation: st-rumble .34s steps(2) infinite; }
@keyframes st-rumble { 0% { transform: translate(0, 0); } 25% { transform: translate(-2px, 1px); } 50% { transform: translate(1px, -2px); } 75% { transform: translate(2px, 1px); } 100% { transform: translate(-1px, 0); } }
.st-may__rumble img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 45%; filter: sepia(.3) contrast(1.12) brightness(var(--bri, .85)) blur(var(--bl, 0px)); transform-origin: 40% 55%; }
.st-may__haze { position: absolute; inset: 0; opacity: 0; pointer-events: none; background: radial-gradient(40% 30% at 37% 47%, rgba(255, 255, 255, .22), transparent 70%), radial-gradient(34% 28% at 64% 54%, rgba(255, 255, 255, .18), transparent 70%), rgba(20, 20, 20, .28); }
.st-shatter { position: absolute; inset: 0; width: 100%; height: 100%; }
.st-shatter .hv, .st-shatter .fn { fill: none; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.st-shatter .hv { stroke: rgba(255, 255, 255, .92); stroke-width: 1.5px; filter: drop-shadow(0 0 1px rgba(0, 0, 0, .9)); }
.st-shatter .fn { stroke: rgba(255, 255, 255, .55); stroke-width: .8px; }
.st-shatter .sh { fill: #fff; }
.st-shatter .pt { fill: rgba(255, 255, 255, .85); }
.st-may__hud { top: calc(30% - 30px); left: 16%; right: 16%; font-size: 14px; }
@media (max-width: 860px) { .st-may__hud { top: calc(34% - 26px); left: 5%; right: 5%; font-size: 12px; } }

/* Grenada photos sit together */
.st-collage__a { top: 18%; left: 2%; }
.st-collage__b { top: 26%; right: 0; }
.st-collage__c { top: 50%; bottom: auto; left: 14%; width: 50%; }

/* Foundation card matches the other cards */
.st-card__logo { display: grid; place-items: center; background: var(--jb-paper) !important; padding: 12%; }
.st-card .st-card__logo img, .st-card:hover .st-card__logo img { width: 100%; height: auto; object-fit: contain; transform: none; }
.st-card--found { align-self: flex-start; }
.st-shatter .hv { stroke: rgba(255, 255, 255, .8); stroke-width: 1.2px; }
.st-shatter .fn { stroke: rgba(255, 255, 255, .42); stroke-width: .7px; }
.st-may__view::after { content: ''; position: absolute; inset: auto 0 0; height: 45%; background: linear-gradient(0deg, rgba(0, 0, 0, .75), transparent); pointer-events: none; }


/* Keep scrolling prompt */
.st-hint { position: fixed; z-index: 40; left: 50%; bottom: 14px; transform: translate(-50%, 8px); margin: 0; display: flex; align-items: center; gap: 6px; padding: 8px 14px; font-size: 15px; font-weight: 500; color: #fff; background: rgba(6, 12, 44, .72); border-radius: 30px; opacity: 0; pointer-events: none; transition: opacity .4s, transform .4s; }
.st-hint.is-on { opacity: 1; transform: translate(-50%, 0); }
.st-hint svg { width: 20px; height: 20px; animation: st-nudge 1.5s ease-in-out infinite; }
@keyframes st-nudge { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(4px); } }
.st--static .st-hint { display: none; }

/* Scenes fill the screen when the mobile browser bar collapses: size to the large viewport and keep
   text clear of the bar while it is showing. */
@supports (height: 100lvh) {
	.st-scene, .st-after__pin { height: 100lvh; }
	.st--static .st-scene { height: auto; }
	.st-beats { bottom: calc(15svh + 100lvh - 100svh); }
	.st-beats--low { bottom: calc(11svh + 100lvh - 100svh); }
	.st-beats--center { bottom: auto; }
	.st-june__after { bottom: calc(20svh + 100lvh - 100svh); }
	.st-call__after { bottom: calc(14svh + 100lvh - 100svh); }
	.st-head--map { bottom: calc(26svh + 100lvh - 100svh); }
}

/* ==== Mobile review ==== */
@media (max-width: 860px) {
	/* Keep headings clear of the year counter */
	.st-head { max-width: 68vw; }
	.st-may .st-head--center { left: var(--jb-gutter); transform: none; text-align: left; max-width: 68vw; }
	.st-date { font-size: 15px; }
	.st-facts span { font-size: 14px; line-height: 1.35; display: block; }
	/* Medal sits below the heading, clear of the text */
	.st-vc__medal { top: 53%; height: 40vh; }
}

@media (max-width: 860px) {
	.st-after__head { padding-right: 130px; }
	.st-after__head .st-h { font-size: 30px; }
}
@media (max-width: 860px) and (max-height: 740px) {
	.st-cue i { display: none; }
	.st-cue { bottom: 10px; }
	.st-intro__title { bottom: 8vh; }
}

/* ==== Film footage and Johnson's own words ==== */
.st-beat--q { font-family: var(--jb-display); font-weight: 500; letter-spacing: -.015em; font-size: clamp(22px, 2.5vw, 38px); line-height: 1.24; }
.st-beats { width: min(760px, calc(100vw - var(--jb-gutter) * 2 - 20px)); }
.st-beats--low { width: min(860px, 92vw); }
.st-video { background: #000; }

/* Intro: Johnson on film seen through the emblem */
.st-intro__photo video { filter: none; }
@media (max-width: 860px) { .st-intro__photo video { object-position: 63% 50%; } }

/* The call: his grandmother's words over the film, then the line, then the light */
.st-call__film { opacity: 0; }
.st-call__film .st-bg__img { filter: brightness(.42) saturate(.8); }
.st-call__quotes { z-index: 3; width: min(900px, 88vw); }
.st-call__text { grid-area: 1 / 1; }
.st-call__after { padding: 0 var(--jb-gutter); font-family: var(--jb-display); font-weight: 500; font-size: clamp(20px, 2vw, 30px); line-height: 1.25; max-width: 900px; margin: 0 auto; }
.js .st:not(.st--static) .st-call__after { opacity: 0; }

/* Periscope: two films, slit then open view */
.st-may__rumble .st-bg__img { filter: brightness(var(--bri, .9)) contrast(1.05) blur(var(--bl, 0px)); transform-origin: 45% 55%; }
.st-may__open { position: absolute; inset: 0; opacity: 0; }

/* 11 June: hospital film behind the heartbeat */
.st-june__hosp { z-index: 4; opacity: 0; }
.st-june__hosp .st-bg__img { filter: brightness(.42) saturate(.7); }
.st-june__ecg { z-index: 6; top: 40%; }
.st-june__after { opacity: 1; display: grid; justify-items: center; font-family: var(--jb-display); font-weight: 500; font-size: clamp(22px, 2.5vw, 38px); line-height: 1.24; padding: 0 var(--jb-gutter); }
.st-june__after p { grid-area: 1 / 1; margin: 0; max-width: 820px; }

/* Victoria Cross: the investiture photograph */
/* Centred on 57% without CSS translate: GSAP folds translate into its own transform and the offset is lost. */
.st-vc__queen { position: absolute; z-index: 4; right: 190px; top: calc(57% - min(38vw, 68vh) * .374 - 8px); margin: 0; width: min(38vw, 68vh); transform-origin: center; opacity: 0; visibility: hidden; }
.st-vc__queen img { display: block; width: 100%; height: auto; border: 8px solid #f1ede4; box-shadow: 0 40px 90px rgba(0, 0, 0, .65); }
.st-vc .st-beats { z-index: 6; width: min(520px, 36vw); }
.st-vc .st-beats .st-beat { text-shadow: 0 2px 18px rgba(0, 0, 0, .9); }
.st-vc__palace .st-bg__img { filter: brightness(.38) saturate(.7); }

/* Purpose */
.st-purpose .st-beats { bottom: calc(22svh + 100lvh - 100svh); }

@media (max-width: 860px) {
	.st-beats, .st-vc .st-beats { width: calc(100vw - var(--jb-gutter) * 2); }
	.st-beat--q { font-size: 21px; line-height: 1.28; }
	.st-vc__queen { left: var(--jb-gutter); right: var(--jb-gutter); width: auto; top: 30%; }
	.st-june__ecg { top: 30%; }
	.st-june__after { font-size: 21px; }
}

/* Keep the words clear of the photographs */
@media (min-width: 861px) { .st-grenada .st-beats { width: min(460px, 34vw); } }
@media (max-width: 860px) and (max-height: 740px) {
	.st-vc__queen { left: calc(50% - 21svh); right: auto; width: 42svh; top: 33.5svh; }
	.st-vc__queen img { border-width: 6px; }
}

/* The call: his decision is set at the same weight as the intervention line */
.st-call .st-call__after { position: relative; left: auto; right: auto; bottom: auto; grid-area: 1 / 1; max-width: 22ch; margin: 0 auto; font-family: var(--jb-display); font-weight: 600; font-size: clamp(26px, min(3.6vw, 6.2vh), 62px); line-height: 1.1; color: #1b0f05; }
.st-call__rings { z-index: 1; }
/* 11 June: the citation closes the scene as body copy */
.st-june__after .st-june__body { font-family: var(--jb-body); font-weight: 500; font-size: clamp(21px, 2vw, 32px); line-height: 1.32; letter-spacing: 0; max-width: 860px; text-shadow: 0 2px 30px rgba(0, 0, 0, .6); }
@media (max-width: 860px) { .st-june__after .st-june__body { font-size: 19px; } }
.st-june__cite { display: block; margin-top: 14px; font-size: 15px; font-weight: 600; color: var(--jb-bronze-lt); text-shadow: none; }
@media (max-width: 860px) { .st-june__cite { font-size: 13px; margin-top: 10px; } }
