/* Dimorio site, English pages, 2026-11 design (one light theme on warm paper).
   Source of the look: dimorio-growth docs/marketing/web/2026-11-25-site-proposal/index.html ("Today (photos)").
   Used only by pages generated from scripts/siteEn/. The other languages keep dimorio.css. */

@font-face { font-family: 'Anybody'; font-style: normal; font-weight: 300 800; font-stretch: 50% 150%; font-display: swap; src: url(../assets/fonts/anybody-latin-it.woff2) format('woff2');
  unicode-range: U+20-7E, U+A0-FF, U+131, U+152-153, U+2C6, U+2DA, U+2DC, U+2002-200A, U+2010-2015, U+2018-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+20AC, U+2122, U+2212; }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../assets/fonts/instrument-sans-latin-it.woff2) format('woff2');
  unicode-range: U+20-7E, U+A0-FF, U+131, U+152-153, U+2C6, U+2DA, U+2DC, U+2002-200A, U+2010-2015, U+2018-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+20AC, U+2122, U+2212; }
@font-face { font-family: 'Anybody Fallback'; src: local('Arial'), local('ArialMT');
  size-adjust: 94.83%; ascent-override: 83.83%; descent-override: 25.31%; line-gap-override: 0.00%; }
@font-face { font-family: 'Instrument Sans Fallback'; src: local('Arial'), local('ArialMT');
  size-adjust: 102.60%; ascent-override: 94.54%; descent-override: 24.37%; line-gap-override: 0.00%; }

:root {
  --ink: #0A0E1A; --ink-2: #161E33; --paper: #F6F5F1; --card: #FFFFFF;
  --body: #1F2533; --small: #5D6778; --mist: #A9B3C7; --line: #DEDCD3;
  --volt: #3A57FF; --volt-d: #2B45E6; --dot: #5873FF; --volt-l: #8FA2FF;
  --display: 'Anybody', 'Anybody Fallback', 'Instrument Sans', 'Instrument Sans Fallback', system-ui, sans-serif;
  --text: 'Instrument Sans', 'Instrument Sans Fallback', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --gap: 6px; --r: 4px; --wrap: 1200px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body { margin: 0; background: var(--paper); color: var(--body); font: 400 17px/1.55 var(--text); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--volt); outline-offset: 2px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* headings: wide Anybody, two tones (line 1 ink, line 2 volt) */
.h { font-family: var(--display); font-weight: 800; font-stretch: 118%; letter-spacing: -.02em; line-height: 1.02; color: var(--ink); margin: 0; text-wrap: balance; }
.h span { display: block; color: var(--volt); }
h2.h { font-size: clamp(32px, 4.6vw, 60px); }
.lead { font-size: clamp(17px, 1.5vw, 20px); max-width: 60ch; margin: 18px 0 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 26px; border-radius: 12px; background: var(--volt); color: #fff; font: 700 18px/1 var(--text); text-decoration: none; border: 0; cursor: pointer; transition: background-color .12s ease, transform .12s ease; }
.btn:hover { background: var(--volt-d); }
.btn:active { transform: translateY(1px) scale(.985); }
.lnk { font-weight: 600; color: var(--volt-d); text-underline-offset: 3px; }
.sq { display: inline-block; width: 9px; height: 9px; background: var(--volt); flex: none; }

/* header */
.bar .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.mark { display: block; width: 132px; flex: none; }
.mark svg { display: block; width: 100%; height: auto; }
.nav { display: flex; gap: 26px; font-weight: 600; font-size: 16px; }
.nav a { text-decoration: none; padding: 11px 0; min-height: 44px; display: inline-flex; align-items: center; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--volt-d); }
.bar-r { margin-left: auto; display: flex; align-items: center; gap: 20px; font-weight: 600; font-size: 16px; }
.bar-r a.in { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.bar .btn { min-height: 44px; padding: 0 18px; font-size: 16px; white-space: nowrap; }
.bar .btn .s { display: none; }
.lang, .menu { position: relative; }
.lang summary, .menu summary { list-style: none; cursor: pointer; padding: 10px 0 10px 6px; font-weight: 600; }
.lang summary::-webkit-details-marker, .menu summary::-webkit-details-marker { display: none; }
.lang ul, .menu nav { position: absolute; right: 0; top: 46px; z-index: 30; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 8px; box-shadow: 0 18px 40px rgba(10,14,26,.16); }
.lang ul { list-style: none; margin: 0; min-width: 170px; }
.lang a, .menu nav a { display: block; padding: 11px 14px; text-decoration: none; font-weight: 600; border-radius: 8px; }
.lang a:hover, .menu nav a:hover { background: var(--paper); }
.lang a[aria-current="true"] { color: var(--volt-d); }
.menu { display: none; }
.menu nav { width: min(78vw, 300px); }

/* the mosaic: every photo is one tile */
.mosaic { padding-bottom: 8px; }
.top { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.copy { background: var(--ink); color: #fff; border-radius: var(--r); padding: clamp(24px, 3.2vw, 44px); display: flex; flex-direction: column; justify-content: center; }
.copy h1 { font-size: clamp(31px, 3.55vw, 50px); color: #fff; }
.copy h1.long { font-size: clamp(28px, 3vw, 42px); }
.copy h1 span { color: var(--volt-l); }
.copy .lead { color: #D5DAE6; margin-top: 16px; }
.copy .lead a { color: #fff; }
.copy .go { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.copy .terms { margin: 14px 0 0; color: #fff; font-weight: 600; font-size: 16px; }
.copy .terms small { display: block; font-weight: 400; font-size: 15px; color: var(--mist); margin-top: 2px; }
.copy .crumb { margin: 0 0 18px; font-size: 14px; color: var(--mist); }
.copy .crumb a { color: #D5DAE6; text-decoration: none; }
.copy .crumb a:hover { text-decoration: underline; }
.copy .crumb li { display: inline; }
.copy .crumb ol { list-style: none; margin: 0; padding: 0; }
.copy .crumb li + li::before { content: '/'; margin: 0 8px; color: var(--small); }
.copy .meta { margin: 16px 0 0; font-size: 15px; color: var(--mist); }
.copy .meta a { color: #fff; }

.tile { position: relative; margin: 0; border-radius: var(--r); overflow: hidden; background: var(--ink-2); }
.tile .ph { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile picture { display: contents; }

.big { background: var(--ink); display: flex; flex-direction: column; }
.big .ph { flex: 1; min-height: 0; --pos: 50%; }
.big .ph img { transition: opacity .17s ease; }
.big .ph.fade img { opacity: 0; }
.big .af { clip-path: inset(0 0 0 var(--pos)); }
.big .bar-x { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(10,14,26,.25); pointer-events: none; }
.big .knob { position: absolute; top: 50%; left: var(--pos); width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: #fff; display: grid; place-items: center; pointer-events: none; box-shadow: 0 2px 10px rgba(10,14,26,.35); }
.big .knob::before { content: ''; width: 16px; height: 10px; background: linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 7px, var(--ink) 7px 9px, transparent 9px 14px, var(--ink) 14px 16px); }
.big input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.big input[type=range]:focus-visible ~ .knob { outline: 3px solid var(--volt); outline-offset: 3px; }
.big .tag { position: absolute; top: 10px; font: 700 12px/1 var(--text); color: #fff; background: rgba(10,14,26,.66); padding: 5px 7px; border-radius: 3px; pointer-events: none; }
.big .tag.b { left: 10px; } .big .tag.a { right: 10px; }
.big figcaption { display: flex; gap: 10px; align-items: baseline; padding: 11px 14px 12px; color: #fff; font-size: 15px; line-height: 1.35; min-height: 64px; }
.big figcaption .sq { background: var(--dot); transform: translateY(-1px); }
.big figcaption b { font-weight: 700; }
.big figcaption span { color: #D5DAE6; }
.big figcaption small { display: block; color: var(--mist); font-size: 12px; margin-top: 3px; }

.smalls { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--gap); margin-top: var(--gap); }
.sm { cursor: pointer; border: 0; padding: 0; text-align: left; display: block; width: 100%; font: inherit; }
.sm .ph { display: block; }
.sm .af { clip-path: inset(0 0 0 0); transition: clip-path .55s cubic-bezier(.3, .7, .2, 1); }
.js .sm .af { clip-path: inset(0 0 0 100%); }
.js .sm.done .af { clip-path: inset(0 0 0 0); }
@media (hover: hover) { .js .sm.done:hover .af { clip-path: inset(0 0 0 100%); transition-duration: .3s; } }
.sm .cap { display: flex; align-items: center; gap: 7px; height: 30px; padding: 0 9px; color: #fff; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; }
.sm .cap .sq { background: var(--dot); width: 8px; height: 8px; }
.js .sm .cap > * { opacity: 0; transition: opacity .3s ease .15s; }
.js .sm .cap .sq { transform: scale(0); transition: opacity .3s ease .15s, transform .4s cubic-bezier(.3, 1.7, .5, 1) .25s; }
.js .sm.done .cap > * { opacity: 1; }
.js .sm.done .cap .sq { transform: none; }
.fact { grid-column: span 2; border-radius: var(--r); padding: 14px 18px; display: flex; flex-direction: column; justify-content: center; }
.fact b { font-family: var(--display); font-weight: 800; font-stretch: 118%; font-size: clamp(19px, 2vw, 27px); line-height: 1.05; letter-spacing: -.01em; }
.fact span { font-size: 15px; margin-top: 6px; }
.fact.price { background: var(--volt); color: #fff; }
.fact.many { background: var(--ink); color: #fff; }
.fact.many span { color: var(--mist); }

.ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding: 14px 2px 0; font-size: 15px; }
.ctl .status { font-weight: 600; color: var(--ink); display: flex; align-items: center; gap: 9px; min-height: 24px; }
.ctl .hint { color: var(--small); }
.hint .hv { display: none; }
@media (hover: hover) { .hint .hv { display: inline; } .hint .tc { display: none; } }
.ctl .seg { margin-left: auto; display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--card); }
.ctl .seg button { border: 0; background: none; padding: 9px 16px; cursor: pointer; font-weight: 600; font-size: 15px; min-height: 44px; }
.ctl .seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.ctl .again { border: 1px solid var(--line); background: var(--card); border-radius: 10px; padding: 9px 16px; cursor: pointer; font-weight: 600; font-size: 15px; min-height: 44px; }
.nojs-hide { display: none; }
.js .nojs-hide { display: revert; }
.js .ctl .seg.nojs-hide { display: inline-flex; }
.real { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; margin: 12px 2px 0; font-size: 15px; color: var(--small); }
.real b { color: var(--ink); font-weight: 600; }

/* sections on paper */
.sec { padding: clamp(56px, 8vw, 104px) 0 0; }
.sec.tight { padding-top: clamp(40px, 5vw, 64px); }
.moves { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; counter-reset: m; }
.moves li { counter-increment: m; border-top: 2px solid var(--ink); padding: 18px 0 0; }
.moves li::before { content: counter(m); font: 800 44px/1 var(--display); font-stretch: 118%; color: var(--volt); }
.moves.n4 { grid-template-columns: repeat(4, 1fr); gap: 0 28px; }
.moves h3 { font: 700 22px/1.2 var(--text); color: var(--ink); margin: 12px 0 6px; }
.moves p { margin: 0; }

.fixes { margin-top: 36px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 44px 40px; }
.fixes.n3 { grid-template-columns: repeat(3, 1fr); gap: 36px 28px; }
.pair { margin: 0; }
.pair .labels { display: flex; font: 700 13px/1 var(--text); color: var(--small); margin: 0 0 8px; }
.pair .labels span { flex: 1; }
.pair .labels span + span { color: var(--volt-d); padding-left: 3px; }
.pair .two { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.pair .two picture { display: block; }
.pair .two img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); background: var(--ink-2); }
.pair .two > :last-child { transition: clip-path .8s cubic-bezier(.3, .7, .2, 1); clip-path: inset(0 0 0 0); }
.pair.pre .two > :last-child { clip-path: inset(0 0 0 100%); }
.pair figcaption { margin: 10px 0 0; font-size: 15px; color: var(--small); }
.pair figcaption b { color: var(--ink); font-weight: 600; }
.punch { border-left: 3px solid var(--volt); padding: 1px 0 1px 15px; margin: 16px 0 0; }
.punch .ph2, .punch h3 { margin: 0; font: 700 20px/1.25 var(--text); color: var(--ink); }
.punch p { margin: 4px 0 0; }
.punch .lnk { display: inline-block; margin-top: 6px; }
.after-fixes { margin-top: 44px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.after-fixes p { margin: 0; font-weight: 600; color: var(--ink); }
.ai { font-size: 13px; color: var(--small); margin: 8px 0 0; }

.split { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; }
.split .punch { margin-top: 22px; }
.split.top-a { align-items: start; }

.what { margin-top: 28px; display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: start; }
.what .def { margin: 0; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; color: var(--ink); }
.facts { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.facts div { border-top: 1px solid var(--line); padding: 12px 0 14px; }
.facts dt { font-weight: 700; color: var(--ink); font-size: 15px; }
.facts dd { margin: 3px 0 0; font-size: 16px; }
.bulk { margin: 28px 0 8px; max-width: 76ch; }
.bulk h2 { font: 700 clamp(22px, 2.3vw, 30px)/1.2 var(--text); color: var(--ink); margin: 0 0 10px; }
.bulk p { margin: 0 0 10px; }

.packs { margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); padding: 0; list-style: none; }
.pack { background: var(--card); border-radius: var(--r); padding: 26px 26px 24px; }
.pack .n { font: 600 17px/1 var(--text); color: var(--small); }
.pack .p { font: 800 clamp(44px, 5vw, 66px)/1 var(--display); font-stretch: 118%; color: var(--ink); margin: 12px 0 8px; letter-spacing: -.02em; }
.pack .e { font-weight: 600; color: var(--volt-d); }
.pnote { margin: 18px 0 0; max-width: 70ch; }
.pgo { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.pgo span { color: var(--small); }

.faq { margin-top: 28px; border-top: 2px solid var(--ink); max-width: 880px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font: 700 19px/1.3 var(--text); color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 6px; top: 16px; font: 400 26px/1 var(--text); color: var(--volt); }
.faq details[open] summary::after { content: '\2212'; }
.faq .a { padding: 0 0 20px; max-width: 68ch; }
.faq .a p { margin: 0 0 10px; }
.faq .a p:last-child { margin-bottom: 0; }
.faq-more { margin: 20px 0 0; }
.faq-group { margin-top: 48px; }
.faq-group h2 { font: 700 clamp(22px, 2.3vw, 30px)/1.2 var(--text); color: var(--ink); margin: 0 0 4px; }

.end { margin-top: clamp(56px, 8vw, 104px); }
.end .tilex { background: var(--ink); color: #fff; border-radius: var(--r); padding: clamp(32px, 6vw, 72px); }
.end .h { color: #fff; }
.end .h span { color: var(--volt-l); }
.end .go { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.end .go span { color: var(--mist); }
.end .who { margin: 22px 0 0; color: #D5DAE6; font-size: 16px; }

/* inner pages: text on paper */
.prose { max-width: 76ch; }
.prose h2 { font: 700 clamp(24px, 2.5vw, 32px)/1.2 var(--text); color: var(--ink); margin: 48px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font: 700 20px/1.3 var(--text); color: var(--ink); margin: 30px 0 8px; }
.prose p, .prose ul, .prose ol { margin: 0 0 14px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin: 0 0 6px; }
.prose li::marker { color: var(--volt); }
.prose a { color: var(--volt-d); text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
.prose .note, .note { font-size: 15px; color: var(--small); }
.prose figure { margin: 28px 0; }
.prose blockquote { margin: 20px 0; border-left: 3px solid var(--volt); padding: 2px 0 2px 16px; color: var(--ink); }
.cols2 { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: start; }
.aside { position: sticky; top: 24px; }
.aside .pair + .pair { margin-top: 24px; }
.tbl { width: 100%; border-collapse: collapse; margin: 8px 0 22px; font-size: 16px; background: var(--card); border-radius: var(--r); overflow: hidden; }
.tbl th, .tbl td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.tbl thead th { background: var(--ink); color: #fff; font-weight: 600; font-size: 15px; }
.tbl tbody th { color: var(--ink); font-weight: 600; }
.tbl tr:last-child td, .tbl tr:last-child th { border-bottom: 0; }
.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
.cards { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.card { background: var(--card); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.card a { text-decoration: none; display: flex; flex-direction: column; height: 100%; }
.card img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--ink-2); }
.card .t { font: 700 19px/1.25 var(--text); color: var(--ink); margin: 14px 16px 6px; }
.card p { margin: 0 16px 16px; font-size: 15px; color: var(--small); }
.card .more { margin: auto 16px 16px; font-weight: 600; color: var(--volt-d); font-size: 15px; }
.card a:hover .t { color: var(--volt-d); }
.links { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; }
.links li { border-top: 1px solid var(--line); padding: 12px 0; }
.links a { font-weight: 600; color: var(--ink); text-decoration: none; }
.links a:hover { color: var(--volt-d); }
.links span { display: block; font-size: 15px; color: var(--small); }
.promise { background: var(--card); border-radius: var(--r); padding: clamp(22px, 3vw, 36px); max-width: 880px; }
.promise h2 { font: 700 clamp(22px, 2.3vw, 30px)/1.2 var(--text); color: var(--ink); margin: 0 0 10px; }
.promise p { margin: 0 0 10px; }
.sources { margin-top: 48px; font-size: 15px; color: var(--small); max-width: 76ch; }
.sources h2 { font: 700 17px/1.3 var(--text); color: var(--ink); margin: 0 0 8px; }
.sources ul { padding-left: 20px; margin: 0; }
.sources a { color: var(--small); }
.legal-doc { max-width: 76ch; }
.legal-doc h2 { font: 700 22px/1.25 var(--text); color: var(--ink); margin: 36px 0 10px; }
.legal-doc h3 { font: 700 18px/1.3 var(--text); color: var(--ink); margin: 24px 0 8px; }
.legal-doc p, .legal-doc ul, .legal-doc ol { margin: 0 0 12px; }
.legal-doc a { color: var(--volt-d); }
.legal-doc .tbl { font-size: 15px; }
.page-head { padding-top: clamp(28px, 4vw, 48px); }
.page-head .h { font-size: clamp(34px, 4.6vw, 58px); }
.page-head .crumb { margin: 0 0 14px; font-size: 14px; color: var(--small); }
.page-head .crumb ol { list-style: none; margin: 0; padding: 0; }
.page-head .crumb li { display: inline; }
.page-head .crumb a { color: var(--small); text-decoration: none; }
.page-head .crumb li + li::before { content: '/'; margin: 0 8px; }
.page-head .meta { margin: 14px 0 0; font-size: 15px; color: var(--small); }
.mark-box { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); margin: 20px 0; }
.mark-box div { border-radius: var(--r); padding: 32px; display: grid; place-items: center; min-height: 160px; }
.mark-box .lt { background: var(--card); }
.mark-box .dk { background: var(--ink); }
.mark-box img { width: 70%; max-width: 280px; height: auto; }

.foot { padding: 44px 0 110px; font-size: 15px; margin-top: clamp(56px, 8vw, 104px); }
.foot .cols { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 28px; }
.foot h2 { margin: 0 0 10px; font: 700 15px/1.2 var(--text); color: var(--ink); }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin: 0 0 7px; }
.foot a { text-decoration: none; color: var(--small); }
.foot a:hover { color: var(--volt-d); }
.foot .who { margin: 16px 0 0; color: var(--small); max-width: 32ch; }
.foot .legal { margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--small); display: flex; flex-wrap: wrap; gap: 6px 22px; }
.end + .foot { margin-top: 0; }

.sticky { display: none; }

/* the brand mosaic: soft squares in the side gutters, never behind text */
#bgsq { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
main, .foot { position: relative; z-index: 1; }
/* the header above main: its language and menu panels open over the page (FX-165) */
.bar { position: relative; z-index: 2; }

/* photos page rows */
.rows { margin-top: 36px; }
.row { display: grid; grid-template-columns: 5fr 6fr; gap: 48px; align-items: center; padding: 40px 0; border-top: 1px solid var(--line); }
.row:first-child { border-top: 2px solid var(--ink); }
.row h2 { font: 700 clamp(22px, 2.3vw, 30px)/1.2 var(--text); color: var(--ink); margin: 0 0 10px; }
.row p { margin: 0 0 10px; max-width: 54ch; }
.row.solo { grid-template-columns: 1fr; }

@media (max-width: 1040px) {
  .top { grid-template-columns: 1fr; }
  .copy h1 { font-size: clamp(31px, 6.4vw, 54px); }
  .copy h1.long { font-size: clamp(28px, 5.6vw, 46px); }
  .smalls { grid-template-columns: repeat(3, 1fr); }
  .smalls .sm:nth-of-type(4) { order: 1; } .fact.price { order: 2; }
  .smalls .sm:nth-of-type(n+5) { order: 3; } .fact.many { order: 4; }
  .split, .row, .cols2 { grid-template-columns: 1fr; gap: 24px; }
  .aside { position: static; }
  .foot .cols { grid-template-columns: 1fr 1fr; }
  .what { grid-template-columns: 1fr; gap: 24px; }
  .moves.n4 { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .fixes.n3 { grid-template-columns: repeat(2, 1fr); }
  .cards, .links { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .bar .wrap { height: 60px; gap: 12px; }
  .mark { width: 112px; }
  .nav, .bar-r a.in, .bar-r .lang { display: none; }
  .menu { display: block; }
  .bar .btn { min-height: 44px; padding: 0 14px; font-size: 15px; }
  .bar .btn .l { display: none; } .bar .btn .s { display: inline; }
  .bar-r { gap: 10px; }
  .h { font-stretch: 104%; }
  .copy { padding: 22px 18px 24px; }
  .copy .btn { width: 100%; }
  .big figcaption { font-size: 14px; min-height: 76px; padding: 10px 12px; }
  .sm .cap { font-size: 12px; height: 26px; padding: 0 7px; gap: 6px; }
  .fact { padding: 10px 12px; }
  .fact span { font-size: 13px; margin-top: 4px; }
  .ctl .seg { margin-left: 0; }
  .moves, .moves.n4 { grid-template-columns: 1fr; gap: 18px; margin-top: 26px; }
  .moves li { display: grid; grid-template-columns: 40px 1fr; column-gap: 8px; padding-top: 14px; }
  .moves li::before { font-size: 34px; grid-row: span 2; }
  .moves h3 { margin: 4px 0 4px; font-size: 20px; }
  .fixes, .fixes.n3 { grid-template-columns: 1fr; gap: 32px; }
  .packs { grid-template-columns: 1fr; }
  .pack { display: grid; grid-template-columns: 1fr auto; align-items: center; padding: 18px 20px; }
  .pack .p { margin: 0; grid-row: span 2; font-size: 46px; }
  .pack .e { margin-top: 6px; }
  .row { padding: 30px 0; }
  .facts { grid-template-columns: 1fr; }
  .sec { padding-top: 52px; }
  .cards, .links { grid-template-columns: 1fr; }
  .mark-box { grid-template-columns: 1fr; }
  .tbl { font-size: 15px; }
  .tbl th, .tbl td { padding: 10px; }
  .sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--paper); border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 14px; transform: translateY(110%); transition: transform .25s ease; }
  .sticky.on { transform: none; }
  .sticky .btn { flex: 1; min-height: 48px; font-size: 17px; }
  .sticky span { font-size: 13px; color: var(--small); line-height: 1.25; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* long single words (German, French) never overflow a phone screen; no automatic hyphenation (justified text keeps words whole) */
h1, h2, h3 { overflow-wrap: break-word; }

/* content system, 2 Dec 2026: the trial box after an article's first answer (card A3), the article page from records (card E1),
   the author box (card D2), the guide links and the link slots */
.try { padding-top: 22px; }
.try .btn { white-space: normal; text-align: left; flex-wrap: wrap; gap: 0 6px; min-height: 54px; padding: 12px 22px; font-size: 17px; line-height: 1.3; }
.try .btn span { font-weight: 500; }
.prose .links { padding-left: 0; margin: 12px 0 18px; }
.prose .links li { margin: 0; }
.toc { background: var(--card); border-radius: var(--r); padding: 18px 22px 8px; margin: 0 0 28px; }
.prose .toc h2 { font-size: 18px; margin: 0 0 8px; }
.toc ol { margin: 0 0 10px; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.art h2[id] { scroll-margin-top: 90px; }
.art-pair .ph { flex: none; }
.prose .art-pair { margin: 28px 0 8px; }
.prose .open { font-size: 14px; color: var(--small); margin: 0 0 28px; }
.prose .open a { margin-left: 6px; }
.art-fig a { display: block; }
.art-fig img { width: 100%; height: auto; border-radius: var(--r); }
.art-fig figcaption { font-size: 15px; color: var(--small); margin-top: 8px; }
.art-fig figcaption small { display: block; font-size: 12px; margin-top: 3px; }
.prose .sources { font-size: 15px; }
.author-box { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 4px 0 10px; margin: 44px 0 0; }
.prose .author-box h2 { font-size: 20px; margin: 18px 0 8px; }
.try-end .packs { margin-top: 24px; }
.slot .prose p { margin: 0 0 8px; }
/* without scripts the draggable pair shows both photos side by side */
html:not(.js) .art-pair .ph { display: grid; grid-template-columns: 1fr 1fr; aspect-ratio: auto !important; }
html:not(.js) .art-pair .ph img { position: static; height: auto; clip-path: none; }
html:not(.js) .art-pair .ph picture { display: block; }
html:not(.js) .art-pair input, html:not(.js) .art-pair .knob, html:not(.js) .art-pair .bar-x { display: none; }
@media (max-width: 760px) {
  .try .btn { width: 100%; font-size: 16px; }
  .toc { padding: 14px 16px 4px; }
}
