/* stinga.jp "Cinema" (10 Nov 2026). Loaded last on every page by cinema.py. Sections: tokens, header, footer,
   shared motion, front page (complete: its old CSS is dropped), picture pages, articles, record, 404. */
@font-face{font-family:Jost;font-style:normal;font-weight:300;font-display:swap;src:url(/assets/fonts/jost-latin-300-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2190-2193,U+2212}
@font-face{font-family:Jost;font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/jost-latin-400-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2190-2193,U+2212}
@font-face{font-family:Jost;font-style:normal;font-weight:500;font-display:swap;src:url(/assets/fonts/jost-latin-500-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2190-2193,U+2212}
:root{--c-e:cubic-bezier(.2,.7,.2,1);--c-disp:Jost,-apple-system,BlinkMacSystemFont,"Hiragino Sans","Hiragino Kaku Gothic ProN","Noto Sans JP",sans-serif;
  --c-gold:#d9c39a;--c-vio:#c3b5ff;--c-hair:rgba(203,246,251,.1);--c-soft:#b9c2c2;--c-pad:40px}
@media(max-width:700px){:root{--c-pad:18px}}
html{background:#0b1010;overflow-x:clip;scroll-behavior:smooth;scroll-padding-top:84px}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body.cin{overflow-x:clip}
body.cin a:focus-visible,body.cin button:focus-visible{outline:2px solid var(--c-gold);outline-offset:3px;border-radius:4px}
.cin .mark .rg{fill:none;stroke:currentColor;stroke-width:7}.cin .mark .pl{fill:currentColor}.cin .mark .nd{fill:#27231f}.cin .mark .gp{fill:none;stroke:#0b1010;stroke-width:14}

/* ---------- header ---------- */
.cin-bar{position:fixed;left:0;right:0;top:0;z-index:60;border-bottom:1px solid transparent;transition:transform .55s var(--c-e),background-color .5s var(--c-e),border-color .5s var(--c-e)}
.cin-bar.is-solid,body.cin:not(.cin-home) .cin-bar{background:rgba(9,13,14,.62);-webkit-backdrop-filter:blur(14px) saturate(1.2);backdrop-filter:blur(14px) saturate(1.2);border-bottom-color:rgba(203,246,251,.08)}
.cin-bar.is-hidden{transform:translateY(-102%)}
.cin-bar-in{max-width:1440px;margin:0 auto;padding:11px var(--c-pad);display:flex;align-items:center;gap:10px 28px;min-height:60px;box-sizing:border-box}
.cin-logo{display:inline-flex;align-items:center;gap:12px;margin-right:auto;font:400 18px/1 var(--c-disp);letter-spacing:.01em;color:#ece8df;text-decoration:none}
.cin-logo .mark{display:block;width:32px;height:auto;flex:none;color:var(--c-gold)}
.cin-nav{display:flex;align-items:center;gap:6px 26px;font-size:14px;line-height:1}
.cin-nav a,.cin-foot-nav a{color:rgba(236,232,223,.78);text-decoration:none;transition:color .35s var(--c-e)}
.cin-nav a:hover,.cin-foot-nav a:hover{color:#fff}
/* where am I: the section in view (front page, cinema.js) or the kind of page (cinema.py) */
.cin-nav a{position:relative;padding:6px 0}
.cin-nav a::after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:var(--c-gold);transform:scaleX(0);transform-origin:0 50%;transition:transform .6s var(--c-e)}
.cin-nav a.is-here{color:#fff}
.cin-nav a.is-here::after{transform:scaleX(1)}
.cin-lang{display:flex;flex:none}
.cin .langsw{border-color:rgba(236,232,223,.22)}
.cin-lang .langsw{float:none;margin:0;padding:2px}
.cin-lang .langsw button{min-height:30px;padding:0 12px;color:rgba(236,232,223,.75);white-space:nowrap}
.cin-lang .langsw button[aria-pressed=true]{background:rgba(236,232,223,.14);color:#fff}
@media(max-width:700px){
  .cin-logo span{display:none}
  .cin-nav{gap:6px 15px;font-size:13px}
  .cin-lang .langsw{border:0;padding:0}
  .cin-lang .langsw button[aria-pressed=true]{display:none}
  .cin-lang .langsw button{border:1px solid rgba(236,232,223,.3);padding:0 10px}
}
/* phones: the four links and the language button must fit on one line without squeezing the button */
@media(max-width:460px){
  .cin-bar-in{gap:10px 14px}
  .cin-nav{gap:6px 12px}
  .cin-lang .langsw button{padding:0 9px;font-size:12px}
}
@media(max-width:384px){
  .cin-bar-in{gap:10px 10px;padding-left:14px;padding-right:14px}
  .cin-nav{gap:6px 10px;font-size:12px}
  .cin-logo .mark{width:28px}
}
@media(max-width:344px){.cin-logo{display:none}}

/* ---------- footer ---------- */
.cin-foot{max-width:1440px;margin:0 auto;padding:120px var(--c-pad) 56px;box-sizing:border-box}
.cin-name{margin:0 0 22px;font:300 clamp(40px,9vw,132px)/1 var(--c-disp);letter-spacing:-.015em;color:rgba(236,232,223,.14);white-space:nowrap;line-height:1.3;overflow-x:clip;overflow-y:visible}
/* one row under the name (10 Nov, 23:25; Stefano: "all crammed on the left side"): sections left, profiles in the
   middle, back to top right; stacked and centered on phones */
.cin-foot-row{display:grid;grid-template-columns:1fr auto 1fr;align-items:baseline;gap:14px 32px;padding-top:24px;border-top:1px solid var(--c-hair);font-size:14px}
.cin-foot-nav,.cin-foot-social{display:flex;flex-wrap:wrap;gap:8px 26px;margin:0}
.cin-foot-social{justify-content:center}
.cin-foot-social a,.cin-foot-top{color:rgba(236,232,223,.78);text-decoration:none;transition:color .35s var(--c-e)}
.cin-foot-social a:hover,.cin-foot-top:hover{color:#fff}
.cin-foot-top{justify-self:end;white-space:nowrap}
@media(max-width:1180px){
  .cin-foot-row{grid-template-columns:1fr;justify-items:center;text-align:center;gap:18px}
  .cin-foot-nav,.cin-foot-social{justify-content:center}
  .cin-foot-top{justify-self:center}
  .cin-name{text-align:center}
}
.cin .wrap footer{color:#9fabac;font-size:13px;line-height:1.7}

/* ---------- shared motion ----------
   Reveals (10 Nov, 22:05; Stefano: "more beautiful, seamless and smooth reveals", and blocks vanished after the
   browser's Back): one-shot and timed, not tied to the scroll position. <html class="cin-rv"> is set by a small script
   in the head (not with reduced motion, not on Back/Forward); cinema.js adds .cin-in when a block comes into view
   (.cin-done when it has settled), and a block that was shown is never hidden again. Without scripts all is visible. */
html.cin-rv :is(.cin .card,.cin .pub,.cin .pubs .pg,.cin .sec-head,.cin .cin-blk,.cin .grid>a,.cin .see>li,.cin .hl>a,.cin .snr,.cin .cin-about,.cin .cin-press,.cin .explore,.cin .rel>a,.cin .hero .intro,.cin figure.fig):not(.cin-in){opacity:0;transform:translateY(26px)}
html.cin-rv :is(.cin .card,.cin .pub,.cin .pubs .pg,.cin .sec-head,.cin .cin-blk,.cin .grid>a,.cin .see>li,.cin .hl>a,.cin .snr,.cin .cin-about,.cin .cin-press,.cin .explore,.cin .rel>a,.cin .hero .intro,.cin figure.fig).cin-in:not(.cin-done){transition:opacity 1.2s cubic-bezier(.2,.6,.2,1) var(--d,0s),transform 1.5s var(--c-e) var(--d,0s)}
/* the picture inside settles a little after its block */
html.cin-rv .cin-home :is(.card,.pub):not(.cin-in) :is(.ph,.pv) img{transform:scale(1.06)}
html.cin-rv .cin-home :is(.card,.pub).cin-in:not(.cin-done) :is(.ph,.pv) img{transition:transform 2.2s var(--c-e) var(--d,0s),filter 1.6s var(--c-e)}
@media(prefers-reduced-motion:no-preference){
  .cin-hero img{animation:cin-dev-hero 2.6s var(--c-e) both}
  .cin-hero-tx>*{animation:cin-rise 1.4s var(--c-e) both;animation-delay:.35s}
  .cin-hero-tx>strong{animation-delay:.47s}
  .cin-hero-tx>.m{animation-delay:.62s}
  .cin-pic .wrap>figure img,.cin-art .wrap>figure.hero img{animation:cin-dev 1.6s cubic-bezier(.2,.6,.2,1) both}
  .cin-pic .wrap>header,.cin-art .wrap>header,.cin-rec .wrap>header{animation:cin-rise 1.2s var(--c-e) both}
  html.vt .cin-hero img,html.vt .cin-hero-tx>*,html.vt .cin-pic .wrap>figure img,html.vt .cin-art .wrap>figure.hero img,html.vt .cin .wrap>header{animation:none}
}
@keyframes cin-rise{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:none}}
@keyframes cin-dev{from{opacity:0}to{opacity:1}}
@keyframes cin-dev-hero{from{opacity:0;transform:scale(1.07)}to{opacity:1;transform:none}}

/* ================= front page ================= */
body.cin-home{--bg:#0b1010;--panel:#101b1c;--line:#1f3133;--text:#ece8df;--muted:#9fabac;--accent:#d9c39a;
  margin:0;background:transparent;color:var(--text);-webkit-text-size-adjust:100%;
  font:16px/1.7 -apple-system,BlinkMacSystemFont,"Hiragino Sans","Hiragino Kaku Gothic ProN","Noto Sans JP","Segoe UI",Roboto,sans-serif}
.cin-home *{box-sizing:border-box}
.cin-home a{color:var(--accent)}
.cin-home .nw{white-space:nowrap}
.cin-home main.wrap{display:block;max-width:none;margin:0;padding:0}
/* the sky: three depths (make_sky.py, sky_tone.py), as before */
.cin-home .sky{position:fixed;left:0;right:0;top:0;height:100vh;height:100lvh;z-index:-1;overflow:hidden;pointer-events:none}
.cin-home .sky i{position:absolute;left:0;right:0;top:0;will-change:transform}
.cin-home .sky3 i.far{height:calc(100vh + 700px);height:calc(100lvh + 700px);background:#0b1010 url(/img/sky-far-ink.webp) 50% 0/cover no-repeat}
.cin-home .sky3 i.mid{height:calc(100vh + 1024px);height:calc(100lvh + 1024px);background:url(/img/sky-mid.webp) 0 0/1024px 1024px}
.cin-home .sky3 i.near{height:calc(100vh + 1280px);height:calc(100lvh + 1280px);background:url(/img/sky-near.webp) 0 0/1280px 1280px}
@media(prefers-reduced-motion:no-preference){@supports(animation-timeline:scroll()){
  .cin-home .sky i{animation-timeline:scroll(root);animation-duration:auto;animation-timing-function:linear;animation-fill-mode:both}
  .cin-home .sky3 i.far{animation-name:sky3-far;animation-range:0 7000px;animation-iteration-count:1}
  .cin-home .sky3 i.mid{animation-name:sky3-mid;animation-range:0 30720px;animation-iteration-count:6}
  .cin-home .sky3 i.near{animation-name:sky3-near;animation-range:0 33684.21px;animation-iteration-count:10}
}}
@keyframes sky3-far{to{translate:0 -700px}}
@keyframes sky3-mid{to{translate:0 -1024px}}
@keyframes sky3-near{to{translate:0 -1280px}}

/* the newest picture fills the first screen */
.cin-home .cin-hero{position:relative;display:block;height:min(100vh,940px);height:min(100svh,940px);min-height:540px;overflow:hidden;background:#050808;color:#ece8df;text-decoration:none}
.cin-hero img{display:block;width:100%;height:100%;object-fit:cover;transition:transform 1.8s var(--c-e)}
.cin-hero:hover img{transform:scale(1.02)}
.cin-hero::after,.cin-home .feature::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(to top,rgba(5,8,8,.9) 0,rgba(5,8,8,.28) 36%,rgba(5,8,8,0) 58%,rgba(5,8,8,.4) 100%)}
.cin-hero-tx{position:absolute;left:0;right:0;bottom:0;z-index:1;max-width:1440px;margin:0 auto;padding:0 var(--c-pad) 52px;display:flex;flex-direction:column;align-items:flex-start;gap:6px}
.cin-home .tag,.cin-home .eyebrow{font-size:12px;letter-spacing:.2em;text-transform:uppercase;color:var(--c-gold);line-height:1.5}
.cin-hero-tx strong{display:block;margin:4px 0 8px;font:300 clamp(40px,6.4vw,92px)/1.03 var(--c-disp);letter-spacing:-.01em}
.cin-hero-tx .m{display:block;font-size:14px;line-height:1.55;color:rgba(236,232,223,.8)}
.cin-hero-tx strong::after{content:"→";margin-left:.35em;font-size:.5em;color:var(--c-gold);display:inline-block;transition:transform .5s var(--c-e);vertical-align:.25em}
.cin-hero:hover strong::after{transform:translateX(8px)}

/* intro */
.cin-home .hero{max-width:1280px;margin:0 auto;padding:128px var(--c-pad) 120px}
.cin-home .intro{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(440px,1fr);column-gap:72px;align-items:end}
.cin-home .intro .lead{grid-column:1;grid-row:1/span 5;margin:0;font:300 clamp(20px,2vw,28px)/1.5 var(--c-disp);color:#ece8df}
.cin-home .intro>:not(.lead){grid-column:2}
.cin-home .intro .eyebrow{display:flex;flex-direction:column;align-items:flex-start;gap:14px;margin:0}
.cin-home .intro .eyebrow .mark{display:none}
.cin-home .intro h1{margin:12px 0 4px;font:300 clamp(30px,2.7vw,40px)/1.15 var(--c-disp);letter-spacing:0;white-space:nowrap}
.cin-home .social{list-style:none;margin:14px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:6px 18px;font-size:14px}
.cin-home .social a{display:inline-flex;align-items:center;gap:7px;color:rgba(236,232,223,.8);text-decoration:none;transition:color .35s var(--c-e)}
.cin-home .social a:hover{color:#fff}
.cin-home .social svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;opacity:.8}
.cin-home .intro .meta{margin:14px 0 0;font-size:13px;color:var(--muted)}
.cin-home .intro .meta a{color:var(--muted);white-space:nowrap}
@media(max-width:900px){
  .cin-home .hero{padding:88px var(--c-pad) 84px}
  .cin-home .intro{display:block}
  .cin-home .intro h1{white-space:normal}
  .cin-home .intro .lead{margin:22px 0 6px}
}

/* sections */
.cin-home .sec{padding:128px 0 0}
.cin-home .sec-head{max-width:1440px;margin:0 auto;padding:0 var(--c-pad) 44px;display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:8px 32px}
.cin-home h2{margin:0;font:300 clamp(32px,4vw,54px)/1.1 var(--c-disp)}
.cin-home .sec-head .note,.cin-home .sec-head .sec-note{margin:0;font-size:14px;color:var(--muted);max-width:60ch}
.cin-home .sec-note a{color:var(--c-gold)}
.cin-home .sec-images{display:flex;flex-direction:column;padding-top:0}
.cin-home .sec-images .sec-body{display:contents}
.cin-home .sec-images .sec-head{order:1;width:100%;padding-top:128px}
.cin-home .sec-images .cards{order:2;width:100%}

/* Saturn, the Highlight: a full-width band */
.cin-home .feature{order:0;position:relative;display:block;overflow:hidden;background:#000;color:#ece8df;text-decoration:none}
.cin-home .feature .ph{aspect-ratio:2.05/1;max-height:760px;width:100%}
.cin-home .feature .ph img{display:block;width:100%;height:100%;object-fit:cover;transition:transform 1.8s var(--c-e)}
.cin-home .feature:hover .ph img{transform:scale(1.02)}
.cin-home .feature .tx{position:absolute;left:0;right:0;bottom:0;z-index:1;max-width:1440px;margin:0 auto;padding:0 var(--c-pad) 44px;display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:16px 64px}
.cin-home .feature .tx>div:first-child{display:flex;flex-direction:column;align-items:flex-start;gap:8px}
.cin-home .feature strong{font:300 clamp(30px,4.2vw,60px)/1.08 var(--c-disp)}
.cin-home .feature .side{display:flex;flex-direction:column;text-align:right;font-size:13px;line-height:1.6;color:rgba(236,232,223,.78)}
@media(max-width:700px){
  .cin-home .cin-hero{height:auto;min-height:0;aspect-ratio:4/5}
  .cin-hero-tx{padding-bottom:28px}
  .cin-hero-tx strong::after{display:none}
  .cin-home .feature .ph{aspect-ratio:4/5;max-height:none}
  .cin-home .feature .tx{padding-bottom:26px}
  .cin-home .feature .side{text-align:left}
}

/* pictures: rows of two and three, no boxes */
.cin-home .cards{max-width:1440px;margin:0 auto;padding:0 var(--c-pad);display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:64px 24px}
.cin-home .card{grid-column:span 6;display:flex;flex-direction:column;gap:16px;min-width:0;color:#ece8df;text-decoration:none}
@media(min-width:620px){.cin-home .card{grid-column:span 3}}
@media(min-width:980px){.cin-home .card.s3{grid-column:span 2}.cin-home .card.s1{grid-column:span 6}}
.cin-home .card .ph,.cin-home .pub .pv{display:block;overflow:hidden;border-radius:4px;aspect-ratio:16/10;background:#050808}
.cin-home .card .ph img,.cin-home .pub .pv img{display:block;width:100%;height:100%;object-fit:cover;filter:brightness(.93);transition:transform 1.6s var(--c-e),filter 1.6s var(--c-e)}
.cin-home .card:hover .ph img,.cin-home .card:focus-visible .ph img,.cin-home .pub .pv:hover img{transform:scale(1.035);filter:brightness(1.04)}
.cin-home .card .tx{display:flex;flex-direction:column;align-items:flex-start;gap:3px}
.cin-home .card strong{margin:2px 0 4px;font:400 22px/1.3 var(--c-disp);transition:color .35s var(--c-e)}
.cin-home .card.s3 strong{font-size:20px}
.cin-home .card:hover strong{color:var(--c-gold)}
.cin-home .card .m{font-size:13px;line-height:1.55;color:var(--muted)}
/* the small badge on a card sits on the date line, at the right (the old page's top:18px put it on the title) */
.cin-home .card .tx{position:relative}
.cin-home .card .feats{top:0;right:0;margin:0;height:auto;line-height:1}

/* articles: wide spreads */
.cin-home .cards.arts{max-width:1280px;display:flex;flex-direction:column;gap:88px}
.cin-home .arts .card{flex-direction:row;flex-wrap:wrap;align-items:center;gap:28px 72px}
.cin-home .arts .card:nth-child(even){flex-direction:row-reverse}
.cin-home .arts .card .ph{flex:1.15 1 360px;min-width:0}
.cin-home .arts .card .tx{flex:1 1 340px;min-width:0;gap:10px}
.cin-home .arts .card strong{margin:0;font:300 clamp(28px,3.4vw,46px)/1.12 var(--c-disp)}
.cin-home .arts .card .m{font-size:16px;line-height:1.65;color:var(--c-soft);max-width:48ch}
.cin-home .arts .card .tx::after{content:"→";color:var(--c-gold);font-size:18px;transition:transform .5s var(--c-e)}
.cin-home .arts .card:hover .tx::after{transform:translateX(8px)}

/* publications */
.cin-home .pubs{max-width:1440px;margin:0 auto;padding:0 var(--c-pad);display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:56px 40px}
/* no entry alone in a row: cinema.py marks .g1 (the only one of its group), .g2 (halves), .g4 (a group of four:
   four across on wide screens, two rows of two below; Stefano 23:08: two rows of two "feels too big ... compared to
   rest") */
.cin-home .pubs .pub{grid-column:span 12}
/* phones: one plain column. Twelve columns have eleven 40 px gaps, wider than a phone, which pushed the publications
   past the right edge (Stefano, 11 Nov, iPhone 13 Pro: "no right padding") */
@media(max-width:619px){.cin-home .pubs{grid-template-columns:minmax(0,1fr)}.cin-home .pubs .pub,.cin-home .pubs .pub.g1,.cin-home .pubs .pg{grid-column:1}}
@media(min-width:620px){.cin-home .pubs .pub{grid-column:span 6}}
@media(min-width:980px){.cin-home .pubs .pub{grid-column:span 4}.cin-home .pubs .pub.g2,.cin-home .pubs .pub.g4{grid-column:span 6}}
@media(min-width:1200px){.cin-home .pubs .pub.g4{grid-column:span 3}.cin-home .pubs:has(.g4){column-gap:32px}
  .cin-home .pub.g4 strong{font-size:18px}.cin-home .pub.g4 p{font-size:14px}}
.cin-home .pubs .pub.g1{grid-column:1/-1}
.cin-home .pubs .pg{grid-column:1/-1;margin:24px 0 -24px;padding-top:18px;border-top:1px solid var(--c-hair);font:400 18px/1.4 var(--c-disp);color:#ece8df}
.cin-home .pubs .pg:first-child{margin-top:0}
.cin-home .pub{display:flex;flex-direction:column;gap:16px;min-width:0}
.cin-home .pub>div{display:flex;flex-direction:column;align-items:flex-start;gap:8px}
.cin-home .pub strong{font:400 21px/1.32 var(--c-disp)}
.cin-home .pub strong a{color:#ece8df;text-decoration:none;transition:color .35s var(--c-e)}
.cin-home .pub strong a:hover{color:var(--c-gold)}
.cin-home .pub .jt{font-size:13px;color:var(--muted)}
.cin-home .pub .cite{font-size:14px;color:var(--muted)}
.cin-home .pub p{margin:0;font-size:14.5px;line-height:1.65;color:var(--c-soft)}
.cin-home .pub .links{display:flex;flex-wrap:wrap;align-items:center;gap:8px 8px;margin-top:6px;font-size:13px}
.cin-home .pub .links a{display:inline-block;padding:5px 14px;border:1px solid rgba(217,195,154,.42);border-radius:999px;color:#ece8df;text-decoration:none;transition:border-color .35s var(--c-e),background-color .35s var(--c-e)}
.cin-home .pub .links a:hover{border-color:var(--c-gold);background:rgba(217,195,154,.07)}
.cin-home .pub .links>span{display:inline-flex;flex-wrap:wrap;align-items:center;gap:4px 8px}
/* a group with ONE entry (Stefano, 10 Nov: "the text sits awkwardly at the bottom"): picture and text side by side, like an article */
@media(min-width:760px){
  .cin-home .pubs .pub.g1{grid-column:1/-1;flex-direction:row;align-items:center;gap:28px 72px;max-width:1280px}
  .cin-home .pubs .pub.g1 .pv{flex:1 1 0;min-width:0}
  .cin-home .pubs .pub.g1>div{flex:1.15 1 0;min-width:0;gap:10px}
  .cin-home .pubs .pub.g1 strong{font:300 clamp(24px,2.5vw,34px)/1.18 var(--c-disp)}
  .cin-home .pubs .pub.g1 p{font-size:16px;max-width:52ch}
}
.cin-home .doi{font:11px/1.4 ui-monospace,"SF Mono",SFMono-Regular,Menlo,Consolas,monospace;color:var(--muted)}

/* citizen science */
.cin-home .snr{max-width:1280px;margin:0 auto;padding:0 var(--c-pad);display:flex;flex-wrap:wrap;gap:40px 88px;align-items:flex-start}
.cin-home .snr>div{flex:2 1 420px;min-width:0}
.cin-home .snr p{margin:0 0 22px;font-size:17px;line-height:1.75;color:var(--c-soft)}
.cin-home .snr .more{display:inline-flex;align-items:center;gap:10px;padding:8px 18px;border:1px solid rgba(217,195,154,.42);border-radius:999px;color:#ece8df;text-decoration:none;font-size:14px;transition:border-color .35s var(--c-e)}
.cin-home .snr .more i{font-style:normal;color:var(--c-gold);transition:transform .5s var(--c-e)}
.cin-home .snr .more:hover{border-color:var(--c-gold)}
.cin-home .snr .more:hover i{transform:translateX(5px)}
.cin-home .snr ul{flex:1 1 320px;min-width:0;list-style:none;margin:0;padding:0}
.cin-home .snr li{display:flex;justify-content:space-between;gap:4px 24px;padding:14px 0;border-top:1px solid var(--c-hair);font-size:15px}
.cin-home .snr li:last-child{border-bottom:1px solid var(--c-hair)}
.cin-home .snr li b{font-weight:500;flex:none;white-space:nowrap}
.cin-home .snr .v{color:var(--c-gold);text-align:right}
@media(max-width:619px){.cin-home .snr li{flex-direction:column;gap:3px}.cin-home .snr .v{text-align:left}}
.cin-home main>footer{max-width:1440px;margin:0 auto;padding:120px var(--c-pad) 0}
.cin-home main>footer a{color:#9fabac}
.cin-home .cin-foot{padding-top:40px}

/* ================= picture pages ================= */
body.cin-pic,body.cin-art,body.cin-rec,body.cin-e404{background:url(/img/sky-near.webp) 0 0/1280px 1280px,url(/img/sky-mid.webp) 0 0/1024px 1024px,var(--bg)}
.cin .wrap>header .home{display:none}
.cin .wrap>header>p.meta:first-child{margin:0!important}
.cin-pic .wrap{max-width:1440px;padding:112px var(--c-pad) 0}
.cin-pic .wrap>header{display:flex;flex-direction:column;align-items:flex-start;gap:12px}
.cin-pic .wrap>header h1{order:2;margin:0;font:300 clamp(34px,5.2vw,74px)/1.05 var(--c-disp);letter-spacing:-.01em}
.cin-pic .wrap>header>*{order:4}
.cin-pic .wrap>header>p.meta{order:1;margin:0;font-size:12px;letter-spacing:.18em;text-transform:uppercase;color:var(--c-gold)}
.cin-pic .wrap>header>p.sub{order:2;margin:0;font:300 clamp(18px,1.8vw,24px)/1.4 var(--c-disp);color:#c9cfcd}
.cin-pic .wrap>header .feats{order:3;margin-top:6px}
.cin-pic .wrap>header .langsw{order:0;align-self:flex-end}
.cin-pic .wrap>figure{margin:36px 0 0}
.cin-pic .wrap>figure>a{display:block;width:fit-content;max-width:100%;margin:0 auto}
.cin-pic .wrap>figure img{border-radius:4px;width:auto;max-width:100%;height:auto;max-height:max(420px,86vh)}
/* the picture's box is known before the file arrives (10 Nov, 23:36; Stefano: "the layout shifts suddenly when it
   loads"): cinema.py writes the shape as --ar (width / height) on the <figure>; with width:auto the box was empty until
   then, so the soft preview had nothing to show on either */
.cin-pic .wrap>figure[style*="--ar"]>a,.cin-pic .wrap>figure[style*="--ar"]>img{display:block;width:min(100%,calc(max(420px,86vh)*var(--ar)));margin:0 auto}
.cin-pic .wrap>figure[style*="--ar"]>a>img{display:block;width:100%}
.cin-pic .wrap>figure[style*="--ar"] img{height:auto;max-height:none;aspect-ratio:var(--ar)}
.cin-pic .wrap>figure+p.note{margin-top:12px}

/* the interactive viewer: its own violet, never mistaken for a download */
.cin .explore{position:relative;margin:28px 0 0;padding:18px 24px;gap:20px;border-radius:16px;border:1px solid rgba(178,160,255,.5);color:#ece8df;
  background:linear-gradient(120deg,rgba(152,128,255,.24),rgba(98,80,200,.11) 55%,rgba(64,54,130,.10));
  box-shadow:inset 0 1px 0 rgba(220,210,255,.10),0 26px 60px -34px rgba(140,112,255,.7);transition:border-color .4s var(--c-e),background-color .4s var(--c-e),box-shadow .4s var(--c-e)}
.cin .explore:hover{border-color:#cdbfff;background:linear-gradient(120deg,rgba(152,128,255,.32),rgba(98,80,200,.16) 55%,rgba(64,54,130,.14));box-shadow:inset 0 1px 0 rgba(220,210,255,.14),0 26px 70px -30px rgba(150,120,255,.9)}
.cin .explore svg.cin-vi{box-sizing:content-box;width:26px;height:26px;padding:12px;border-radius:50%;color:#d6ccff;background:rgba(178,160,255,.16);border:1px solid rgba(178,160,255,.38)}
.cin .explore .cin-k{display:block;margin-bottom:3px;font-size:11px;line-height:1.5;letter-spacing:.2em;text-transform:uppercase;color:var(--c-vio)}
.cin .explore strong{font:400 clamp(19px,1.9vw,24px)/1.3 var(--c-disp)}
.cin .explore .s{margin-top:2px;color:#bdb9d6}
.cin .explore::after{content:"→";margin-left:auto;padding-left:12px;font-size:22px;color:#d6ccff;transition:transform .5s var(--c-e)}
.cin .explore:hover::after{transform:translateX(6px)}
.cin .jump a{border-color:rgba(178,160,255,.36);background:rgba(152,128,255,.07)}
.cin .jump a:hover,.cin .jump a:focus-visible{border-color:#cdbfff}
.cin .see .go a{color:var(--c-vio)}

/* centered like the picture (10 Nov, 23:39: "the sliders ... sit awkwardly all left aligned") */
.cin-pic .pairs{max-width:1100px;margin-left:auto;margin-right:auto}
.cin-pic .pairs+p.note{max-width:1100px;margin-left:auto;margin-right:auto}
/* press: credit and downloads, side by side, right under the picture */
.cin-press{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);gap:36px 64px;align-items:start;margin:36px 0 0;padding:30px 0 0;border-top:1px solid var(--c-hair)}
@media(max-width:900px){.cin-press{grid-template-columns:minmax(0,1fr)}}
.cin-press .credit{display:flex;flex-direction:column;align-items:flex-start;gap:14px;margin:0;padding:0;border:0;border-radius:0;background:none}
.cin-press .credit small,.cin-press .cin-dl>h2{display:block;margin:0 0 10px;padding:0;border:0;font:500 12px/1.5 inherit;letter-spacing:.2em;text-transform:uppercase;color:var(--c-gold)}
.cin-press .credit code{font-size:17px;line-height:1.55}
.cin-press button.copy{padding:7px 16px;border-radius:999px;border-color:rgba(217,195,154,.5);color:#ece8df;font-size:13px;transition:border-color .35s var(--c-e)}
.cin-press button.copy:hover{border-color:var(--c-gold)}
/* downloads: one row per file (10 Nov, 23:16; Stefano: "sometimes they have a lot of text so they feel spaced
   weirdly"). In two or three columns a long description made a tall card and stretched its neighbors; a row takes
   any length. Icon (kit.js) left, name, then the details in one or two lines. */
.cin-press .dl,.cin-press .dl.three{display:flex;flex-direction:column;gap:8px}
.cin-press .dl a.btn{display:flex;flex-direction:column;justify-content:center;gap:1px;padding:12px 20px;border-radius:12px;border-color:rgba(217,195,154,.3);background:transparent;transition:border-color .35s var(--c-e),background-color .35s var(--c-e)}
.cin-press .dl a.btn.has-dl{display:grid;grid-template-columns:36px minmax(0,1fr);grid-template-rows:auto auto;align-content:center;column-gap:18px;row-gap:1px}
.cin-press .dl a.btn.has-dl>.dl-ico{width:36px;height:36px;align-self:center}
.cin-press .dl a.btn>strong{font-size:15.5px;line-height:1.4}
.cin-press .dl a.btn>span:not(.dl-ico){font-size:13px;line-height:1.5}
.cin-press .dl a.btn:hover{border-color:var(--c-gold);background:rgba(217,195,154,.07)}
.cin-press .dl a.btn.primary{background:var(--c-gold);border-color:var(--c-gold)}
.cin-press .dl a.btn.primary:hover{background:#e6d3ae}
/* other download cards on the page (wallpapers ...): the name and details stay together when a neighbor is taller */
.cin-pic .dl a.btn.has-dl{grid-template-rows:auto auto;align-content:center}
.cin-press .note{margin-top:12px}

/* section titles and blocks */
.cin-pic .wrap>h2,.cin-pic .cols h2{margin:120px 0 32px;padding:0;border:0;font:300 clamp(28px,3.4vw,46px)/1.12 var(--c-disp)}
.cin-pic .wrap>.lead,.cin-pic .wrap>.claim{max-width:860px}
.cin-pic .wrap>.lead{margin-top:44px;font-size:17px;line-height:1.8}
.cin-pic .wrap>p.note,.cin-pic .wrap>p{max-width:900px}
.cin-pic .grid{gap:36px 20px}
.cin-pic .grid img,.cin-pic .hl img,.cin-pic .looks img,.cin-pic .rel img{border-radius:4px;filter:brightness(.94);transition:filter .8s var(--c-e)}
.cin-pic .grid a:hover img,.cin-pic .hl a:hover img,.cin-pic .looks a:hover img{filter:brightness(1.06)}
.cin-pic .grid p{margin-top:12px;font-size:14px}
html[data-lang] body.cin-pic .cols{max-width:none;margin-top:0}
.cin-pic .cin-about{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2.6fr);column-gap:72px;align-items:start}
.cin-pic .cin-about>h2{grid-column:1;grid-row:1/span 30;margin-bottom:0}
.cin-pic .cin-about>:not(h2){grid-column:2;max-width:860px}
.cin-pic .cin-about>p{margin:0 0 1em;font-size:clamp(17px,1.5vw,20px);line-height:1.75;color:#dfe2de}
.cin-pic .cin-about>p:first-of-type{margin-top:124px}
.cin-pic .cin-blks{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:48px 72px;margin-top:72px}
/* one block much longer than the others (cinema.py marks it .long, the group .has-long; 10 Nov, 23:36: "How it was
   made" of Earth's hydrogen halo was a "super long" third column): it gets a wide column to itself and the short
   ones stack beside it */
@media(min-width:901px){
  .cin-pic .cin-blks.has-long{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);grid-auto-flow:row dense;align-items:start;row-gap:0}
  .cin-pic .cin-blks.has-long>.cin-blk{grid-column:2;margin-bottom:48px}
  .cin-pic .cin-blks.has-long>.cin-blk:last-child,.cin-pic .cin-blks.has-long>.cin-blk.long{margin-bottom:0}
  .cin-pic .cin-blks.has-long>.cin-blk.long{grid-column:1;grid-row:1/span 12}
}
.cin-pic .cin-blk{padding-top:20px;border-top:1px solid rgba(217,195,154,.45)}
.cin-pic .cin-blk h3{margin:0 0 14px;font:400 23px/1.3 var(--c-disp);color:#ece8df}
.cin-pic .cin-blk li,.cin-pic .cin-blk p{font-size:15px;line-height:1.7;color:#c6cdcb}
.cin-pic .cin-blk ul{margin:0;padding-left:18px;display:flex;flex-direction:column;gap:8px}
@media(max-width:900px){
  .cin-pic .cin-about{display:block}
  .cin-pic .cin-about>p:first-of-type{margin-top:0}
  .cin-pic .cin-about>h2{margin-bottom:18px}
  .cin-pic .wrap>h2,.cin-pic .cols h2{margin-top:88px}
}
.cin-pic .see{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:40px 48px}
/* nine or five items: rows of three, so that no item is left alone in the last row */
@media(min-width:1000px){.cin-pic .see:has(>li:nth-child(9):last-child),.cin-pic .see:has(>li:nth-child(5):last-child){grid-template-columns:repeat(3,minmax(0,1fr))}}
.cin-pic .see li{padding:18px 0 0;border:0;border-top:1px solid rgba(217,195,154,.45);border-radius:0;background:none}
.cin-pic .see strong{font:400 21px/1.3 var(--c-disp)}
.cin-pic .walls h3{color:#ece8df;font:400 18px/1.3 var(--c-disp)}

/* more pictures: two large images, edge to edge */
.cin-pic .rel{max-width:none;width:calc(100vw - var(--sbw,0px));margin:0 0 0 calc(50% - 50vw + var(--sbw,0px)/2);gap:4px;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr))}
.cin-pic .rel a{position:relative;overflow:hidden;background:#000;color:#ece8df}
.cin-pic .rel img{width:100%;height:100%;aspect-ratio:16/10;object-fit:cover;border-radius:0;transition:transform 1.6s var(--c-e),filter 1.6s var(--c-e)}
.cin-pic .rel a:hover img{transform:scale(1.03);filter:brightness(1.05)}
.cin-pic .rel a::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(to top,rgba(5,8,8,.9) 0,rgba(5,8,8,.2) 42%,rgba(5,8,8,0) 62%)}
.cin-pic .rel p{position:absolute;left:0;right:0;bottom:0;z-index:1;margin:0;padding:0 var(--c-pad) 28px;font:300 clamp(21px,2.3vw,32px)/1.2 var(--c-disp)}
.cin-pic .wrap>footer{margin-top:72px;border-top:0;padding-top:0}

/* ================= articles, record, 404 ================= */
.cin-art .wrap,.cin-rec .wrap,.cin-e404 .wrap{padding-top:112px}
.cin-art .wrap>header h1,.cin-rec .wrap>header h1,.cin-e404 h1{font-family:var(--c-disp);font-weight:300;letter-spacing:-.005em}
.cin-art .wrap h2,.cin-rec .wrap h2{font-family:var(--c-disp);font-weight:400}
.cin-art .wrap>header .langsw,.cin-rec .wrap>header .langsw,.cin-e404 .wrap>header .langsw{margin-top:-6px}

/* ---------- page swaps (10 Nov, 22:12; Stefano: the picture flying from the card to its page, "not sure i like it
   anymore ... something that will feel smooth and magical"). Nothing travels now: the header stays where it is, the
   old page sinks back into the dark and the new one rises out of it. Browsers without cross-page view transitions
   just open the page. ---------- */
.cin img{view-transition-name:none!important}
@view-transition{navigation:auto}
@media(prefers-reduced-motion:no-preference){
  .cin-bar{view-transition-name:cin-bar}
  ::view-transition-group(cin-bar){animation-duration:.7s;animation-timing-function:cubic-bezier(.2,.75,.2,1)}
  ::view-transition-old(root){animation:cin-leave .34s cubic-bezier(.4,0,.8,.4) both}
  ::view-transition-new(root){animation:cin-arrive 1.05s cubic-bezier(.2,.75,.2,1) .2s both}
}
@media(prefers-reduced-motion:reduce){::view-transition-group(*),::view-transition-old(*),::view-transition-new(*){animation:none!important}}
@keyframes cin-leave{to{opacity:0;transform:scale(.985)}}
@keyframes cin-arrive{from{opacity:0;transform:translateY(22px)}}

/* ---------- scroll hint on the first screen: a thin line that breathes, gone after the first scroll ---------- */
.cin-scroll{position:absolute;left:50%;bottom:0;z-index:1;width:1px;height:64px;overflow:hidden;background:rgba(236,232,223,.16);transition:opacity .8s var(--c-e)}
.cin-scroll::after{content:"";position:absolute;left:0;top:0;width:1px;height:100%;background:linear-gradient(to bottom,rgba(236,232,223,0),rgba(236,232,223,.9));transform:translateY(-100%)}
@media(prefers-reduced-motion:no-preference){.cin-scroll::after{animation:cin-drip 2.6s cubic-bezier(.6,0,.3,1) 2.4s infinite}}
@keyframes cin-drip{0%{transform:translateY(-100%)}60%,100%{transform:translateY(100%)}}
html.cin-scrolled .cin-scroll{opacity:0}
@media(max-width:700px){.cin-scroll{height:40px}}

/* ---------- soft previews (cinema.py previews()): the frame shows a blurred 32 px copy of its picture until the picture is
   there; on cards and publications the picture then fades in over it ---------- */
.cin .cin-lq{background-image:var(--lq)!important;background-size:cover!important;background-position:50% 50%!important;background-repeat:no-repeat!important}
html.cin-rv .cin-lq:not(.cin-hero)>img{opacity:0}
html.cin-rv .cin-lq:not(.cin-hero)>img.cin-ok{opacity:1;transition:opacity 1.3s cubic-bezier(.2,.6,.2,1),transform 2.2s var(--c-e),filter 1.6s var(--c-e)}
html.cin-rv .cin-lq:not(.cin-hero)>img.cin-ok.cin-now{transition:transform 2.2s var(--c-e),filter 1.6s var(--c-e)}

/* ---------- articles in the older layout (ED138), the supernova record, the 404: titles, lead and headings as on the
   picture pages (10 Nov, 22:49). The clock article has its own header (.ah) and is left alone. ---------- */
.cin-art .wrap>header:not(:has(.ah)),.cin-rec .wrap>header{display:flex;flex-direction:column;align-items:flex-start;gap:12px}
.cin-art .wrap>header:not(:has(.ah)) h1,.cin-rec .wrap>header h1{margin:0;max-width:20em;font:300 clamp(32px,4.6vw,60px)/1.08 var(--c-disp);letter-spacing:-.01em}
.cin-art .wrap>header:not(:has(.ah)) .eyebrow,.cin-rec .wrap>header .eyebrow{margin:0;font-size:12px;letter-spacing:.18em;text-transform:uppercase;color:var(--c-gold)}
.cin-art .wrap>header:not(:has(.ah))>p.meta,.cin-rec .wrap>header>p.meta{margin:0;font-size:14px}
.cin-art .wrap>header:not(:has(.ah)) .langsw,.cin-rec .wrap>header .langsw{order:-1;align-self:flex-end}
.cin-art .wrap:not(:has(.ah))>.lead,.cin-rec .wrap>.lead,.cin-art .wrap:not(:has(.ah))>main>.lead,.cin-rec .wrap>main>.lead{max-width:760px;margin-top:40px;font-size:17px;line-height:1.8;color:#c9cfcd}
.cin-art .wrap:not(:has(.ah)) h2,.cin-rec .wrap h2{margin-top:76px;font-size:24px;font-weight:400;border-bottom-color:var(--c-hair)}
.cin-e404 .code{margin:0;font:300 clamp(96px,16vw,200px)/1 var(--c-disp);letter-spacing:-.02em;color:rgba(236,232,223,.14)}
.cin-e404 h1{margin:-.35em 0 10px;font-size:clamp(30px,4vw,52px);line-height:1.1}

/* ---------- scrollbar (11 Nov, 12:30; Stefano: "a nice stylish scroll bar that matches the site"): a slim gold thread
   on the Ink background, brighter under the pointer. Chrome, Edge and Safari take the ::-webkit rules (round thumb
   with air around it); Firefox takes the two standard properties. Phones keep their own. --sbw (cinema.js) is the
   bar's width, for the one edge-to-edge block that is sized from the window (.rel). ---------- */
@supports not selector(::-webkit-scrollbar){html{scrollbar-width:thin;scrollbar-color:rgba(217,195,154,.45) #080c0d}}
@media(hover:hover) and (pointer:fine){
  html:has(.cin)::-webkit-scrollbar,.cin ::-webkit-scrollbar{width:12px;height:10px}
  html:has(.cin)::-webkit-scrollbar-track,.cin ::-webkit-scrollbar-track{background:#080c0d}
  .cin ::-webkit-scrollbar-track{background:transparent}
  html:has(.cin)::-webkit-scrollbar-thumb,.cin ::-webkit-scrollbar-thumb{border:4px solid transparent;border-radius:8px;background:rgba(217,195,154,.34);background-clip:padding-box;min-height:56px}
  html:has(.cin)::-webkit-scrollbar-thumb:hover,.cin ::-webkit-scrollbar-thumb:hover{border-width:3px;background-color:rgba(217,195,154,.75)}
  html:has(.cin)::-webkit-scrollbar-thumb:active,.cin ::-webkit-scrollbar-thumb:active{border-width:3px;background-color:#d9c39a}
  html:has(.cin)::-webkit-scrollbar-corner,.cin ::-webkit-scrollbar-corner{background:transparent}
}

/* ---------- About page (/about/, 11 Nov 2026; _build/about/build_about_page.py). An article page (.cin-art) whose
   sections sit like "About this image" on a picture page: the heading in a left column, the text beside it. ---------- */
.cin-abt .abt-lead{max-width:none;margin:56px 0 0;display:grid;gap:22px}
.cin-abt .abt-lead p{margin:0;max-width:44em;font-size:clamp(17px,1.35vw,19px);line-height:1.8;color:#c9cfcd}
.cin-abt .abt-lead p:first-child{max-width:24em;font:300 clamp(25px,3vw,40px)/1.28 var(--c-disp);color:#ece8df;margin-bottom:10px}
.cin.cin-abt .wrap .abt-s{margin:72px 0 0;padding:30px 0 0;border-top:1px solid var(--c-hair)}
.cin.cin-abt .wrap .abt-s h2{margin:0 0 16px;padding:0;border:0;font:400 24px/1.3 var(--c-disp)}
.cin-abt .abt-s ul{list-style:none;margin:0;padding:0;max-width:46em;display:grid;gap:14px}
.cin-abt .abt-s li{margin:0;font-size:16px;line-height:1.75;color:#c9cfcd}
.cin-abt .abt-s li b{color:#ece8df;font-weight:600}
.cin-abt .abt-more{margin:22px 0 0;font-size:14px}
.cin-abt .abt-more a,.cin-abt .abt-links a{margin:0}
.cin-abt .abt-links{display:flex;flex-wrap:wrap;gap:10px;margin:0}
.cin-abt .abt-links a{padding:8px 18px;border:1px solid rgba(217,195,154,.3);border-radius:999px;color:#ece8df;text-decoration:none;font-size:14px;transition:border-color .35s var(--c-e),background-color .35s var(--c-e)}
.cin-abt .abt-links a:hover{border-color:var(--c-gold);background:rgba(217,195,154,.07)}
.cin-abt .wrap>footer{margin-top:88px}
@media(min-width:900px){
  .cin-abt .abt-s{display:grid;grid-template-columns:260px minmax(0,1fr);column-gap:64px}
  .cin.cin-abt .wrap .abt-s h2{margin:0}
}
/* four links in the header: a little tighter on small phones */
/* (the old 420 px header rule moved to the phone rules near the top) */
/* phones: the five footer links on one line (12 Nov) */
@media(max-width:460px){.cin-foot-nav,.cin-foot-social{gap:8px 16px}}
@media(max-width:374px){.cin-foot-row{font-size:13px}.cin-foot-nav,.cin-foot-social{gap:8px 13px}}

/* 15 Nov 2026: the first screen on phones is a 4:5 cut; for "The Moon's colors, measured" it shows the lit limb and the
   colored maria at the right of the picture, not the gray middle */
@media(max-width:700px){.cin-hero[href="moon-colors-2026/"] img{object-position:88% 50%}}
