/* Selected states remain legible without enclosing black boxes. */
.choice,.choice:hover,.choice.selected,.choice:focus,.choice:focus-visible{border-color:transparent;outline:none;box-shadow:none}
.choice .select-circle{transition:background .2s,box-shadow .2s,transform .22s}
.choice:hover .select-circle{transform:scale(1.12);box-shadow:inset 0 0 0 5px var(--paper);background:#ffdc6b}
.choice.selected .select-circle{background:var(--yellow);box-shadow:inset 0 0 0 5px var(--paper)}
.choice:focus-visible .select-circle{outline:2px dashed #a47a00;outline-offset:5px}
button:focus:not(:focus-visible),a:focus:not(:focus-visible),[role=button]:focus:not(:focus-visible){outline:none;box-shadow:none}
button:not(.choice):focus-visible,a:focus-visible{outline:none;text-decoration:underline;text-decoration-color:#b17f00;text-underline-offset:5px;text-decoration-thickness:3px}
#dots button:focus-visible{outline:2px dotted #ae7900;outline-offset:3px;text-decoration:none}
/* The collage is artwork, not an experimental stimulus. */
.lab-art,.end-shape{display:grid;place-items:center;overflow:hidden;border:0;isolation:isolate}
.lab-art{height:clamp(240px,50vh,470px)}
.end-shape{height:clamp(200px,38vh,365px)}
.collage-asset{width:100%;height:100%;object-fit:contain;display:block;mix-blend-mode:multiply;filter:contrast(1.025);transform-origin:50% 50%;animation:collage-reveal .75s cubic-bezier(.2,.8,.2,1) both}
.end-shape .collage-asset{object-position:center}
@keyframes collage-reveal{from{opacity:0;transform:translateY(13px) rotate(-2deg) scale(.94)}to{opacity:1;transform:none}}
.trial-chart svg{animation:none!important}
.trial-chart.motion-ready{position:relative;isolation:isolate}
.trial-chart.motion-ready::after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(0deg,transparent 49%,#ffbf0060 50%,transparent 51%);opacity:0;animation:scan-pass .62s cubic-bezier(.2,.75,.2,1) both}
@keyframes scan-pass{0%{opacity:0;transform:translateY(-48%)}20%{opacity:.65}80%{opacity:.65}100%{opacity:0;transform:translateY(48%)}}
.trial-reel i{transition:background .22s,transform .22s;transform-origin:center}
.trial-reel i.now{transform:scaleY(1.35)}
.research-chart svg,.bias-chart svg,.recon-chart svg{overflow:visible}
.research-chart .obs-mark,.research-chart .obs-mark circle,.bias-chart circle,.recon-chart circle{transform-box:fill-box;transform-origin:center}
.research-chart .obs-mark:hover circle:not([fill=transparent]),.research-chart .obs-mark:focus-visible circle:not([fill=transparent]){stroke-width:3;stroke:var(--ink)}
.research-statement strong{display:inline-block;transform-origin:0 50%}
.research-tools button,.recon-tabs button,.research-tabs button{transition:background .18s,color .18s}
.recon-data span{transition:background .25s}
.recon-data.flash span{animation:data-flash .65s ease both}
@keyframes data-flash{0%,100%{background:transparent}35%{background:#ffbf0065}}
@media(max-width:540px){.lab-art{height:230px}.end-shape{height:210px}}
@media(prefers-reduced-motion:reduce){.collage-asset,.trial-chart.motion-ready::after,.recon-data.flash span{animation:none!important}.trial-reel i.now{transform:none}}

/* Editorial spacing: keep a clear visual axis and breathing room on each screen. */
.hero-copy h1{letter-spacing:-.045em;line-height:1.04}
.hero-art,.lab-art,.end-shape{--move-x:0px;--move-y:0px;--tilt:0deg;transform:translate3d(var(--move-x),var(--move-y),0) rotate(var(--tilt));transition:transform .32s cubic-bezier(.2,.72,.25,1);will-change:transform}
.lab-art,.end-shape{display:flex;align-items:center;justify-content:center;overflow:visible;min-width:0;min-height:0}
.lab-art .collage-asset,.end-shape .collage-asset{max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain;min-width:0;min-height:0}
.lab-art:after{content:'';position:absolute;inset:18% 43% 32% 5%;border-radius:50%;pointer-events:none;opacity:0;background:radial-gradient(ellipse at var(--shine-x,50%) var(--shine-y,50%),#fff9df35,transparent 68%);transition:opacity .3s;mix-blend-mode:screen}
.lab-art:hover:after{opacity:.8}
.trial-chart.motion-ready::after{display:none}
.report-side .score i b{transform-origin:left center}
.report-side .inspector-chart{height:clamp(138px,18vh,195px)}
.report-side .score{min-height:26px}

@media(min-width:851px){
  .home{grid-template-columns:minmax(0,39%) minmax(0,61%);column-gap:0}
  .hero-copy h1{font-size:clamp(64px,9.3vw,155px)}
  .hero-art{width:96%;justify-self:end}
  .intro{grid-template-columns:minmax(0,34%) minmax(0,66%);align-items:center;column-gap:0;padding:24px 0;}
  .intro-copy{align-self:center;padding-right:clamp(24px,3.6vw,60px)}
  .intro-copy h2{font-size:clamp(37px,4.2vw,68px);letter-spacing:-.025em;line-height:1.12;margin:24px 0 22px;white-space:nowrap}
  .intro-copy p{font-size:clamp(16px,1.65vw,23px);line-height:1.45}
  .intro-credit{margin-top:38px;font-size:clamp(12px,1.05vw,16px)}
  .intro-interaction{padding-left:clamp(12px,2.5vw,42px);gap:20px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;}
  .choices{grid-column:1/-1;gap:clamp(24px,4vw,65px)}
  .choice{padding:0 0 12px;gap:9px}
  .choice h3{font-size:clamp(25px,2.7vw,40px);padding-bottom:13px;letter-spacing:.015em;display:flex;align-items:center;gap:8px}
  .choice h3 b{font-size:.95em;margin-right:0;padding:4px 10px}
  .choice svg{height:clamp(145px,24vh,250px);margin:9px 0 12px}
  .intro-feedback{min-height:0;font-size:clamp(13px,1.05vw,16px);line-height:1.7;padding:12px 0;border-top:1px solid var(--line)}
  .intro-interaction>.primary{font-size:clamp(17px,1.65vw,24px);align-self:center;justify-self:end}
  .atlas-body{grid-template-columns:minmax(250px,29%) minmax(0,1fr);gap:3.2%}
  .atlas-index{padding-right:clamp(18px,2.2vw,32px);justify-content:center}
  .rank-group{min-height:40px;gap:5px}
  .rank-group>span{font-size:clamp(12px,1.15vw,16px);padding:11px 5px;min-width:27px}
  .rank-item{font-size:clamp(15px,1.35vw,20px);padding:7px 8px;min-height:39px;gap:10px;line-height:1.25;letter-spacing:.01em}
  .rank-item svg{width:clamp(35px,4vw,57px);height:28px;flex-shrink:0}
  .rank-caption{font-size:14px;padding:7px 0}
  .atlas-index>p{font-size:13px;line-height:1.6;margin-top:14px}
  .end{grid-template-columns:minmax(0,46%) minmax(0,50%);grid-template-rows:auto auto;align-content:center;align-items:center;column-gap:4%;row-gap:clamp(23px,4vh,48px);padding:12px 0 24px}
  .end-text{grid-column:1;grid-row:1;align-self:center}
  .end-text h2{font-size:clamp(58px,7.4vw,115px);letter-spacing:-.035em;line-height:1.06;margin:22px 0 24px}
  .end-text p{margin-bottom:27px;line-height:1.53}
  .end-visual{display:contents}
  .end-shape{grid-column:2;grid-row:1;height:clamp(270px,43vh,450px);align-self:center}
  .citation{grid-column:1/-1;grid-row:2;border-top:1.5px solid var(--ink);padding-top:13px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:20px;font-size:clamp(12px,1vw,15px);line-height:1.6}
  .citation p{margin:0;max-width:850px}.citation a{white-space:nowrap}
}
@media(min-width:851px) and (max-height:820px){.rank-item{min-height:30px;padding:4px 6px;font-size:15px}.rank-item svg{height:23px}.rank-group{min-height:31px}.rank-group>span{padding:6px 5px}.rank-caption{padding:4px 0}.atlas-index>p{margin-top:7px;font-size:12px}.end-shape{height:clamp(240px,40vh,340px)}.end{row-gap:20px}.intro{padding:10px 0}}
@media(max-width:850px){.hero-copy h1{letter-spacing:-.035em}.end-text h2{letter-spacing:-.035em}.end-shape{overflow:visible}.intro-copy h2{letter-spacing:-.03em}}
@media(prefers-reduced-motion:reduce){.hero-art,.lab-art,.end-shape{transform:none!important;transition:none!important}.lab-art:after{display:none}}

/* Home: only the three paper cutouts animate. Portrait, backdrop and disk
   stay locked in the original position, so the entire image never sways. */
.hero-art.is-layered{background-image:none;transform:none;transition:none;will-change:auto;position:relative}
.hero-art .hero-layered{width:100%;height:100%;display:block;overflow:hidden}
.hero-disk-layer{transform-box:view-box;transform:translate(var(--move-x),var(--move-y));transition:transform .30s cubic-bezier(.2,.72,.25,1);will-change:transform}
@media(prefers-reduced-motion:reduce){.hero-disk-layer{transform:none!important;transition:none!important}}

/* Parallax artwork must not enlarge the scrollable width of the CRT screen.
   Keep vertical scrolling available for compact viewports and reserve a small
   right-hand motion margin so the artwork itself does not get clipped. */
main{overflow-x:hidden;overflow-y:auto;overscroll-behavior-x:none}
.lab-art,.end-shape{margin-inline-end:18px}

/* Revised research narrative: headline first, then the visual evidence. */
.hero-intro{font-size:clamp(13px,1.2vw,17px);line-height:1.55;color:var(--muted);margin-top:10px;max-width:29em}
.hero-copy p{font-size:clamp(16px,1.75vw,25px);line-height:1.45}
.intro-copy p small{display:inline-block;margin-top:8px;font-weight:500;font-size:clamp(12px,1.05vw,15px)}
.intro-reveal{animation:reveal-ratio .65s cubic-bezier(.2,.8,.2,1) both}
@keyframes reveal-ratio{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.intro-feedback.revealed b{background:var(--yellow);padding:3px 5px;white-space:nowrap}
.lab-copy h3{font-size:clamp(34px,4.25vw,64px);line-height:1.13;letter-spacing:-.045em}
.lab-copy p{max-width:32em}
.report-insight,.research-insight{border-left:4px solid var(--yellow);padding:9px 14px;background:#ffbf0010;display:flex;align-items:baseline;gap:12px;margin-bottom:14px;line-height:1.55;font-size:clamp(13px,1.15vw,17px)}
.eyebrow{display:inline-block;white-space:nowrap;font-size:12px;font-weight:800;letter-spacing:.05em}
.report-insight p{line-height:1.55}
.report-insight .eyebrow{padding-top:1px}
.report-next{color:#706b60}
.report-plot{height:clamp(225px,36vh,370px)}
.report-side .inspector-chart{height:clamp(116px,15vh,165px)}
.obs-values .compare-track{display:block;height:5px;background:#d0c8bb;margin:6px 0 0}
.compare-track>i{display:block;height:100%;width:var(--value);background:var(--ink);transform-origin:left;animation:compare-in .65s cubic-bezier(.2,.8,.2,1) both}
.compare-track.truth>i{background:var(--yellow)}
@keyframes compare-in{from{transform:scaleX(0)}to{transform:scaleX(1)}}
.score em{font-size:10px;font-style:normal;font-weight:800;white-space:nowrap}
.score-best:not(.active){background:#1717170b}
.score-worst:not(.active){background:#ffbf0025}
.score-worst i b{background:#b38300}
.research-insight{margin:0;gap:14px}
.research-insight>b{font-size:clamp(17px,1.5vw,24px);white-space:nowrap}
.research-insight>span{flex:1}
.research-chart{height:clamp(188px,31vh,310px)}
.bias-chart{height:clamp(220px,36vh,365px)}
.recon-challenge{display:grid;grid-template-columns:minmax(200px,1fr) auto minmax(160px,1fr);align-items:center;gap:14px;border-left:4px solid var(--yellow);padding:8px 12px;background:#ffbf0010}
.recon-challenge>div:first-child{display:flex;flex-direction:column;gap:3px}
.recon-challenge>div:first-child b{font-size:clamp(15px,1.4vw,21px)}
.challenge-options{display:flex;gap:5px;flex-wrap:wrap}
.challenge-options button{border:1px solid var(--ink);padding:5px 9px;font-weight:800;min-width:30px}
.challenge-options button.chosen,.challenge-options button:hover{background:var(--ink);color:var(--paper)}
.challenge-options button.correct{background:var(--yellow);color:var(--ink);opacity:1}
.challenge-result{font-size:clamp(12px,1.1vw,16px);line-height:1.5}
.recon-chart{height:clamp(172px,29vh,310px)}
.recon-placeholder{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;color:var(--muted);text-align:center;border:1px dashed var(--line)}
.recon-placeholder b{font-size:clamp(24px,3vw,43px);line-height:1.15;color:var(--ink);letter-spacing:-.035em}
.recon-placeholder span:last-child{font-size:13px}
.end-text p{font-size:clamp(16px,1.65vw,25px);max-width:25em}
@media(max-width:850px){.hero-intro{margin-inline:auto}.report-insight,.research-insight{flex-direction:column;gap:3px}.research-insight>b{white-space:normal}.recon-challenge{grid-template-columns:1fr;gap:8px}.report-plot{height:280px}}
@media(prefers-reduced-motion:reduce){.intro-reveal,.compare-track>i{animation:none!important}}

/* A quiet visual demonstration: no estimate fields or choices. */
.intro .choice{min-width:0;padding:0;border:0;gap:10px}
.intro .choice svg{width:100%;height:clamp(165px,31vh,330px);margin:20px 0 28px}
.intro .intro-interaction{gap:clamp(18px,3.4vh,36px) 24px}
.intro .intro-actions{display:flex;justify-content:center;justify-self:end;align-items:flex-end}
.intro-actions button.primary{white-space:nowrap;font-size:clamp(17px,1.65vw,24px)}
.intro .intro-feedback{font-size:clamp(14px,1.25vw,18px);line-height:1.55;min-height:68px;display:flex;align-items:center}
.intro-conclusion>strong{background:var(--yellow);padding:0 5px;white-space:nowrap}
.intro-conclusion small{display:block!important;max-width:26em;color:var(--muted)}
.recon-placeholder{box-sizing:border-box;padding:14px;text-align:center}
.recon-placeholder>span,.recon-placeholder>b{display:block;width:100%;text-align:center;align-self:center}
.recon-placeholder b{letter-spacing:0;line-height:1.24}
@media(max-width:850px){.intro .choice svg{height:clamp(100px,22vh,220px);margin:12px 0 18px}.intro .intro-copy h2{white-space:normal}.intro .intro-feedback{min-height:48px}.intro .intro-actions{justify-self:end}}

/* Editorial pass: compact labels, deliberate line breaks, calmer rhythm. */
.hero-copy p,.intro-copy p,.lab-copy p,.end-text p{line-height:1.5}
.intro .intro-feedback{min-height:48px}
.intro-copy p{max-width:19em}
.lab-copy h3{letter-spacing:-.025em;line-height:1.12}
.lab-copy p{max-width:27em;line-height:1.65}
.chapter>div{min-width:0}
.chapter p{line-height:1.45;margin-top:5px}
.report-insight{padding:8px 13px;margin-bottom:14px}
.report-insight p{line-height:1.45;overflow-wrap:anywhere}
.report-insight p b{font-weight:800}
.research-insight{align-items:center;flex-wrap:wrap;gap:8px 18px}
.research-insight>span{min-width:min(220px,100%);line-height:1.5}
.recon-challenge{gap:12px}
.recon-placeholder{gap:14px}
.recon-foot p{max-width:34em;line-height:1.5}
.end-text p{line-height:1.55;max-width:28em}
@media(max-width:850px){.research-insight{align-items:flex-start}.research-insight>span{min-width:0}.end-text p{max-width:100%}}

/* Align introduction header, graphic center and footer on shared rows. */
@media(min-width:851px){
  .intro{align-content:center;align-items:stretch;grid-template-columns:minmax(0,34%) minmax(0,66%)}
  .intro-copy{align-self:stretch;display:grid;grid-template-rows:auto minmax(0,1fr) auto;align-items:start;padding-right:clamp(18px,3vw,45px)}
  .intro-copy>.tag{justify-self:start}
  .intro-text{align-self:center;min-width:0}
  .intro-copy h2{margin:0 0 22px}
  .intro-credit{margin:0;min-height:clamp(52px,4.5vw,68px);padding-top:12px;align-self:end;width:100%;max-width:100%;display:flex;align-items:center;padding-bottom:12px}
  .intro .intro-interaction{padding-left:0;align-items:stretch;row-gap:clamp(22px,3vh,36px)}
  .intro .choice svg{height:clamp(160px,30vh,350px);margin:12px 0 14px}
  .intro .intro-feedback{min-height:clamp(52px,4.5vw,68px);align-self:stretch;padding:12px 0}
  .intro .intro-actions{align-items:center;min-height:clamp(52px,4.5vw,68px)}
  .lab-intro{grid-template-columns:minmax(0,35%) minmax(0,1fr);gap:clamp(20px,2.5vw,40px)}
  .lab-copy{max-width:none;min-width:0}
  .lab-art{justify-self:start;max-width:660px;width:100%;margin-inline-end:0}
  .lab-art .collage-asset{object-position:left center}
}

/* Match the report columns' top and bottom edges while giving the plot the
   remaining vertical space, rather than leaving an empty band below it. */
@media(min-width:851px){
  .report{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:clamp(22px,2.3vw,36px)}
  .report>div:first-child{display:flex;flex-direction:column;min-width:0}
  .report-plot{flex:1 1 0;height:0;min-height:clamp(225px,36vh,370px);min-width:0}
  .report>div:first-child>.fine{margin:8px 0 0;line-height:1.5}
  .report-side{min-width:0}
  .report-side h3{margin-top:0}
  .lab-art{height:clamp(220px,46vh,432px);max-width:610px}
}
