/* The report, as a film (2026-11-16). Reads the kit and site tokens through var() only.
   Each scene is a tall section with a pinned stage; film.js writes how far through the scene the visitor is into --p
   (0 to 1) and every movement below is a function of that number, so it follows the scroll and stops when it stops.
   Without the script, or for a visitor who asked for less motion, html.fl-on is never set: every scene is a plain
   section, every reading is on the page, and the lamp rests where it is. */

.fl-open{padding-bottom:clamp(32px,5vw,72px)}
/* the opening fills the first screen, so the pinned scene below is never the first thing seen (a black gap on arrival) */
html.fl-on .fl-open{min-height:calc(100svh - var(--s-nav,72px));box-sizing:border-box;display:flex;flex-direction:column;justify-content:center}
.fl-tag{display:inline-block;margin:0 0 24px;padding:10px 16px;border:1px solid #fff;border-radius:var(--s-r);font:500 var(--s-small)/1.2 var(--font)}
.fl-disclosure{max-width:62ch}

.fl-kicker{font:500 var(--s-small)/1.3 var(--font);margin:0 0 20px}
.fl-h{max-width:12ch}
.fl-lede{font-size:var(--s-body);line-height:1.6;max-width:44ch;margin:28px 0 0}
.fl-line{font:500 var(--s-h3)/1.1 var(--font-heading);letter-spacing:-.03em;margin:28px 0 0}
.fl-big{font:500 clamp(1.75rem,3.4vw,3.25rem)/1 var(--font-heading);letter-spacing:-.04em;margin:28px 0 0;max-width:16ch}
.fl-odo{margin:28px 0 0}
.fl-odo__k{display:block;font:500 var(--s-small)/1.3 var(--font);margin-bottom:6px}
.fl-odo b{font:500 clamp(2.5rem,5.4vw,5.5rem)/.95 var(--font-heading);letter-spacing:-.05em;font-variant-numeric:tabular-nums}

/* ---------- a scene: words on the night, a real thing in its own light beside them ---------- */
.fl-scene{position:relative;padding:clamp(56px,8vw,112px) 0}
.fl-grid{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:clamp(24px,5vw,88px);align-items:center}
.fl-grid--solo{grid-template-columns:minmax(0,1fr)}
.fl-stage{position:relative;min-width:0}
.fl-pic{margin:0}
.fl-pic img{display:block;width:100%;height:auto}
.fl-cap{font-size:var(--s-fine);line-height:1.5;margin:14px 0 0;max-width:52ch}

/* the lamp: light only on the real thing. An ellipse, so its size is a percentage of the picture. */
.fl-pic{--x:50%;--y:50%}
.fl-lit{position:relative;isolation:isolate;overflow:hidden}
.fl-lit::after{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse 58% 66% at var(--x) var(--y),var(--k-pool));mix-blend-mode:multiply}
@supports not (mix-blend-mode:multiply){.fl-lit::after{background:radial-gradient(ellipse 58% 66% at var(--x) var(--y),var(--k-veil))}}

/* ---------- the readings: all four are on the page; in the film they take the stage one at a time ---------- */
.fl-corner-list{margin:28px 0 0;padding:0;list-style:none;border-top:1px solid var(--s-rule-dark)}
.fl-corner{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 20px;align-items:baseline;padding:14px 0;border-bottom:1px solid var(--s-rule-dark)}
.fl-corner__name{font:500 var(--s-body)/1.2 var(--font)}
.fl-corner__read b{font:500 clamp(2rem,4vw,3.25rem)/1 var(--font-heading);letter-spacing:-.05em;font-variant-numeric:tabular-nums}
.fl-corner__unit{font:500 var(--s-small)/1 var(--font);margin-left:6px}
.fl-corner__flag{grid-column:1/-1;font:500 var(--s-small)/1.3 var(--font);text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px}

/* ---------- everything else: findings as type on hairlines ---------- */
.fl-rest{padding:clamp(56px,8vw,120px) 0}
.fl-items{margin:clamp(32px,5vw,64px) 0 0;padding:0;list-style:none;border-top:1px solid var(--s-rule-dark)}
.fl-item{padding:clamp(24px,3.4vw,48px) 0;border-bottom:1px solid var(--s-rule-dark)}
.fl-item__in{display:grid;grid-template-columns:minmax(0,1fr);gap:24px}
.fl-item__in.has-pic{grid-template-columns:minmax(0,6fr) minmax(0,4fr);align-items:center;gap:clamp(24px,5vw,80px)}
.fl-item__h{font:500 var(--s-h3)/1.05 var(--font-heading);letter-spacing:-.03em;margin:0 0 12px}
.fl-item p{margin:0;max-width:62ch}
.fl-chip{display:inline-block;margin:0 0 14px!important;padding:6px 12px;border:1px solid rgba(255,255,255,.5);border-radius:var(--s-r);font:500 var(--s-fine)/1.2 var(--font)}

/* ---------- the verdict: the one white sheet ---------- */
.fl-verdict{padding:clamp(40px,6vw,96px) 0}
.fl-sheet{max-width:860px;margin:0 auto;padding:clamp(28px,4vw,64px)}
.fl-sheet__kind{font:500 var(--s-small)/1.3 var(--font);margin:0 0 28px}
.fl-sheet__label{font:500 var(--s-small)/1.3 var(--font);margin:28px 0 10px}
.fl-sheet__verdict{font:500 clamp(2.5rem,6.4vw,5.5rem)/.92 var(--font-heading);letter-spacing:-.06em;margin:0}
.fl-sheet__lede{max-width:54ch;margin:20px 0 0}
.fl-sheet__fine{font-size:var(--s-fine);line-height:1.5;margin:16px 0 0;max-width:64ch}
.fl-sheet a{color:#000;text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px}
.fl-neg{margin:0;padding:0;list-style:none;border-top:1px solid #000}
.fl-neg li{display:flex;justify-content:space-between;gap:16px;align-items:baseline;padding:14px 0;border-bottom:1px solid #000}
.fl-neg b{font:500 clamp(1.25rem,2.2vw,1.75rem)/1.1 var(--font-heading);letter-spacing:-.03em;white-space:nowrap}
.fl-neg__total span{font-weight:500}

.fl-end{padding:clamp(56px,8vw,120px) 0 clamp(40px,5vw,72px)}
.fl-end .s-lead{margin-top:24px;max-width:48ch}
.fl-credit{margin-top:40px}

/* ---------- the film: only when the script is running and the visitor has not asked for less motion ---------- */
html.fl-on .fl-scene{padding:0;height:calc(100svh * (1 + var(--len,2)))}
html.fl-on .fl-pin{position:sticky;top:0;height:100svh;display:grid;align-content:center;padding-top:var(--s-nav,72px);box-sizing:border-box}
/* the car: the photograph comes in from a little larger; the lamp crosses it; the lines are written in as the page comes */
html.fl-on .fl-lit{height:min(46svh,520px)}
html.fl-on .fl-lit img{height:100%;object-fit:cover}
html.fl-on .fl-car .fl-lit{height:min(62svh,640px)}
html.fl-on .fl-car .fl-lit img{transform:scale(calc(1.14 - var(--p,0) * .14));transform-origin:50% 60%}
html.fl-on .fl-car .fl-pic{--x:calc(16% + var(--p,0) * 68%);--y:58%}
html.fl-on .fl-line,html.fl-on .fl-odo,html.fl-on .fl-big,html.fl-on .fl-scan .fl-lede,html.fl-on .fl-car .fl-lede{--t:clamp(0,calc((var(--p,0) - var(--at,0)) * 9),1);opacity:var(--t);translate:0 calc((1 - var(--t)) * 22px)}
/* the readings: one at a time, tied to the scroll */
html.fl-on .fl-corner-list{position:relative;border:0;margin:28px 0 0;height:clamp(230px,32vh,320px)}
html.fl-on .fl-corner{position:absolute;inset:0;border:0;display:flex;flex-wrap:wrap;align-items:baseline;align-content:center;gap:6px 20px;padding:0;opacity:var(--a,0);translate:0 var(--ty,0)}
html.fl-on .fl-corner__name{flex:1 0 100%;font:500 var(--s-h3)/1.1 var(--font-heading);letter-spacing:-.03em}
html.fl-on .fl-corner__read b{font-size:clamp(5rem,11vw,10rem);line-height:.9}
html.fl-on .fl-corner__unit{font-size:var(--s-body)}
html.fl-on .fl-corner__flag{flex:1 0 100%;grid-column:auto}
html.fl-on .fl-corners .fl-pic{--x:calc(42% + var(--p,0) * 24%);--y:50%}
html.fl-on .fl-corners .fl-lit img{object-position:62% 50%}
html.fl-on .fl-corners .fl-lit img{transform:scale(calc(1 + var(--p,0) * .05))}
/* findings and the sheet rise into place as they come up the window */
html.fl-on [data-reveal-e]{--t:var(--e,0);opacity:var(--t);translate:0 calc((1 - var(--t)) * 28px)}
@media(max-width:899px){
.fl-grid{grid-template-columns:minmax(0,1fr)}
.fl-item__in.has-pic{grid-template-columns:minmax(0,1fr)}
.fl-neg li{flex-direction:column;gap:4px}
html.fl-on .fl-open{justify-content:flex-start}
html.fl-on .fl-pin{align-content:start;padding-top:calc(var(--s-nav,72px) + 12px);padding-bottom:96px}
html.fl-on .fl-grid{gap:16px;align-items:start}
html.fl-on .fl-stage{order:-1}
html.fl-on .fl-lit,html.fl-on .fl-car .fl-lit{height:30svh}
html.fl-on .fl-cap{display:none}
html.fl-on .fl-h{font-size:clamp(2rem,9vw,3rem);max-width:none}
html.fl-on .fl-lede{margin-top:14px;font-size:var(--s-small)}
html.fl-on .fl-line,html.fl-on .fl-big,html.fl-on .fl-odo{margin-top:14px}
html.fl-on .fl-corner-list{height:190px;margin-top:8px}
html.fl-on .fl-corner__read b{font-size:5rem}
}

/* The scenes with no picture (the car, the scan) fill the frame on wide screens: the heading holds the left, what is
   found arrives on the right as the scroll plays it, instead of one column with half the screen empty. */
@media(min-width:1100px){
  .fl-grid--solo .fl-words{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);grid-auto-flow:row dense;column-gap:clamp(48px,7vw,128px);align-items:start}
  .fl-grid--solo .fl-kicker{grid-column:1;grid-row:1}
  .fl-grid--solo .fl-h{grid-column:1;grid-row:2 / span 6;max-width:11ch}
  .fl-grid--solo .fl-words>:not(.fl-kicker):not(.fl-h){grid-column:2;max-width:30ch}
  .fl-grid--solo .fl-words>:not(.fl-kicker):not(.fl-h):nth-child(3){margin-top:0}
  .fl-grid--solo .fl-odo{max-width:none}
  .fl-grid--solo .fl-odo b{white-space:nowrap}
}
