/* Journal pages. Design language from "Publisher Platform UX": frosted panes floating over a scene.
   The scene is a research desk, seen from above (desk.jpg); the hall stays on the home page.
   The overview is laid out like search results (source, path, title, snippet with date, thumbnail).
   The whole look lives in this file. */
@font-face{font-family:"Bebas Neue";font-weight:400;font-style:normal;font-display:swap;src:url(fonts/bebas-neue-400.woff2) format("woff2")}
@font-face{font-family:"Barlow";font-weight:400;font-style:normal;font-display:swap;src:url(fonts/barlow-400.woff2) format("woff2")}
@font-face{font-family:"Barlow";font-weight:600;font-style:normal;font-display:swap;src:url(fonts/barlow-600.woff2) format("woff2")}
@font-face{font-family:"TED Amp";font-weight:400;font-style:normal;font-display:swap;src:url(fonts/barlow-600.woff2) format("woff2");unicode-range:U+0026}

:root{
  --graphite:#1a1a1a;
  --line:rgba(255,255,255,.26);
  --line-soft:rgba(255,255,255,.14);
  --muted:rgba(255,255,255,.7);
  --orange:#ff6a00;
  --display:"TED Amp","Bebas Neue","Arial Narrow",Arial,sans-serif;
  --text:"Barlow",system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
  --gap:clamp(14px,2vw,26px);
}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;background:var(--graphite)}
body{background:var(--graphite);color:#fff;font-family:var(--text);line-height:1.6;-webkit-font-smoothing:antialiased}
a{color:inherit}
[hidden]{display:none!important}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
img{max-width:100%;height:auto;display:block}
ul,ol{list-style:none}
:focus-visible{outline:2px solid var(--orange);outline-offset:3px}
.skip{position:absolute;left:12px;top:-60px;background:var(--orange);color:var(--graphite);padding:10px 14px;font-weight:600;text-decoration:none;z-index:20}
.skip:focus{top:12px}

/* the scene: a research desk, fixed behind everything, kept low so the glass and the text lead */
.scene{position:fixed;inset:0;z-index:0;overflow:hidden;background:#141415}
.scene picture,.scene img{position:absolute;inset:0;width:100%;height:100%;display:block}
.scene img{object-fit:cover;object-position:50% 50%}
.scrim{position:absolute;inset:0;background:
  linear-gradient(100deg,rgba(14,14,16,.5),rgba(14,14,16,0) 62%),
  linear-gradient(to bottom,rgba(14,14,16,.46),rgba(14,14,16,.62) 55%,rgba(14,14,16,.8)),
  radial-gradient(ellipse 60% 40% at 14% 6%,rgba(255,106,0,.08),rgba(255,106,0,0) 70%)}

.page{position:relative;z-index:1;overflow:hidden;overflow:clip;padding:39px 15px 15px 39px}
/* sheet frame: the drawing-sheet border of the front page (zones 1-6 across, A-D down), fixed to the viewport so it fits any screen shape.
   The page padding above keeps all content inside it (14px inset + 1px line + 24px ruler = 39px). */
.sheetframe{position:fixed;inset:14px;z-index:3;pointer-events:none;border:1px solid var(--line);display:grid;grid-template-columns:24px 1fr;grid-template-rows:24px 1fr}
.sf-corner{border-right:1px solid var(--line);border-bottom:1px solid var(--line);background:rgba(10,10,12,.5)}
.sf-x,.sf-y{display:grid;font-family:var(--display);font-weight:400;font-size:12px;letter-spacing:.06em;color:var(--muted);background:rgba(10,10,12,.5)}
.sf-x li,.sf-y li{display:flex;align-items:center;justify-content:center}
.sf-x{grid-template-columns:repeat(6,1fr);border-bottom:1px solid var(--line)}
.sf-x li+li{border-left:1px solid var(--line-soft)}
.sf-y{grid-template-rows:repeat(4,1fr);border-right:1px solid var(--line)}
.sf-y li+li{border-top:1px solid var(--line-soft)}
.stack{position:relative;z-index:1;max-width:1220px;margin:0 auto;padding:clamp(12px,2.4vw,30px);display:flex;flex-direction:column;gap:var(--gap)}
.main{display:flex;flex-direction:column;gap:var(--gap)}
.article,.journal{display:flex;flex-direction:column;gap:var(--gap)}

/* frosted panes: two densities for reading, one dark for chrome */
.pane,.pane-thin,.pane-ink{border:1px solid var(--line);box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 30px 64px -38px rgba(0,0,0,.8)}
.pane{background:rgba(20,20,22,.7);-webkit-backdrop-filter:blur(26px) saturate(1.4);backdrop-filter:blur(26px) saturate(1.4)}
.pane-thin{background:rgba(20,20,22,.48);-webkit-backdrop-filter:blur(10px) saturate(1.3);backdrop-filter:blur(10px) saturate(1.3)}
.pane-ink{background:rgba(10,10,12,.88);-webkit-backdrop-filter:blur(20px) saturate(1.2);backdrop-filter:blur(20px) saturate(1.2)}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  .pane{background:rgba(22,22,24,.96)}.pane-thin{background:rgba(22,22,24,.9)}.pane-ink{background:rgba(10,10,12,.98)}
}

/* top bar: logo | menu | language. The search is the first thing in the middle column. Search and language are always visible: no popups, no banners. */
.bar{display:flex;align-items:center;gap:10px clamp(16px,2.4vw,32px);flex-wrap:wrap;padding:10px clamp(16px,2.6vw,28px)}
.bar-logo{order:1;flex:none;display:block;width:clamp(116px,12vw,156px)}
.bar-mark{display:block;width:100%;height:auto}
.bar-nav{order:2;flex:none;margin-left:auto;display:flex;gap:4px clamp(16px,2.4vw,30px);flex-wrap:wrap}
.lang{order:3}
.bar-nav a{font-weight:600;font-size:15px;text-decoration:none;padding:8px 0;border-bottom:2px solid transparent;transition:color .18s,border-color .18s}
.bar-nav a:hover{color:var(--orange)}
.bar-nav a[aria-current="page"]{border-bottom-color:var(--orange)}

/* search: the first thing in the middle column, big and plain like a search page (the Google anatomy in this site's square language).
   Two scopes: the Journal (filters the list live) or the web (opens Google in a new tab). */
.mid{display:flex;flex-direction:column;gap:var(--gap);min-width:0}
.bar-search{position:relative}
.sbox{display:flex;align-items:center;gap:8px;height:58px;padding:0 10px 0 0;border:1px solid var(--line);background:rgba(10,10,12,.66);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 30px 64px -38px rgba(0,0,0,.8);transition:border-color .18s,background .18s}
.sbox:hover{border-color:rgba(255,255,255,.42)}
.bar-search:focus-within .sbox{border-color:var(--orange);background:rgba(10,10,12,.8)}
.search-btn{flex:none;display:grid;place-items:center;width:56px;height:100%;background:none;border:0;color:var(--muted);cursor:pointer;-webkit-appearance:none;appearance:none;transition:color .18s}
.search-btn:hover,.search-btn:focus-visible{color:var(--orange)}
.search-btn:focus-visible{outline:2px solid var(--orange);outline-offset:-4px}
.search-ico{width:22px;height:22px}
.sbox input{flex:1;min-width:0;height:100%;background:transparent;border:0;outline:0;color:#fff;font:400 20px/1 var(--text);color-scheme:dark;-webkit-appearance:none;appearance:none}
.sbox input::placeholder{color:var(--muted);opacity:1}
.sbox input::-webkit-search-decoration{-webkit-appearance:none}
.scope{display:flex;flex:none;border:1px solid var(--line);visibility:hidden}
.js .scope{visibility:visible}
.scope-b{font:600 13px/1 var(--text);color:var(--muted);background:none;border:0;padding:9px 12px;cursor:pointer;transition:color .18s,background .18s}
.scope-b:hover,.scope-b:focus-visible{color:#fff}
.scope-b[aria-pressed="true"]{color:#fff;background:rgba(255,255,255,.12);box-shadow:inset 0 -2px 0 var(--orange)}
.powered{margin-top:8px;font-size:13px;color:var(--muted);text-align:right}
.powered[hidden]{display:none}

/* language: EN as text, NL as a small metal-framed flag. Current language carries the orange underline. */
.lang{display:flex;align-items:center;gap:2px}
.lang a{display:inline-flex;align-items:center;gap:8px;padding:6px 9px;text-decoration:none;font-weight:600;font-size:13px;letter-spacing:.07em;line-height:1;color:var(--muted);border-bottom:2px solid transparent;transition:color .18s,border-color .18s}
.lang a:hover,.lang a:focus-visible{color:#fff}
.lang a[aria-current="true"]{color:#fff;border-bottom-color:var(--orange)}
.flag{position:relative;display:block;padding:2px;border-radius:5px;background:linear-gradient(145deg,#a9aeb4,#464a50 48%,#7b8086);box-shadow:inset 0 1px 0 rgba(255,255,255,.4),0 2px 7px rgba(0,0,0,.55)}
.flag svg{display:block;width:26px;height:18px;border-radius:2px}
.flag::after{content:"";position:absolute;inset:2px;border-radius:2px;pointer-events:none;background:linear-gradient(158deg,rgba(255,255,255,.36),rgba(255,255,255,0) 46%,rgba(0,0,0,.2))}
.foot{display:flex;flex-wrap:wrap;gap:8px 28px;justify-content:space-between;padding:20px clamp(16px,2.6vw,28px);font-size:14px;color:var(--muted)}
.foot a{text-underline-offset:3px}
.foot a:hover{color:var(--orange)}

/* article head sits straight on the scene; the heavy shadow keeps it readable over the bright windows */
.art-head{padding:clamp(28px,5vw,64px) clamp(4px,1.5vw,16px) clamp(8px,1.5vw,16px);text-shadow:0 2px 30px rgba(0,0,0,.75),0 1px 3px rgba(0,0,0,.6)}
.crumbs{display:inline-flex;align-items:center;gap:10px;margin-bottom:clamp(16px,2.2vw,24px);padding:7px 14px 7px 8px;background:rgba(10,10,12,.72);border:1px solid var(--line);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);text-shadow:none;font-size:14px}
.crumbs ol{display:flex;flex-wrap:wrap;gap:2px 0}
.crumbs li+li::before{content:"\203A";margin:0 9px;color:var(--muted)}
.crumbs a{text-decoration:none;font-weight:600}
.crumbs a:hover{color:var(--orange)}
.src-ico{display:block;width:26px;height:26px;flex:none;border-radius:7px;box-shadow:0 0 0 1px var(--line)}
.art-head h1,.journal h1{font-family:var(--display);font-weight:400;font-size:clamp(52px,10.5vw,132px);line-height:.88;letter-spacing:-.012em;max-width:15ch;text-wrap:balance;text-shadow:5px 6px 0 rgba(255,106,0,.18),0 2px 30px rgba(0,0,0,.7)}
.art-sub{margin-top:clamp(20px,3vw,34px);display:grid;grid-template-columns:minmax(0,1fr) minmax(0,300px);gap:clamp(20px,3vw,38px);align-items:start;border-top:5px solid #fff;padding-top:clamp(16px,2vw,22px)}
.lede{font-size:clamp(20px,2.3vw,26px);line-height:1.38;max-width:30em;color:#fff}
.art-meta{display:flex;flex-direction:column;gap:5px;border-left:2px solid #fff;padding-left:16px;font-size:14px;color:var(--muted)}
.art-meta .by{color:#fff;font-weight:600}

/* hero image in a thin pane: crisp photo inside frosted glass */
.hero-fig{padding:clamp(8px,1.2vw,14px)}
.hero-fig img{width:100%;aspect-ratio:16/9;object-fit:cover;border:1px solid var(--line-soft)}
.hero-fig figcaption,.fig figcaption{margin-top:8px;font-size:14px;line-height:1.5;color:var(--muted)}

/* reading: prose pane + facts aside (the layout of the Publisher pages) */
.read{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,336px);gap:var(--gap);align-items:start}
.prose{padding:clamp(22px,3.4vw,40px) clamp(20px,3.6vw,44px)}
.prose>*+*{margin-top:1.15em}
.prose p,.prose li{max-width:62ch;font-size:19px;line-height:1.7;color:rgba(255,255,255,.9)}
.prose>p:first-child::first-letter{float:left;font-family:var(--display);font-size:90px;line-height:.74;padding:6px 12px 0 0;color:var(--orange)}
.prose h2{font-family:var(--display);font-weight:400;font-size:clamp(32px,3.6vw,46px);line-height:1;margin-top:1.8em;max-width:30ch}
.prose h3{font-family:var(--display);font-weight:400;font-size:26px;line-height:1.05;margin-top:1.6em}
.prose ul{padding-left:1.2em;list-style:disc}
.prose li+li{margin-top:.4em}
.prose li::marker{color:var(--orange)}
.prose a{color:#fff;text-decoration-color:var(--orange);text-decoration-thickness:2px;text-underline-offset:4px}
.prose a:hover{color:var(--orange)}
.prose>.fig{margin-top:1.9em}
.fig img{width:100%;height:auto;border:1px solid var(--line-soft)}

/* three photos side by side: moving over one zooms the same spot in all three (the button does the same for touch and keyboard) */
.prose>.cmp{margin-top:1.9em}
.prose blockquote.prompt{padding:2px 0 2px 18px;border-left:3px solid var(--orange)}
.prose blockquote.prompt p{max-width:60ch;font-size:16.5px;line-height:1.65;color:var(--muted)}
.cmp-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(8px,1.2vw,14px);align-items:start}
.cmp-item{min-width:0}
.cmp-frame{overflow:hidden;aspect-ratio:var(--ar,4 / 3);border:1px solid var(--line-soft);background:#0c0c0e;cursor:zoom-in}
.cmp-frame img{display:block;width:100%;height:100%;object-fit:cover;transform-origin:var(--zx,50%) var(--zy,50%);transition:transform .18s ease}
.cmp.is-zoom .cmp-frame img{transform:scale(2.6)}
.cmp.is-lock .cmp-frame{touch-action:none;cursor:crosshair}
.cmp-item figcaption{margin-top:10px;font-size:14px;line-height:1.5;color:var(--muted)}
.cmp-item figcaption strong{display:block;color:#fff;font-weight:600;font-size:15px;line-height:1.3;margin-bottom:3px}
.cmp-n{display:block;font-family:var(--display);font-size:34px;line-height:1;color:var(--orange);margin-bottom:3px}
.prose .cmp-bar{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;margin-top:16px;max-width:none;font-size:14px;line-height:1.4;color:var(--muted)}
.cmp-t{display:none}
@media (hover:none){.cmp-h{display:none}.cmp-t{display:inline}}
.cmp-zoom{font:600 14px/1.2 var(--text);color:#fff;background:rgba(255,255,255,.04);border:1px solid var(--orange);padding:9px 13px;cursor:pointer;transition:background .18s,color .18s}
.cmp-zoom:hover,.cmp-zoom:focus-visible,.cmp-zoom[aria-pressed="true"]{background:var(--orange);color:var(--graphite)}

.side{display:flex;flex-direction:column;gap:var(--gap);position:sticky;top:54px}
.side h2,.more h2{font-family:var(--display);font-weight:400;font-size:26px;line-height:1}
.facts{padding:20px 22px 8px}
.facts dl{margin-top:12px}
.facts dl>div{display:flex;flex-direction:column;gap:1px;padding:10px 0;border-top:1px solid var(--line-soft)}
.facts dt{font-size:13px;color:var(--muted)}
.facts dd{font-family:var(--display);font-size:32px;line-height:1.05;letter-spacing:.005em}
.facts dd .unit{font-family:var(--text);font-weight:600;font-size:18px;letter-spacing:0}
.facts dd.txt{font-family:var(--text);font-weight:600;font-size:18px;line-height:1.3}
.connected{padding:20px 22px 22px}
.chips{margin-top:12px;display:flex;flex-wrap:wrap;gap:10px}
.chips a{font-weight:600;font-size:14px;line-height:1.2;text-decoration:none;border:1px solid var(--orange);padding:9px 13px;background:rgba(255,255,255,.04);transition:background .18s,color .18s}
.chips a:hover,.chips a:focus-visible{background:var(--orange);color:var(--graphite)}

/* pull quote: the one loud block */
.pull{background:var(--orange);color:var(--graphite);padding:clamp(26px,5vw,52px) clamp(22px,4vw,42px);box-shadow:inset 0 14px 34px rgba(0,0,0,.18),0 34px 70px -36px rgba(255,106,0,.7)}
.pull p{font-family:var(--display);font-size:clamp(40px,6vw,76px);line-height:.94;letter-spacing:-.012em;max-width:16em}

.more{padding:20px 22px 12px}
.more ul{margin-top:12px}
.more li{display:flex;flex-wrap:wrap;gap:4px 20px;justify-content:space-between;padding:12px 0;border-top:1px solid var(--line-soft)}
.more a{font-weight:600;text-underline-offset:3px}
.more a:hover{color:var(--orange)}
.more time{font-size:14px;color:var(--muted)}

/* overview: search-result anatomy. Source row, visible path, title, snippet led by its date, thumbnail on the right. */
.journal .art-sub{grid-template-columns:minmax(0,1fr)}
.results-pane{padding:clamp(16px,2.2vw,26px) clamp(18px,3vw,38px) 4px}
.stats{font-size:14px;color:var(--muted);padding-bottom:clamp(10px,1.4vw,16px);border-bottom:1px solid var(--line-soft)}
.results{display:flex;flex-direction:column}
.result{position:relative;display:grid;grid-template-columns:minmax(0,1fr);column-gap:clamp(18px,3.4vw,44px);row-gap:8px;padding:clamp(20px,2.6vw,30px) 0}
.result+.result{border-top:1px solid var(--line-soft)}
.result.has-thumb{grid-template-columns:minmax(0,1fr) minmax(0,clamp(150px,22vw,260px));grid-template-areas:"src thumb" "title thumb" "snip thumb"}
.result.has-thumb .src{grid-area:src}
.result.has-thumb .result-title{grid-area:title}
.result.has-thumb .snip{grid-area:snip}
.result.has-thumb .thumb{grid-area:thumb}
.src{display:flex;align-items:center;gap:10px;min-width:0}
.src-text{display:flex;flex-direction:column;gap:1px;line-height:1.3;min-width:0}
.src-name{font-size:14px;font-weight:600;color:#fff}
.src-path{font-size:13px;color:var(--muted);overflow-wrap:anywhere}
.result-title{font-family:var(--display);font-weight:400;font-size:clamp(36px,4.6vw,64px);line-height:.94;letter-spacing:-.005em;margin-top:2px;text-wrap:balance}
.result-link{text-decoration:none;transition:color .18s}
.result-link::after{content:"";position:absolute;inset:0}
.snip{max-width:58ch;font-size:16px;line-height:1.6;color:var(--muted)}
.snip time{color:#fff;font-weight:600}
.snip-ctx{display:block;margin-top:6px;color:rgba(255,255,255,.84)}
.snip .mins{display:block;margin-top:6px;font-size:14px}
.thumb{width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;align-self:start;border:1px solid var(--line-soft)}
.result:hover .result-link{color:var(--orange)}
.result:has(.result-link:focus-visible){outline:2px solid var(--orange);outline-offset:6px}
.result-link:focus-visible{outline:0}
.related{padding:20px clamp(18px,3vw,38px) 22px}
.related h2{font-family:var(--display);font-weight:400;font-size:26px;line-height:1}
mark{background:rgba(255,106,0,.26);color:#fff;padding:0 .06em;border-bottom:2px solid var(--orange)}
.empty{display:flex;flex-direction:column;align-items:flex-start;gap:14px;padding:clamp(22px,3.4vw,40px) 0 clamp(22px,3vw,34px)}
.empty-msg{max-width:46ch;font-size:18px;line-height:1.5}
.chip-btn{font:600 14px/1.2 var(--text);color:#fff;background:rgba(255,255,255,.04);border:1px solid var(--orange);padding:9px 13px;cursor:pointer;transition:background .18s,color .18s}
.chip-btn:hover,.chip-btn:focus-visible{background:var(--orange);color:var(--graphite)}

@media (max-width:900px){
  .lang{order:2;margin-left:auto}
  .bar-nav{order:3;margin-left:0;flex:1 1 100%}
}
@media (max-width:1000px){
  .read{grid-template-columns:minmax(0,1fr)}
  .side{position:static}
  .art-sub{grid-template-columns:minmax(0,1fr)}
  .art-meta{border-left:0;padding-left:0;border-top:2px solid #fff;padding-top:12px;flex-direction:row;flex-wrap:wrap;gap:4px 18px}
}
@media (max-width:640px){
  .search-btn{width:44px}
  .search-ico{width:20px;height:20px}
  .sbox input{font-size:17px}
  .scope-b{font-size:12px;padding:8px 9px}
  .result.has-thumb{grid-template-columns:minmax(0,1fr) 108px;grid-template-areas:"src src" "title title" "snip thumb"}
  .result-title{font-size:clamp(36px,10vw,48px)}
  .snip{font-size:15px}
  .hero-fig img{aspect-ratio:4/3}
  .cmp-row{grid-template-columns:minmax(0,1fr);gap:22px}
  .prose p,.prose li{font-size:18px}
  .prose>p:first-child::first-letter{font-size:76px}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important}html{scroll-behavior:auto}}

/* wide screens (1500px and up): topics on the left; on the right the facts of the article being read and the site menu.
   The top bar and both rails stay in view while the page scrolls (47px = frame ruler + gap; --barh is the live bar height). */
.cols{display:block}
.rail,.rail-facts{display:none}
.rail-h{font-family:var(--display);font-weight:400;font-size:26px;line-height:1;margin-bottom:12px}
.rail a{text-decoration:none;transition:color .18s,border-color .18s}
.rail a:hover,.rail a:focus-visible{color:var(--orange)}
.rail span{color:var(--muted);font-weight:400}
.rail-l,.rail-menu{padding:20px 20px 16px}
.rail-all{display:flex;justify-content:space-between;gap:10px;font-weight:600;font-size:15px;padding:9px 0;border-top:1px solid var(--line-soft)}
.topic h3{display:flex;justify-content:space-between;gap:10px;margin:16px 0 6px;font:600 13px/1.3 var(--text);color:var(--muted)}
.topic li a{display:block;padding:8px 0 8px 12px;font-size:15px;line-height:1.3;border-left:2px solid var(--line-soft)}
.rail a[aria-current="page"]{color:#fff;border-left-color:var(--orange)}
.rail-all[aria-current="page"]{box-shadow:inset 2px 0 0 var(--orange);padding-left:12px}
.rail-menu li a{display:block;padding:9px 0;border-top:1px solid var(--line-soft);font-weight:600;font-size:15px}
.rail-menu li a[aria-current="page"]{box-shadow:inset 2px 0 0 var(--orange);padding-left:12px}
.rail-r{display:none;flex-direction:column;gap:var(--gap)}
.rail-facts .facts{padding:18px 20px 4px}
.rail-facts .facts h2{font-size:24px;margin-bottom:6px}
.rail-facts .facts dd{font-size:26px}
.rail-facts .facts dd.txt{font-size:18px}

/* reading progress: the top ruler of the sheet frame fills with a hairline as you scroll (set by the script as --p) */
.sf-prog{position:absolute;left:24px;top:23px;height:2px;width:calc((100% - 25px) * var(--p,0));background:var(--orange);pointer-events:none}

/* once the page has scrolled, the strip above the top bar frosts over so text never slides through the top ruler */
.sheetframe::before{content:"";position:fixed;left:0;right:0;top:0;height:47px;z-index:-1;background:rgba(10,10,12,.86);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);opacity:0;transition:opacity .2s}
.is-scrolled .sheetframe::before{opacity:1}

/* search shortcut hint: press / anywhere to jump to the search field */
.kbd{display:none;flex:none;font:600 12px/1 var(--text);color:var(--muted);border:1px solid var(--line);border-radius:3px;padding:3px 6px}
.bar-search:focus-within .kbd{display:none}

/* the search bar stays in view while the page scrolls (below 1500px the top bar scrolls away, so it sticks right under the top ruler) */
.mid>.bar-search{position:sticky;top:56px;z-index:5}
.mid>.bar-search .sbox{background:rgba(10,10,12,.88)}

/* wide screens (1500px and up): the content gets a share of the screen instead of a fixed width (69% on a very wide screen, never narrower than 1560px).
   Type stays at its normal size: a wider screen shows more room, not bigger letters. Slim top bar (logo, menu, language).
   Left: topics. Middle: search (stays in view while scrolling), then the article or the overview. Right: facts and menu. */
@media (min-width:1500px){
  .stack{max-width:max(1560px,min(69vw,2200px))}
  .bar{position:sticky;top:47px;z-index:6;padding:8px 22px;background:rgba(10,10,12,.95)}
  .bar-logo{width:100px}
  .bar-nav{gap:4px 30px}
  .bar-nav a{font-size:15px}
  .lang a{font-size:13px}
  .kbd{display:block}
  .sbox{height:54px;background:rgba(10,10,12,.9)}
  .sbox input{font-size:17px}
  .search-btn{width:52px}
  .search-ico{width:20px;height:20px}
  .scope-b{font-size:13px;padding:9px 12px}
  .mid>.bar-search{position:sticky;top:calc(47px + var(--barh,60px) + var(--gap));z-index:5}
  .cols{display:grid;grid-template-columns:clamp(250px,15vw,340px) minmax(0,1fr) clamp(270px,16vw,360px);gap:var(--gap);align-items:start;margin-top:var(--gap)}
  .rail{position:sticky;top:calc(47px + var(--barh,60px) + var(--gap));max-height:calc(100vh - 47px - var(--barh,60px) - var(--gap) - 30px);overflow:auto}
  .rail-l{display:block}
  .rail-r{display:flex;overflow:auto}
  .rail-facts{display:block}
  .side{display:none}
  .read{grid-template-columns:minmax(0,1fr)}
  .related{display:none}
  /* headline: big, but it has to fit the wide column on two lines instead of squeezing into a narrow stack */
  .art-head h1,.journal h1{font-size:clamp(60px,4.4vw,108px);max-width:21ch}
  /* article text: one centred reading column inside the wide panel, photos use the full width */
  .prose>p,.prose>ul,.prose>h2,.prose>h3,.prose>blockquote{width:min(100%,700px);max-width:none;margin-left:auto;margin-right:auto}
  .prose p,.prose li{max-width:none}
}


/* photo zoom (articles with "zoom: yes"): hover on a mouse, tap and drag on touch, Enter and arrow keys on a keyboard. Without the script the photo is just a photo. */
.zm{position:relative;overflow:hidden;cursor:zoom-in;border:1px solid var(--line-soft);touch-action:pan-y}
.zm:focus-visible{outline:2px solid var(--orange);outline-offset:3px}
.zm img{display:block;width:100%;border:0;transform-origin:var(--zx,50%) var(--zy,50%);transition:transform .2s ease-out;will-change:transform}
.zm.is-zoom img{transform:scale(2.4)}
.zm.is-lock{touch-action:none;cursor:zoom-out}
.zm-hint{position:absolute;right:10px;bottom:10px;padding:7px 10px;font:600 12px/1 var(--text);color:#fff;background:rgba(10,10,12,.78);border:1px solid var(--line);pointer-events:none;transition:opacity .15s}
.zm.is-zoom .zm-hint{opacity:0}
.zm-t{display:none}
@media (hover:none){.zm-h{display:none}.zm-t{display:block}}
@media (prefers-reduced-motion:reduce){.zm img{transition:none}}
