@charset "UTF-8";
/* THEORYMERIDIAN. Homepage and library styles. No external requests. */

/* ---- type: bundled open-licence fonts (SIL OFL 1.1; see /assets/home/fonts/OFL-*.txt) ---- */
@font-face{font-family:"Fraunces Display";src:url("/assets/home/fonts/fraunces-display-normal.woff2") format("woff2");font-weight:300 600;font-style:normal;font-display:swap}
@font-face{font-family:"Fraunces Display";src:url("/assets/home/fonts/fraunces-display-italic.woff2") format("woff2");font-weight:300 600;font-style:italic;font-display:swap}
@font-face{font-family:"Geist";src:url("/assets/home/fonts/geist-latin-wght-normal.woff2") format("woff2");font-weight:100 900;font-style:normal;font-display:swap}
@font-face{font-family:"Geist Mono";src:url("/assets/home/fonts/geist-mono-latin-wght-normal.woff2") format("woff2");font-weight:100 900;font-style:normal;font-display:swap}

:root{
  /* observatory black and the low orders of thin-film interference (values sampled from the film's own colour table) */
  --black:#04050a;
  --ink:#f2efe8;            /* text */
  --soft:#b3b9c6;           /* secondary text, 9.6:1 on black */
  --dim:#8a91a1;            /* tertiary text, 6.1:1 on black */
  --line:rgba(231,239,252,.14);
  --line-strong:rgba(231,239,252,.28);
  --silver:#c9d9e4;         /* film at  80 nm */
  --straw:#dfc172;          /* film at 140 nm */
  --indigo:#3a41d2;         /* brand anchor; the film near 215 nm */
  --indigo-hi:#5661f0;
  --azure:#56b6f2;          /* film near 250 nm, lifted for text */
  --film-scale:linear-gradient(90deg,#000 0,#455263 1.2%,#7c8fa7 2.4%,#aabed4 3.7%,#c9d9e4 4.9%,#dde3da 6.1%,#e4dcb6 7.3%,#dfc172 8.6%,#cd9602 9.8%,#aa5140 11%,#700089 12.2%,#0048bd 13.4%,#0087ce 14.7%,#00bce2 15.9%,#78d9c9 17.1%,#b4e493 18.3%,#dadd49 19.6%,#f1c018 20.8%,#f4946c 22%,#e555af 23.2%,#bf20d4 24.4%,#008bc3 26.9%,#00d08e 29.3%,#b7d460 31.8%,#f695b8 34.2%,#df5dd2 36.7%,#00b088 40.3%,#89c7a7 44%,#e084ae 48.9%,#53bcb2 55%,#cf999b 61.1%,#b7a3a3 73.3%,#a5a7aa 85.5%,#9fa9aa 100%);
  --serif:"Fraunces Display",Georgia,"Times New Roman",serif;
  --sans:"Geist",system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  --mono:"Geist Mono",ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  --gutter:clamp(20px,4.4vw,64px);
  --max:1280px;
  --edge:max(var(--gutter),calc((100vw - var(--max))/2));   /* left edge shared by the header, hero and sections */
  --header-h:clamp(64px,8vh,88px);
  --ease:cubic-bezier(.2,.7,.2,1);
  color-scheme:dark;
}

*,*::before,*::after{box-sizing:border-box}
html{background:var(--black);-webkit-text-size-adjust:100%;text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;background:var(--black);color:var(--ink);font-family:var(--sans);font-size:1.0625rem;line-height:1.6;font-synthesis:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;overflow-x:clip}
img{display:block;max-width:100%;height:auto}
a{color:inherit;-webkit-tap-highlight-color:transparent}
h1,h2,h3,h4,p,ol,ul,figure{margin:0}
ol,ul{padding:0;list-style:none}
em{font-style:italic}
:focus-visible{outline:2px solid var(--straw);outline-offset:4px;border-radius:2px}
::selection{background:var(--indigo);color:#fff}
.wrap{width:min(var(--max),100% - 2*var(--gutter));margin-inline:auto}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip-link{position:fixed;z-index:50;left:16px;top:12px;padding:12px 18px;background:var(--ink);color:var(--black);font-weight:600;text-decoration:none;border-radius:3px;transform:translateY(-300%)}
.skip-link:focus{transform:none}
#library:focus{outline:none}

/* small technical labels */
.label{display:flex;align-items:center;gap:.9em;font-family:var(--mono);font-size:.75rem;font-weight:500;letter-spacing:.16em;text-transform:uppercase;line-height:1.5;color:var(--soft)}
.label-rule{flex:none;width:2.4em;height:1px;background:linear-gradient(90deg,var(--straw),var(--azure))}
.label-sep{color:var(--dim)}

/* display type */
/* opsz 72 at a sturdier weight: the hairlines of the 144 cut vanish at 1x and on phones ("Scicncc") */
h1,h2{font-family:var(--serif);font-weight:380;font-variation-settings:"opsz" 72;letter-spacing:-.022em;line-height:1;text-wrap:balance}
h1{word-spacing:.04em}
h1 em,h2 em{letter-spacing:-.02em;color:var(--silver)}
h1{font-size:clamp(2.75rem,10.6vw,3.6rem)}
h2{font-size:clamp(2.3rem,8.4vw,4.4rem)}

/* a hairline of light: the film's own colour scale, one pixel tall */
.hairline{height:1px;background:var(--film-scale) 0 0/200% 100%;opacity:.85}

/* actions */
.actions{display:flex;flex-wrap:wrap;align-items:center;gap:14px 28px}
.button{display:inline-flex;align-items:center;justify-content:center;gap:.9em;min-height:54px;padding:14px 26px;border-radius:999px;font-size:1rem;font-weight:550;line-height:1.25;text-decoration:none;text-align:center;transition:background-color .25s var(--ease),border-color .25s var(--ease),transform .25s var(--ease),box-shadow .25s var(--ease)}
.button .arrow{display:inline-block;transition:transform .3s var(--ease)}
.button:hover .arrow{transform:translateX(4px)}
.button.primary{background:var(--indigo);color:#fff;border:1px solid var(--indigo-hi);box-shadow:inset 0 1px 0 rgba(255,255,255,.24),0 0 0 0 rgba(86,97,240,0),0 6px 24px -12px rgba(58,65,210,.9)}
.button.primary:hover{background:#444cdf;box-shadow:inset 0 1px 0 rgba(255,255,255,.3),0 0 0 4px rgba(86,97,240,.22),0 6px 24px -10px rgba(58,65,210,1)}
.button.primary:active,.button.ghost:active{transform:translateY(1px)}
.button.ghost{border:1px solid var(--line-strong);color:var(--ink);min-height:50px;padding:12px 22px}
.button.ghost:hover{border-color:var(--ink);background:rgba(231,239,252,.06)}
.text-link{display:inline-flex;align-items:center;gap:.45em;min-height:44px;font-weight:500;color:var(--ink);text-decoration:underline;text-decoration-color:var(--line-strong);text-decoration-thickness:1px;text-underline-offset:6px;transition:text-decoration-color .2s}
.text-link:hover{text-decoration-color:currentColor}

/* ---- header ---- */
.site-header{position:absolute;z-index:10;top:0;left:0;right:0;height:var(--header-h);padding-inline:var(--edge);display:flex;align-items:center;justify-content:space-between;gap:16px}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none;min-height:44px}
.brand-symbol{width:40px;height:auto}
.brand-word{width:clamp(138px,17vw,190px);height:auto}
.site-header nav{display:flex;align-items:center;gap:clamp(14px,2.6vw,34px);font-size:.9rem;font-weight:500}
.site-header nav a{display:inline-flex;align-items:center;min-height:44px;color:var(--ink);text-decoration:none;text-shadow:0 0 10px #04050a,0 0 2px #04050a}
.site-header nav a:hover{text-decoration:underline;text-underline-offset:6px;text-decoration-thickness:1px}

/* ---- hero: the living film ---- */
.hero{position:relative;display:flex;flex-direction:column;min-height:100vh;min-height:100svh;padding:var(--header-h) 0 28px;overflow:hidden;overflow:clip;isolation:isolate}
.hero::before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(70% 55% at 50% 34%,rgba(40,52,170,.22),transparent 70%)}
.hero-film{--d:max(140px,min(108vw,620px,calc(100svh - 462px)));position:relative;flex:none;width:var(--d);height:var(--d);margin:6px calc((100% - var(--d))/2) 0;transform:translate3d(0,calc(var(--sy,0)*.12px),0)}
.film{position:absolute;inset:0;border-radius:50%;overflow:hidden;background:#04050a;box-shadow:0 0 70px rgba(58,65,210,.3),0 0 200px rgba(40,70,200,.22);touch-action:pan-y}
/* the wire frame that holds the film: a thin metal ring, lit from the upper left like the film itself */
.hero-film::after{content:"";position:absolute;inset:-2px;border-radius:50%;pointer-events:none;
  background:conic-gradient(from 225deg,#fbfdff,#9aa6bb 50deg,#3d4558 120deg,#262c3a 170deg,#58627a 230deg,#c9d3e3 300deg,#fbfdff);
  -webkit-mask:radial-gradient(closest-side,transparent calc(100% - 3.2px),#000 calc(100% - 2.6px),#000 calc(100% - .6px),transparent 100%);
          mask:radial-gradient(closest-side,transparent calc(100% - 3.2px),#000 calc(100% - 2.6px),#000 calc(100% - .6px),transparent 100%)}
.film-hint{position:absolute;z-index:3;left:50%;bottom:9%;transform:translateX(-50%);margin:0;padding:8px 14px;border-radius:999px;background:rgba(4,5,10,.62);box-shadow:0 0 0 1px rgba(231,239,252,.22);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);font:500 .75rem/1.2 var(--mono);letter-spacing:.12em;text-transform:uppercase;color:var(--ink);white-space:nowrap;pointer-events:none;opacity:0;visibility:hidden;transition:opacity .8s var(--ease),visibility 0s linear .8s}
.hint-touch{display:none}
@media (pointer:coarse){.hint-touch{display:inline}.hint-point{display:none}}
.film-live .hero-film:not(.is-stirred) .film-hint{opacity:1;visibility:visible;transition:opacity 1.2s var(--ease) 2.8s,visibility 0s}
.motion-paused .film-hint{display:none}
.film picture,.film-still,.film canvas{position:absolute;inset:0;width:100%;height:100%}
.film-still{object-fit:cover}
.film canvas{opacity:0}
.film.is-live canvas{opacity:1;transition:opacity 1.4s ease}   /* fades in; drops back to the still at once */
.film-cross{position:absolute;left:50%;top:50%;width:22px;height:22px;margin:-11px 0 0 -11px;border:1px solid rgba(255,255,255,.85);border-radius:50%;box-shadow:0 0 0 1px rgba(0,0,0,.35);opacity:0;transition:opacity .4s;pointer-events:none}
.film.is-live .film-cross{opacity:.8}
@media (pointer:coarse){.film-cross{width:14px;height:14px;margin:-7px 0 0 -7px}.film.is-live .film-cross{opacity:.5}}
.meridian{position:absolute;left:50%;top:-5%;bottom:-5%;width:1px;margin-left:-.5px;background:linear-gradient(180deg,transparent,rgba(231,239,252,.34) 22%,rgba(231,239,252,.34) 78%,transparent);pointer-events:none;mix-blend-mode:screen}
.hero-copy{position:relative;z-index:2;padding:22px var(--gutter) 0;display:grid;gap:14px;justify-items:start}
.hero-intro{max-width:34rem;color:var(--soft);font-size:1.05rem;line-height:1.55}
.hero .actions{margin-top:6px}
.film-note{position:relative;z-index:2;margin:30px var(--gutter) 0;padding-top:8px;border-top:1px solid var(--line);max-width:30rem;display:grid;gap:8px}
.film-note .label{display:block}
.film-note-head{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px}
.motion-toggle{flex:none;display:inline-flex;align-items:center;gap:.7em;min-height:44px;padding:0 14px;border:1px solid var(--line-strong);border-radius:999px;background:transparent;color:var(--soft);font:500 .75rem/1 var(--mono);letter-spacing:.12em;text-transform:uppercase;cursor:pointer;transition:background-color .2s,color .2s,border-color .2s}
.motion-toggle[hidden]{display:none}
.motion-toggle:hover{color:var(--ink);border-color:var(--ink)}
.motion-toggle[aria-pressed="true"]{background:rgba(223,193,114,.14);color:var(--straw);border-color:var(--straw)}
.motion-icon{width:8px;height:10px;border-left:3px solid currentColor;border-right:3px solid currentColor}
.film-note-text{color:var(--soft);font-size:.95rem;line-height:1.55}
.film-note-small{font-family:var(--mono);font-size:.78rem;letter-spacing:.04em;color:var(--soft)}
.live-only{display:none}
.film-live .live-only{display:inline}
.film-live .still-only{display:none}
.probe{font-family:var(--mono);font-size:.8rem;line-height:1.7rem;height:1.7rem;color:var(--soft);white-space:nowrap}
.probe-live{display:none;align-items:baseline;gap:.6em}
.film-live .probe-live{display:flex}
.film-live .probe-still{display:none}
.probe-chip{align-self:center;width:12px;height:12px;border-radius:50%;background:#333;box-shadow:0 0 0 1px var(--line-strong)}
.probe-value{color:var(--ink);font-size:1.05rem;font-variant-numeric:tabular-nums;min-width:4.4em}
.scale{display:grid;gap:6px}
.scale-bar{position:relative;height:6px}
.scale-bar img{width:100%;height:6px;border-radius:3px}
.scale-mark{position:absolute;top:-4px;left:0;width:1px;height:14px;background:#fff;box-shadow:0 0 0 1px rgba(0,0,0,.5);opacity:0;transition:left .25s linear,opacity .4s}
.film-live .scale-mark{opacity:1}
.scale-ticks{position:relative;height:1.2em;font-family:var(--mono);font-size:.75rem;color:var(--dim)}
.scale-ticks span{position:absolute;top:0;transform:translateX(-50%);white-space:nowrap}
.scale-ticks span:first-child{transform:none}
.scale-ticks span:last-child{transform:translateX(-100%);left:100%!important}

/* ---- exhibit ---- */
.exhibit{position:relative;padding:0 0 clamp(64px,10vw,130px)}
.exhibit-grid{display:grid;gap:34px;padding-top:clamp(56px,9vw,120px)}
.exhibit-frame{display:block;position:relative;overflow:hidden;border-radius:2px;background:#0b0907;box-shadow:0 0 0 1px var(--line),0 40px 120px -40px rgba(0,0,0,.9)}
.exhibit-frame img{width:100%;aspect-ratio:54/59;object-fit:cover;transform:translate3d(0,calc(var(--par,0)*1px),0) scale(1.045)}
.exhibit-frame::after{content:"";position:absolute;inset:10px;border:1px solid rgba(231,239,252,.16);pointer-events:none}
.exhibit-figure figcaption{margin-top:12px;font-family:var(--mono);font-size:.75rem;letter-spacing:.06em;color:var(--dim)}
.exhibit-figure figcaption span{color:var(--soft);margin-right:.8em;text-transform:uppercase;letter-spacing:.14em}
.exhibit-copy{display:grid;gap:18px;justify-items:start;align-content:center}
.lead{font-family:var(--serif);font-weight:360;font-size:clamp(1.4rem,2.3vw,1.85rem);line-height:1.28;letter-spacing:-.012em;max-width:26em;color:var(--ink)}
.exhibit-summary{max-width:34rem;color:var(--soft)}
.exhibit-fine{font-family:var(--mono);font-size:.75rem;letter-spacing:.06em;color:var(--dim)}
.exhibit-detail{display:grid;gap:44px;margin-top:clamp(48px,7vw,96px)}
.env-list{display:grid;gap:0;margin-top:18px;border-top:1px solid var(--line)}
.env-list li{display:grid;grid-template-columns:108px 1fr;gap:4px 22px;padding:26px 0;border-bottom:1px solid var(--line);align-content:start;align-items:start}
/* specimen plates: the hero's own film, drawn with the same color table under three conditions */
.plate{position:relative;grid-row:1/4;width:108px;aspect-ratio:1;margin:8px 0 0}
.plate picture{display:block;width:100%;height:100%}
.plate img{width:100%;height:100%;border-radius:50%;background:#04050a}
.plate::before{content:"";position:absolute;inset:-7px;border-radius:50%;border:1px solid var(--line-strong)}
.plate::after{content:"";position:absolute;inset:-1px;border-radius:50%;background:conic-gradient(from 225deg,rgba(251,253,255,.9),rgba(154,166,187,.5) 50deg,rgba(38,44,58,.6) 170deg,rgba(201,211,227,.6) 300deg,rgba(251,253,255,.9));-webkit-mask:radial-gradient(closest-side,transparent calc(100% - 1.6px),#000 calc(100% - 1px));mask:radial-gradient(closest-side,transparent calc(100% - 1.6px),#000 calc(100% - 1px))}
.plate-tick{position:absolute;left:50%;top:-16px;width:1px;height:10px;background:var(--line-strong)}
.env-no{font-family:var(--mono);font-size:.75rem;letter-spacing:.16em;color:var(--straw)}
.env-note{margin-top:14px;font-family:var(--mono);font-size:.75rem;letter-spacing:.04em;color:var(--dim)}
.env-list h4{font-family:var(--serif);font-weight:400;font-size:1.6rem;line-height:1.15;letter-spacing:-.012em}
.env-list p{color:var(--soft);font-size:.98rem;max-width:30rem}
.exhibit-aside{display:grid;gap:40px;align-content:start}
.change-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.change-list li{padding:7px 14px;border:1px solid var(--line-strong);border-radius:999px;font-size:.88rem;line-height:1.3;color:var(--ink)}
.offline-list{display:grid;gap:14px;margin-top:10px}
.offline-list li{display:grid;gap:0}
.offline-list li>span{color:var(--dim);font-size:.88rem}

/* ---- library ---- */
.library{padding:clamp(64px,10vw,130px) 0;border-top:1px solid var(--line);background:linear-gradient(180deg,rgba(58,65,210,.07),transparent 420px)}
.section-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:16px 40px;margin-bottom:clamp(28px,4vw,52px)}
.section-head>div{display:grid;gap:16px}
.library-count{font-family:var(--mono);font-size:.75rem;letter-spacing:.16em;text-transform:uppercase;color:var(--soft);padding-bottom:.6em}
.catalogue{border-top:1px solid var(--line-strong)}
.entry{border-bottom:1px solid var(--line)}
.entry article{display:grid;grid-template-columns:92px minmax(0,1fr);gap:14px 18px;padding:26px 0;align-items:start}
.entry-no{grid-column:1/-1;font-family:var(--mono);font-size:.75rem;letter-spacing:.14em;color:var(--straw);min-width:2.2em}
.entry-thumb{grid-column:1;display:block;overflow:hidden;border-radius:2px;width:92px;background:#0b0907;box-shadow:0 0 0 1px var(--line)}
.entry-thumb img{width:100%;aspect-ratio:4/5;object-fit:cover;object-position:50% 40%;transition:transform 1s var(--ease)}
.entry-thumb.plain img{object-position:50% 56%}
.entry:hover .entry-thumb img{transform:scale(1.04)}
.entry-main{grid-column:2;display:grid;gap:10px;justify-items:start;min-width:0}
.entry-main>*{max-width:100%;overflow-wrap:anywhere}
.entry-category{color:var(--azure)}
.entry h3{font-family:var(--serif);font-weight:380;font-variation-settings:"opsz" 48;font-size:clamp(1.8rem,3.4vw,2.6rem);line-height:1.06;letter-spacing:-.02em}
.entry h3 a{display:inline-block;padding-block:.2em;text-decoration:none;background:linear-gradient(currentColor,currentColor) 0 100%/0 1px no-repeat;transition:background-size .5s var(--ease)}
.entry h3 a:hover{background-size:100% 1px}
.entry-summary{color:var(--soft);max-width:36rem;font-size:.98rem}
.topics{display:flex;flex-wrap:wrap;gap:6px 8px}
.topics li{overflow-wrap:anywhere;font-family:var(--mono);font-size:.75rem;letter-spacing:.08em;text-transform:uppercase;color:var(--soft);padding:4px 9px;border:1px solid var(--line);border-radius:2px}
.entry-actions{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;gap:6px 24px}
.entry-actions .text-link{font-size:.92rem}
/* while the collection holds one simulator: a compact index row (the exhibit above already tells its story) */
.catalogue--solo .entry-summary{display:none}
.catalogue--solo .entry-thumb{width:72px;border-radius:50%}
.catalogue--solo .entry-thumb img{aspect-ratio:1;object-position:50% 42%}
.library-note{display:grid;grid-template-columns:auto minmax(0,1fr);gap:18px;align-items:center;padding:28px 0;border-bottom:1px dashed var(--line-strong);color:var(--soft)}
.library-note strong{display:block;font-family:var(--serif);font-weight:360;font-variation-settings:"opsz" 48;font-style:italic;font-size:clamp(1.6rem,3.2vw,2.4rem);line-height:1.12;color:var(--ink);letter-spacing:-.015em;margin-bottom:6px}
.slot{display:grid;place-items:center;width:72px;height:72px;border-radius:50%;border:1px dashed var(--line-strong);font-family:var(--serif);font-weight:300;font-size:2rem;line-height:1;color:var(--soft)}

/* ---- guide ---- */
.guide{padding:clamp(64px,10vw,130px) 0;border-top:1px solid var(--line)}
.steps{display:grid;gap:0;border-top:1px solid var(--line-strong);counter-reset:none}
.steps li{position:relative;padding:26px 0 30px;border-bottom:1px solid var(--line);display:grid;grid-template-columns:3.4rem 1fr;gap:2px 12px;align-content:start}
.step-no{grid-row:1/3;font-family:var(--serif);font-weight:300;font-variation-settings:"opsz" 144;font-style:italic;font-size:3.2rem;line-height:.9;color:transparent;background:var(--film-scale);background-size:420% 100%;-webkit-background-clip:text;background-clip:text}
.steps li:nth-child(1) .step-no{background-position:9% 0}
.steps li:nth-child(2) .step-no{background-position:17% 0}
.steps li:nth-child(3) .step-no{background-position:27% 0}
.steps h3{font-family:var(--serif);font-weight:400;font-size:1.6rem;line-height:1.2;letter-spacing:-.012em}
.steps p{color:var(--soft);max-width:26rem;font-size:.98rem}

/* ---- footer ---- */
.site-footer{padding:0 0 44px}
.footer-grid{display:grid;gap:22px;padding-top:clamp(40px,6vw,72px);justify-items:start}
.footer-brand{width:100%;max-width:620px}
.footer-brand img{width:100%;aspect-ratio:1320/113}
.footer-tag{margin-top:16px;font-family:var(--mono);font-size:.75rem;letter-spacing:.3em;text-transform:uppercase;color:var(--soft);word-spacing:.2em}
.footer-motto{font-family:var(--serif);font-style:italic;font-weight:300;font-size:1.3rem;color:var(--ink)}

/* ---- reveal choreography (only when scripting is available and motion is welcome) ---- */
@media (prefers-reduced-motion:no-preference){
  /* reveal-ready is set by library.js once it is running, so content is never hidden if the script fails */
  .reveal-ready [data-reveal]{opacity:0;transform:translate3d(0,22px,0);transition:opacity .9s var(--ease),transform 1.1s var(--ease);transition-delay:calc(var(--i,0)*90ms)}
  .reveal-ready [data-reveal].is-in{opacity:1;transform:none}
  .reveal-ready [data-reveal]:focus-within{opacity:1;transform:none;transition:none}
  /* the entrance is pure CSS and always plays to its visible end state */
  .hero-copy>*{animation:rise 1.1s var(--ease) both;animation-delay:calc(var(--i,0)*110ms + 120ms)}
  .hero-copy>:nth-child(2){--i:1}.hero-copy>:nth-child(3){--i:2}.hero-copy>:nth-child(4){--i:3}
  .hero-film{animation:film-in 1.8s var(--ease) both}
  .film-note{animation:rise 1.1s var(--ease) .7s both}
  .hairline{animation:drift 60s linear infinite alternate;animation-play-state:paused}
  .hairline.is-on{animation-play-state:running}
  .motion-paused .hairline.is-on{animation-play-state:paused}
  @keyframes drift{to{background-position:100% 0}}
  @keyframes rise{from{opacity:0;transform:translate3d(0,18px,0)}to{opacity:1;transform:none}}
  @keyframes film-in{from{opacity:0;scale:.965}to{opacity:1;scale:1}}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{transition:none!important;animation:none!important}
  .hero-film{transform:none}
  .exhibit-frame img{transform:none}
}

/* ---- wider screens ---- */
@media (min-width:640px){
  h1{font-size:clamp(3.6rem,8.4vw,4.6rem)}
  .entry article{grid-template-columns:auto 150px minmax(0,1fr);gap:18px 26px}
  .catalogue--solo .entry article{grid-template-columns:auto 96px minmax(0,1fr)}
  .catalogue--solo .entry-thumb{width:96px}
  .entry-no{grid-column:1;padding-top:.35em}
  .entry-thumb{grid-column:2;grid-row:1/3;width:150px}
  .entry-main,.entry-actions{grid-column:3}
  .env-list{grid-template-columns:repeat(3,1fr);border-bottom:1px solid var(--line)}
  .env-list li{grid-template-columns:1fr;gap:6px;padding:40px 26px 30px 0;border-bottom:0}
  .env-list li+li{padding-left:26px;border-left:1px solid var(--line)}
  .plate{grid-row:auto;width:min(100%,196px);margin:0 0 24px}
  .steps{grid-template-columns:repeat(3,1fr)}
  .steps li{grid-template-columns:1fr;padding:30px 28px 8px 0;border-bottom:0}
  .steps li+li{padding-left:28px;border-left:1px solid var(--line)}
  .step-no{grid-row:auto;font-size:4.4rem;margin-bottom:18px}
  .footer-grid{grid-template-columns:1fr auto;align-items:end}
  .footer-brand{grid-column:1/-1}
}
@media (max-width:479px){
  .brand{gap:8px}
  .brand-symbol{width:32px}
  .brand-word{width:118px}
  .site-header nav{gap:14px;font-size:.8rem}
  .hero .button.primary{padding-inline:20px;gap:.7em;white-space:nowrap;font-size:.98rem}
  .hero-intro{font-size:1rem}
  .film-note .label{letter-spacing:.1em}
}
@media (max-width:359px){
  .site-header nav a[href="#library"]{display:none}      /* 320 px: the hero button and the page itself lead to the library */
  .hero .button.primary{padding-inline:16px;font-size:.92rem}
}
/* short phones: a smaller film so the primary action stays in the first viewport */
@media (max-width:879px) and (max-height:700px){
  :root{--header-h:56px}
  .hero-film{--d:max(140px,min(100vw,calc(100svh - 428px)))}
  .hero-copy{padding-top:16px;gap:11px}
  h1{font-size:2.5rem}
  .hero .button{min-height:50px}
  .film-hint{padding:5px 10px;bottom:6%}
}
@media (max-width:879px) and (max-height:600px){
  .film-hint{display:none}                            /* the film is too small to carry a label; "stir it" sits beside it in the note */
  .hero-film{--d:max(140px,min(100vw,calc(100svh - 410px)))}
  h1{font-size:2.3rem}
  .hero-intro{font-size:.95rem;line-height:1.45}
}
@media (min-width:880px){
  /* the meridian starts just below the header (never through the navigation) and runs off the bottom of the hero */
  .meridian{top:calc(var(--header-h)*(1 - var(--fs)) + 12px - 50svh + var(--d)/2);bottom:-30vh;background:linear-gradient(180deg,transparent,rgba(231,239,252,.34) 10%,rgba(231,239,252,.34) 78%,transparent)}
  .hero{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:1fr auto;align-items:center;padding-bottom:clamp(22px,4.5vh,48px)}
  .hero::before{background:radial-gradient(52% 70% at 72% 50%,rgba(40,52,170,.26),transparent 72%)}
  .hero-film{--d:min(92svh,60vw,1080px);--fs:.12;position:absolute;top:50%;right:max(calc(-1*clamp(20px,5vw,96px)),calc((100vw - var(--max))/2 - 480px));margin:calc(var(--d)/-2 + var(--header-h)*var(--fs)) 0 0}
  .hero-copy{padding:0 0 0 var(--edge);gap:22px;max-width:calc(var(--edge) + min(40rem,42vw))}
  h1{font-size:clamp(3.4rem,5.9vw,7rem)}
  .hero-intro{font-size:1.2rem;max-width:30rem}
  .hero .actions{margin-top:10px}
  .film-note{margin:0 0 0 var(--edge);max-width:23rem;border-top:0;padding-top:0}
  .exhibit-grid{--gx:clamp(40px,6vw,96px);position:relative;grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:var(--gx);align-items:center}
  /* the meridian continues down the page: the spine between the exhibit's picture and its text */
  .exhibit-grid::before{content:"";position:absolute;top:0;bottom:-24px;left:calc((100% - var(--gx))*5/11 + var(--gx)/2);width:1px;background:linear-gradient(180deg,rgba(231,239,252,.3),rgba(231,239,252,.14) 60%,transparent);pointer-events:none}
  .exhibit-copy{gap:22px}
  .exhibit-detail{grid-template-columns:minmax(0,7fr) minmax(0,4fr);gap:clamp(40px,6vw,96px)}
  .entry article{grid-template-columns:3.2rem 170px minmax(0,1fr) auto;gap:20px 34px;padding:34px 0;align-items:center}
  .entry-thumb{width:170px;grid-row:auto}
  .entry-main{grid-column:3}
  .entry-actions{grid-column:4;flex-direction:column;align-items:flex-start;gap:4px}
  .entry-actions .button{margin-bottom:8px}
  .catalogue--solo .entry article{grid-template-columns:3.2rem 112px minmax(0,1fr) auto}
  .catalogue--solo .entry-thumb{width:112px}
  .library-note{grid-template-columns:112px minmax(0,1fr);gap:34px;padding:34px 0 34px calc(3.2rem + 34px)}
  .slot{width:112px;height:112px;font-size:2.6rem}
  .footer-grid{grid-template-columns:1fr auto auto;gap:22px 48px}
}
/* short desktop screens: the ring sits below the navigation and the note keeps only its label and the pause control */
@media (min-width:880px) and (max-height:760px){
  .hero-film{--d:min(calc(100svh - var(--header-h) - 24px),56vw);--fs:.5}
  .film-note-text{display:none}
  .hero-copy{gap:16px}
  h1{font-size:clamp(3.2rem,5.2vw,4.4rem)}
}
@media (min-width:880px) and (max-height:620px){
  .probe,.scale,.film-note-small{display:none}       /* never the motion control (Codex finding 9) */
  .film-note{gap:0}
  .hero-intro{font-size:1.05rem}
}
/* large, sharp screens: the fine display cut resolves at 2x, so the headlines keep their hairlines there */
@media (min-width:880px) and (min-resolution:2dppx){
  h1,h2{font-weight:340;font-variation-settings:"opsz" 144;letter-spacing:-.028em}
}
/* large displays: a wider column and a bigger opening */
@media (min-width:1800px){
  :root{--max:1520px}
  h1{font-size:clamp(6rem,4.2vw,7.4rem)}
  .hero-copy{max-width:calc(var(--edge) + min(48rem,36vw))}
  .hero-film{--d:min(86svh,52vw,1300px)}
  .hero-intro{font-size:1.35rem;max-width:34rem}
  .film-note{max-width:26rem}
}
/* landscape phones: film beside the words so both actions and the pause control stay in the first viewport */
@media (orientation:landscape) and (max-height:500px){
  :root{--header-h:52px}
  .hero{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;align-content:center;column-gap:28px;padding-inline:var(--edge) 0;min-height:100svh}
  .hero-film{--d:min(calc(100svh - 80px),44vw);position:relative;top:auto;right:auto;grid-column:2;grid-row:1/3;margin:0 var(--gutter) 0 0}
  .meridian{top:-6%;bottom:-6%}
  .hero-copy{grid-column:1;grid-row:1;padding:0;max-width:none;gap:10px}
  h1{font-size:2.1rem}
  .hero-intro{font-size:.92rem;line-height:1.4}
  .hero .actions{margin-top:2px;gap:6px 22px}
  .hero .button{min-height:46px;padding:10px 20px}
  .film-note{grid-column:1;grid-row:2;margin:10px 0 0;border:0;padding:0;max-width:none}
  .film-note-text,.probe,.scale,.film-note-small{display:none}
  .film-hint{bottom:6%;padding:6px 10px}
}
@media (orientation:landscape) and (max-height:400px) and (max-width:879px){
  .hero-copy>.label{display:none}
  .hero-intro{font-size:.88rem;line-height:1.35}
  h1{font-size:1.9rem}
  .film-note{margin-top:6px}
}

/* Collection-wide opening. Individual models live in the catalogue below. */
.library-hero{min-height:min(900px,100svh);padding-bottom:36px;display:flex;flex-direction:column;justify-content:center;align-items:stretch}
.library-hero .hero-copy{padding-top:60px}
.library-art{mask-image:linear-gradient(90deg,transparent,#000 14%);position:absolute;z-index:-1;width:68%;right:-7%;top:50%;transform:translateY(-53%);pointer-events:none}
.library-art img{width:100%;height:auto}
.art-axis{position:absolute;top:12%;bottom:8%;left:61%;width:1px;background:linear-gradient(transparent,rgba(201,217,228,.25),transparent)}
.art-caption{display:none;position:absolute;left:40%;bottom:12%;font:400 .65rem/1.5 var(--mono);letter-spacing:.13em;text-transform:uppercase;color:var(--dim)}
.library-scope{position:absolute;bottom:38px;left:var(--edge);right:var(--edge);display:flex;flex-wrap:wrap;gap:14px 30px;padding-top:24px;border-top:1px solid var(--line);font:400 .72rem/1.5 var(--mono);text-transform:uppercase;letter-spacing:.15em;color:var(--soft)}
.scope-note{margin-left:auto;text-transform:none;letter-spacing:.03em;color:var(--dim)}
.library-hero .hero-copy{max-width:calc(var(--edge) + min(40rem,44vw))}
.library-hero .hero-intro{max-width:31rem}
@media (min-width:880px){.library-hero .actions{column-gap:26px;row-gap:14px}.library-hero .hero-copy{padding-bottom:120px}}
@media (max-width:879px){
  .library-hero{min-height:0;padding:calc(var(--header-h) + 26px) 0 0;display:flex}
  .library-hero .hero-copy{max-width:620px;padding:24px var(--gutter) 0;gap:20px}
  .library-art{position:relative;z-index:0;top:auto;right:auto;transform:none;width:110%;margin:-20px -5% -30px;order:2;height:280px;overflow:hidden}
  .library-art img{position:absolute;width:100%;height:100%;object-fit:contain}
  .art-axis{top:18%;bottom:16%}.art-caption{bottom:9%;left:auto;right:13%;font-size:.56rem}
  .library-scope{position:static;margin:0 var(--gutter);padding:20px 0 26px;gap:12px 20px;order:3;font-size:.65rem}
  .scope-note{display:none}
  .library-hero .actions{gap:10px 24px}
  .library-hero h1{max-width:560px}
}
@media (max-width:479px){.library-hero .hero-copy{gap:18px}.library-art{height:230px;margin-top:-8px}.library-scope{letter-spacing:.09em;gap:12px 18px}.library-hero .hero-intro{font-size:1.02rem}.library-hero .text-link{font-size:.94rem}}
@media (orientation:landscape) and (max-height:500px){.library-hero{min-height:650px}.library-hero .hero-copy{padding-top:20px}.library-hero h1{font-size:3rem}}
