/* Where People Go — calm near-black, editorial serif + Inter, two soft data colours. */
:root {
  --bg: #050506; --bg-2: #0b0b0d; --card: #111113; --line: rgba(255,255,255,.08); --line-2: rgba(255,255,255,.14);
  --ink: #f5f5f7; --ink-2: #c7c7cc; --muted: #8e8e93; --faint: #5a5a60;
  --real: #f2c27b; --sim: #8ab4ff;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --content: 1120px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; font-feature-settings: "cv11", "ss01"; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: #ffffff2e; }
em { font-style: normal; }

/* nav */
.nav { position: fixed; z-index: 50; inset: 0 0 auto; transition: background .4s, border-color .4s, backdrop-filter .4s; border-bottom: 1px solid transparent; }
.nav.solid { background: rgba(5,5,6,.72); backdrop-filter: saturate(160%) blur(18px); border-color: var(--line); }
.nav-inner { width: min(calc(100% - 40px), var(--content)); height: 56px; margin: auto; display: flex; align-items: center; justify-content: space-between; }
.brand { font-family: var(--serif); font-size: 1.35rem; letter-spacing: -.01em; text-decoration: none; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { color: var(--muted); font-size: .8rem; text-decoration: none; transition: color .2s; }
.nav-links a:hover { color: var(--ink); }

/* ---------------- scroll story ---------------- */
.story { position: relative; height: 1650vh; }             /* 1150vh story + 500vh held-out finale */
.stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
#scene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.stage::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 80% at 50% 50%, transparent 55%, rgba(5,5,6,.75) 100%),
              linear-gradient(90deg, rgba(5,5,6,.82) 0%, rgba(5,5,6,.35) 34%, transparent 55%); }
.story-loading { position: absolute; z-index: 3; left: 50%; bottom: 40px; transform: translateX(-50%); color: var(--faint); font-size: .78rem; letter-spacing: .02em; transition: opacity .6s; }
.story-loading.done { opacity: 0; }
.beat { position: absolute; z-index: 2; left: max(28px, calc((100vw - var(--content)) / 2)); top: 50%; width: min(470px, calc(100% - 56px)); margin-top: -90px; opacity: 0; visibility: hidden; will-change: opacity, transform; --ty: 18px; transform: translateY(var(--ty)); }
.beat .kicker { margin: 0 0 14px; color: var(--muted); font-size: .82rem; letter-spacing: .01em; }
.beat .kicker b { font-weight: 500; color: var(--ink-2); }
.beat h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(2.3rem, 4.4vw, 3.6rem); line-height: 1.04; letter-spacing: -.012em; text-wrap: balance; }
.beat h2 em { color: var(--muted); }
.beat p { margin: 18px 0 0; color: var(--ink-2); font-size: 1.02rem; line-height: 1.6; max-width: 420px; text-wrap: pretty; }
.beat .big { display: block; margin-top: 14px; font-family: var(--serif); font-size: clamp(3.4rem, 7vw, 5.6rem); line-height: 1; letter-spacing: -.02em; color: var(--ink); }
.beat .big small { font-size: .38em; color: var(--muted); margin-left: .25em; letter-spacing: 0; }
.real-c { color: var(--real); } .sim-c { color: var(--sim); }
/* hero beat */
.beat.hero { left: 50%; width: min(900px, calc(100% - 40px)); margin: 0; transform: translate(-50%, calc(-50% + var(--ty))); text-align: center; }
.beat.hero h1 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(4.2rem, 11vw, 9.5rem); line-height: .92; letter-spacing: -.025em; }
.beat.hero h1 em { color: var(--ink-2); }
.beat.hero .lede { margin: 26px auto 0; max-width: 600px; color: var(--ink-2); font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.5; }
.beat.hero .byline { margin: 26px auto 0; max-width: none; color: var(--muted); font-size: .82rem; }
.scroll-hint { display: inline-flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 54px; color: var(--faint); font-size: .74rem; letter-spacing: .04em; }
.scroll-hint i { width: 1px; height: 38px; background: linear-gradient(var(--muted), transparent); animation: drip 2.2s ease-in-out infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); opacity: 1; } 70% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
/* hud */
.hud { position: absolute; z-index: 3; left: max(28px, calc((100vw - var(--content)) / 2)); right: max(28px, calc((100vw - var(--content)) / 2)); bottom: 28px; display: flex; justify-content: space-between; align-items: center; pointer-events: none; font-size: .78rem; color: var(--muted); }
.hud .keys { display: flex; gap: 18px; }
.hud .keys span { display: flex; align-items: center; gap: 8px; opacity: 0; transition: opacity .5s; }
.hud .keys span.on { opacity: 1; }
.hud .keys i { width: 7px; height: 7px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); }
.hud [data-hud="time"] { font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.rail { position: absolute; z-index: 3; right: 22px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 10px; }
.rail i { width: 4px; height: 4px; border-radius: 50%; background: #ffffff30; transition: background .4s, transform .4s; }
.rail i.on { background: var(--ink); transform: scale(1.25); }

/* ---------------- sections ---------------- */
.section { padding: 150px 24px; }
.section + .section { padding-top: 40px; }
.wrap { width: min(100%, var(--content)); margin: auto; }
.head { max-width: 760px; margin: 0 0 56px; }
.eyebrow { margin: 0 0 14px; color: var(--muted); font-size: .85rem; }
.head h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(2.6rem, 5vw, 4.2rem); line-height: 1.02; letter-spacing: -.015em; text-wrap: balance; }
.head h2 em { color: var(--muted); }
.head p { margin: 20px 0 0; max-width: 600px; color: var(--ink-2); font-size: 1.08rem; line-height: 1.6; }
.rule { height: 1px; margin: 0 auto; width: min(calc(100% - 48px), var(--content)); background: linear-gradient(90deg, transparent, var(--line-2), transparent); }

/* gallery */
.video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 28px; }
.media-card { margin: 0; cursor: pointer; }
.media-card .v { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border-radius: 20px; background: #000; box-shadow: 0 0 0 1px var(--line); transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s; }
.media-card:hover .v { transform: scale(1.012); box-shadow: 0 0 0 1px var(--line-2), 0 30px 60px -30px #000; }
.media-card video { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.media-card figcaption { margin-top: 16px; }
.media-card h3 { margin: 0; font-size: 1.02rem; font-weight: 500; }
.media-card p { margin: 4px 0 0; color: var(--muted); font-size: .9rem; }
.media-card:focus-visible { outline: none; }
.media-card:focus-visible .v { box-shadow: 0 0 0 2px var(--ink); }

/* launch card for the 3D replay */
.launch { position: relative; overflow: hidden; aspect-ratio: 21 / 9; border-radius: 24px; background: #000; box-shadow: 0 0 0 1px var(--line); }
.launch img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; transform: scale(1.04); transition: opacity .6s, transform 1.2s cubic-bezier(.2,.7,.2,1); }
.launch:hover img { opacity: .7; transform: scale(1.0); }
.launch .over { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(24px, 4vw, 48px); background: linear-gradient(0deg, rgba(5,5,6,.85), transparent 60%); }
.launch .over h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 3.4vw, 2.8rem); line-height: 1.05; }
.launch .over p { margin: 10px 0 22px; color: var(--ink-2); max-width: 520px; }
.launch iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.launch.live { aspect-ratio: 16 / 9; }
.launch.live .over, .launch.live img { display: none; }

/* buttons + segmented */
.btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 22px; border-radius: 999px; border: 0; background: var(--ink); color: #050506; font-size: .92rem; font-weight: 500; text-decoration: none; cursor: pointer; transition: transform .2s, background .2s; width: fit-content; }
.btn:hover { background: #fff; transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn.ghost:hover { background: #ffffff0d; }
.link { color: var(--sim); text-decoration: none; font-size: .95rem; }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }
.seg { display: inline-flex; gap: 2px; padding: 3px; margin: 0 0 22px; border-radius: 999px; background: #ffffff0f; }
.seg button { padding: 8px 18px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-size: .85rem; cursor: pointer; transition: background .25s, color .25s; }
.seg button:hover { color: var(--ink); }
.seg button.active { background: #ffffff1f; color: var(--ink); }
.seg button i { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--c); vertical-align: 1px; }

/* zero-shot viewer */
.viewer { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border-radius: 24px; background: #050506; box-shadow: 0 0 0 1px var(--line); }
.stack video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s; }
.stack video:not(.on) { opacity: 0; }
.note { margin: 18px 0 0; color: var(--muted); font-size: .9rem; max-width: 720px; }

/* model diagram (HTML, reflows vertically on phones) */
.flow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; position: relative; }
.flow .node { position: relative; padding: 24px 22px 26px; border-top: 1px solid var(--line-2); }
.flow .node + .node { border-left: 1px solid var(--line); }
.flow .n { font-size: .78rem; color: var(--faint); font-variant-numeric: tabular-nums; }
.flow h3 { margin: 18px 0 8px; font-family: var(--serif); font-weight: 400; font-size: 1.7rem; line-height: 1.05; }
.flow p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.5; }
.flow .kind { display: inline-block; margin-top: 16px; padding: 3px 10px; border-radius: 999px; font-size: .72rem; color: var(--ink-2); background: #ffffff0d; }
.flow .kind.learned { color: var(--sim); background: rgba(138,180,255,.1); }
.flow .kind.real { color: var(--real); background: rgba(242,194,123,.1); }
.loopback { display: flex; align-items: center; gap: 14px; margin-top: 18px; color: var(--muted); font-size: .85rem; }
.loopback i { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--line-2) 20%, var(--line-2) 80%, transparent); }

/* results */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0 0 80px; border-top: 1px solid var(--line-2); }
.stats > div { padding: 26px 22px 0 0; }
.stats strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(2.6rem, 5vw, 4.2rem); line-height: 1; letter-spacing: -.02em; }
.stats span { display: block; margin-top: 12px; color: var(--muted); font-size: .88rem; line-height: 1.45; max-width: 220px; }
.plots { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.plot { margin: 0; padding: 28px 28px 24px; border-radius: 24px; background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.plot.wide { grid-column: 1 / -1; }
.plot h3 { margin: 0 0 6px; font-size: 1.02rem; font-weight: 500; }
.plot p { margin: 0 0 20px; color: var(--muted); font-size: .9rem; }
.plot img { width: 100%; cursor: zoom-in; }

/* closing + footer */
.closing { text-align: center; }
.closing h2 { margin: 0 auto; max-width: 840px; font-family: var(--serif); font-weight: 400; font-size: clamp(2.8rem, 6vw, 5rem); line-height: 1.02; letter-spacing: -.015em; }
.closing h2 em { color: var(--muted); }
.closing .actions { display: flex; justify-content: center; gap: 12px; margin-top: 40px; flex-wrap: wrap; }
.citation { max-width: 640px; margin: 32px auto 0; padding: 20px 22px; border-radius: 16px; background: var(--card); box-shadow: 0 0 0 1px var(--line); color: var(--ink-2); font: .78rem/1.6 ui-monospace, "SF Mono", Consolas, monospace; text-align: left; overflow-x: auto; }
footer { padding: 40px 24px 56px; }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--faint); font-size: .8rem; }

/* lightbox */
.lightbox { position: fixed; inset: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 24px; border: 0; background: transparent; }
.lightbox[open] { display: flex; align-items: center; justify-content: center; animation: lb .25s ease-out; }
.lightbox::backdrop { background: rgba(0,0,0,.88); backdrop-filter: blur(6px); }
.lightbox .sheet { width: min(1400px, 100%); max-height: calc(100dvh - 48px); overflow: auto; border-radius: 20px; background: #0b0b0d; }
.lightbox .sheet > * { display: block; width: 100%; }
body.lb-open { overflow: hidden; }
@keyframes lb { from { opacity: 0; transform: scale(.985); } to { opacity: 1; transform: none; } }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .flow { grid-template-columns: 1fr; }
  .flow .node, .flow .node + .node { padding: 22px 0 24px 34px; border-top: 0; border-left: 1px solid var(--line-2); }
  .flow .node::before { content: ""; position: absolute; left: -4px; top: 30px; width: 7px; height: 7px; border-radius: 50%; background: var(--ink-2); }
  .flow h3 { margin-top: 6px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 0 20px; }
  .stats > div { padding-bottom: 26px; }
  .plots { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-links a:not(.keep) { display: none; }
  .stage::after { background: radial-gradient(120% 80% at 50% 40%, transparent 50%, rgba(5,5,6,.7) 100%), linear-gradient(0deg, rgba(5,5,6,.92) 0%, rgba(5,5,6,.5) 38%, transparent 62%); }
  .beat { left: 22px; right: 22px; width: auto; top: auto; bottom: 86px; margin: 0; }
  .beat.hero { top: 46%; bottom: auto; left: 50%; right: auto; width: calc(100% - 36px); }
  .beat h2 { font-size: 2.2rem; }
  .beat p { font-size: .95rem; }
  .hud { left: 22px; right: 22px; bottom: 24px; font-size: .72rem; }
  .rail { right: 10px; }
  .section { padding: 96px 18px; }
  .video-grid { grid-template-columns: 1fr; }
  .launch { aspect-ratio: 4 / 5; }
  .launch.live { aspect-ratio: 3 / 4; }
  .viewer { border-radius: 16px; }
  .plot { padding: 20px 16px; border-radius: 18px; }
  footer .wrap { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .scroll-hint i { animation: none; } }

/* hero title arrives after the building assembles */
.beat.hero > * { animation: rise 1.4s cubic-bezier(.2,.7,.2,1) both; }
.beat.hero h1 { animation-delay: .9s; }
.beat.hero .lede { animation-delay: 1.3s; }
.beat.hero .byline { animation-delay: 1.55s; }
.beat.hero .scroll-hint { animation-delay: 2.2s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@media (prefers-reduced-motion: reduce) { .beat.hero > * { animation: none; } }

/* native charts */
.chart { position: relative; }
.chart.two-up { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.chart-svg { display: block; width: 100%; height: auto; overflow: visible; font-family: var(--sans); touch-action: pan-y; }
.c-grid { stroke: rgba(255,255,255,.06); stroke-width: 1; }
.c-tick { fill: var(--faint); font-size: 11.5px; font-variant-numeric: tabular-nums; }
.c-axis { fill: var(--muted); font-size: 12px; }
.c-title { fill: var(--ink-2); font-size: 13px; font-weight: 500; }
.c-group { fill: var(--ink-2); font-size: 13px; font-weight: 500; }
.c-val { fill: var(--ink-2); font-size: 12px; font-variant-numeric: tabular-nums; opacity: 0; transition: opacity .6s .9s; }
.c-band { opacity: 0; transition: opacity 1s .8s; }
.c-line { fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: stroke-dashoffset 1.6s cubic-bezier(.3,.6,.2,1); }
.c-line.faint { stroke-width: 1.6; }
.c-dot { opacity: 0; transition: opacity .5s 1.2s; }
.c-end { font-size: 12px; font-weight: 500; font-variant-numeric: tabular-nums; opacity: 0; transition: opacity .6s 1.4s; }
.c-bar { transform-box: fill-box; transform-origin: bottom; transform: scaleY(0); transition: transform 1.1s cubic-bezier(.2,.7,.2,1); }
.drawn .c-line { stroke-dashoffset: 0 !important; }
.drawn .c-band { opacity: .13; }
.drawn .c-dot, .drawn .c-end, .drawn .c-val { opacity: 1; }
.drawn .c-bar { transform: scaleY(1); }
.c-hair { opacity: 0; transition: opacity .15s; pointer-events: none; }
.c-hair.on { opacity: 1; }
.c-vline { stroke: rgba(255,255,255,.22); stroke-dasharray: 3 3; }
.c-tipbox { fill: rgba(20,20,22,.94); stroke: var(--line-2); }
.c-tip { font-size: 12px; fill: var(--ink-2); font-variant-numeric: tabular-nums; }
.c-tip-h { fill: var(--muted); }
.chart-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; color: var(--muted); font-size: .84rem; }
.chart-legend span { display: flex; align-items: center; gap: 8px; }
.chart-legend i { width: 14px; height: 3px; border-radius: 2px; background: var(--c); }
@media (max-width: 760px) { .chart.two-up { grid-template-columns: 1fr; gap: 18px; } }
@media (prefers-reduced-motion: reduce) { .c-line, .c-bar, .c-band, .c-dot, .c-end, .c-val { transition: none; } }

/* teaser capture mode (story.html?capture) */
html.capture .nav, html.capture .rail, html.capture .story-loading, html.capture .scroll-hint { display: none !important; }
html.capture .beat.hero > * { animation: none !important; }
html.capture.notext .beat, html.capture.notext .hud { display: none !important; }
html.capture.notext .stage::after { background: radial-gradient(120% 80% at 50% 50%, transparent 60%, rgba(5,5,6,.6) 100%); }

/* opt-in light render mode (story.html?light), used for the academic figures */
html.light, html.light body { --bg: #ffffff; --ink: #1d1d1f; --ink-2: #3a3a3c; --muted: #6e6e73; --faint: #a1a1a6; --real: #c27a12; --sim: #2c64cf; background: #fff; color: var(--ink); }
html.light .stage::after { background: radial-gradient(120% 80% at 50% 50%, transparent 58%, rgba(255,255,255,.8) 100%),
                                       linear-gradient(90deg, rgba(255,255,255,.9) 0%, rgba(255,255,255,.45) 34%, transparent 55%); }
html.light.notext .stage::after { background: radial-gradient(120% 80% at 50% 50%, transparent 62%, rgba(255,255,255,.7) 100%); }
html.light .beat h2 em, html.light .beat.hero h1 em { color: #8e8e93; }
html.light .hud .keys i { box-shadow: none; }

/* teaser-video text style (story.html?teaser): top-left, bold sans, large and legible, like robotics demo videos */
html.teaser .beat, html.teaser .beat.hero { left: 76px; top: 68px; right: auto; bottom: auto; width: 820px; margin: 0; text-align: left; transform: none; }
html.teaser .beat h2, html.teaser .beat.hero h1 { font-family: var(--sans); font-weight: 600; letter-spacing: -.022em; line-height: 1.08; text-wrap: balance; }
html.teaser .beat h2 { font-size: 62px; }
html.teaser .beat.hero h1 { font-size: 88px; line-height: 1.02; }
html.teaser .beat h2 em, html.teaser .beat.hero h1 em { font-weight: 600; }
html.teaser .beat p { max-width: 760px; margin-top: 20px; font-size: 31px; line-height: 1.38; font-weight: 400; color: var(--ink-2); }
html.teaser .beat .big { margin-top: 20px; font-family: var(--sans); font-weight: 600; font-size: 96px; letter-spacing: -.035em; }
html.teaser .beat .big small { font-size: 31px; font-weight: 500; letter-spacing: 0; }
html.teaser .beat.hero .lede { margin: 24px 0 0; max-width: 820px; font-size: 33px; }
html.teaser .beat.hero .byline { margin: 24px 0 0; font-size: 25px; color: var(--muted); }
html.teaser .scroll-hint { display: none; }
html.teaser .hud { font-size: 22px; bottom: 44px; left: 76px; right: 76px; color: var(--ink-2); }
html.teaser .hud .keys i { width: 13px; height: 13px; }
html.teaser .beat, html.teaser .beat.hero { width: 900px; }
html.teaser.light .stage::after { background: radial-gradient(75% 70% at 0% 0%, rgba(255,255,255,.94) 0%, rgba(255,255,255,.72) 42%, transparent 72%),
                                              radial-gradient(120% 80% at 50% 50%, transparent 60%, rgba(255,255,255,.75) 100%); }
html.teaser:not(.light) .stage::after { background: radial-gradient(75% 70% at 0% 0%, rgba(5,5,6,.92) 0%, rgba(5,5,6,.6) 42%, transparent 72%),
                                                    radial-gradient(120% 80% at 50% 50%, transparent 60%, rgba(5,5,6,.7) 100%); }

/* teaser v0.4: headlines only (no subtitles), semantic place labels, held-out world tiles */
html.teaser .beat p:not(.byline) { display: none; }
.place-labels { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.place { position: absolute; display: flex; flex-direction: column; align-items: center; transform: translate(-50%, -100%); white-space: nowrap; }
.place span { padding: 6px 13px; border-radius: 8px; background: rgba(255,255,255,.92); color: #1d1d1f; font: 600 22px/1.15 var(--sans); letter-spacing: -.01em;
  box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 0 0 1px rgba(0,0,0,.06); }
.place span b { font-weight: 700; }
.place i { position: relative; width: 1.5px; height: 30px; background: rgba(29,29,31,.55); }
.place i::after { content: ""; position: absolute; bottom: -5px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: #1d1d1f; box-shadow: 0 0 0 3px #fff; }
.place.world span { font-size: 24px; font-weight: 500; }
.place.world { transform: translate(-50%, 0); flex-direction: column-reverse; }
.place.world i { height: 14px; } .place.world i::after { display: none; }
.place.world span { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 22px; }
.place.world small { font-size: 17px; font-weight: 500; color: #6e6e73; }
html:not(.light) .place span { background: rgba(20,20,22,.85); color: #f5f5f7; box-shadow: 0 0 0 1px rgba(255,255,255,.12); }
html:not(.light) .place i { background: rgba(245,245,247,.55); }
html:not(.light) .place i::after { background: #f5f5f7; box-shadow: 0 0 0 3px #050506; }
html:not(.light) .place.world small { color: #a1a1a6; }
html.teaser .beat .big small { display: block; margin: 10px 0 0; max-width: 760px; font-size: 30px; line-height: 1.3; }
html.teaser .beat .big { white-space: nowrap; }
html.teaser .beat:not(.hero) { width: auto; max-width: 1100px; }
html.teaser .beat .big { font-size: 80px; }

/* teaser title: the paper title on two lines, as on the academic page */
html.teaser .beat.hero { width: auto; max-width: 1400px; }
html.teaser .beat.hero h1 { white-space: nowrap; font-size: 76px; }

/* v0.9.8: the story opens with the paper title on two lines */
html:not(.teaser) .beat.hero { width: min(1240px, calc(100% - 40px)); }
html:not(.teaser) .beat.hero h1 { font-size: clamp(2.6rem, 6.2vw, 6rem); line-height: 1.02; }
@media (min-width: 900px) { html:not(.teaser) .beat.hero h1 { white-space: nowrap; } }

/* v0.9.8: story finale headline sits above the three worlds */
html:not(.teaser) .beat.finale { top: calc(14vh + 90px); bottom: auto; transform: none; width: min(900px, calc(100% - 56px)); }
