/* Harvest · How we work (how-we-work.html): a film you scroll. One stage stays on screen,
   on a dotted drafting grid, while the scroll moves the story. js/harvest-film.js sets the scene:
   .hj-stage[data-ch] is the scene now, .s0 … .s9 every scene reached, --t how far into this one. */

.p-film {
  --hj-pen: #2b55c9;
  --hj-dot: color-mix(in srgb, var(--line-strong) 75%, transparent);
  --hj-top: 72px;                              /* the header */
  background-color: var(--paper);
  background-image: radial-gradient(var(--hj-dot) 1px, transparent 1.3px);
  background-size: 24px 24px;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .p-film { --hj-pen: #93b2f2; } }
:root[data-theme="dark"] .p-film { --hj-pen: #93b2f2; }

/* the story in words, for screen readers only */
.p-film .hj-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.p-film .hj-pen { font: 600 24px/1.05 "Caveat", "Bradley Hand", "Segoe Print", cursive; color: var(--hj-pen); letter-spacing: 0; }

/* ---------- The film: tall, with the stage pinned ---------- */
.p-film .hj-film { position: relative; height: calc(var(--n) * 90vh + 100vh); }
.p-film .hj-stage { position: sticky; top: var(--hj-top); height: calc(100vh - var(--hj-top)); display: grid; grid-template-rows: minmax(0, 1fr) auto; overflow: hidden; }
.p-film .hj-stage__in { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: var(--space-12); align-items: center; min-height: 0; padding-top: var(--space-6); padding-bottom: var(--space-4); }

/* The captions: one at a time, the current one */
.p-film .hj-caps { position: relative; align-self: stretch; }
.p-film .hj-cap { position: absolute; inset: 0; display: grid; align-content: center; gap: var(--space-6); justify-items: start; opacity: 0; transform: translateY(16px); transition: opacity .45s ease, transform .55s cubic-bezier(.2,.7,.2,1); pointer-events: none; }
.p-film .hj-cap__t { font-size: clamp(34px, 3.6vw, 56px); line-height: 1.02; font-weight: 600; letter-spacing: -0.035em; color: var(--ink); text-wrap: balance; }
.p-film .hj-cap[data-ch="0"] .hj-cap__t { font-size: clamp(44px, 5.2vw, 84px); }
.p-film .hj-cap__p { max-width: 36ch; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.p-film .hj-cap__cta { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* The board: a drafting table where each scene draws its layer */
.p-film .hj-board { position: relative; width: 100%; max-height: 100%; aspect-ratio: 1000 / 560; align-self: center; }
.p-film .hj-L { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility 0s linear .5s; }

/* ---------- 0 · opening ---------- */
.p-film .hj-at-0 { display: grid; place-items: center; }
.p-film .hj-title-pen { font: 600 clamp(40px, 5vw, 72px)/1 "Caveat", cursive; color: var(--hj-pen); text-align: center; transform: rotate(-3deg); }
.p-film .hj-scribble { position: absolute; left: 18%; right: 18%; bottom: 14%; width: 64%; height: auto; }
.p-film .hj-scribble path { fill: none; stroke: var(--hj-pen); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.2s ease .3s; }

/* ---------- 1 · the message ---------- */
.p-film .hj-at-1 { display: grid; align-content: center; justify-items: center; gap: var(--space-4); }
.p-film .hj-mail, .p-film .hj-reply { width: min(560px, 86%); padding: 18px 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-float); font-size: 17px; line-height: 1.5; color: var(--ink); }
.p-film .hj-reply { justify-self: end; width: min(460px, 74%); margin-right: 4%; background: var(--ink); color: var(--paper); border-color: var(--ink); }
.p-film .hj-mail__head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 13.5px; color: var(--muted); }
.p-film .hj-reply .hj-mail__head { color: color-mix(in srgb, var(--paper) 70%, transparent); }
.p-film .hj-mail__head b { font-weight: 600; color: inherit; }
.p-film .hj-mail__head time { margin-left: auto; font-family: var(--font-mono); font-size: 12px; }
.p-film .hj-mail__subj { margin-bottom: 4px; font-weight: 600; }
.p-film .hj-chip { padding: 3px 9px; border-radius: var(--radius-pill); background: var(--surface-sunk); font-size: 12px; font-weight: 500; color: var(--ink-2); }
.p-film .hj-chip--us { background: var(--carmine); color: var(--on-carmine); }
.p-film .hj-cal { display: inline-flex; align-items: center; gap: 12px; padding: 10px 16px; border-radius: 12px; background: var(--surface); border: 2px solid var(--carmine); font-size: 15px; color: var(--ink-2); }
.p-film .hj-cal b { font-family: var(--font-mono); color: var(--carmine); }
.p-film .hj-at-1 > * { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .6s cubic-bezier(.2,.7,.2,1); }

/* ---------- 2 · listening ---------- */
.p-film .hj-call { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; gap: var(--space-6); }
.p-film .hj-call figure { margin: 0; display: grid; justify-items: center; gap: 8px; }
.p-film .hj-call img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 6px var(--paper), 0 0 0 7px var(--line); }
.p-film .hj-call figcaption { display: grid; justify-items: center; font-size: 16px; font-weight: 600; color: var(--ink); }
.p-film .hj-call small { font-size: 13px; font-weight: 400; color: var(--muted); }
.p-film .hj-call__line { width: 90px; height: 2px; background: repeating-linear-gradient(90deg, var(--line-strong) 0 6px, transparent 6px 12px); }
.p-film .hj-heard, .p-film .hj-mapnote, .p-film .hj-teamnote { position: absolute; margin: 0; transform: rotate(var(--r, 0deg)); }
.p-film .hj-heard { opacity: 0; font-size: clamp(22px, 2.2vw, 30px); }

/* ---------- 3–8 · the map ---------- */
.p-film .hj-map svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.p-film .hj-lane rect { fill: color-mix(in srgb, var(--surface) 55%, transparent); stroke: var(--line); stroke-width: 1; }
.p-film .hj-lane:nth-child(even) rect { fill: color-mix(in srgb, var(--surface-sunk) 60%, transparent); }
.p-film .hj-lane text { font: 500 13px var(--font-mono); letter-spacing: .06em; text-transform: uppercase; fill: var(--muted); }
.p-film .hj-edge { fill: none; stroke: var(--ink-2); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.p-film .hj-edge__end { fill: var(--ink-2); opacity: 0; }
.p-film .hj-node { opacity: 0; transition: opacity .3s ease; }
.p-film .hj-node rect { fill: var(--surface); stroke: var(--ink); stroke-width: 1.5; transition: stroke .4s ease, fill .4s ease; }
.p-film .hj-node__l { font: 600 15px var(--font-sans); fill: var(--ink); }
.p-film .hj-node__m { font: 500 14px var(--font-mono); fill: var(--muted); opacity: 0; transition: opacity .4s ease; }
.p-film .hj-node__ai { opacity: 0; transform-box: fill-box; transition: opacity .4s ease; }
.p-film .hj-node__ai circle { fill: var(--ok); }
.p-film .hj-node__ai path { fill: #fff; }
.p-film .hj-total { position: absolute; right: 2%; top: -2%; display: grid; justify-items: end; gap: 2px; padding: 10px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); opacity: 0; transition: opacity .4s ease; }
.p-film .hj-total__k { font: 500 11px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.p-film .hj-total b { font: 600 28px/1 var(--font-mono); letter-spacing: -0.03em; }
.p-film .hj-total__b { color: var(--carmine); }
.p-film .hj-total__a { display: none; color: var(--ok); }
.p-film .hj-mapnote { white-space: nowrap; opacity: 0; font-size: clamp(19px, 1.8vw, 25px); transition: opacity .4s ease; }
.p-film .hj-tools { position: absolute; left: 50%; bottom: -6%; transform: translateX(-50%); display: flex; align-items: center; gap: 8px; padding: 8px 10px 8px 14px; border-radius: var(--radius-pill); background: var(--ink); color: var(--paper); font-size: 13px; opacity: 0; transition: opacity .4s ease; white-space: nowrap; }
.p-film .hj-tools b { padding: 4px 10px; border-radius: var(--radius-pill); background: color-mix(in srgb, var(--paper) 14%, transparent); font-weight: 500; }

/* ---------- 5 · goals ---------- */
.p-film .hj-at-5 { display: grid; place-items: center; }
.p-film .hj-goals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); width: 92%; }
.p-film .hj-goal { position: relative; display: grid; gap: 6px; padding: 20px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-float); opacity: 0; transform: translateY(14px); transition: opacity .4s ease, transform .5s cubic-bezier(.2,.7,.2,1); }
.p-film .hj-goal__n { font: 500 11px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--carmine); }
.p-film .hj-goal b { font-size: 21px; line-height: 1.2; font-weight: 600; letter-spacing: -0.015em; color: var(--ink); }
.p-film .hj-goal span { font-size: 15.5px; color: var(--ink-2); }
.p-film .hj-goal__ok { position: absolute; right: 14px; bottom: 8px; font-style: normal; font-size: 26px; transform: rotate(-6deg); opacity: 0; transition: opacity .3s ease .25s; }
.p-film .hj-sign { position: absolute; right: 6%; bottom: 8%; font-size: clamp(26px, 2.6vw, 36px); transform: rotate(-3deg); opacity: 0; transition: opacity .4s ease; }

/* ---------- 7 · the team ---------- */
.p-film .hj-at-7 { display: grid; place-items: center; }
.p-film .hj-team { display: flex; gap: var(--space-8); }
.p-film .hj-team figure { margin: 0; display: grid; justify-items: center; gap: 8px; opacity: 0; transform: translateY(12px); transition: opacity .4s ease, transform .5s cubic-bezier(.2,.7,.2,1); }
.p-film .hj-team img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 5px var(--paper), 0 0 0 6px var(--line); }
.p-film .hj-team figcaption { font-size: 15px; font-weight: 600; color: var(--ink); }
.p-film .hj-teamnote { font-size: clamp(22px, 2.2vw, 30px); opacity: 0; transition: opacity .4s ease .3s; }

/* ---------- 8 · numbers ---------- */
.p-film .hj-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: center; gap: var(--space-4); padding: 4%; }
.p-film .hj-res { padding: 22px 24px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-float); }
.p-film .hj-res:last-child { background: var(--ink); border-color: var(--ink); }
.p-film .hj-res:last-child .hj-res__k { color: color-mix(in srgb, var(--paper) 70%, transparent); }
.p-film .hj-res:last-child .hj-res__n b { color: var(--paper); }
.p-film .hj-res__k { font: 500 11px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.p-film .hj-res__n { margin-top: 12px; display: flex; align-items: baseline; gap: 14px; }
.p-film .hj-res__n s { font: 500 20px/1 var(--font-mono); color: var(--muted); }
.p-film .hj-res__n s:empty { display: none; }
.p-film .hj-res__n b { font-size: clamp(36px, 4vw, 60px); line-height: 1; font-weight: 600; letter-spacing: -0.045em; color: var(--ink); font-variant-numeric: tabular-nums; }

/* ---------- 9 · Friday ---------- */
.p-film .hj-at-9 { display: grid; place-items: center; }
.p-film .hj-quote { margin: 0; width: min(640px, 90%); padding: 32px 34px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-float); transform: rotate(-1deg); }
.p-film .hj-quote blockquote { margin: 0; font-size: clamp(24px, 2.5vw, 34px); line-height: 1.2; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.p-film .hj-quote figcaption { margin-top: 18px; display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--muted); }
.p-film .hj-quote img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.p-film .hj-next { position: absolute; right: 4%; bottom: 6%; font-size: clamp(22px, 2.2vw, 30px); transform: rotate(-4deg); }

/* ---------- Which scene shows what ---------- */
/* a layer for one scene only */
.p-film [data-ch="0"] .hj-at-0, .p-film [data-ch="1"] .hj-at-1, .p-film [data-ch="2"] .hj-at-2, .p-film [data-ch="5"] .hj-at-5,
.p-film [data-ch="7"] .hj-at-7, .p-film [data-ch="9"] .hj-at-9 { opacity: 1; visibility: visible; transition: opacity .5s ease, visibility 0s; }
/* the map, from scene 3 to 8, quieter behind goals, team and numbers */
.p-film .s3 .hj-map { opacity: 1; visibility: visible; transition: opacity .5s ease, visibility 0s; }
.p-film [data-ch="5"] .hj-map, .p-film [data-ch="7"] .hj-map { opacity: .16; }
.p-film [data-ch="8"] .hj-map, .p-film [data-ch="9"] .hj-map { opacity: 0; visibility: hidden; }
.p-film .s8 .hj-results { opacity: 1; visibility: visible; transition: opacity .5s ease, visibility 0s; }
.p-film [data-ch="9"] .hj-results { opacity: 0; visibility: hidden; }

/* the caption of the scene now */
.p-film [data-ch="0"] .hj-cap[data-ch="0"], .p-film [data-ch="1"] .hj-cap[data-ch="1"], .p-film [data-ch="2"] .hj-cap[data-ch="2"], .p-film [data-ch="3"] .hj-cap[data-ch="3"],
.p-film [data-ch="4"] .hj-cap[data-ch="4"], .p-film [data-ch="5"] .hj-cap[data-ch="5"], .p-film [data-ch="6"] .hj-cap[data-ch="6"], .p-film [data-ch="7"] .hj-cap[data-ch="7"],
.p-film [data-ch="8"] .hj-cap[data-ch="8"], .p-film [data-ch="9"] .hj-cap[data-ch="9"] { opacity: 1; transform: none; pointer-events: auto; }

/* 0: the scribble draws */
.p-film [data-ch="0"] .hj-scribble path { stroke-dashoffset: 0; }
/* 1: the mail, the reply, the calendar, one after another as you scroll */
.p-film [data-ch="1"] .hj-mail { opacity: 1; transform: none; }
.p-film [data-ch="1"] .hj-reply { opacity: clamp(0, calc(var(--t) * 3 - 0.6), 1); transform: translateY(calc((1 - clamp(0, calc(var(--t) * 3 - 0.6), 1)) * 14px)); }
.p-film [data-ch="1"] .hj-cal { opacity: clamp(0, calc(var(--t) * 3 - 1.5), 1); transform: none; }
/* 2: what we heard, note by note */
.p-film [data-ch="2"] .hj-heard { opacity: clamp(0, calc(var(--t) * 5 - var(--i) - 0.2), 1); }
/* 3: the map draws as you scroll; later scenes show it whole */
.p-film [data-ch="3"] .hj-node { opacity: clamp(0, calc(var(--t) * 8 - var(--i)), 1); }
.p-film [data-ch="3"] .hj-edge { stroke-dashoffset: clamp(0, calc(1 - (var(--t) * 8 - var(--i) - 1)), 1); }
.p-film [data-ch="3"] .hj-edge__end { opacity: clamp(0, calc((var(--t) * 8 - var(--i) - 1.8) * 5), 1); }
.p-film .s4 .hj-edge__end { opacity: 1; }
.p-film .s4 .hj-node { opacity: 1; }
.p-film .s4 .hj-edge { stroke-dashoffset: 0; }
.p-film [data-ch="3"] .hj-mapnote.hj-at-3 { opacity: clamp(0, calc(var(--t) * 3 - 1.2), 1); }
/* 4: the minutes, the hot steps, the total */
.p-film .s4 .hj-node__m--b, .p-film .s4 .hj-total { opacity: 1; }
.p-film [data-ch="4"] .hj-node.is-hot rect { stroke: var(--carmine); stroke-width: 2.5; fill: var(--carmine-soft); }
.p-film [data-ch="4"] .hj-node.is-hot .hj-node__m--b { fill: var(--carmine); font-weight: 600; }
.p-film [data-ch="4"] .hj-mapnote.hj-at-4 { opacity: clamp(0, calc(var(--t) * 3 - 0.8), 1); }
/* 6: the changed steps turn, the minutes drop, the total with them */
.p-film .s6 .hj-node.is-changed rect { stroke: var(--ok); stroke-width: 2.5; fill: var(--ok-soft); }
.p-film .s6 .hj-node.is-changed .hj-node__m--b { opacity: 0; }
.p-film .s6 .hj-node__m--a { opacity: 1; fill: var(--ok); font-weight: 600; }
.p-film .s6 .hj-node:not(.is-changed) .hj-node__m--a { fill: var(--muted); font-weight: 500; }
.p-film .s6 .hj-node:not(.is-changed) .hj-node__m--b { opacity: 0; }
.p-film .s6 .hj-node__ai { opacity: 1; }
.p-film .s6 .hj-total__b { display: none; }
.p-film .s6 .hj-total__a { display: block; }
.p-film [data-ch="6"] .hj-tools, .p-film [data-ch="6"] .hj-mapnote.hj-at-6 { opacity: 1; }
/* 5: goals, one by one, then the yes */
.p-film [data-ch="5"] .hj-goal { opacity: clamp(0, calc(var(--t) * 4 - var(--i)), 1); transform: none; }
.p-film [data-ch="5"] .hj-goal__ok { opacity: clamp(0, calc(var(--t) * 4 - 2.6), 1); }
.p-film [data-ch="5"] .hj-sign { opacity: clamp(0, calc(var(--t) * 4 - 3), 1); }
/* 7: the team */
.p-film [data-ch="7"] .hj-team figure { opacity: clamp(0, calc(var(--t) * 6 - var(--i)), 1); transform: none; }
.p-film [data-ch="7"] .hj-teamnote { opacity: clamp(0, calc(var(--t) * 3 - 1.4), 1); }

/* ---------- The rail: every scene, and where you are ---------- */
.p-film .hj-rail { position: relative; padding: 0 var(--gutter) var(--space-4); }
.p-film .hj-rail ol { max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); list-style: none; display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); }
.p-film .hj-rail ol button { display: grid; justify-items: start; gap: 8px; width: 100%; padding: 10px 0 0; border: 0; background: none; cursor: pointer; font: 500 12px/1.2 var(--font-sans); color: var(--muted); text-align: left; }
.p-film .hj-rail ol button i { width: 9px; height: 9px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--line-strong); transition: background .2s ease, border-color .2s ease; }
.p-film .hj-rail ol button:hover { color: var(--ink); }
.p-film .hj-rail li.is-past button i { background: var(--ink-2); border-color: var(--ink-2); }
.p-film .hj-rail li.is-now button { color: var(--ink); font-weight: 600; }
.p-film .hj-rail li.is-now button i { background: var(--carmine); border-color: var(--carmine); box-shadow: 0 0 0 4px var(--carmine-soft); }
.p-film .hj-rail__bar { position: absolute; left: calc(var(--gutter) * 2); right: calc(var(--gutter) * 2); top: 14px; height: 1px; background: var(--line); z-index: -1; }
.p-film .hj-rail__bar i { position: absolute; inset: 0 auto 0 0; width: calc(var(--p, 0) * 100%); background: var(--ink-2); }

/* The scroll pill: centred above the rail on the first scene, gone once the film starts.
   js/harvest-film.js pulses it (.is-nudge) when nobody has scrolled yet; a click plays scene 1. */
.p-film .hj-go { position: absolute; left: 50%; bottom: calc(100% + var(--space-4)); z-index: 2; translate: -50% 0; display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border: 0; border-radius: 999px; background: var(--ink); color: var(--paper); font: 500 13px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; cursor: pointer; box-shadow: var(--shadow-float); opacity: 0; visibility: hidden; transition: opacity .35s ease, translate .25s ease, visibility 0s linear .35s; }
.p-film [data-ch="0"] .hj-go { opacity: 1; visibility: visible; transition: opacity .35s ease, translate .25s ease, visibility 0s; }
.p-film .hj-go span { display: inline-block; font-size: 15px; animation: hj-bob 1.6s ease-in-out infinite; }
.p-film .hj-go:hover { translate: -50% -2px; }
.p-film .hj-go:focus-visible { outline: 2px solid var(--carmine); outline-offset: 3px; }
.p-film .hj-go.is-nudge { animation: hj-nudge 1.1s ease-out 2; }
@keyframes hj-bob { 50% { transform: translateY(4px); } }
@keyframes hj-nudge {
  0% { scale: 1; box-shadow: var(--shadow-float), 0 0 0 0 color-mix(in srgb, var(--carmine) 55%, transparent); }
  18% { scale: 1.07; }
  36% { scale: 1; }
  100% { scale: 1; box-shadow: var(--shadow-float), 0 0 0 16px color-mix(in srgb, var(--carmine) 0%, transparent); }
}

/* ---------- After the film ---------- */
.p-film .hj-after { padding: var(--space-24) 0; background: var(--paper); border-top: 1px solid var(--line); }
.p-film .hj-after__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-12) var(--space-16); align-items: end; }
.p-film .hj-after .mb-eyebrow { margin-bottom: var(--space-6); }
.p-film .hj-sum { margin: 0; padding: 0; list-style: none; display: grid; border-top: 1px solid var(--line); }
.p-film .hj-sum li { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: var(--space-4); align-items: baseline; padding: var(--space-4) 0; border-bottom: 1px solid var(--line); }
.p-film .hj-sum b { font-size: 26px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.p-film .hj-sum span { font-size: 17px; color: var(--ink-2); }
.p-film .hj-after__cta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* the step list is the phone's version of the map */
.p-film .hj-steps { display: none; }

/* ---------- Smaller screens: the caption on top, the board under it ---------- */
@media (max-width: 960px) {
  .p-film .hj-stage__in { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(150px, auto) minmax(0, 1fr); gap: var(--space-4); align-items: start; }
  .p-film .hj-caps { min-height: 190px; }
  .p-film .hj-cap { align-content: start; gap: var(--space-3); }
  .p-film .hj-cap__t, .p-film .hj-cap[data-ch="0"] .hj-cap__t { font-size: clamp(28px, 7vw, 40px); }
  .p-film .hj-cap__p { font-size: 16px; }
  .p-film .hj-board { align-self: start; }
  .p-film .hj-rail ol button span { display: none; }
  .p-film .hj-rail ol { padding: 0; }
  .p-film .hj-pen, .p-film .hj-heard, .p-film .hj-mapnote, .p-film .hj-teamnote { font-size: 17px; }
  .p-film .hj-goals { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .p-film .hj-goal { padding: 12px 14px; }
  .p-film .hj-goal b { font-size: 16px; }
  .p-film .hj-goal span { font-size: 13px; }
  .p-film .hj-goal__ok { font-size: 18px; }
  .p-film .hj-mail, .p-film .hj-reply { padding: 12px 14px; font-size: 14px; }
  .p-film .hj-call img, .p-film .hj-team img { width: 60px; height: 60px; }
  .p-film .hj-team { gap: var(--space-4); }
  .p-film .hj-results { padding: 0; gap: 8px; }
  .p-film .hj-res { padding: 12px 14px; }
  .p-film .hj-res__n b { font-size: 26px; }
  .p-film .hj-res__n s { font-size: 14px; }
  .p-film .hj-quote { padding: 18px 20px; }
  .p-film .hj-total b { font-size: 18px; }
  .p-film .hj-node__l { font-size: 18px; }
  .p-film .hj-after__in { grid-template-columns: minmax(0, 1fr); }
  .p-film .hj-cap__cta { display: none; }                          /* the section after the film has them */
  /* the map as a list of steps */
  .p-film .hj-board { aspect-ratio: auto; height: 100%; }
  .p-film .hj-map svg, .p-film .hj-mapnote, .p-film .hj-tools { display: none; }
  .p-film .hj-steps { position: absolute; inset: 0 0 auto 0; margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
  .p-film .hj-step { display: grid; grid-template-columns: 74px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 8px 12px; border-radius: 10px; background: var(--surface); border: 1.5px solid var(--ink); font-size: 14px; opacity: 0; }
  .p-film .hj-step small { font: 500 10px/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
  .p-film .hj-step b { font-weight: 600; color: var(--ink); }
  .p-film .hj-step span { font: 500 13px/1 var(--font-mono); color: var(--muted); opacity: 0; }
  .p-film .hj-step__a { display: none; }
  .p-film [data-ch="3"] .hj-step { opacity: clamp(0, calc(var(--t) * 8 - var(--i)), 1); }
  .p-film .s4 .hj-step { opacity: 1; }
  .p-film .s4 .hj-step span { opacity: 1; }
  .p-film [data-ch="4"] .hj-step.is-hot { border-color: var(--carmine); background: var(--carmine-soft); }
  .p-film [data-ch="4"] .hj-step.is-hot span { color: var(--carmine); font-weight: 600; }
  .p-film .s6 .hj-step__b { display: none; }
  .p-film .s6 .hj-step__a { display: inline; }
  .p-film .s6 .hj-step.is-changed { border-color: var(--ok); background: var(--ok-soft); }
  .p-film .s6 .hj-step.is-changed span { color: var(--ok); font-weight: 600; }
  .p-film .hj-total { top: auto; bottom: 0; right: 0; }
  .p-film .hj-total b { font-size: 22px; }
}
@media (max-width: 960px) and (max-height: 760px) {
  .p-film .hj-mail__subj, .p-film .hj-cal span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .p-film .hj-cap, .p-film .hj-L, .p-film .hj-at-1 > *, .p-film .hj-goal, .p-film .hj-team figure { transition-duration: .01s !important; }
  .p-film .hj-go span, .p-film .hj-go.is-nudge { animation: none; }
}
