/* Sample BI2-person, "From the Building to the Ideas", ending "Eleven constellations" (round 05; first screen as round-04 BI).
   Two layouts share this file:
   the plain layout (no JavaScript, reduced motion, very tall windows): header, photo, the settled constellations, the lab;
   html.pin: the first screen is a pinned stage where the photo becomes points and the points become 11 constellations. */
:root {
  --red: #A32638;      /* Stevens Red */
  --ink: #363D45;      /* Dark Gray: text on white, and the ground of the stage */
  --rule: #E4E5E6;     /* Light Gray: hairlines; secondary text on the stage (8.72:1) */
  --white: #FFFFFF;
  --gray: #7F7F7F;     /* Stevens Gray: identifier only */

  --disp: 'Saira Condensed', 'Arial Narrow', Arial, sans-serif;
  --body: 'IBM Plex Sans', Arial, sans-serif;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --gut: 24px;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: auto; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font: 400 17px/1.65 var(--body); font-synthesis: none; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--red); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.scene :focus-visible { outline-color: var(--white); }
.wrap { max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding-inline: var(--gut); }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--white); color: var(--ink); padding: 10px 14px; border: 2px solid var(--red); }
.skip:focus { top: 16px; }

/* ---------- header (white; on the stage it slides away as the scene starts) ---------- */
.site-head { position: relative; z-index: 6; background: var(--white); height: 120px; }
.head-row { display: flex; align-items: center; height: 120px; }
.mark { flex: none; display: block; }
.mark img { display: block; height: 50px; width: auto; }
.lab { margin-left: 34px; font: 600 24px/1 var(--disp); color: var(--ink); text-decoration: none; white-space: nowrap; }
.nav-wide { margin-left: auto; }
.nav-wide ul, .menu ul { list-style: none; margin: 0; padding: 0; }
.nav-wide ul { display: flex; gap: 26px; }
.nav-wide a { font: 500 15px/1 var(--body); color: var(--ink); text-decoration: none; white-space: nowrap; }
.menu { margin-left: auto; position: relative; }
.menu summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; min-height: 44px;
  font: 600 15px/1 var(--body); color: var(--ink); padding: 0 16px;
  border: 1px solid var(--ink); border-radius: 3px; background: var(--white);
}
.menu summary::-webkit-details-marker { display: none; }
.menu nav { position: absolute; right: 0; top: calc(100% + 8px); min-width: 260px; z-index: 10; background: var(--white); border: 1px solid var(--ink); padding: 8px 0; }
.menu nav a { display: block; padding: 11px 18px; font: 500 16px/1.3 var(--body); color: var(--ink); text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .nav-wide a:hover, .menu nav a:hover { color: var(--red); text-decoration: underline; } }
@media (min-width: 1180px) { .menu { display: none; } }
@media (max-width: 1179px) { .nav-wide { display: none; } }
@media (max-width: 560px) { .lab { display: none; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; min-height: 52px; padding: 0 22px;
  background: var(--red); color: var(--white); border: 1px solid var(--red); border-radius: 3px;
  font: 600 16px/1.2 var(--body); text-decoration: none;
}
.btn-line { background: var(--white); color: var(--red); }
@media (hover: hover) and (pointer: fine) { .btn:hover { background: var(--ink); border-color: var(--ink); color: var(--white); } }

/* ---------- the scene: plain layout ---------- */
.scene { position: relative; background: var(--ink); color: var(--white); }
.hero { padding: 40px 0 56px; overflow: hidden; }
.plate { position: relative; margin: 0 auto; max-width: 1180px; width: calc(100% - 2 * var(--gut)); }
.photo { display: block; width: 100%; height: auto; }
.scan, .gl, .still-cloud, .still-map, .hero-note { display: none; }
.copy { max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 32px auto 0; padding-inline: var(--gut); }
.copy .lab-m { display: none; margin: 0 0 6px; font: 700 30px/1.05 var(--disp); color: var(--white); }
.kicker { margin: 0 0 12px; font: 600 12px/1.4 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--rule); }
.copy h1 { margin: 0 0 24px; max-width: 20em; font: 700 clamp(2rem, 3.4vw, 2.75rem)/1.08 var(--disp); color: var(--white); }
@media (max-width: 560px) { .copy .lab-m { display: block; } }
@media (max-width: 760px) {
  .kicker { display: none; }
  .copy h1 { font-size: 26px; line-height: 1.12; margin-bottom: 18px; }
  .copy .btn { display: flex; width: 100%; justify-content: center; }
}

/* the constellations, settled (plain layout); the pinned stage reuses all of it */
.mapsec { padding: 24px 0 48px; container-type: inline-size; container-name: mapsec; }
.map-head { max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto 8px; padding-inline: var(--gut); }
.map-h { margin: 0; font: 600 clamp(1.6rem, 2.6vw, 2.1rem)/1.12 var(--disp); color: var(--white); }
.map-hint { display: none; margin: 8px 0 0; font: 400 15px/1.45 var(--body); color: var(--rule); }
/* JavaScript off: a 1000-unit frame, light dots for the stars, names placed by the build, each a link to People */
.map { position: relative; width: 100%; max-width: 860px; margin: 0 auto; aspect-ratio: 1 / 1;
  container-type: inline-size; container-name: map; --u: calc(100cqw / 1000); }
.cn-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.dots circle { fill: var(--rule); }
.leads line { stroke: var(--rule); stroke-width: 1; vector-effect: non-scaling-stroke; }
.cns { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; }
.cn-name { position: absolute; z-index: 2; display: block; margin: 0; padding: 0; border: 0; background: none; white-space: nowrap;
  font: 600 max(12px, calc(15 * var(--u)))/1.25 var(--body); color: var(--white); text-decoration: none; text-align: center; }
.cn-name { left: var(--l); top: var(--t); }
@container map (max-width: 719px) {   /* JavaScript off, narrow: names on two lines, placed for that by the build */
  html:not(.cx) .cn-name { left: var(--ln); top: var(--tn); }
  html:not(.cx) .cn-name .n1, html:not(.cx) .cn-name .n2 { display: block; }
  html:not(.cx) .cn-name.nal-l { text-align: left; }
  html:not(.cx) .cn-name.nal-r { text-align: right; }
}
.ring { display: none; }
.cn-hit { display: none; }
.cap { display: none; }
.map-more { max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 10px auto 0; padding-inline: var(--gut); font: 400 16px/1.45 var(--body); color: var(--white); }
.map-more a { color: var(--white); }
.method { max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 14px auto 0; padding-inline: var(--gut);
  font: 400 13px/1.45 var(--body); color: var(--rule); }
/* fix pass 2026-10-05: the short note's "How this was made" button opens the full note in place (bi.js setNote) */
.m-more { font: inherit; color: var(--white); background: none; border: 0; margin: -5px 0; padding: 5px 0; cursor: pointer;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.m-more[hidden] { display: none; }
html.pin .method .m-more { pointer-events: auto; }

/* JavaScript on (html.cx): names are buttons that open a ring of the person's five phrases; bi.js places everything in px */
html.cx .map-hint { display: block; }
html.cx .map-more { display: none; }
html.cx .map { max-width: 1440px; aspect-ratio: auto; }
html.cx .dots { display: none; }
html.cx .cn-name { font-size: var(--nmf, 15px); line-height: 1.25; padding: 2px 3px; cursor: pointer; }
html.cx .cn-name .n1, html.cx .cn-name .n2 { display: inline; }
html.lay-c .cn-name .n1, html.lay-c .cn-name .n2 { display: block; }
html.lay-c .cn-name.n3l .n2 { white-space: normal; width: min-content; margin-inline: auto; }   /* phones: a three-word name on three lines */
html.lay-c .cn-name.n1l .n1, html.lay-c .cn-name.n1l .n2 { display: inline; }   /* phones: a name on one line */
html.lay-c .cn-name.n3l.al-l .n2 { margin-left: 0; }
html.lay-c .cn-name.n3l.al-r .n2 { margin-right: 0; }
html.cx .cn-name.al-l { text-align: left; }
html.cx .cn-name.al-r { text-align: right; }
html.cx .cn-hit { display: block; position: absolute; z-index: 1; border-radius: 50%; cursor: pointer; }
/* while a ring is open its name may step aside (bi.js layoutRing); the anchor holds its old place for the pointer */
.cn-anchor { display: none; }
html.cx .cn.open.moved .cn-anchor { display: block; position: absolute; z-index: 1; }
html.cx .cn-name { transition: left 220ms var(--ease), top 220ms var(--ease); }
html.no-tr .cn-name { transition: none !important; }   /* ?check=1 reads names where they end */
html.cx .ring { display: block; position: absolute; inset: 0; z-index: 5; margin: 0; padding: 0; list-style: none; visibility: hidden; pointer-events: none; }
html.cx .cn.open .ring { visibility: visible; }
html.cx .cn.open .cn-name { z-index: 6; }
.ring li { position: absolute; width: max-content; max-width: var(--lw, 240px); padding: 3px 6px 4px; background: var(--ink); pointer-events: auto; }
.ring li.al-r { text-align: right; }
.ring li.al-c { text-align: center; }
.ring a { display: block; color: var(--white); text-decoration: none; }
.r-ph { display: block; font: 400 var(--rf, 14px)/1.36 var(--body); text-wrap: balance; }
.r-src { display: block; margin-top: 1px; font: 400 12px/1.35 var(--body); color: var(--rule); }
.ring a:hover .r-ph, .ring a:focus-visible .r-ph { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.cn.open .cn-name { color: var(--white); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
/* while a ring is open the other names step back to Light Gray at 400 (8.7:1, still legible buttons); bi.js keeps
   each name's 600-weight box, so a name never shifts when it dims */
.cn.dim .cn-name { color: var(--rule); font-weight: 400; }
html.measuring .cn-name { font-weight: 600 !important; }
.cn.hid .cn-name { visibility: hidden; }
html .cn.hid .cn-hit, html.pin.settled .cn.hid .cn-hit { pointer-events: none; }   /* a hidden person (name and stars) catches no pointer */
html.lay-c .ring, html.has-cap .ring { display: none !important; }   /* phones and tablets open the panel */
html.lay-c .map-hint { display: none; }
@keyframes ring-in { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(-4px); } }
@keyframes ring-in-r { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(-4px); } }
@keyframes ring-in-c { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(-4px); } }
@keyframes ring-in-b { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(-4px); } }
html.cx .cn.open .ring li { animation: ring-in 260ms var(--ease) both; }
html.cx .cn.open .ring li.al-r { animation-name: ring-in-r; }
html.cx .cn.open .ring li.al-c { animation-name: ring-in-c; }
html.cx .cn.open .ring li.al-b { animation-name: ring-in-b; }

/* ---------- the lab (white sections) ---------- */
.sec { padding-block: 82px; scroll-margin-top: 16px; }
.sec h2 { margin: 0 0 28px; font: 600 clamp(1.8rem, 3.4vw, 2.5rem)/1.15 var(--disp); color: var(--ink); }
.sec + .sec { border-top: 1px solid var(--rule); }
.mission { max-width: 62ch; margin: 0 0 40px; font-size: 1.2rem; line-height: 1.55; }
.offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.offer { border-top: 3px solid var(--red); padding-top: 18px; display: flex; flex-direction: column; }
.offer h3 { margin: 0 0 10px; font: 600 1.6rem/1.15 var(--disp); }
.aud { margin: 0; font: 600 .78rem/1.4 var(--body); letter-spacing: .06em; text-transform: uppercase; color: var(--red); }
.ex { margin: 10px 0 16px; max-width: 60ch; }
.mail { margin-top: auto; font-weight: 600; text-underline-offset: 3px; }

.ev-list { list-style: none; margin: 0; padding: 0; }
.ev-list li { display: grid; grid-template-columns: 150px 180px 1fr; gap: 6px 24px; padding: 14px 0; border-top: 1px solid var(--rule); }
.ev-d { font: 600 1.05rem/1.5 var(--disp); font-variant-numeric: tabular-nums; }
.ev-k { font: 400 15px/1.6 var(--body); }
.ev-t { font: 500 17px/1.5 var(--body); color: var(--ink); }
a.ev-t { color: var(--red); }
.res-h { margin: 44px 0 12px; font: 600 1.4rem/1.15 var(--disp); }

.plist { list-style: none; margin: 0; padding: 0; }
.person { display: grid; grid-template-columns: 64px minmax(200px, 300px) 1fr; gap: 8px 24px; padding: 22px 0; border-top: 1px solid var(--rule); scroll-margin-top: 16px; }
.person img { width: 64px; height: 64px; object-fit: cover; display: block; }
.pname { font: 600 1.24rem/1.2 var(--body); color: var(--ink); text-decoration: none; }
.pname:hover { color: var(--red); text-decoration: underline; }
.role { margin: 4px 0 0; font-size: 16px; line-height: 1.5; }
.words ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 22px; }
.words li { font-size: 16px; line-height: 1.5; }
.words li.hot { color: var(--red); }
.src { margin: 8px 0 0; font-size: 14px; line-height: 1.5; }

.contact-text { max-width: 65ch; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.card { border: 1px solid var(--rule); border-radius: 6px; padding: 24px; }
.card img { display: block; width: 120px; height: 120px; object-fit: cover; margin-bottom: 14px; }
.card h3 { margin: 0; font: 600 1.24rem/1.2 var(--body); }
.card p { margin: 4px 0 16px; }
.card .label { margin: 0 0 8px; font: 600 .72rem/1.4 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.card address { font-style: normal; }

.site-foot { border-top: 1px solid var(--rule); padding-block: 40px; }
.foot-row { display: flex; align-items: center; gap: 34px; flex-wrap: wrap; }
.foot-row img { height: 50px; width: auto; }
.foot-row p { margin: 0; font-size: 15px; line-height: 1.5; }
.motion-switch { margin-left: auto; min-height: 44px; padding: 0 16px; font: 600 15px/1 var(--body); color: var(--ink); background: var(--white); border: 1px solid var(--ink); border-radius: 3px; cursor: pointer; }

@media (max-width: 900px) {
  .offers, .cards { grid-template-columns: 1fr; }
  .ev-list li { grid-template-columns: 1fr; gap: 0; }
  .person { grid-template-columns: 64px 1fr; }
  .person .words { grid-column: 1 / -1; }
  .sec { padding-block: 56px; }
}

/* ---------- JavaScript on, plain layout: computed stills replace the white dots ---------- */
html.has-still .still-map { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
html.has-still .still-cloud { display: block; position: absolute; inset: -6% -4%; width: 108%; height: 112%; }
/* the computed still on the first screen carries its own one-line note (the full note sits under the map) */
html.has-still .hero-note { display: block; position: relative; max-width: 1180px; width: calc(100% - 2 * var(--gut));
  margin: calc(min(100vw - 2 * var(--gut), 1180px) * 0.025 + 10px) auto 0; font: 400 13px/1.45 var(--body); color: var(--rule); }
html.has-still .hero .copy { margin-top: 22px; }
@media (min-width: 1280px) {   /* wide windows: the note sits right of the headline, level with the button, so the first screen keeps the button */
  html.has-still .hero { position: relative; }
  html.has-still .hero-note { position: absolute; margin: 0; width: 340px; right: max(var(--gut), calc((100% - 1180px) / 2)); bottom: 60px; }
  html.has-still .hero .copy { margin-top: 32px; }
}
html.has-cap .cap { display: block; max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 10px auto 0; padding-inline: var(--gut);
  font: 400 16px/1.4 var(--body); color: var(--white); }   /* round-05: 16 px phrases (was 14) */
.cap p { margin: 0; }
.cap .cap-hint { font-size: 15px; color: var(--rule); }
.cap .c-nm { font: 600 16px/1.3 var(--body); color: var(--white); }
.cap .c-list { list-style: none; margin: 4px 0 0; padding: 0; }
.cap .c-list li { margin: 0 0 3px; padding-left: 12px; text-indent: -12px; }
.cap .c-list li::before { content: "\2022"; display: inline-block; width: 12px; text-indent: 0; color: var(--rule); }
.cap .c-src { margin-top: 5px; font-size: 13px; color: var(--rule); }
.cap .c-src a { color: var(--rule); }

/* ---------- html.pin: the pinned stage ---------- */
html.pin .scene { height: var(--scene-h, 300vh); }
html.pin .stage { position: sticky; top: 0; height: var(--stage-h, 100vh); overflow: hidden; }
html.pin .site-head { position: absolute; top: 0; left: 0; right: 0; z-index: 0; transform: translateY(var(--head-y, 0px)); }
html.pin .hero { position: absolute; inset: 0; padding: 0; z-index: 2; pointer-events: none; overflow: visible; }
html.pin .hero a, html.pin .hero button { pointer-events: auto; }
html.pin .plate { position: absolute; margin: 0; max-width: none; left: var(--px); top: var(--py); width: var(--pw); height: var(--ph); }
html.pin .photo { width: 100%; height: 100%; clip-path: inset(0 0 0 var(--wipe, 0%)); }
html.pin.scanning .scan { display: block; position: absolute; top: -10px; bottom: -10px; left: var(--wipe, 0%); width: 2px; margin-left: -1px; background: var(--white); }
html.pin .copy { position: absolute; margin: 0; padding: 0; left: var(--cx); top: var(--ct); width: var(--cw);
  transform: translateY(var(--copy-y, 0px)); clip-path: inset(0 0 var(--copy-clip, 0%) 0); }
html.pin .gl { display: block; position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
html.pin .mapsec { position: absolute; inset: 0; padding: 0; z-index: 3; pointer-events: none; }
html.pin .map { position: absolute; inset: 0; margin: 0; max-width: none; height: auto !important; }
html.pin .map-head { position: absolute; margin: 0; padding: 0; max-width: none; left: var(--hx); top: var(--hy); width: var(--hw);
  clip-path: inset(0 100% 0 0); transition: clip-path 700ms var(--ease); }
html.pin .map-head.on { clip-path: inset(-4px); }
html.pin .map-h { font-size: var(--hf); }
html.pin .method { position: absolute; z-index: 1; margin: 0; max-width: none; left: var(--nx); top: var(--ny); width: var(--nw); font-size: var(--nf, 13px);
  padding: var(--npt, 0px) var(--npr, 0px) var(--npb, 0px) var(--npl, 0px);
  background: var(--ink); }   /* stays put from the first frame to the last (bi.js placeNote) */
/* the first-screen note (one sentence) gives way to the full note as the heading wipes in (bi.js notePhase) */
@keyframes note-in { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0); } }
html.pin .method.swap { animation: note-in 500ms var(--ease) both; }
/* names wipe in as their constellation lands */
html.pin .cn-name { clip-path: inset(-4px 100% -4px -4px); transition: clip-path 560ms var(--ease), color 200ms, left 220ms var(--ease), top 220ms var(--ease); pointer-events: none; }
html.pin .cn.on .cn-name { clip-path: inset(-6px); }
html.pin .cn-hit { pointer-events: none; }
html.pin.settled .cn-name, html.pin.settled .cn-hit, html.pin.settled .cn-anchor { pointer-events: auto; }
html.pin.has-cap .cap { position: absolute; z-index: 4; margin: 0; padding: 4px var(--kpad, 24px) 0; max-width: none; left: var(--kx); top: var(--ky); width: var(--kw);
  background: var(--ink); clip-path: inset(0 0 100% 0); transition: clip-path 500ms var(--ease); }
html.pin.has-cap.settled .cap { clip-path: inset(-4px 0); pointer-events: auto; }
html.pin.has-cap .cap.open { padding-top: 10px; }
/* phones and tablets: the map glides up under the heading (on its own ground) to clear an open panel */
html.pin.has-cap .map { translate: 0 var(--shift, 0px); }
html.pin.has-cap .map-head { z-index: 7; padding: var(--hpt, 18px) var(--hpr, var(--hpad, 24px)) 6px var(--hpad, 24px); background: var(--ink); }
html.pin.compact.head-off .map-head.on { clip-path: inset(0 0 100% 0); }
/* tablets: the hint stays in the heading, so the panel only shows while a person is open; 16 px phrases */
html.pin.lay-s .cap:not(.open) { visibility: hidden; }
html.lay-s:not(.pin) .cap:not(.open) { display: none; }
html.lay-s .cap { font-size: 16px; line-height: 1.45; }
html.lay-s .cap > * { max-width: 760px; }
html.lay-s .cap .c-nm { font-size: 18px; }
html.lay-s .cap .c-src { font-size: 14px; }
html.pin.short .cap:not(.open) { visibility: hidden; }
html.pin.short .cap { font-size: 13px; line-height: 1.35; }   /* 320 x 568: 14 px and up hide the person under the panel */
html.pin.short .cap .c-nm { font-size: 15px; }

/* motion off or reduced: nothing animates (the pinned layout is never used then; this is the backstop) */
@media (prefers-reduced-motion: reduce) {
  html:not(.force-motion) *, html:not(.force-motion) *::before, html:not(.force-motion) *::after {
    transition: none !important; animation: none !important; scroll-behavior: auto !important;
  }
}
html[data-motion="still"] * { transition: none !important; }
