/* home-glass.css: the home page. Layout from design option 04 (liquid glass), poster headlines from
 * option 03, and the scroll-driven Atlantic chart from option 02. Tokens and the glass sheet are in glass.css. */

/* --side: the side margin of the page's 1280px column. It is the gutter on ordinary screens and grows on wide
   ones, so the hero, the tour cards and the footer line up with the sections instead of spreading edge to edge. */
:root { color-scheme: light; --side: max(var(--gut), calc(50% - 640px)); }
html.noir { color-scheme: dark; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--ground); -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
html:not(.still) { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); font: 400 17px/1.55 var(--font-s); -webkit-font-smoothing: antialiased; }
main { position: relative; overflow-x: hidden; overflow-x: clip; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
p { color: var(--dim); max-width: 62ch; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 99; padding: 12px 16px; border-radius: 12px; background: var(--ink); color: var(--ground); }
.skip:focus { top: 12px; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.nowrap { white-space: nowrap; }

/* Depth. --px and --py follow the pointer (-1 to 1); --sy follows the scroll; --d is the depth in pixels. */
.par { transform: translate3d(calc(var(--px, 0) * var(--d, 0) * 1px), calc(var(--py, 0) * var(--d, 0) * 1px + var(--sy, 0px)), 0) rotate(var(--rot, 0deg)); }

/* ---------- Type ---------- */
.kick { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; font: 400 .74rem/1.4 var(--font-m); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.kick::before { content: ""; width: 28px; height: 1px; background: currentColor; flex: none; }
.kick.live::before { width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.kick .nb { white-space: nowrap; }   /* a title never breaks in the middle */
h1, h2 { font-size: inherit; font-weight: inherit; }
h3 { font: 500 clamp(1.5rem, 2.2vw, 1.95rem)/1.12 var(--font-d); letter-spacing: -.01em; }
.lede { margin-top: 22px; font-size: 1.12rem; max-width: 46ch; }
.mono { font: 400 .74rem/1.5 var(--font-m); letter-spacing: .02em; color: var(--dim); }
.poster.hero-p { font-size: min(calc((100vw - 2 * var(--gut)) / 5.4), 12.5vh); font-size: min(calc(100cqw / 5.2), 12.5svh); }
.poster.t3 { font-size: calc((100vw - 2 * var(--gut)) / 17.5); font-size: calc(100cqw / 17); line-height: .9; }
@media (max-width: 759px) {
  .poster.hero-p { font-size: calc((100vw - 2 * var(--gut)) / 5.35); font-size: calc(100cqw / 5.2); }
  .poster.t3 { font-size: calc((100vw - 2 * var(--gut)) / 11.9); font-size: calc(100cqw / 11.5); }
  .ticks span:nth-child(6) { display: none; }
}
.btn { min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--ink); background: none; color: var(--ink); font: 500 .92rem var(--font-s); display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.btn::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); flex: none; }
.btn:hover { background: var(--ink); color: var(--ground); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 104px var(--side) 30px; }
.copy, .more { position: relative; z-index: 3; }
.more { margin-top: 18px; }
.more .lead { font: 400 clamp(1.25rem, 1.9vw, 1.6rem)/1.3 var(--font-d); max-width: 34ch; color: var(--ink); letter-spacing: -.005em; }
.sub { margin-top: 14px; font-size: 1rem; max-width: 46ch; color: var(--dim); }
.ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 22px; }
.rigcap { margin-top: 12px; }

/* The rig: an isometric stack drawn with plain boxes. Local x runs up and to the right, local y down and
   to the right, and the screen's vertical is the height above the sample. */
.rig { --S: clamp(170px, 50vw, 300px); --G: calc(var(--S) * .34); --P: calc(var(--S) * .86); --H: calc(var(--S) * 1.62);
  --x0: calc(var(--S) * .87); --cy: calc(var(--H) - var(--S) * .5 - 16px); --bx: calc(var(--P) * .865); --by: 0px;
  position: relative; z-index: 2; margin-top: 6px; }
.draw { position: relative; width: calc(var(--S) * 1.74); height: var(--H); margin: 0 auto; }
.iso { position: absolute; left: calc(var(--x0) + var(--ox, 0px)); top: calc(var(--cy) + var(--oy, 0px)); width: var(--w); height: var(--w);
  margin: calc(var(--w) * -.5) 0 0 calc(var(--w) * -.5); border-radius: calc(var(--w) * .05);
  transform: translate3d(calc(var(--px, 0) * var(--d, 0) * 1px), calc(var(--py, 0) * var(--d, 0) * 1px), 0) rotate(-30deg) skewX(30deg) scaleY(.864);
  transition: left .8s cubic-bezier(.2, .7, .2, 1), top .8s cubic-bezier(.2, .7, .2, 1), width .8s cubic-bezier(.2, .7, .2, 1), height .8s cubic-bezier(.2, .7, .2, 1), margin .8s cubic-bezier(.2, .7, .2, 1); }
html.still :is(.iso, .shade, .tag, .dim) { transition: none !important; }
/* The sample: a dark solar cell with silver fingers and two busbars. The stepped shadows give it thickness. */
.slab { --w: var(--S); z-index: 1; border: 1px solid rgba(255, 255, 255, .24);
  background:
    linear-gradient(0deg, transparent 29%, rgba(232, 236, 240, .78) 29% 30.4%, transparent 30.4% 69.6%, rgba(232, 236, 240, .78) 69.6% 71%, transparent 71%),
    repeating-linear-gradient(90deg, rgba(232, 236, 240, .42) 0 1px, transparent 1px 11px),
    linear-gradient(135deg, #2d3138, #0d0e11);
  box-shadow: -3px 3px 0 #1d1f24, -6px 6px 0 #18191d, -9px 9px 0 #131417, -12px 12px 0 #0c0d0f, -46px 46px 50px -8px rgba(var(--drop), .42); }
html.noir .slab { border-color: rgba(255, 255, 255, .42); box-shadow: -3px 3px 0 #2a2d33, -6px 6px 0 #23262b, -9px 9px 0 #1c1e23, -12px 12px 0 #15171a, -46px 46px 50px -8px #000; }
.shade { position: absolute; left: 50%; top: 50%; width: 86%; height: 86%; margin: -43% 0 0 -43%; border-radius: 8%; background: rgba(0, 0, 0, .3); box-shadow: 0 0 26px 10px rgba(0, 0, 0, .3); transition: all .8s cubic-bezier(.2, .7, .2, 1); }
.ring { position: absolute; left: 50%; top: 50%; width: 92%; height: 92%; margin: -46% 0 0 -46%; border-radius: 50%; border: 2px solid #ff5a44; }
.r0 { transform: scale(.46); opacity: .2; } .r1 { transform: scale(.94); opacity: .24; } .r2 { transform: scale(.62); opacity: .46; } .r3 { transform: scale(.3); opacity: .75; }
.hit { position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; margin: -8px; border-radius: 50%; background: #ff7a66; box-shadow: 0 0 0 3px rgba(224, 56, 42, .4), 0 0 30px 12px rgba(224, 56, 42, .6); }
.beam { position: absolute; width: 2px; margin-left: -1px; background: var(--hot); box-shadow: 0 0 12px 2px rgba(224, 56, 42, .5); opacity: .92; }
.beam.upper { left: var(--x0); top: 0; height: calc(var(--cy) - var(--G)); z-index: 5; background: linear-gradient(transparent, var(--hot) 38%); }
.beam.lower { left: calc(var(--x0) + 3px); top: calc(var(--cy) - var(--G)); height: var(--G); z-index: 2; }
.glint { position: absolute; left: var(--x0); top: calc(var(--cy) - var(--G)); width: 28px; height: 16px; margin: -8px 0 0 -14px; border-radius: 50%; z-index: 5; background: radial-gradient(closest-side, #fff, rgba(224, 56, 42, .85) 45%, transparent); }
/* The transparent electrode: clear glass. Slight blur everywhere, a liquid warp where the browser can do it. */
.plate { --w: var(--P); --oy: calc(var(--G) * -1); --d: 8; z-index: 4; border: 1.5px solid rgba(255, 255, 255, .86);
  background: linear-gradient(120deg, rgba(255, 255, 255, .38), rgba(255, 255, 255, .07) 36%, rgba(255, 255, 255, .06) 64%, rgba(255, 255, 255, .26));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18), inset 18px 18px 30px -22px rgba(255, 255, 255, .9),
    -2px 2px 0 rgba(255, 255, 255, .72), -4px 4px 0 rgba(196, 204, 214, .62), -6px 6px 0 rgba(150, 160, 172, .56), -6px 6px 0 1px rgba(16, 18, 21, .16), 0 0 0 1px rgba(16, 18, 21, .14);
  -webkit-backdrop-filter: blur(2.5px) brightness(1.1); backdrop-filter: blur(2.5px) brightness(1.1); }
html.noir .plate { border-color: rgba(255, 255, 255, .6); background: linear-gradient(120deg, rgba(255, 255, 255, .24), rgba(255, 255, 255, .04) 36%, rgba(255, 255, 255, .03) 64%, rgba(255, 255, 255, .15)); }
/* One pulse. The resting state above is the still picture; these run only after a pulse is fired. */
@keyframes ring { 0% { transform: scale(.04); opacity: 0; } 8% { opacity: .95; } 100% { transform: scale(1); opacity: 0; } }
@keyframes beam { 0% { opacity: .2; } 4%, 28% { opacity: 1; } 100% { opacity: .5; } }
@keyframes hit { 0% { transform: scale(.2); } 10% { transform: scale(1.7); } 100% { transform: scale(.7); } }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.rig.fire .ring:not(.r0) { animation: ring 2.3s cubic-bezier(.2, .6, .3, 1) both; }
.rig.fire .r2 { animation-delay: .24s; } .rig.fire .r3 { animation-delay: .48s; }
.rig.fire :is(.beam, .glint) { animation: beam 2.3s ease-out both; }
.rig.fire .hit { animation: hit 2.3s ease-out both; }
/* Labels on the drawing (wide screens only; phones get a caption instead). */
.tag, .dim { display: none; }
.tag { position: absolute; z-index: 6; padding: 6px 10px; border-radius: 9px; background: rgba(var(--g), .88); color: var(--ink); font: 400 .69rem/1.35 var(--font-m); letter-spacing: .02em; max-width: 190px; transform: translateY(-100%); }
.tag::after { content: ""; position: absolute; left: 14px; top: 100%; width: 1px; height: 30px; background: var(--ink); opacity: .55; }
.t-laser { left: auto; right: calc(100% - var(--x0) + 14px); top: 16%; }
.t-laser::after { display: none; }
.t-plate { left: calc(var(--x0) + var(--P) * .45 - 14px); top: calc(var(--cy) - var(--G) - var(--P) * .24 - 32px); }
.t-sample { left: calc(var(--x0) + var(--S) * .5 - 14px); top: calc(var(--cy) + var(--S) * .211 + 44px); transform: none; }
.t-sample::after { top: auto; bottom: 100%; }
.t-gap { left: calc(var(--x0) + var(--bx) + 26px); top: calc(var(--cy) + var(--by) - var(--G) * .5); transform: translateY(-50%); transition: left .8s, top .8s; }
.t-gap::after { display: none; }
/* ---- The specimen under the plate changes with the dial: cells, a solar cell, a mixed-conductor film, skin ---- */
.slab, .plate, .beam, .glint, .shade { transition: opacity .45s ease; }
.bead, .ion, .el { position: absolute; opacity: 0; transition: opacity .45s ease; }
.bead { width: 12%; height: 12%; border-radius: 50%; background: radial-gradient(circle at 34% 28%, #fff, #a9b1ba 42%, #3d4249 92%); box-shadow: 0 0 0 1px rgba(16, 18, 21, .35), -5px 5px 8px -2px rgba(0, 0, 0, .35); }
.b1 { left: 44%; top: 44%; } .b2 { left: 16%; top: 22%; width: 10%; height: 10%; } .b3 { left: 68%; top: 18%; } .b4 { left: 22%; top: 66%; width: 9%; height: 9%; } .b5 { left: 72%; top: 62%; width: 10%; height: 10%; } .b6 { left: 46%; top: 12%; width: 8%; height: 8%; }
.ion { width: 5.5%; height: 5.5%; background: #e8ecf0; box-shadow: 0 0 0 1px rgba(0, 0, 0, .3); }
.i1 { left: 18%; top: 24%; } .i2 { left: 62%; top: 20%; } .i3 { left: 38%; top: 52%; } .i4 { left: 74%; top: 58%; } .i5 { left: 24%; top: 74%; }
.el { width: 4%; height: 4%; border-radius: 50%; background: #ff6a55; box-shadow: 0 0 8px 2px rgba(224, 56, 42, .6); }
.e1 { left: 50%; top: 38%; } .e2 { left: 58%; top: 48%; } .e3 { left: 40%; top: 46%; } .e4 { left: 52%; top: 58%; }
@keyframes swap { 0% { opacity: .15; } 100% { opacity: 1; } }
.rig.swap .slab { animation: swap .5s ease both; }
/* Picoseconds: living cells on a glass slide, a light pulse, no plate. The reading there is optical. */
.rig[data-spec="cells"] .slab { border-color: rgba(255, 255, 255, .9); background: linear-gradient(135deg, rgba(255, 255, 255, .62), rgba(205, 214, 224, .34));
  box-shadow: -2px 2px 0 rgba(255, 255, 255, .8), -4px 4px 0 rgba(190, 200, 212, .7), -4px 4px 0 1px rgba(16, 18, 21, .16), -40px 40px 46px -10px rgba(var(--drop), .34); }
html.noir .rig[data-spec="cells"] .slab { border-color: rgba(255, 255, 255, .55); background: linear-gradient(135deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .05)); box-shadow: -2px 2px 0 rgba(255, 255, 255, .3), -4px 4px 0 rgba(255, 255, 255, .14), -40px 40px 46px -10px #000; }
.rig[data-spec="cells"] :is(.plate, .shade, .ring) { opacity: 0; }
.rig[data-spec="cells"] .bead { opacity: 1; }
.rig[data-spec="cells"] .beam.upper { height: var(--cy); }
.rig[data-spec="cells"] :is(.beam.lower, .glint) { opacity: 0; }
@keyframes leave { 0% { opacity: 0; transform: translate(0, 0) scale(.6); } 15% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(1); } }
.e1 { --dx: 120%; --dy: -260%; } .e2 { --dx: 300%; --dy: -40%; } .e3 { --dx: -280%; --dy: -120%; } .e4 { --dx: 80%; --dy: 300%; }
.rig[data-spec="cells"].fire .el { animation: leave 1.8s .25s cubic-bezier(.2, .6, .3, 1) both; }
.rig[data-spec="cells"].fire .e2 { animation-delay: .4s; } .rig[data-spec="cells"].fire .e3 { animation-delay: .55s; } .rig[data-spec="cells"].fire .e4 { animation-delay: .7s; }
/* Seconds to an hour: a film where ions (squares) and electrons (dots) both move. No light pulse. */
.rig[data-spec="film"] .slab { background: repeating-linear-gradient(45deg, rgba(255, 255, 255, .035) 0 2px, transparent 2px 7px), linear-gradient(135deg, #40454d, #17181c); }
.rig[data-spec="film"] :is(.beam, .glint, .ring, .hit) { opacity: 0; }
.rig[data-spec="film"] :is(.ion, .el) { opacity: 1; }
@keyframes drift-i { to { transform: translate(60%, 40%); } }
@keyframes drift-e { to { transform: translate(-220%, 160%); } }
html:not(.still) .rig[data-spec="film"] .ion { animation: drift-i 7s ease-in-out infinite alternate; }
html:not(.still) .rig[data-spec="film"] .el { animation: drift-e 2.2s ease-in-out infinite alternate; }
.rig[data-spec="film"] :is(.i2, .i4) { animation-delay: -3s; } .rig[data-spec="film"] :is(.e2, .e4) { animation-delay: -1.1s; animation-direction: alternate-reverse; }
/* The slowest: skin, and a plate above it that never touches. */
.rig[data-spec="skin"] .slab { border-color: rgba(255, 255, 255, .5);
  background: repeating-linear-gradient(58deg, rgba(60, 50, 44, .2) 0 1px, transparent 1px 9px), repeating-linear-gradient(-32deg, rgba(60, 50, 44, .15) 0 1px, transparent 1px 13px), linear-gradient(135deg, #dccfc2, #a3978a);
  box-shadow: -3px 3px 0 #c4b8ab, -6px 6px 0 #b3a79a, -9px 9px 0 #a2968a, -12px 12px 0 #91867a, -46px 46px 50px -8px rgba(var(--drop), .42); }
html.noir .rig[data-spec="skin"] .slab { background: repeating-linear-gradient(58deg, rgba(0, 0, 0, .14) 0 1px, transparent 1px 9px), repeating-linear-gradient(-32deg, rgba(0, 0, 0, .1) 0 1px, transparent 1px 13px), linear-gradient(135deg, #b9b1a8, #7d756c); box-shadow: -3px 3px 0 #9a9289, -6px 6px 0 #878077, -9px 9px 0 #746d65, -12px 12px 0 #615b54, -46px 46px 50px -8px #000; }
.rig[data-spec="skin"] :is(.beam, .glint, .ring, .hit) { opacity: 0; }

/* ---- The time dial ---- */
.dial { --r: 30px; --rimw: 8px; position: relative; z-index: 5; margin-top: 26px; padding: 16px 18px 12px; }
.dial-top { display: grid; gap: 12px; }
.dial-when label { display: block; }
.when { display: block; margin-top: 2px; font: 600 clamp(3.2rem, 15vw, 5.6rem)/.92 var(--font-s); letter-spacing: -.01em; white-space: nowrap; color: var(--ink); font-variant-numeric: tabular-nums; }
.dial-band .chip { margin-bottom: 8px; }
.dial-band h3 { font-size: clamp(1.25rem, 1.9vw, 1.6rem); }
.dial-band p:last-child { margin-top: 6px; font-size: .97rem; min-height: 4.6em; max-width: 54ch; }
.dial-track { position: relative; margin-top: 4px; }
.trange { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 44px; margin: 0; background: none; cursor: ew-resize; --p: 0%; }
.trange::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--red) 0 var(--p), var(--hair) var(--p)); }
.trange::-moz-range-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--red) 0 var(--p), var(--hair) var(--p)); }
.trange::-webkit-slider-thumb { -webkit-appearance: none; width: 34px; height: 34px; margin-top: -14px; border-radius: 50%; border: 1px solid var(--ink); background: radial-gradient(circle, var(--red) 0 5px, rgb(var(--g)) 6px); box-shadow: 0 8px 16px -6px rgba(var(--drop), .8); }
.trange::-moz-range-thumb { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--ink); background: radial-gradient(circle, var(--red) 0 5px, rgb(var(--g)) 6px); box-shadow: 0 8px 16px -6px rgba(var(--drop), .8); }
.ticks { position: relative; height: 22px; margin: -4px 17px 0; }
.ticks span { position: absolute; left: calc((var(--v) + 12) / 16.5 * 100%); transform: translateX(-50%); padding-top: 8px; white-space: nowrap; }
.ticks span::before { content: ""; position: absolute; left: 50%; top: 0; width: 1px; height: 6px; background: currentColor; }

.dim { position: absolute; z-index: 6; left: calc(var(--x0) + var(--bx) + 8px); top: calc(var(--cy) + var(--by) - var(--G)); width: 9px; height: var(--G); border: 1px solid var(--ink); border-left: 0; transition: left .8s, top .8s; }

@media (min-width: 900px) and (hover: hover) { html.chromium .plate { backdrop-filter: url(#liquid) blur(1.4px) brightness(1.1); } }
@media (min-width: 1100px) {
  .hero { min-height: clamp(760px, 100vh, 1100px); min-height: clamp(760px, 100svh, 1100px); padding: 110px var(--side) 50px; display: flex; flex-direction: column; justify-content: center; }
  .hero { justify-content: flex-start; }
  .copy { max-width: min(780px, 52vw); } .more { max-width: min(520px, 42vw); margin-top: 22px; }
  .rig { --S: clamp(230px, 23vw, 350px); --H: calc(var(--S) * 1.5); --cy: calc(var(--H) - var(--S) * .5 - 24px);
    position: absolute; right: calc(var(--side) - 48px); top: 104px; width: calc(var(--S) * 1.74 + 64px); height: var(--H); margin: 0; }
  .dial { margin-top: auto; padding: 18px 26px 14px; }
  .dial-top { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px; align-items: end; }
  .when { font-size: clamp(4rem, 7.4vw, 7rem); }
  .dial-band p:last-child { min-height: 3.1em; }
  .draw { position: absolute; inset: 0; width: auto; height: auto; margin: 0; }
  .tag, .dim { display: block; }
  .rigcap { display: none; }
}

/* ---------- Sections ---------- */
.sec { position: relative; padding: clamp(88px, 11vw, 164px) var(--gut) 0; }
.wrap { position: relative; max-width: 1280px; margin: 0 auto; }
.photo { position: relative; overflow: hidden; border-radius: 26px; box-shadow: 0 0 0 1px var(--hair), 0 40px 80px -40px rgba(var(--drop), .6); }
.photo img { width: 100%; height: 100%; object-fit: cover; filter: var(--photo); }
.chip { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--hair); font: 400 .7rem/1.3 var(--font-m); letter-spacing: .03em; color: var(--dim); }
.chip.on::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.card p { margin-top: 12px; }
.card .chip { margin-top: 0; }
.card .mono { margin-top: 16px; }
.steps { list-style: none; margin: 18px 0 0; padding: 0; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 36px 1fr; padding: 10px 0; border-top: 1px solid var(--hair); color: var(--ink); }
.steps li::before { content: "0" counter(s); font: 400 .72rem/2 var(--font-m); color: var(--dim); }
.stat { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--hair); }
.stat b { font: 200 clamp(3rem, 6vw, 5rem)/1 var(--font-d); letter-spacing: -.03em; }
.stat span { max-width: 24ch; font-size: .94rem; color: var(--dim); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 14px 0 0; padding: 0; }
.pills li { padding: 9px 15px; border-radius: 999px; border: 1px solid var(--ink); font: 500 .95rem var(--font-d); }

/* Instruments: two blocks, each a poster headline, a card, and (for the fast probe) a photograph */
.inst .blk + .blk { margin-top: clamp(80px, 10vw, 150px); }
.inst .ph-lines { aspect-ratio: 1400 / 1389; margin: 46px calc(var(--gut) * -1) 0 9%; }
.inst .fast .card { margin: -70px 7% 0 0; z-index: 2; }
.inst .solid .card { margin: 36px 0 0 7%; z-index: 2; }
/* The line that vibrates, and the line that holds still */
.poster .vibl { font-weight: 300; }
@keyframes vibl { from { transform: translateY(-.022em); } to { transform: translateY(.022em); } }
html:not(.still) .poster .vibl { animation: vibl .13s ease-in-out infinite alternate; }
/* Glass beads on the photograph. Each holds a larger copy of the picture lined up with the picture behind,
   so the lines bend at its edge in every browser. */
.orb { position: absolute; aspect-ratio: 1; border-radius: 50%; background-image: url("../assets/photographs/frame-02-1400.jpg"); background-repeat: no-repeat; filter: var(--photo);
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .78), 0 20px 30px -12px rgba(0, 0, 0, .6); }
.orb::after { content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 32% 24%, rgba(255, 255, 255, .7), transparent 34%), radial-gradient(circle at 70% 84%, rgba(255, 255, 255, .28), transparent 42%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4), inset 0 -12px 22px -8px rgba(0, 0, 0, .5), inset 0 8px 18px -8px rgba(255, 255, 255, .8); }
.orb.a { width: 24%; left: 22%; top: 18%; background-size: 562.5% auto; background-position: 30.54% 25.75%; }
.orb.b { width: 13%; left: 65.5%; top: 41.45%; background-size: 1038.5% auto; background-position: 74.34% 47.79%; }

/* Silver */
.silver .poster.sm { font-size: calc((100vw - 2 * var(--gut)) / 14); font-size: calc(100cqw / 13.6); }
.silver .num { display: block; margin: .06em 0 .08em -.02em; font: 900 clamp(4.4rem, 17vw, 12rem)/.86 var(--font-s); font-size: clamp(4.4rem, 27cqw, 12rem); letter-spacing: 0; white-space: nowrap; color: var(--ink); }
.silver .num i { font-style: normal; color: var(--red); }
.silver .num small { font-size: .3em; font-weight: 400; letter-spacing: 0; margin-left: .18em; font-family: var(--font-m); }
.silver .txt { margin-top: 20px; }
.silver .ph-steps { width: 58%; aspect-ratio: 1; margin: 44px 0 -74px auto; }
.silver .ph-steps.ph-cover { aspect-ratio: 1000 / 1330; }   /* the journal cover, at its own shape */
.silver .plot { z-index: 2; }
.spec { display: block; width: 100%; height: auto; }
.spec text { font: 400 11px var(--font-m); fill: var(--dim); }
.spec .base { stroke: var(--ink); stroke-width: 1; }
.spec .tick { stroke: var(--ink); stroke-width: 1; opacity: .5; }
.spec .dot { fill: var(--ink); }
.spec .wedge { fill: var(--ink); }
.spec .thl { stroke: var(--red); stroke-width: 1; stroke-dasharray: 3 4; }
.spec .thd { fill: var(--red); stroke: rgb(var(--g)); stroke-width: 2; }
.spec .tht { fill: var(--ink); font-size: 13px; }
.spec .cur { stroke: var(--ink); stroke-width: 1; }
.spec .knob { fill: rgb(var(--g)); stroke: var(--ink); stroke-width: 1.5; }
.spec .el { fill: var(--red); }
@keyframes rise { from { transform: translateY(6px); opacity: 0; } 30% { opacity: 1; } to { transform: translateY(-12px); opacity: 0; } }
html:not(.still) .spec .el { animation: rise 1.5s ease-out infinite; }
.rangeRow { margin-top: 6px; }
.rangeRow label { display: block; }
.range { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 44px; margin: 0; background: none; cursor: ew-resize; }
.range::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--hair) 0 40%, var(--ink) 40%); }
.range::-moz-range-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--hair) 0 40%, var(--ink) 40%); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -13px; border-radius: 50%; border: 1px solid var(--ink); background: radial-gradient(circle, var(--red) 0 4px, rgb(var(--g)) 5px); box-shadow: 0 6px 14px -6px rgba(var(--drop), .7); }
.range::-moz-range-thumb { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--ink); background: radial-gradient(circle, var(--red) 0 4px, rgb(var(--g)) 5px); box-shadow: 0 6px 14px -6px rgba(var(--drop), .7); }
.read { margin-top: 2px; min-height: 3.1em; font: 500 1.08rem/1.35 var(--font-d); color: var(--ink); }
.plot .mono { margin-top: 10px; }

/* The proof: the photosynthesis result, directly under the hero */
/* The render: four panels zooming in from cells to photosystems. A row on wide screens, a strip to swipe on phones. */
.render { margin-top: 30px; }
.render-row { display: flex; gap: 10px; }
.render-row img { flex: var(--a) 1 0%; min-width: 0; width: 0; height: auto; border-radius: 16px; box-shadow: 0 0 0 1px var(--hair), 0 26px 50px -30px rgba(var(--drop), .6); }
html.noir .render-row img { filter: brightness(.9); }
.render figcaption { margin-top: 12px; max-width: 86ch; }
@media (max-width: 899px) {
  .render-row { margin: 0 calc(var(--gut) * -1); padding: 4px var(--gut) 14px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
  .render-row img { flex: 0 0 auto; width: auto; height: min(62vw, 250px); scroll-snap-align: center; }
}
.render.setup { margin-top: 34px; }

.proof .result { margin-top: 34px; }
.proof .result .ctl { margin-top: 20px; }
.proof .scheme { --r: 26px; --rimw: 7px; margin: 22px 0 0 8%; }
.scheme svg { display: block; width: 100%; height: auto; overflow: visible; }
.scheme figcaption { margin-top: 10px; }
.s-mem { fill: var(--hair); }
.s-lip path { stroke: var(--ink); stroke-width: 1; opacity: .35; fill: none; }
.s-ps { fill: rgb(var(--g)); stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; }
.s-t { font: 400 12px var(--font-m); fill: var(--ink); }
.s-t.s-dim { fill: var(--dim); } .s-t.s-red { fill: var(--red); font-size: 13px; }
.s-light { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.s-path, .s-take { fill: none; stroke: var(--red); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.s-take.s-head2 { stroke-dasharray: none; }
.s-old { fill: none; stroke: var(--ink); stroke-width: 1.2; stroke-dasharray: 3 5; opacity: .6; }
.s-e { fill: var(--red); }
.s-med { fill: none; stroke: var(--ink); stroke-width: 1.6; }
@keyframes s-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes s-rise { 0%, 8% { transform: translate(0, 0); } 45% { transform: translate(0, -84px); } 60% { transform: translate(38px, -92px); } 100% { transform: translate(152px, -142px); } }
html:not(.still) .scheme .s-path { animation: s-draw 4.5s ease-in-out infinite; }
html:not(.still) .scheme .s-take { animation: s-draw 4.5s ease-in-out infinite; }
html:not(.still) .scheme .s-take.s-head2 { animation: none; }
html:not(.still) .scheme .s-e { animation: s-rise 4.5s ease-in-out infinite; }

/* Papers */
.covers { position: relative; height: clamp(230px, 62vw, 330px); margin-top: 46px; }
.cover { position: absolute; border-radius: 6px; overflow: hidden; box-shadow: 0 0 0 1px var(--hair), 0 30px 50px -24px rgba(var(--drop), .7); }
.cover img { width: 100%; height: auto; }
html.noir .cover img { filter: brightness(.86); }
.cover.c1 { left: 3%; top: 0; width: 41%; }
.cover.c2 { left: 47%; top: 26px; width: 38%; }
.result { z-index: 2; }
.result h3 { font-size: clamp(1.7rem, 3vw, 2.6rem); font-weight: 300; letter-spacing: -.02em; text-wrap: balance; }
.result p { margin-top: 14px; }
.result .lead { font-size: 1.1rem; color: var(--ink); }
.result a { text-underline-offset: 3px; }
.sheet { margin-top: -60px; z-index: 2; }
.plist { list-style: none; margin: 0; padding: 0; }
.plist li { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 4px 10px; padding: 20px 0; border-top: 1px solid var(--hair); }
.plist li:first-child { border-top: 0; padding-top: 2px; }
.plist .yr { font: 400 .76rem/2.2 var(--font-m); color: var(--dim); }
.plist h3 { font-size: clamp(1.18rem, 1.7vw, 1.5rem); font-weight: 500; }
.plist .ref { margin-top: 6px; font: 400 .76rem/1.5 var(--font-m); color: var(--dim); }
.plist .note { margin-top: 6px; font-size: .96rem; }
.sheet .ctl { padding-top: 18px; border-top: 1px solid var(--hair); margin-top: 0; }

/* ---------- About: the chart stays put while the cards scroll over it, and each card moves the camera ---------- */
.about .head { position: relative; z-index: 2; }
.atlas { position: relative; margin: 28px calc(var(--gut) * -1) 0; }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; touch-action: pan-y; }
.stage canvas { position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: block; }
.tour { position: relative; z-index: 2; margin-top: -100vh; margin-top: -100svh; padding: 0 var(--side); pointer-events: none; }
.stop { min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; padding: 96px 0 104px; }
.stop:last-child { min-height: 150vh; min-height: 150svh; }
/* Phones: more room between cards, so the chart is seen moving before the next card covers it. */
@media (max-width: 899px) {
  .stop { min-height: 140vh; min-height: 140svh; }
  .stop:first-child { min-height: 100vh; min-height: 100svh; }
  .stop .thumb { aspect-ratio: 5 / 2; }
  .stop .thumb.tall { aspect-ratio: 4 / 5; }
}
.stop .glass { --r: 26px; --rimw: 7px; pointer-events: auto; width: 100%; max-width: 460px; }
.stop .glass p { margin-top: 10px; font-size: .98rem; }
.stop .glass .chip { margin-bottom: 12px; }
.stop .thumb { margin: 0 0 14px; border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 9; box-shadow: 0 0 0 1px var(--hair); }
.stop .thumb img { width: 100%; height: 100%; object-fit: cover; filter: var(--photo); }
.stop .thumb.tall { float: right; width: 34%; aspect-ratio: 4 / 5; margin: 0 0 10px 14px; }
.stop .shot { margin: -6px 0 12px; }
.stop .route { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-top: 4px; }
.stop .route .mono { align-self: center; }
.stop .route b { font: 200 clamp(2.6rem, 6vw, 4rem)/1 var(--font-d); letter-spacing: -.03em; color: var(--ink); }
.stop blockquote { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--hair); font: 300 1.35rem/1.2 var(--font-d); letter-spacing: -.01em; color: var(--ink); }
.jump { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.jump button { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--hair); background: none; font: 500 .84rem var(--font-s); }
.jump button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--ground); }
html.no-chart .stage { display: none; }
html.no-chart .tour { margin-top: 0; }
html.no-chart .stop { min-height: 0; padding: 12px 0; }

/* ---------- The other pages ---------- */
.pages { display: grid; gap: 14px; margin-top: 40px; }
.pages a { --r: 26px; --rimw: 7px; display: block; padding: 20px 22px 22px; text-decoration: none; }
.pages a h3 { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pages a h3::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--red); flex: none; transition: transform .25s ease; }
.pages a:hover h3::after { transform: scale(1.8); }
.pages a p { margin-top: 10px; font-size: .95rem; }

/* ---------- Footer ---------- */
.foot { position: relative; margin-top: clamp(90px, 12vw, 170px); padding: 34px var(--side) 110px; border-top: 1px solid var(--hair); display: grid; gap: 22px; }
.foot .who { font: 400 .74rem/1.5 var(--font-m); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); margin-top: 10px; }
.foot .puzzle { font-size: 1.02rem; max-width: 52ch; color: var(--ink); }
.foot .puzzle i { font-family: "STIX Two Text", "Times New Roman", serif; }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 6px; }
.foot .foot-sw { margin: 0; }
.foot nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px 0 0; font: 500 1rem var(--font-s); }
.foot small { font: 400 .72rem/1.7 var(--font-m); color: var(--dim); max-width: 78ch; }

@media (min-width: 900px) {
  .grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
  .inst .head { grid-column: 1 / 13; grid-row: 1; }
  .inst .fast .ph-lines { grid-column: 6 / 13; grid-row: 2; margin: 64px 0 0; }
  .inst .fast .card { grid-column: 1 / 7; grid-row: 2; margin: 190px 0 0; }
  .inst .solid .head { grid-column: 1 / 9; }
  .inst .solid .card { grid-column: 7 / 13; grid-row: 2; margin: -60px 0 0; }
  .silver .head { grid-column: 1 / 8; grid-row: 1 / 3; padding-right: 24px; }
  .silver .ph-steps { grid-column: 9 / 13; grid-row: 1; width: auto; margin: 0; }
  .silver .plot { grid-column: 7 / 13; grid-row: 2; margin-top: -96px; }
  .papers .head { grid-column: 1 / 13; grid-row: 1; }
  .covers { grid-column: 1 / 5; grid-row: 2; height: 520px; margin-top: 96px; }
  .cover.c1 { left: 2%; width: 64%; } .cover.c2 { left: 38%; top: 190px; width: 60%; }
  .sheet { grid-column: 4 / 13; grid-row: 2; margin-top: 40px; }
  .proof .head { grid-column: 1 / 13; grid-row: 1; }
  .proof .render { grid-column: 1 / 13; grid-row: 2; margin-top: 44px; }
  .proof .result { grid-column: 1 / 8; grid-row: 3; margin-top: 44px; }
  .proof .scheme { grid-column: 8 / 13; grid-row: 3; margin: 90px 0 0; }
  .proof .setup { grid-column: 3 / 11; grid-row: 4; margin-top: 64px; }
  .plist li { grid-template-columns: 84px minmax(0, 1fr); }
  .stop { align-items: center; padding: 110px 0 60px; }
  .stop .glass { max-width: 430px; }
  .pages { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .foot { padding-bottom: 44px; }
}

.stop .met3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.met-fig { margin: 0; }
.met-ph { border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: 0 0 0 1px var(--hair); }
.met-ph img { display: block; width: 100%; height: 100%; object-fit: cover; filter: var(--photo); }
.met-fig.queen img { object-position: 58% 30%; }
.met-fig.hawking img { object-position: 42% 12%; }
.met-fig figcaption { margin-top: 7px; font: 400 .7rem/1.35 var(--font-m); letter-spacing: .02em; color: var(--dim); }

.drop { position: relative; border-radius: 16px; overflow: hidden; box-shadow: 0 0 0 1px var(--hair), 0 26px 50px -30px rgba(var(--drop), .7); background: #0b0d12; }
.drop img { display: block; width: 100%; height: auto; }
.drop-live { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.drop-live .el { fill: #fff; stroke: var(--red); stroke-width: 4; }
@keyframes leap { 0% { transform: translateY(0); opacity: 0; } 12% { opacity: 1; } 80% { opacity: 1; } 100% { transform: translateY(var(--rise)); opacity: 0; } }
html:not(.still) .drop-live .el { animation: leap 1.4s ease-in infinite; }
html.still .drop-live .el { transform: translateY(calc(var(--rise) * .45)); }
#dropGlow { transition: r .2s ease, opacity .2s ease; mix-blend-mode: screen; }
.spec.ladder { margin-top: 16px; }
.spec .band { fill: var(--red); opacity: .16; }
.spec .use { fill: rgb(var(--g)); stroke: var(--ink); stroke-width: 1.5; }
.spec .brk { fill: none; stroke: var(--ink); stroke-width: 1; opacity: .5; }
.spec .tht { fill: var(--red); font-size: 13px; font-weight: 700; }
.spec .thm { fill: var(--red); }
.silver .txt + .txt { margin-top: 12px; }
.silver .txt.big { margin-top: 22px; font: 500 clamp(1.3rem, 2vw, 1.75rem)/1.2 var(--font-d); letter-spacing: -.01em; color: var(--ink); max-width: 22ch; }

/* About, on wide screens: the chart's stage is a full screen tall and its first card sat in the middle of it, which left a
   screen-high gap under the headline. The stage now starts behind the headline and the first card sits just under it. */
@media (min-width: 900px) {
  .about .stage { margin-top: -30vh; margin-top: -30svh; }
  .about .stop:first-child { align-items: flex-start; padding-top: calc(30vh + 28px); padding-top: calc(30svh + 28px); }
  html.no-chart .about .stop:first-child { padding-top: 12px; }
}

.quilt-band { position: relative; margin: 4px calc(var(--gut) * -1) 0; height: clamp(560px, 88vh, 940px); overflow: hidden; background: #fff; }
html.noir .quilt-band { background: #141018; }
.quilt-band canvas, .quilt-still { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.quilt-still { object-fit: cover; transition: opacity .6s ease; }
.quilt-band.live .quilt-still { opacity: 0; }
.quilt-title { position: absolute; z-index: 2; left: var(--side); bottom: clamp(28px, 6vh, 72px); width: min(840px, calc(100% - 2 * var(--gut))); --r: 30px; }
.quilt-title .lt-poster { font-size: calc((100vw - 2 * var(--gut)) / 18.5); font-size: calc(100cqw / 12.4); }   /* THERMODYNAMICS at full weight is 10.84 em: it must fit when the wave makes every letter bold */
.lt-lead { margin-top: 16px; max-width: 46ch; font: 500 clamp(1.08rem, 1.6vw, 1.4rem)/1.35 var(--font-d); color: var(--ink); }
.lt-cap { margin-top: 14px; font-size: .74rem; color: var(--dim); }
.lt-body { margin-top: clamp(40px, 6vw, 80px); row-gap: 32px; }
.lt-words p + p { margin-top: 14px; }
.lt-words p:first-child { font: 500 clamp(1.12rem, 1.5vw, 1.3rem)/1.4 var(--font-d); color: var(--ink); }
@media (min-width: 900px) {
  .lt-words { grid-column: 1 / 7; }
  .lt-papers { grid-column: 7 / 13; }
}
@media (max-width: 899px) {
  .quilt-band { height: clamp(520px, 92svh, 760px); }
  .quilt-title { left: var(--gut); right: var(--gut); width: auto; bottom: 20px; }
}

.inst .ph-lines.ph-kp { aspect-ratio: 1; background: #0b0d12; }
.ph-kp .kp-cap { position: absolute; right: 18px; bottom: 14px; font-size: .68rem; letter-spacing: .04em; color: rgba(255, 255, 255, .55); }
@media (max-width: 899px) { .ph-kp .kp-cap { bottom: auto; top: 14px; } }
