/* Alento Labs · alentolabs.com · the A+C «Mosaico + Vitrina» design (docs/design/website/README.md).
   A's frame (Jost + Albert Sans, paper and ink, the frosted glass bar, the hero panel over a wall of
   the apps' real screens, the principles over the icons, the paper footer) with C's rooms: one
   full-width band per app in its own colour, the text on a clear glass plate.
   Tokens at the top: colours (light, and dark by the system theme or the visitor's choice, data-theme on
   <html>), a type scale every component maps to (--t-2 … --t5 and the display clamps), four radii and
   the pill. Type sizes in rem so the reader's text-size setting is respected. Motion only under
   prefers-reduced-motion: no-preference. The pages work without the two small scripts (theme.js, site.js). */

/* ===== faces (self-hosted WOFF subsets, SIL OFL 1.1; licences next to the files) ===== */
@font-face { font-family: 'Jost'; font-weight: 500; font-display: swap; src: url('fonts/jost-500.woff?v=0e42cf3f27') format('woff'); }
@font-face { font-family: 'Jost'; font-weight: 600; font-display: swap; src: url('fonts/jost-600.woff?v=ad9ddd084c') format('woff'); }
@font-face { font-family: 'Albert Sans'; font-weight: 400; font-display: swap; src: url('fonts/albert-sans-400.woff?v=1568ad70f0') format('woff'); }
@font-face { font-family: 'Albert Sans'; font-weight: 400; font-style: italic; font-display: swap; src: url('fonts/albert-sans-400-italic.woff?v=d6e2b8a753') format('woff'); }
@font-face { font-family: 'Albert Sans'; font-weight: 700; font-display: swap; src: url('fonts/albert-sans-700.woff?v=758ed48694') format('woff'); }
/* Metric-matched fallbacks: while a web face loads (font-display: swap) the text is set in the local
   Arial scaled to the web face's width and given its line box, so the swap moves nothing. Numbers from
   tools/font-metrics.html (opentype.js over the TTFs and C:\Windows\Fonts\arial*.ttf, 2026-11-07). */
@font-face { font-family: 'Jost Fallback'; font-weight: 500; src: local('Arial'), local('ArialMT'); size-adjust: 99.46%; ascent-override: 107.58%; descent-override: 37.70%; line-gap-override: 0%; }
@font-face { font-family: 'Jost Fallback'; font-weight: 600; src: local('Arial Bold'), local('Arial-BoldMT'); size-adjust: 95.33%; ascent-override: 112.24%; descent-override: 39.34%; line-gap-override: 0%; }
@font-face { font-family: 'Albert Sans Fallback'; font-weight: 400; src: local('Arial'), local('ArialMT'); size-adjust: 102.48%; ascent-override: 92.70%; descent-override: 24.40%; line-gap-override: 0%; }
@font-face { font-family: 'Albert Sans Fallback'; font-weight: 700; src: local('Arial Bold'), local('Arial-BoldMT'); size-adjust: 96.97%; ascent-override: 97.97%; descent-override: 25.78%; line-gap-override: 0%; }
/* each app keeps its own personality: its name is set in its own UI face (subset to the name's letters) */
@font-face { font-family: 'Anton'; font-display: swap; src: url('fonts/anton.woff?v=6cda287706') format('woff'); }
@font-face { font-family: 'Alegreya'; font-weight: 800; font-display: swap; src: url('fonts/alegreya-800.woff?v=d9915813d8') format('woff'); }
@font-face { font-family: 'Instrument Serif'; font-display: swap; src: url('fonts/instrument-serif.woff?v=e5c54454fd') format('woff'); }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-display: swap; src: url('fonts/instrument-serif-italic.woff?v=e52736b178') format('woff'); }
@font-face { font-family: 'Caprasimo'; font-display: swap; src: url('fonts/caprasimo.woff?v=cdf147f2dd') format('woff'); }
@font-face { font-family: 'Outfit'; font-weight: 700; font-display: swap; src: url('fonts/outfit-700.woff?v=79916e8e53') format('woff'); }
.f-gym { font-family: 'Anton', 'Jost', sans-serif; font-weight: 400; letter-spacing: .01em; }
.f-noten { font-family: 'Outfit', 'Albert Sans', sans-serif; font-weight: 700; }
.f-guitar { font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; }
.f-guitar em { font-style: italic; }
.f-portion { font-family: 'Caprasimo', Georgia, serif; font-weight: 400; }
.f-morfi { font-family: 'Alegreya', Georgia, serif; font-weight: 800; }
/* the newer apps ship variable faces only: the subsets keep their axes (assets.js), so each name is set
   in the app's own instance (Foliotti's and Difumin's wordmarks, Filmeto's display caps) */
@font-face { font-family: 'Fraunces'; font-style: italic; font-weight: 100 900; font-display: swap; src: url('fonts/fraunces-italic.woff?v=ae15a47cbe') format('woff'); }
@font-face { font-family: 'Newsreader'; font-style: italic; font-weight: 200 800; font-display: swap; src: url('fonts/newsreader-italic.woff?v=5e1146f3fc') format('woff'); }
@font-face { font-family: 'Big Shoulders Display'; font-weight: 100 900; font-display: swap; src: url('fonts/big-shoulders-display.woff?v=9e2935b8e3') format('woff'); }
.f-foliotti { font-family: 'Fraunces', Georgia, serif; font-style: italic; font-weight: 600; font-variation-settings: 'opsz' 72, 'SOFT' 60, 'WONK' 1; letter-spacing: -.01em; }
.f-difumin { font-family: 'Newsreader', Georgia, serif; font-style: italic; font-weight: 500; font-variation-settings: 'opsz' 72; letter-spacing: -.01em; }
.f-filmeto { font-family: 'Big Shoulders Display', 'Jost', sans-serif; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; }

/* ===== tokens ===== */
:root {
  --paper: #F3EEE4; --paper-2: #EBE4D7; --ink: #1E1C19; --ink-2: #4B463F; --ink-3: #6B645B; --icon-ring: transparent;
  --line: rgba(30, 28, 25, .12); --line-strong: rgba(30, 28, 25, .28);
  --glass: rgba(248, 245, 239, .78); --glass-soft: rgba(248, 245, 239, .62);
  --glass-edge: rgba(255, 255, 255, .78); --glass-top: rgba(255, 255, 255, .7);
  --glass-shadow: 0 24px 60px rgba(30, 28, 25, .14), 0 2px 6px rgba(30, 28, 25, .06);
  --shot-shadow: 0 30px 60px rgba(30, 28, 25, .28);
  --blur: 26px;
  --brass: #A8894F; --brass-text: #7A5F30;
  --sheen: rgba(255, 255, 255, .42);
  /* the hero wall's fade: clear over the wall, then an eased ramp into the paper (brief 39, item 4) */
  --hero-fade: rgba(243, 238, 228, 0); --hero-fade-2: rgba(243, 238, 228, .45); --hero-fade-3: rgba(243, 238, 228, .85);
  /* the three light rooms and what sits in them, by theme (brief 39, P4: in dark mode Morfi goes cobalt with
     cream stripes, Difumin a charcoal gallery wall with a pale frame, the Notenrechner a deep green); the
     story stages' second colour (--a-*) and the Notenrechner's «6» disc follow */
  --c-morfi: #EDE6D8; --c-difumin: #ECECE9; --c-noten: #CDEFD9; --cloth: #2B3A8F; --frame: #141414;
  --a-morfi: #2B3A8F; --a-difumin: #141414; --a-noten: #FBEBB0; --six: #1F6B3C; --six-o: .84;
  --focus: #1E1C19;
  color-scheme: light;
  /* the type scale: 12 · 13 · 14 · 16 · 17 (body) · 20 · 24 · 30 px, plus the display clamps */
  --t-2: .75rem; --t-1: .8125rem; --t0: .875rem; --t1: 1rem; --t2: 1.0625rem; --t3: 1.25rem; --t4: 1.5rem; --t5: 1.875rem;
  --d1: clamp(2.375rem, 5.2vw, 4.125rem); --d2: clamp(1.875rem, 3.4vw, 2.75rem);
  /* four radii and the pill: small icons · rows, badges, tags · cards, screens, tiles · the big surfaces */
  --r-s: 10px; --r-m: 16px; --r-l: 24px; --r-xl: 32px; --pill: 999px;
  --font-display: 'Jost', 'Jost Fallback', 'Albert Sans', sans-serif;
  --font-text: 'Albert Sans', 'Albert Sans Fallback', system-ui, sans-serif;
  --font-ui: 'Jost', 'Jost Fallback', sans-serif;
}
/* Dark: by the system theme unless the visitor picked light in the footer, or by their choice of dark
   (data-theme, set by theme.js before paint and by site.js). The same tokens twice, on purpose. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #1B1A18; --paper-2: #23211E; --ink: #EDE7DC; --ink-2: #CBC4B8; --ink-3: #A39C90; --icon-ring: rgba(237, 231, 220, .28);
    --line: rgba(237, 231, 220, .14); --line-strong: rgba(237, 231, 220, .32);
    --glass: rgba(34, 32, 29, .80); --glass-soft: rgba(34, 32, 29, .66);
    --glass-edge: rgba(255, 255, 255, .14); --glass-top: rgba(255, 255, 255, .10);
    --glass-shadow: 0 24px 60px rgba(0, 0, 0, .45), 0 2px 6px rgba(0, 0, 0, .3);
    --shot-shadow: 0 30px 60px rgba(0, 0, 0, .55);
    --brass-text: #CBB07A; --sheen: rgba(255, 255, 255, .07);
    --hero-fade: rgba(27, 26, 24, .18); --hero-fade-2: rgba(27, 26, 24, .55); --hero-fade-3: rgba(27, 26, 24, .88);
    --c-morfi: #2B3A8F; --c-difumin: #2A2A29; --c-noten: #1F4A36; --cloth: #EDE6D8; --frame: #ECECE9;
    --a-morfi: #EDE6D8; --a-difumin: #ECECE9; --a-noten: #27724A; --six: #27724A; --six-o: 1;
    --focus: #EDE7DC;
    color-scheme: dark;
  }
  :root:not([data-theme="light"]) .l-light { display: none; }
  :root:not([data-theme="light"]) .l-dark { display: block; }
  /* the dark rooms' plates: Difumin's light plate becomes the dark plate on the charcoal wall, the
     Notenrechner's is tinted mint on the deep green (dark ink on ≈ #8FBFA4: 7.6:1); the home's cubes of these
     rooms have their own dark rules (the index of the eight apps, below) */
  :root:not([data-theme="light"]) .band.difumin .plate:not(.dark) { --plate: rgba(255, 255, 255, .09); --plate-edge: rgba(255, 255, 255, .22); --plate-top: rgba(255, 255, 255, .28); --plate-bottom: rgba(0, 0, 0, .3);
    --ink: #EDE7DC; --ink-2: #D2CBBF; --ink-3: #B5AEA2; --line-strong: rgba(237, 231, 220, .34); --brass-text: #CBB07A; --paper: #1E1C19; --focus: #EDE7DC; color: var(--ink); }
  /* these two light plates sit over a dark room (green ~#7AA58E, lavender ~#9FA8D9 once composited), so
     their quiet inks get darker to keep 4.5:1 (the web agent's baseline, 14 Nov: 2.59 and 3.38 before) */
  :root:not([data-theme="light"]) .band.noten .plate:not(.dark) { --plate: rgba(205, 239, 217, .55); --plate-edge: rgba(255, 255, 255, .7); --plate-top: rgba(255, 255, 255, .8);
    --ink-2: #26231F; --ink-3: #2E2A26; --brass-text: #3F2E0E; }
  :root:not([data-theme="light"]) .band.morfi .plate:not(.dark) { --plate: rgba(255, 255, 255, .56); --plate-edge: rgba(255, 255, 255, .9);
    --ink-3: #3A3631; --brass-text: #4E3A17; }
  :root:not([data-theme="light"]) .priv-strip.noten { --c: #1F4A36; }
}
:root[data-theme="dark"] {
  --paper: #1B1A18; --paper-2: #23211E; --ink: #EDE7DC; --ink-2: #CBC4B8; --ink-3: #A39C90; --icon-ring: rgba(237, 231, 220, .28);
  --line: rgba(237, 231, 220, .14); --line-strong: rgba(237, 231, 220, .32);
  --glass: rgba(34, 32, 29, .80); --glass-soft: rgba(34, 32, 29, .66);
  --glass-edge: rgba(255, 255, 255, .14); --glass-top: rgba(255, 255, 255, .10);
  --glass-shadow: 0 24px 60px rgba(0, 0, 0, .45), 0 2px 6px rgba(0, 0, 0, .3);
  --shot-shadow: 0 30px 60px rgba(0, 0, 0, .55);
  --brass-text: #CBB07A; --sheen: rgba(255, 255, 255, .07);
  --hero-fade: rgba(27, 26, 24, .18); --hero-fade-2: rgba(27, 26, 24, .55); --hero-fade-3: rgba(27, 26, 24, .88);
  --c-morfi: #2B3A8F; --c-difumin: #2A2A29; --c-noten: #1F4A36; --cloth: #EDE6D8; --frame: #ECECE9;
  --a-morfi: #EDE6D8; --a-difumin: #ECECE9; --a-noten: #27724A; --six: #27724A; --six-o: 1;
  --focus: #EDE7DC;
  color-scheme: dark;
}
:root[data-theme="dark"] .l-light { display: none; }
:root[data-theme="dark"] .l-dark { display: block; }
:root[data-theme="dark"] .band.difumin .plate:not(.dark) { --plate: rgba(255, 255, 255, .09); --plate-edge: rgba(255, 255, 255, .22); --plate-top: rgba(255, 255, 255, .28); --plate-bottom: rgba(0, 0, 0, .3);
  --ink: #EDE7DC; --ink-2: #D2CBBF; --ink-3: #B5AEA2; --line-strong: rgba(237, 231, 220, .34); --brass-text: #CBB07A; --paper: #1E1C19; --focus: #EDE7DC; color: var(--ink); }
:root[data-theme="dark"] .band.noten .plate:not(.dark) { --plate: rgba(205, 239, 217, .55); --plate-edge: rgba(255, 255, 255, .7); --plate-top: rgba(255, 255, 255, .8);
  --ink-2: #26231F; --ink-3: #2E2A26; --brass-text: #3F2E0E; }
:root[data-theme="dark"] .band.morfi .plate:not(.dark) { --plate: rgba(255, 255, 255, .56); --plate-edge: rgba(255, 255, 255, .9);
  --ink-3: #3A3631; --brass-text: #4E3A17; }
:root[data-theme="dark"] .priv-strip.noten { --c: #1F4A36; }
/* the logo and the mark: both versions are in the page (site.js logo(), mark()); one shows */
.logo, .mark { display: inline-flex; }
.l-dark { display: none; }

/* ===== base ===== */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 var(--t2)/1.55 var(--font-text);
  overflow-x: hidden;
}
img, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; letter-spacing: -.015em; margin: 0; }
h1 { font-size: var(--d1); line-height: 1.04; font-weight: 600; }
h2 { font-size: var(--d2); line-height: 1.1; }
h3 { font-size: var(--t4); line-height: 1.15; }
p { margin: 0; }
b, strong { font-weight: 700; }
em { font-style: italic; }
/* Line breaks in ten languages: a heading, a kicker or a label that wraps gets even lines instead of a
   last word alone (balance); running text avoids a short last line (pretty). Both are hints that older
   browsers ignore. Separators, units and names are handled in the markup (site.js typo()). */
h1, h2, h3, .kicker, dt { text-wrap: balance; }
.kicker { font: 500 var(--t-1)/1.3 var(--font-ui); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
/* at 360 px a three-part kicker («Closed beta · Google Play · Android only») fits on two lines */
@media (max-width: 600px) { .kicker { font-size: var(--t-2); letter-spacing: .14em; } }
.muted { color: var(--ink-2); }
.wrap { width: min(1240px, 100% - 48px); margin-inline: auto; }
@media (max-width: 600px) { .wrap { width: calc(100% - 32px); } }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.band :focus-visible, .plate :focus-visible { outline-color: currentColor; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 50; padding: 10px 16px; border-radius: var(--pill); background: var(--ink); color: var(--paper); font: 500 var(--t0) var(--font-ui); text-decoration: none; }
.skip:focus-visible { top: 16px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* an anchored heading lands under the sticky bar (14 + 64 px) with room to spare */
[id] { scroll-margin-top: 96px; }
@media (max-width: 900px) { [id] { scroll-margin-top: 80px; } }
.nobr { white-space: nowrap; }
.sym { font-family: var(--font-ui); font-weight: 500; }   /* a sign the text face draws too small («≥»), in the display face */

/* ===== motion (only for visitors who have not asked for less; everything also works without it) ===== */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  a, button, summary, .chips li { transition: background-color .15s, border-color .15s, color .15s, box-shadow .2s, transform .2s, opacity .2s; }
  .dd summary svg { transition: transform .15s; }
  /* a light lift on the row-like links */
  .others a:hover, .plist a:hover, .dd-panel a:hover, .beta-apps li:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(30, 28, 25, .10); }
  /* the hero panel settles in; the wall drifts very slowly, the one long motion on the site */
  .hero-panel { animation: rise .6s cubic-bezier(.2, .7, .2, 1) both; }
  .wall { animation: drift 40s ease-in-out infinite alternate; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes drift { from { transform: translateX(calc(-50% - 12px)) rotate(-7deg); } to { transform: translateX(calc(-50% + 12px)) rotate(-7deg); } }

/* ===== glass ===== */
.glass {
  position: relative;
  background: var(--glass);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(1.5);
  backdrop-filter: blur(var(--blur)) saturate(1.5);
  border: 1px solid var(--glass-edge);
  box-shadow: var(--glass-shadow), inset 0 1px 0 var(--glass-top);
  border-radius: var(--r-xl);
}
/* a quiet diagonal sheen, like light across a pane; never over the text's contrast budget */
.glass::before { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 0;
  background: linear-gradient(128deg, var(--sheen) 0%, rgba(255, 255, 255, 0) 38%); }
/* text straight inside a .glass (no element around it) would sit under the sheen: site.js wraps it in a <span> (the home's
   «exceptions» note, the duo's tag) */
.glass > * { position: relative; z-index: 1; }
.glass.soft { background: var(--glass-soft); }
/* the plate (from C): clear, thick, lit edge; its ink follows the band, not the theme */
.plate {
  position: relative; color: var(--ink);
  background: var(--plate, rgba(255, 255, 255, .5));
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  backdrop-filter: blur(18px) saturate(1.3);
  border: 1px solid var(--plate-edge, rgba(255, 255, 255, .9));
  box-shadow: var(--glass-shadow), inset 0 1.5px 0 var(--plate-top, rgba(255, 255, 255, .95)), inset 0 -1px 0 var(--plate-bottom, rgba(30, 28, 25, .08));
  border-radius: var(--r-xl);
}
.band .plate:not(.dark) { --ink: #1E1C19; --ink-2: #3A3631; --ink-3: #4B463F; --line-strong: rgba(30, 28, 25, .3); --brass-text: #7A5F30; --paper: #F3EEE4; --focus: #1E1C19; }
.plate.dark { --plate: rgba(255, 255, 255, .09); --plate-edge: rgba(255, 255, 255, .22); --plate-top: rgba(255, 255, 255, .28); --plate-bottom: rgba(0, 0, 0, .3); }
.plate.dark, .band.on-dark { --ink: #EDE7DC; --ink-2: #D2CBBF; --ink-3: #B5AEA2; --line-strong: rgba(237, 231, 220, .34); --brass-text: #CBB07A; --paper: #1E1C19; --focus: #EDE7DC; color: var(--ink); }
@media (prefers-reduced-transparency: reduce) {
  .glass, .glass.soft { background: var(--paper); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .glass::before { display: none; }
  .plate { background: #F3EEE4; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .plate.dark { background: #26231F; }
}
@supports not (backdrop-filter: blur(1px)) {
  .glass, .glass.soft { background: var(--paper); }
  .plate { background: #F3EEE4; } .plate.dark { background: #26231F; }
}

/* ===== header ===== */
.top { position: sticky; top: 14px; z-index: 10; margin-top: 14px; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; padding: 0 12px 0 20px; border-radius: var(--pill); }
.brand { display: flex; align-items: center; height: 100%; text-decoration: none; }
.brand img { height: 30px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { font: 500 var(--t0) var(--font-ui); text-decoration: none; padding: 10px 14px; border-radius: var(--pill); color: var(--ink); }
.nav a:hover { background: var(--line); }
/* The bar's glass is a layer under its content (.bar::after), not a filter on the bar itself: a
   backdrop-filter on an ancestor would pin the dropdown's fixed backdrop (below) to the bar's box. */
.bar { background: none; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: var(--glass-shadow); }
.bar::after { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--glass);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(1.5); backdrop-filter: blur(var(--blur)) saturate(1.5); box-shadow: inset 0 1px 0 var(--glass-top); }
@media (prefers-reduced-transparency: reduce) { .bar::after { background: var(--paper); -webkit-backdrop-filter: none; backdrop-filter: none; } }
@supports not (backdrop-filter: blur(1px)) { .bar::after { background: var(--paper); } }
/* «Apps»: a native disclosure in the bar (site.js appsMenu); the open panel is solid paper, like the
   phone menu, so the hero's own glass cannot ghost through it. Enter / Space toggle it. */
.dd { position: relative; }
.dd summary { list-style: none; display: inline-flex; align-items: center; gap: 5px; font: 500 var(--t0) var(--font-ui); padding: 10px 11px 10px 14px; border-radius: var(--pill); color: var(--ink); cursor: pointer; }
.dd summary::-webkit-details-marker { display: none; }
.dd summary svg { width: 15px; height: 15px; }
.dd summary:hover, .dd[open] summary { background: var(--line); }
.dd[open] summary svg { transform: rotate(180deg); }
/* while open, the summary grows an invisible backdrop over the whole viewport: a click anywhere outside
   the panel lands on it and closes the disclosure (the panel sits above it) */
.dd[open] summary::before { content: ''; position: fixed; inset: 0; z-index: 1; cursor: default; }
.dd-panel { position: absolute; left: -8px; top: calc(100% + 16px); z-index: 2; width: 344px; padding: 8px; border-radius: var(--r-l); display: grid; gap: 2px; background: var(--paper); -webkit-backdrop-filter: none; backdrop-filter: none; }
.dd-panel a, .nav .dd-panel a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: var(--r-m); text-decoration: none; color: var(--ink); }
.dd-panel a:hover { background: var(--line); }
.dd-panel a[aria-current] { background: var(--paper-2); }
.dd-panel img { flex: none; width: 38px; height: 38px; border-radius: var(--r-s); box-shadow: 0 4px 10px rgba(0, 0, 0, .16); }
.dd-panel b { display: block; font: 500 var(--t0)/1.2 var(--font-ui); }
.dd-panel small { display: block; font-size: var(--t-1); line-height: 1.3; color: var(--ink-3); margin-top: 2px; }
.dd-panel .all, .nav .dd-panel .all { margin-top: 6px; padding: 13px 12px 9px; border-top: 1px solid var(--line); border-radius: 0 0 var(--r-m) var(--r-m); justify-content: space-between; font: 500 var(--t0) var(--font-ui); }
.dd-panel .all svg { width: 16px; height: 16px; }
/* The language switch (site.js langSwitch): the same disclosure as «Apps», drawn as the bar's quiet
   pill (a globe and the current code), its panel the live languages by their own names, at the bar's
   right end, the current one checked. Inside the phone menu it is a row with the current language's
   name that opens the list in place, like «Apps». */
.lang-dd { margin-left: 8px; }
.lang-dd summary { gap: 6px; padding: 8px 9px 8px 11px; border: 1px solid var(--line-strong); font: 500 var(--t-1) var(--font-ui); letter-spacing: .04em; color: var(--ink-2); }
.lang-dd summary .globe { width: 17px; height: 17px; }
.lang-dd summary svg:last-child { width: 14px; height: 14px; }
.lang-dd[open] summary .globe { transform: none; }
.lang-dd summary .name { display: none; }
.lang-panel { left: auto; right: -8px; width: 240px; padding: 6px; }
.lang-panel a, .nav .lang-panel a { justify-content: space-between; gap: 10px; padding: 9px 12px; border-radius: var(--r-m); font: 500 var(--t0)/1.25 var(--font-ui); }
.lang-panel .check { flex: none; width: 16px; height: 16px; color: var(--brass-text); }
/* The theme switch (site.js themeSwitch), the language switch's twin just before it: the summary shows
   the current state's icon (picked here from data-theme, so it is right before any script), the panel
   three buttons with the current one checked. Hidden without script (theme.js marks html.js). */
.theme-dd { display: none; margin-left: 6px; }
html.js .theme-dd { display: block; }
.theme-dd summary { gap: 6px; padding: 8px 9px 8px 10px; border: 1px solid var(--line-strong); color: var(--ink-2); }
.theme-dd summary .ic { display: none; width: 17px; height: 17px; }
html:not([data-theme]) .theme-dd summary .ic-auto, html[data-theme="light"] .theme-dd summary .ic-light, html[data-theme="dark"] .theme-dd summary .ic-dark { display: block; }
.theme-dd[open] summary .ic { transform: none; }
.theme-dd summary svg:last-child { width: 14px; height: 14px; }
.theme-dd summary .name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.theme-panel { left: auto; right: -8px; width: 200px; padding: 6px; }
.theme-panel button { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding: 9px 12px; border: 0; border-radius: var(--r-m); background: none; font: 500 var(--t0)/1.25 var(--font-ui); color: var(--ink); text-align: left; cursor: pointer; }
.theme-panel button > span { display: inline-flex; align-items: center; gap: 10px; }
.theme-panel button .ic { width: 17px; height: 17px; color: var(--ink-2); }
.theme-panel button:hover { background: var(--line); }
.theme-panel button[aria-pressed="true"] { background: var(--paper-2); }
.theme-panel .check { flex: none; width: 16px; height: 16px; color: var(--brass-text); visibility: hidden; }
.theme-panel button[aria-pressed="true"] .check { visibility: visible; }
/* phone navigation: a native disclosure, no script */
.menu { display: none; position: static; }
.menu summary { list-style: none; display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: var(--pill); color: var(--ink); cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary svg { width: 22px; height: 22px; }
.menu .closed, .menu[open] .opened { display: block; } .menu .opened, .menu[open] .closed { display: none; }
/* the open menu is solid paper: a glass panel over the hero's own glass would let its title ghost through */
.menu nav { position: absolute; left: 0; right: 0; top: calc(100% + 10px); padding: 10px; border-radius: var(--r-l); display: grid; gap: 2px; background: var(--paper); -webkit-backdrop-filter: none; backdrop-filter: none;
  max-height: calc(100vh - 96px); max-height: calc(100dvh - 96px); overflow-y: auto; }
.menu nav a { font: 500 var(--t2) var(--font-ui); text-decoration: none; padding: 12px 16px; border-radius: var(--r-m); color: var(--ink); }
.menu nav a:hover { background: var(--line); }
/* inside the phone menu the «Apps» disclosure is a nested list: no floating panel, no backdrop */
.menu .dd summary { display: flex; width: auto; height: auto; justify-content: space-between; font: 500 var(--t2) var(--font-ui); padding: 12px 16px; border-radius: var(--r-m); }
.menu .dd summary svg { width: 18px; height: 18px; }
.menu .dd[open] summary::before { display: none; }
.menu .dd-panel { position: static; width: auto; padding: 4px 0 2px 10px; border: 0; box-shadow: none; background: none; }
.menu .dd-panel::before { display: none; }
.menu .dd-panel a { font: inherit; padding: 8px 10px; }
.menu .dd-panel .all { font: 500 var(--t1) var(--font-ui); margin-top: 4px; padding: 12px 12px 8px; border-radius: 0; }
.menu .lang-dd { margin: 6px 0 0; padding-top: 6px; border-top: 1px solid var(--line); }
.menu .lang-dd summary { justify-content: flex-start; gap: 10px; border: 0; color: var(--ink); letter-spacing: 0; }
.menu .lang-dd summary .code { display: none; }
.menu .lang-dd summary .name { display: inline; }
.menu .lang-dd summary .globe { width: 20px; height: 20px; color: var(--ink-2); }
.menu .lang-dd summary svg:last-child { width: 18px; height: 18px; margin-left: auto; }
.menu .lang-panel a { font: 500 var(--t1)/1.25 var(--font-ui); padding: 10px 12px; }
.menu .theme-dd { margin: 6px 0 0; padding-top: 6px; border-top: 1px solid var(--line); }
.menu .theme-dd summary { justify-content: flex-start; gap: 10px; border: 0; color: var(--ink); }
.menu .theme-dd summary .ic { width: 20px; height: 20px; color: var(--ink-2); }
.menu .theme-dd summary .name { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
.menu .theme-dd summary svg:last-child { width: 18px; height: 18px; margin-left: auto; }
.menu .theme-panel button { font: 500 var(--t1)/1.25 var(--font-ui); padding: 10px 12px; }
@media (max-width: 900px) {
  .nav { display: none; }
  .menu { display: block; }
  .bar { height: 58px; padding-left: 16px; }
  .brand img { height: 26px; }
}

/* ===== hero with the wall of screens ===== */
/* The hero runs up behind the glass bar (margin-top = the bar's 14 + 64 px) and the wall fades in
   from the paper at the top the way it fades out at the bottom: no hard edge under the bar. */
.hero { position: relative; min-height: 780px; margin-top: -78px; padding: 188px 0 120px; overflow: hidden; isolation: isolate; }
/* Centred and sized from the viewport, so the wall covers any desktop width (1440 → 4K) edge to edge.
   Tiles grow with the viewport only up to 300 px (at ~2055 px); wider screens show more tiles of that
   size (.x1 … .x6, two per breakpoint, WALL_X in registry.js), and only past ~5130 px, when all twenty
   per row are out, do the tiles grow again (5.85vw). Keep `sizes` in site.js's shot() in step. */
.wall { position: absolute; left: 50%; top: -200px; width: max-content; transform: translateX(-50%) rotate(-7deg); display: grid; gap: 22px; z-index: -1; }
.wall .row { display: flex; gap: 22px; }
.wall .row:nth-child(2) { margin-left: -118px; }
.wall .row:nth-child(3) { margin-left: -36px; }
.wall .x { display: none; }
@media (min-width: 2056px) { .wall .x1 { display: block; } }
@media (min-width: 2500px) { .wall .x2 { display: block; } }
@media (min-width: 3000px) { .wall .x3 { display: block; } }
@media (min-width: 3500px) { .wall .x4 { display: block; } }
@media (min-width: 4000px) { .wall .x5 { display: block; } }
@media (min-width: 4500px) { .wall .x6 { display: block; } }
.wall img { flex: none; width: clamp(212px, 14.6vw, max(300px, 5.85vw)); height: auto; aspect-ratio: 212 / 332; object-fit: cover; object-position: top; border-radius: var(--r-l); box-shadow: 0 18px 40px rgba(30, 28, 25, .22); background: var(--paper-2); }
/* The top fade reaches further down than the bar, so no tile's text ghosts through the glass bar. The
   bottom fade eases into the paper and is solid paper for the last 44 px: a linear ramp that only reached
   the paper on the hero's last pixel row left the wall ghosting through at 1–2 % right up to the section's
   edge and then stopping dead, which read as a thin line where «Las apps» begins (brief 39, item 4). */
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, var(--paper) 0, var(--hero-fade) 230px, var(--hero-fade) 52%, var(--hero-fade-2) 72%, var(--hero-fade-3) 86%, var(--paper) calc(100% - 44px)); }
.hero-panel { max-width: 760px; padding: 48px 52px 44px; }
/* ink-2, not ink-3: over the wall's darkest (or, in dark mode, lightest) screens ink-3 gave 3.3 to 4.0:1 (designer, brief 65) */
.hero-panel .kicker { margin-bottom: 22px; color: var(--ink-2); }
.hero-panel h1 { max-width: 15ch; }
/* the lead is the site's strongest sentence: full ink, a step above the body */
.hero-panel .lead { font-size: 1.375rem; line-height: 1.4; max-width: 34ch; margin-top: 18px; color: var(--ink); }
.hero-panel .actions { margin-top: 36px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: var(--pill); background: var(--ink); color: var(--paper); font: 500 var(--t1) var(--font-ui); text-decoration: none; border: 1px solid transparent; }
.btn:hover { background: var(--ink-2); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn.ghost:hover { background: var(--line); }
.btn svg { width: 18px; height: 18px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; padding: 0; margin: 34px 0 0; font: 500 var(--t0) var(--font-ui); color: var(--ink-2); letter-spacing: .02em; }
.facts li { display: flex; align-items: center; gap: 8px; }
.facts li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .55; }
@media (max-width: 900px) {
  .hero { min-height: 0; margin-top: -72px; padding: 108px 0 70px; }
  .hero::after { background: linear-gradient(180deg, var(--paper) 0, var(--hero-fade) 150px, var(--hero-fade) 52%, var(--hero-fade-2) 72%, var(--hero-fade-3) 86%, var(--paper) calc(100% - 36px)); }
  .wall { top: -120px; }
  .wall img { width: 150px; border-radius: var(--r-m); }
  .hero-panel { padding: 30px 24px 28px; border-radius: var(--r-l); }
  .hero-panel .lead { font-size: 1.1875rem; }
}
/* phones: without the 15ch cap and at 32 px the balanced h1 takes two full lines in ES, EN, DE, IT, NL
   and TR at 390 and 360 (ID at 390); FR, PT and PL are three even lines, their sentence is too long for
   two at any size above 26 px (measured in the ten languages, 2026-11-07) */
@media (max-width: 420px) { .hero-panel h1 { font-size: 2rem; line-height: 1.06; max-width: none; } }

/* ===== sections ===== */
section { padding: 72px 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.sec-head .kicker { margin-bottom: 14px; }
.sec-head p.muted { width: 44ch; max-width: 100%; font-size: var(--t2); }   /* a width, not only a cap: a one-line lede started further right than the others (Guardapatas, «Todo lo que hace.») */
@media (max-width: 900px) { .sec-head { flex-direction: column; align-items: flex-start; gap: 12px; } section { padding: 56px 0; } }

/* ===== rooms (from C): a full-width band per app, in the owner's order ===== */
.apps-head { padding: 72px 0 12px; }
.band { position: relative; background: var(--c, var(--paper-2)); overflow: hidden; isolation: isolate; }
.rooms section.band { padding: 0; }
.room .wrap { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; min-height: 560px; padding: 56px 0; }
.room .plate { padding: 34px 38px 32px; max-width: 560px; z-index: 2; }
.room.flip .plate { justify-self: end; order: 2; }
/* a screen is an <img>, or a <picture> with its dark version as a source (site.js roomShot): the stage
   positions either, the look stays on the img */
.room .shots { position: relative; height: 460px; z-index: 1; }
/* 250 px on desktop (brief 65, owner 26 Nov: at 300 px they looked zoomed in and the room cut most of them; at 250 px 87 to 100 % of each shows,
   and what is still cut below scrolls by itself, client.js block 4). Centred in their column, the second over 10 % of the first. */
.room .shots > * { position: absolute; width: 250px; height: auto; }
.room .shots img { border-radius: var(--r-l); box-shadow: var(--shot-shadow); }
.room .shots picture img, .app-band .shots picture img { position: static; width: 100%; transform: none; }
.room .shots > :nth-child(1) { left: calc(50% - 238px); top: 0; transform: rotate(-4deg); }
.room .shots > :nth-child(2) { left: calc(50% - 13px); top: 50px; transform: rotate(3deg); }
.room.flip .shots > :nth-child(1) { left: auto; right: calc(50% - 238px); }
.room.flip .shots > :nth-child(2) { left: auto; right: calc(50% - 13px); }
/* something real behind every plate: Gym's yellow block, Morfi's tablecloth stripes (cobalt on the cream,
   cream on the cobalt in dark mode) */
.band .accent { position: absolute; z-index: 0; left: 50%; right: -4%; top: 12%; bottom: 12%; border-radius: 48px; background: var(--a, #FFD300); }
.band.flip .accent { left: -4%; right: 50%; }
.app-band .accent { left: 52%; }
.band .cloth { position: absolute; z-index: 0; left: 0; right: 0; top: 54%; height: 26px;
  background: linear-gradient(var(--cloth), var(--cloth)) 0 0 / 100% 12px no-repeat, linear-gradient(var(--cloth), var(--cloth)) 0 20px / 100% 6px no-repeat; }
.band.gym { --c: #161616; --a: #FFD300; }
.band.morfi { --c: var(--c-morfi); }
.band.guitar { --c: #2A211B; }
.band.portion { --c: #F0913A; }
.band.noten { --c: var(--c-noten); }
/* its light plate lies half over the dark-green disc (about #95C2A7 through the glass): the quiet inks a step darker there, as in dark mode */
.band.room.noten .plate:not(.dark) { --ink-3: #3A3631; --brass-text: #4E3A17; --line-strong: rgba(30, 28, 25, .45); }
.band.foliotti { --c: #2A47B8; }
.band.difumin { --c: var(--c-difumin); }
.band.filmeto { --c: #8E1F1A; }
/* Filmeto: the darkroom's safelight red; its plate a deep red glass, the quiet text and numbers in the app's amber (AA on it) */
.band.filmeto .plate.dark { --plate: rgba(40, 6, 4, .36); --plate-edge: rgba(255, 210, 190, .24); --ink-3: #F3D9CF; --brass-text: #FFB24A; }
/* Foliotti's plate on its ink blue: a navy glass, and the quiet text a light blue-grey (AA on it) */
.band.foliotti .plate.dark { --plate: rgba(14, 22, 74, .34); --plate-edge: rgba(255, 255, 255, .26); --ink-3: #CDD5F2; --brass-text: #C9D3FF; }
/* Foliotti: a sheet of its paper with the folded corner of its icon */
.band .page { position: absolute; z-index: 0; left: 52%; width: min(450px, 36%); top: 6%; bottom: 6%; border-radius: var(--r-l); background: #F5F1E8; transform: rotate(6deg); box-shadow: 0 30px 70px rgba(8, 14, 60, .38); }
.band .page::after { content: ''; position: absolute; right: 0; top: 0; width: 76px; height: 76px; border-radius: 0 0 0 var(--r-m); background: linear-gradient(225deg, var(--c) 50%, #D5CDBB 50%); }
.band.flip .page { left: auto; right: 52%; transform: rotate(-6deg); }
/* Difumin: an empty picture frame on the gallery wall, with the red dot of its icon */
.band .frame { position: absolute; z-index: 0; left: 52%; width: min(520px, 40%); top: 9%; bottom: 14%; border: 6px solid var(--frame); }
.band .frame::after { content: ''; position: absolute; right: -62px; bottom: -62px; width: 112px; height: 112px; border-radius: 50%; background: #CC2E26; box-shadow: 0 0 0 14px var(--c); }
.band.flip .frame { left: 3%; width: min(560px, 44%); }
/* Filmeto: a strip of film across the safelight red, its sprocket holes in the band's colour */
.band .reel { position: absolute; z-index: 0; left: 42%; right: -2%; top: 50%; height: 132px; margin-top: -66px; transform: rotate(-4deg);
  background: linear-gradient(90deg, var(--c) 0 16px, transparent 16px) 0 14px / 34px 14px repeat-x, linear-gradient(90deg, var(--c) 0 16px, transparent 16px) 0 calc(100% - 14px) / 34px 14px repeat-x, #15110E; }
/* The icons' motifs, enlarged and cropped by the band (brief 39, W15 c), quiet so the screens stay the
   subject. Guitar Setup: the tuner's gauge, its centre just under the band's bottom, a brass arc the plate's
   glass catches, the needle rising in the gap between the plate and the first screen, softened and a little
   translucent so it does not compete with the screens, the brass hub at the bottom. */
.band .gauge { position: absolute; z-index: 0; width: 1040px; height: 1040px; left: calc(50% - 420px); top: 90px; border-radius: 50%; border: 24px solid rgba(201, 163, 91, .48); }
.band .gauge::before { content: ''; position: absolute; left: 50%; bottom: 50%; width: 22px; height: 420px; margin-left: -11px; border-radius: 11px 11px 5px 5px;
  background: linear-gradient(rgba(227, 90, 58, .72), rgba(194, 64, 31, .72)); transform-origin: 50% 100%; transform: rotate(-14deg); filter: blur(1.5px); }
.band .gauge::after { content: ''; position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px; border-radius: 50%; background: #C9A35B; box-shadow: inset 0 0 0 16px #2A211B; }
/* Portion: the icon's cream disc with its thin ring and the leaf at its shoulder; the plate's edge catches
   the disc, the screens sit on it like on a plate */
.band .disc { position: absolute; z-index: 0; width: 820px; height: 820px; border-radius: 50%; left: 90px; top: -30px; background: #FFFAF3;
  box-shadow: inset 0 0 0 46px #FFFAF3, inset 0 0 0 58px rgba(42, 29, 23, .32); }
.band .disc::after { content: ''; position: absolute; width: 210px; height: 106px; right: 40px; top: 30px; border-radius: 100% 0; background: #3B7540; transform: rotate(-24deg); }
/* The Notenrechner: the «6» on its hand-drawn green disc (Outfit, the name's face), cropped by the band's
   bottom, half under the plate's glass. The owner asked for the motif a little blurred, because the huge
   «6» distracts: the disc keeps its shape (a soft edge), the numeral is blurred further and lighter. In
   dark mode the disc is a step lighter than the deep green band (--six). */
.band .six { position: absolute; z-index: 0; width: 840px; height: 840px; left: 270px; top: 130px; border-radius: 48% 52% 49% 51% / 53% 47% 53% 47%;
  background: var(--six); opacity: var(--six-o); display: grid; place-items: center; font: 700 380px/1 'Outfit', 'Jost', sans-serif; color: #FFFFFF; filter: blur(3px); }
.band .six::before { content: '6'; margin-top: -230px; filter: blur(9px); opacity: .8; }
.band.flip .six { left: auto; right: 270px; }
/* the app pages' heroes are taller and the plate wider: the motifs sit a little lower and further out */
.app-band .gauge { top: 150px; left: calc(50% - 380px); }
.app-band .disc { left: auto; right: -60px; top: 20px; }
.app-band .six { left: auto; right: -120px; top: 190px; }
.room .n { font: 500 var(--t-1) var(--font-ui); letter-spacing: .16em; color: var(--brass-text); margin-bottom: 20px; display: flex; align-items: center; gap: 12px; }
.room .n img { width: 40px; height: 40px; border-radius: var(--r-s); box-shadow: 0 6px 14px rgba(0, 0, 0, .2); }
.room .name { font-size: 2.75rem; line-height: 1; margin-bottom: 8px; }
.room .name.f-gym { font-size: 3.125rem; letter-spacing: .02em; }
.room .name.f-filmeto { font-size: 3.5rem; line-height: .9; }
.room .by { font: 500 var(--t-1)/1 var(--font-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 18px; }
.room p.desc { color: var(--ink-2); max-width: 46ch; font-size: var(--t1); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 16px 0 0; }
.chips li { font: 500 var(--t-1) var(--font-ui); letter-spacing: .02em; border: 1px solid var(--line-strong); border-radius: var(--pill); padding: 5px 11px; color: var(--ink-2); }
.room .chips li { color: var(--ink); }
/* the one action per app (P3): the beta button, with «Soon on Google Play» as a quiet dashed state
   beside it (never a button); once the app is live the Play badge takes the button's place */
.room .actions { margin-top: 24px; gap: 10px 14px; }
.room .actions .btn { min-height: 44px; padding: 0 20px; }
.state { display: inline-flex; align-items: center; font: 500 var(--t-1) var(--font-ui); letter-spacing: .02em; color: var(--ink-3); border: 1px dashed var(--line-strong); border-radius: var(--pill); padding: 5px 12px; }
.links { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 18px; font: 500 var(--t0) var(--font-ui); }
.links a { text-decoration: none; border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; }
.links a:hover { border-color: var(--brass); }
/* a text link as a tap target: it looks the same, and its target grows into the free space around it (23 px tall became 45) */
.links a, .doc .crumbs a, .foot :not(.langs) > ul a { position: relative; }
.links a::after, .doc .crumbs a::after { content: ''; position: absolute; inset: -11px -8px; }
.foot :not(.langs) > ul a::after { content: ''; position: absolute; inset: -4px 0; }   /* the list's 8 px gaps belong to the links: 27 px per row */
.room .links { margin-top: 18px; }
@media (max-width: 1000px) {
  .apps-head { padding: 56px 0 8px; }
  /* phones: the screen first (one of the two, whole and centred), then the plate. The owner saw the screens
     cut (2026-11-08): the stage was 300 px for a 433 px screen, and the desktop's :nth-child positions
     out-ranked the phone's `> *`, so the screen sat off to one side. The selectors below carry the same
     :nth-child so they win, and the stage fits the whole screen (200 × 433, turned 3°). */
  .room .wrap { grid-template-columns: 1fr; min-height: 0; padding: 32px 0 36px; gap: 22px; }
  .room.flip .plate { order: 0; justify-self: start; }
  .room .plate { padding: 24px 20px 22px; border-radius: var(--r-l); max-width: none; }
  .room .shots { order: -1; height: 404px; }
  /* both screens, like the desktop (owner, 2026-11-08), the same pair as the app heroes */
  .room .shots > :nth-child(1), .room.flip .shots > :nth-child(1) { width: 162px; left: calc(50% - 158px); right: auto; top: 4px; transform: rotate(-4deg); }
  .room .shots > :nth-child(2), .room.flip .shots > :nth-child(2) { width: 162px; left: calc(50% - 2px); right: auto; top: 40px; transform: rotate(3deg); }
  .room .name, .room .name.f-gym { font-size: 2.125rem; }
  .band .accent, .band.flip .accent { left: 8%; right: -8%; top: 60px; bottom: auto; height: 360px; border-radius: 36px; }
  .band .cloth { top: 250px; bottom: auto; }
  .band .page, .band.flip .page { left: 14%; right: auto; width: 72%; top: 24px; bottom: auto; height: 400px; }
  .band .frame, .band.flip .frame { left: 10%; width: 66%; top: 50px; bottom: auto; height: 330px; }
  .band .reel { left: -2%; top: 200px; bottom: auto; margin-top: 0; height: 110px; }
  .room .name.f-filmeto { font-size: 2.75rem; }
  /* the motifs on the phone stage (one whole screen in the middle): the gauge's arc on both sides of the
     screen with the needle behind it, Portion's disc under the screen like a plate, the «6» disc behind
     the screen and under the plate's top edge */
  .band .gauge, .app-band .gauge { width: 620px; height: 620px; left: calc(50% - 310px); top: 90px; border-width: 18px; }
  .band .gauge::before { height: 250px; width: 16px; margin-left: -8px; }
  .band .disc, .app-band .disc { width: 520px; height: 520px; left: calc(50% - 260px); right: auto; top: 0; }
  .band .disc::after { width: 140px; height: 70px; right: 20px; top: 10px; }
  .band .six, .band.flip .six, .app-band .six { width: 560px; height: 560px; left: calc(50% - 280px); right: auto; top: 120px; font-size: 260px; }
  .band .six::before { margin-top: -120px; }
  .app-band .gauge { top: 40px; } .app-band .disc { top: -40px; } .app-band .six { top: 40px; }   /* the app heroes keep their own stage */
}

/* ===== the index of the eight apps under «Ocho, por ahora.»: a row of glass cubes (owner 2026-11-18, the
   approved prototype home-carousel-3d v2). Markup (site.js home()): nav.cubes > ul.cubes-track >
   li.cube.band.<app> > .cube-stage > .face (back, mid, top, front). Reuses .band.<app> (the room's colour) and
   .f-<app> (the name faces); the link keeps the class .plate. Three layers, each one complete on its own:
   1. flat: a grid of glass tiles, one row per app on phones (also what prefers-reduced-motion and browsers
      without 3D get);
   2. cubes: a horizontal scroll-snap row of rounded glass cubes that starts at 01, each seen from a little above;
   3. the eye and the arc: tied to the scroll, every cube is seen from the middle of the screen (so the ones at
      the sides show a side) and the row bends back very slightly towards its ends. No JS in any of it;
      site.js (client.js) only adds the two buttons and the arrow keys. ===== */

/* ---------- 0. the glass: one front for the tile and for the cube ---------- */
.cubes { padding: 0 0 56px; }
.cubes-track { list-style: none; margin: 0; padding: 0; }
.cubes .cube { --tint: 82%; --rim: rgba(255, 255, 255, .95); --rim-2: rgba(255, 255, 255, .25); --rim-3: rgba(255, 255, 255, .7); --sheen: rgba(255, 255, 255, .4);
  --ink: #1E1C19; --ink-2: #3A3631; --ink-3: #4B463F; --line-strong: rgba(30, 28, 25, .3); --brass-text: #7A5F30; --focus: #1E1C19; color: var(--ink); }
.cubes .cube.on-dark { --rim: rgba(255, 255, 255, .6); --rim-2: rgba(255, 255, 255, .08); --rim-3: rgba(255, 255, 255, .3); --sheen: rgba(255, 255, 255, .2);
  --ink: #EDE7DC; --ink-2: #D2CBBF; --ink-3: #B5AEA2; --line-strong: rgba(237, 231, 220, .34); --brass-text: #CBB07A; --focus: #EDE7DC; }
.cubes .cube-stage { display: contents; }
.cubes .is-back, .cubes .is-mid, .cubes .is-top, .cubes-ctl { display: none; }
/* the front: the room's colour as glass (a little of what is behind comes through), a sheen from the top
   left and a lit edge that follows the rounded corners */
.cubes .is-front { position: absolute; inset: 0; border-radius: inherit; border: 1.5px solid transparent;
  background: radial-gradient(130% 90% at 0% 0%, var(--sheen), rgba(255, 255, 255, 0) 58%) padding-box,
    linear-gradient(var(--c, var(--paper-2)), var(--c, var(--paper-2))) padding-box,
    linear-gradient(145deg, var(--rim), var(--rim-2) 34%, var(--rim-2) 66%, var(--rim-3)) border-box;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .42), inset 0 0 0 1px rgba(255, 255, 255, .05), inset 0 0 16px 1px rgba(255, 255, 255, .1), inset 0 -18px 26px -20px rgba(255, 255, 255, .34); }
@supports (color: color-mix(in srgb, red 50%, transparent)) {
  .cubes .is-front { background: radial-gradient(130% 90% at 0% 0%, var(--sheen), rgba(255, 255, 255, 0) 58%) padding-box,
    linear-gradient(color-mix(in srgb, var(--c, var(--paper-2)) var(--tint), transparent), color-mix(in srgb, var(--c, var(--paper-2)) var(--tint), transparent)) padding-box,
    linear-gradient(145deg, var(--rim), var(--rim-2) 34%, var(--rim-2) 66%, var(--rim-3)) border-box; }
}
/* the link is the whole front: icon above, the name in its own face, the line and the state below. The
   site's .plate glass (blur, border, shadow) is taken off: the cube is the glass */
.cubes .plate { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; width: auto; max-width: none;
  padding: 18px; border: 0; border-radius: inherit; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none;
  text-decoration: none; color: var(--ink); -webkit-tap-highlight-color: transparent; }
.cubes .plate .n { position: absolute; left: 18px; top: 18px; display: block; margin: 0; }
.cubes .plate .n img { width: 56px; height: 56px; border-radius: 14px; box-shadow: 0 8px 18px rgba(0, 0, 0, .22), 0 0 0 1px rgba(255, 255, 255, .12); }
.cubes .plate .t { display: block; min-width: 0; }
.cubes .name { display: block; font-size: 1.875rem; line-height: 1; letter-spacing: -.01em; text-wrap: balance; }
.cubes .name.f-gym { font-size: 2rem; letter-spacing: .02em; }
.cubes .name.f-guitar { font-size: 2.125rem; }
.cubes .name.f-portion { font-size: 1.75rem; }
.cubes .name.f-filmeto { font-size: 2.25rem; line-height: .9; }
.cubes .name.f-noten { font-size: 1.375rem; line-height: 1.08; }
.cubes .plate small { display: block; margin-top: 6px; font-size: var(--t0); line-height: 1.3; color: var(--ink-2); }
.cubes .state { display: inline-flex; margin-top: 12px; font: 500 var(--t-2)/1.2 var(--font-ui); letter-spacing: .02em; color: var(--ink-3); }
.cubes .plate::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .2s;
  background: radial-gradient(120% 100% at 0% 0%, rgba(255, 255, 255, .2), rgba(255, 255, 255, .04) 70%); }
.cubes .plate:hover::after { opacity: 1; }
.cubes .plate:active::after { opacity: .4; }
/* the number: a 48 px target at the top right (never under 44 px when its cube steps back) */
.cubes .jump { position: absolute; z-index: 2; right: 6px; top: 6px; display: inline-flex; align-items: center; justify-content: center; gap: 3px; min-width: 52px; min-height: 48px; padding: 6px 10px; border-radius: var(--pill);
  font: 500 var(--t-1) var(--font-ui); letter-spacing: .16em; color: var(--brass-text); text-decoration: none; -webkit-tap-highlight-color: transparent; }
.cubes .jump svg { width: 13px; height: 13px; margin-left: -2px; }
.cubes .jump:hover { background: rgba(255, 255, 255, .16); }
/* with no light plate under them, three texts need the room's own ink to pass 4.5:1: the number on the
   orange, the blue and the red (the last two take the colours the site gives those rooms' plates), and the
   state on the orange */
.cubes .cube.portion .jump { --brass-text: #4A3610; }
.cubes .cube.foliotti .jump { --brass-text: #C9D3FF; }
.cubes .cube.filmeto .jump { --brass-text: #FFB24A; }
.cubes .cube.portion .state { --ink-3: #3A3631; }
@media (prefers-reduced-transparency: reduce) { .cubes .cube { --tint: 100%; } }
.cubes .plate:focus-visible { outline-offset: -7px; border-radius: inherit; }
.cubes .jump:focus-visible { outline-offset: -3px; border-radius: var(--pill); }
/* dark theme, by the system and by the toggle (the same rules twice, like site.css): three rooms turn dark
   (their quiet ink a step lighter than the site's, to pass 4.5:1 on the cobalt and the deep green), and the
   two near-black rooms get a lighter body (--body), or their cubes melt into the dark paper */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .cubes .cube.morfi, :root:not([data-theme="light"]) .cubes .cube.difumin, :root:not([data-theme="light"]) .cubes .cube.noten,
  :root:not([data-theme="light"]) .cubes .cube.morfi .plate, :root:not([data-theme="light"]) .cubes .cube.difumin .plate, :root:not([data-theme="light"]) .cubes .cube.noten .plate {
    --rim: rgba(255, 255, 255, .6); --rim-2: rgba(255, 255, 255, .08); --rim-3: rgba(255, 255, 255, .3); --sheen: rgba(255, 255, 255, .2);
    --ink: #EDE7DC; --ink-2: #D2CBBF; --ink-3: #C8C1B5; --line-strong: rgba(237, 231, 220, .34); --brass-text: #EDE7DC; --focus: #EDE7DC; }
  :root:not([data-theme="light"]) .cubes .cube.gym, :root:not([data-theme="light"]) .cubes .cube.guitar { --body: rgba(255, 255, 255, .09); }
}
:root[data-theme="dark"] .cubes .cube.morfi, :root[data-theme="dark"] .cubes .cube.difumin, :root[data-theme="dark"] .cubes .cube.noten,
:root[data-theme="dark"] .cubes .cube.morfi .plate, :root[data-theme="dark"] .cubes .cube.difumin .plate, :root[data-theme="dark"] .cubes .cube.noten .plate {
  --rim: rgba(255, 255, 255, .6); --rim-2: rgba(255, 255, 255, .08); --rim-3: rgba(255, 255, 255, .3); --sheen: rgba(255, 255, 255, .2);
  --ink: #EDE7DC; --ink-2: #D2CBBF; --ink-3: #C8C1B5; --line-strong: rgba(237, 231, 220, .34); --brass-text: #EDE7DC; --focus: #EDE7DC; }
:root[data-theme="dark"] .cubes .cube.gym, :root[data-theme="dark"] .cubes .cube.guitar { --body: rgba(255, 255, 255, .09); }

/* ---------- 1. flat: a grid of glass tiles ---------- */
.cubes-track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.cubes .cube { border-radius: var(--r-l); min-height: 236px; box-shadow: 0 1px 2px rgba(30, 28, 25, .1), 0 14px 28px -18px rgba(30, 28, 25, .4); }
@media (max-width: 1000px) { .cubes-track { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* phones: one row per app, as today (icon, name and line at the left; the number's link is the right part) */
@media (max-width: 600px) {
  .cubes { padding-bottom: 40px; }
  .cubes-track { grid-template-columns: 1fr; gap: 8px; }
  .cubes .cube { min-height: 92px; border-radius: var(--r-m); }
  .cubes .plate { position: relative; inset: auto; min-height: 92px; flex-direction: row; align-items: center; justify-content: flex-start; gap: 12px; padding: 10px 76px 10px 14px; }
  .cubes .is-front { position: relative; }
  .cubes .plate .n { position: static; flex: none; display: flex; }
  .cubes .plate .n img { width: 44px; height: 44px; border-radius: 11px; }
  .cubes .name, .cubes .name.f-guitar, .cubes .name.f-portion { font-size: var(--t3); line-height: 1.05; }
  .cubes .name.f-gym { font-size: 1.375rem; }
  .cubes .name.f-filmeto { font-size: var(--t4); line-height: .95; }
  .cubes .name.f-noten { font-size: clamp(.9375rem, 4.2vw, 1.0625rem); }
  .cubes .plate small { margin-top: 3px; font-size: var(--t-1); line-height: 1.25; text-wrap: balance; }
  .cubes .state { display: none; }
  .cubes .jump { right: 0; top: 0; bottom: 0; width: 72px; padding: 0 4px 0 0; border-radius: 0; font-size: var(--t-2); }
  .cubes .jump:hover { background: none; }
  .cubes .jump:focus-visible { outline-offset: -5px; border-radius: 0 var(--r-m) var(--r-m) 0; }
}

/* ---------- 2. cubes: only where motion is welcome and 3D exists ---------- */
@media (prefers-reduced-motion: no-preference) {
  @supports (perspective: 1px) and (translate: 1px) and (scroll-snap-type: x mandatory) {
    /* --s the cube's edge · --r its rounding · --d the depth between the front and the back · --edge the page's
       margin (.wrap) · --pp and --eye the eye's distance and height · --reach where the eye's travel ends */
    nav.cubes { --s: clamp(14rem, 64vw, 16.5rem); --r: calc(var(--s) * .17); --d: calc(var(--s) * .62); --gap: calc(var(--s) * .1);
      --edge: 16px; --pp: 1300px; --eye: -13.5rem; --reach: calc(50vw + var(--s)); --travel: var(--reach);
      position: relative; width: auto; margin-inline: 0; padding-bottom: 40px; }
    .cubes-track { position: relative; z-index: 0; display: flex; gap: var(--gap);
      padding: 2.5rem var(--edge) 3.5rem; scroll-padding-inline: var(--edge);
      overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain;
      scroll-snap-type: x mandatory; scroll-behavior: smooth;
      scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
    .cubes.is-live .cubes-track { scrollbar-width: none; }
    .cubes.is-live .cubes-track::-webkit-scrollbar { display: none; }
    /* while the 3D glass may still come (html.cubes-wait, set by theme.js before the first paint), the CSS cubes wait
       unseen in their place, so they never show for a second before the glass (owner, 19 Nov). site.js or cubes3d.js
       take the mark off when the glass isn't coming; the hold ends after 3 s in any case */
    html.cubes-wait nav.cubes:not(.is-3d) :is(.cubes-track, .cubes-ctl) { animation: cubes-hold 3s; }
    /* .band clips, isolates and paints the room's colour: undone here, the faces carry it */
    .cubes .cube { flex: none; position: relative; width: var(--s); height: var(--s); min-height: 0;
      border-radius: 0; background: none; box-shadow: none; overflow: visible; isolation: auto; scroll-snap-align: start; }
    /* each cube is its own small stage with the eye above it. The box is four rounded plates (the front, two
       inside at .2 and .6 of the depth, and the back, which is the stage's ::after) whose outlines add up to
       the rounded silhouette, with the top between them and the shadow under them. No preserve-3d, on
       purpose: every piece carries its whole transform and they are painted back to front (seen from above
       and in front, that order never changes), so the browser's depth sort, which cut the top and the shadow
       in half at some scroll positions, never runs. Painting order: the shadow (z-index -2), the back (-1),
       then .is-back, .is-mid, .is-top and .is-front as they come in the markup */
    .cubes .cube-stage { display: block; position: absolute; inset: 0; perspective: var(--pp); perspective-origin: 50% var(--eye); }
    .cubes .face, .cubes .cube-stage::before, .cubes .cube-stage::after { display: block; position: absolute; inset: 0; border-radius: var(--r); transform-origin: 50% 50% calc(var(--d) * -.5); }
    .cubes .is-front { position: absolute; transform: translateZ(0); }
    .cubes .is-back, .cubes .is-mid, .cubes .cube-stage::after { background: var(--c, var(--paper-2)); background-image: linear-gradient(var(--body, rgba(0, 0, 0, .1)), var(--body, rgba(0, 0, 0, .1))); }
    /* the plate nearest the front stays close to it, so its edge, seen through the glass, clears the state's pill */
    .cubes .is-mid { transform: translateZ(calc(var(--d) * -.2)); }
    .cubes .is-back { transform: translateZ(calc(var(--d) * -.6)); }
    .cubes .cube-stage::after { content: ''; z-index: -1; pointer-events: none; transform: translateZ(calc(var(--d) * -1)); box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .3), inset 0 0 0 1px rgba(255, 255, 255, .06); }
    /* the top sits 1.5 px under the cube's upper edge: it lights the front's see-through rim from behind */
    .cubes .is-top { inset: calc((var(--s) - var(--d)) / 2) calc(var(--r) * .5); border-radius: 0; transform: rotateX(90deg) translateZ(calc((var(--s) - var(--d)) / 2 - 1.5px));
      background: linear-gradient(rgba(255, 255, 255, .14), rgba(255, 255, 255, .42));
      -webkit-mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent); mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent); }
    /* the cube's shadow on the floor, with a little of its colour in it (light through glass) */
    .cubes .cube-stage::before { content: ''; z-index: -2; inset: calc((var(--s) - var(--d)) / 2) 0; border-radius: 0; pointer-events: none;
      transform: rotateX(-90deg) translateZ(calc((var(--s) - var(--d)) / 2 + 2px)) translateY(calc(var(--s) * -.17)) scaleY(1.66);
      background: radial-gradient(closest-side, rgba(20, 16, 10, .3), rgba(20, 16, 10, .1) 58%, rgba(20, 16, 10, 0)); }
    @supports (color: color-mix(in srgb, red 50%, transparent)) {
      .cubes .cube-stage::before { background: radial-gradient(closest-side, color-mix(in srgb, var(--c, transparent) 26%, transparent), rgba(0, 0, 0, 0) 78%),
        radial-gradient(closest-side, rgba(20, 16, 10, .3), rgba(20, 16, 10, .1) 58%, rgba(20, 16, 10, 0)); }
    }
    .cubes .plate { position: absolute; inset: 0; min-height: 0; flex-direction: column; align-items: stretch; justify-content: flex-end; gap: 0; padding: calc(var(--s) * .075); }
    .cubes .plate .n { position: absolute; left: calc(var(--s) * .075); top: calc(var(--s) * .075); display: block; }
    .cubes .plate .n img { width: 56px; height: 56px; border-radius: 14px; }
    .cubes .name { font-size: 1.875rem; line-height: 1; }
    .cubes .name.f-gym { font-size: 2rem; }
    .cubes .name.f-guitar { font-size: 2.125rem; }
    .cubes .name.f-portion { font-size: 1.75rem; }
    .cubes .name.f-filmeto { font-size: 2.25rem; line-height: .9; }
    .cubes .name.f-noten { font-size: 1.375rem; line-height: 1.08; }
    .cubes .plate small { margin-top: 6px; font-size: var(--t0); line-height: 1.3; }
    .cubes .state { display: inline-flex; align-self: flex-start; }
    .cubes .jump { right: 6px; top: 6px; bottom: auto; width: auto; padding: 6px 10px; border-radius: var(--pill); font-size: var(--t-1); }
    .cubes .jump:hover { background: rgba(255, 255, 255, .16); }
    .cubes .jump:focus-visible { outline-offset: -3px; border-radius: var(--pill); }
    /* Chrome does not scroll to a focused link that is already partly in view: while a link has the keyboard
       focus its cube is the only snap point, so the row brings it in whole (no JS) */
    .cubes-track:has(:focus-visible) .cube:not(:has(:focus-visible)) { scroll-snap-align: none; }
    /* the marker and the two buttons (the client script takes `hidden` off) */
    .cubes-ctl { display: flex; align-items: center; justify-content: flex-end; gap: 12px; padding-inline: var(--edge); }
    .cubes-ctl[hidden] { display: none; }
    .cubes .cubes-btn { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0;
      border: 1px solid var(--line-strong); border-radius: 50%; background: var(--glass); color: var(--ink); cursor: pointer;
      box-shadow: inset 0 1px 0 var(--glass-top); -webkit-tap-highlight-color: transparent; }
    .cubes .cubes-btn svg { width: 20px; height: 20px; }
    .cubes .cubes-btn:hover { border-color: var(--brass); }
    .cubes .cubes-btn:focus-visible { border-radius: 50%; }
    .cubes .cubes-btn[aria-disabled="true"] { opacity: .38; border-color: var(--line-strong); cursor: default; }
    .cubes-bar { display: none; width: min(38vw, 168px); height: 3px; margin-right: auto; overflow: hidden; border-radius: 3px; background: var(--line-strong); }
    .cubes-bar i { display: block; width: 12.5%; height: 100%; border-radius: 3px; background: var(--brass); }
    /* from tablets up: the page's margin, a longer lens, and the row fades into the paper at both ends */
    @media (min-width: 601px) {
      nav.cubes { --s: 16.5rem; --gap: 2rem; --edge: max(24px, calc(50% - 620px)); --pp: 1500px; --eye: -15rem; --reach: min(calc(50vw + var(--s)), 62rem); --travel: calc(var(--reach) * .35); margin-top: -.5rem; padding-bottom: 56px; }
      /* 8 px more room above the row (the nav moves up by as much, nothing else moves): on very wide screens
         the cubes at the ends, which step back and so rise, touched the top of the track's box */
      .cubes-track { padding-top: 3rem; }
      nav.cubes::before, nav.cubes::after { content: ''; position: absolute; z-index: 1; top: 0; bottom: 0; width: clamp(24px, calc(50% - 620px), 140px); pointer-events: none; }
      nav.cubes::before { left: 0; background: linear-gradient(90deg, var(--paper), transparent); }
      nav.cubes::after { right: 0; background: linear-gradient(270deg, var(--paper), transparent); }
    }

    /* ---------- 3. the eye and the arc: tied to each cube's own place in the row, no JS ---------- */
    @supports (animation-timeline: view()) and (animation-range: cover) {
      .cubes .cube { view-timeline: --cube inline; }
      .cubes .cube-stage, .cubes .face, .cubes .cube-stage::before, .cubes .cube-stage::after { animation: linear both; animation-timeline: --cube;
        animation-range: cover calc(50% - var(--reach)) cover calc(50% + var(--reach)); }
      .cubes .cube-stage { animation-name: cubes-eye; }
      .cubes .face, .cubes .cube-stage::before, .cubes .cube-stage::after { animation-name: cubes-arc; }
    }
    /* the brass marker follows the row's scroll */
    @supports (animation-timeline: scroll()) and (timeline-scope: --a) {
      nav.cubes { timeline-scope: --cubes-x; }
      .cubes-track { scroll-timeline: --cubes-x inline; }
      .cubes-bar { display: block; }
      .cubes-bar i { animation: cubes-mark linear both; animation-timeline: --cubes-x; }
    }
  }
}
/* 0 % is a cube --reach to the right of the middle of the screen, 50 % the middle, 100 % --reach to the left.
   The eye of each stage slides the other way, so every cube is seen from nearer the middle of the screen (the
   ones at the sides show a side) while its box stays exactly where the row puts it: focus, taps and scroll
   into view see the real place. On top of that the pieces step back and turn a few degrees with their
   distance: the arc. `translate` and `rotate` come before each piece's own `transform`, so one set of
   keyframes moves them all. */
@keyframes cubes-eye { 0% { perspective-origin: calc(50% - var(--travel)) var(--eye); } 100% { perspective-origin: calc(50% + var(--travel)) var(--eye); } }
@keyframes cubes-arc {
  0% { translate: 0 0 calc(var(--s) * -.5); rotate: y 5deg; }
  25% { translate: 0 0 calc(var(--s) * -.125); rotate: y 2.5deg; }
  50% { translate: 0 0 0; rotate: y 0deg; }
  75% { translate: 0 0 calc(var(--s) * -.125); rotate: y -2.5deg; }
  100% { translate: 0 0 calc(var(--s) * -.5); rotate: y -5deg; }
}
@keyframes cubes-mark { to { transform: translateX(700%); } }
@keyframes cubes-hold { from, to { visibility: hidden; } }

/* ===== principles: glass tiles over the apps' icons (eight, alternating top and bottom edge) ===== */
.principles { position: relative; isolation: isolate; }
.icons-bed { position: absolute; inset: 0; z-index: -1; overflow: hidden; border-radius: var(--r-xl); background: var(--paper-2); }
.icons-bed img { position: absolute; width: 210px; height: 210px; border-radius: 50px; box-shadow: 0 20px 50px rgba(30, 28, 25, .22); }
.icons-bed img:nth-child(1) { left: -1%; top: -48px; transform: rotate(-10deg); }
.icons-bed img:nth-child(2) { left: 11%; bottom: -74px; transform: rotate(8deg); }
.icons-bed img:nth-child(3) { left: 24%; top: -62px; transform: rotate(-6deg); }
.icons-bed img:nth-child(4) { left: 37%; bottom: -84px; transform: rotate(7deg); }
.icons-bed img:nth-child(5) { left: 50%; top: -56px; transform: rotate(-8deg); }
.icons-bed img:nth-child(6) { left: 63%; bottom: -78px; transform: rotate(6deg); }
.icons-bed img:nth-child(7) { left: 76%; top: -66px; transform: rotate(-5deg); }
.icons-bed img:nth-child(8) { right: -34px; bottom: -60px; transform: rotate(12deg); }
.principles .inner { padding: 72px 48px; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tile { padding: 24px 22px 22px; border-radius: var(--r-l); }
.tile svg { width: 28px; height: 28px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 18px; }
.tile h3 { font-size: var(--t3); margin-bottom: 8px; }
.tile p { font-size: var(--t1); color: var(--ink-2); }
/* the exceptions, named once, as small print under the four tiles (on a soft glass strip: it sits over the icons too) */
.principles .fine { margin-top: 16px; padding: 12px 18px; border-radius: var(--r-m); font-size: var(--t0); line-height: 1.5; color: var(--ink-2); }
@media (max-width: 1000px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .principles .inner { padding: 36px 20px; } .icons-bed { border-radius: var(--r-l); } .icons-bed img { width: 150px; height: 150px; border-radius: 36px; } }
@media (max-width: 600px) { .tiles { grid-template-columns: 1fr; } }

/* ===== who ===== */
.who { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
.who .mark img { width: 88px; height: auto; margin-bottom: 22px; }
.who .kicker { margin-bottom: 14px; }
.who p + p { margin-top: 14px; }
.who .sub { font: 500 var(--t3)/1.3 var(--font-ui); color: var(--brass-text); margin: 10px 0 20px; }
.who .big { font-size: var(--t3); line-height: 1.45; }
.who dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 22px; font-size: var(--t1); }
.who dt { color: var(--ink-3); font: 500 var(--t-1)/1.6 var(--font-ui); letter-spacing: .1em; text-transform: uppercase; }
.who dd { margin: 0; }
.who .card { padding: 28px 30px; border-radius: var(--r-l); border: 1px solid var(--line); background: var(--paper-2); }
@media (max-width: 900px) { .who { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 480px) { .who dl { grid-template-columns: 1fr; gap: 2px 0; } .who dd + dt { margin-top: 10px; } }

/* ===== footer ===== */
footer { border-top: 1px solid var(--line); padding: 44px 0 56px; font-size: var(--t1); color: var(--ink-2); }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.foot h2 { margin: 0 0 12px; font: 500 var(--t-1) var(--font-ui); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot .brand { display: inline-flex; height: auto; margin-bottom: 14px; }
.foot .brand img { height: 28px; width: auto; }
.foot .note { font-size: var(--t0); color: var(--ink-3); max-width: 44ch; margin-top: 6px; }
/* the footer's language list (site.js langList): plain links, the current one underlined in brass */
.foot .langs ul { display: flex; flex-wrap: wrap; gap: 0 16px; margin: 14px 0 0; max-width: 46ch; }
.foot .langs a { display: inline-block; padding: 4px 0; font: 500 var(--t0) var(--font-ui); color: var(--ink-2); }
.foot .langs a[aria-current] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--brass); text-decoration-thickness: 2px; text-underline-offset: 5px; }
@media (max-width: 900px) { .foot { grid-template-columns: 1fr; gap: 26px; } }

/* ===== app page: the hero is the app's room ===== */
.app-band { margin-top: -78px; padding: 78px 0 0; }
.app-band .wrap { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; min-height: 680px; padding: 72px 0 64px; }
.app-band .plate { padding: 38px 42px 36px; max-width: 600px; z-index: 2; }
.app-band .icon { width: 72px; height: 72px; border-radius: var(--r-m); box-shadow: 0 10px 24px rgba(0, 0, 0, .2); margin-bottom: 20px; }
.app-band h1 { font-size: clamp(2.75rem, 5.4vw, 4.5rem); margin-top: 14px; }
.app-band h1.f-gym { font-size: clamp(3.5rem, 6.6vw, 5.75rem); line-height: .95; letter-spacing: .02em; }
.app-band h1.f-filmeto { font-size: clamp(3.75rem, 7vw, 6rem); line-height: .9; }
.app-band .by-line { font: 500 var(--t0)/1 var(--font-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--brass-text); margin-top: 14px; }
.app-band .lead { font-size: var(--t3); line-height: 1.45; margin-top: 16px; color: var(--ink-2); max-width: 46ch; }
.app-band .actions { margin-top: 26px; }
.app-band .links { margin-top: 18px; }
.app-band .facts { margin-top: 24px; }
.app-band .shots { position: relative; height: 560px; z-index: 1; }
.app-band .shots > * { position: absolute; width: 300px; height: auto; }
.app-band .shots img { border-radius: var(--r-l); box-shadow: var(--shot-shadow); }
.app-band .shots > :nth-child(1) { left: 40px; top: 0; transform: rotate(-4deg); }
.app-band .shots > :nth-child(2) { left: 300px; top: 80px; transform: rotate(3deg); }
.app-rest > section:first-child { padding-top: 80px; }
/* the Play badge, only once the app is live (PLAY in registry.js): the listing's name under «Google Play»,
   linking the store page; a long name («Gym Toolkit: Workout Log & 1RM») takes two even lines */
.play { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; max-width: 100%; padding: 9px 20px 9px 16px; border-radius: var(--r-m); background: #1E1C19; color: #F3EEE4; text-decoration: none; border: 1px solid rgba(255, 255, 255, .18); }
.play svg { flex: none; width: 26px; height: 26px; }
.play > span { display: flex; flex-direction: column; min-width: 0; line-height: 1.15; }
.play small { font: 500 var(--t-2) var(--font-ui); letter-spacing: .1em; text-transform: uppercase; opacity: .8; margin-bottom: 2px; }
.play b { font: 600 var(--t1)/1.2 var(--font-ui); text-wrap: balance; }
/* «What it does» as four feature stories (brief 39, P2 a): one screen on a stage in the app's colour, with a
   block of its second colour behind it like the «duo», beside its text; the sides alternate, on phones the
   screen comes first */
.stories { display: grid; gap: 28px; margin-top: 36px; }
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.story:nth-child(even) .stage { order: 2; }
.story .stage { position: relative; height: 420px; border-radius: var(--r-l); overflow: hidden; background: var(--c, var(--paper-2)); isolation: isolate; }
.story .stage::before { content: ''; position: absolute; z-index: 0; left: 54%; right: -8%; top: 12%; bottom: 12%; border-radius: 40px; background: var(--a, var(--paper)); }
.story:nth-child(even) .stage::before { left: -8%; right: 54%; }
.story .stage img { position: absolute; z-index: 1; left: 50%; top: 34px; width: 264px; height: auto; transform: translateX(-50%) rotate(-3deg); border-radius: var(--r-l); box-shadow: var(--shot-shadow); }
.story:nth-child(even) .stage img { transform: translateX(-50%) rotate(3deg); }
.story .stage.gym { --c: #161616; --a: #FFD300; } .story .stage.morfi { --c: var(--c-morfi); --a: var(--a-morfi); } .story .stage.guitar { --c: #2A211B; --a: #C9A35B; }
.story .stage.portion { --c: #F0913A; --a: #F4C451; } .story .stage.noten { --c: var(--c-noten); --a: var(--a-noten); } .story .stage.foliotti { --c: #2A47B8; --a: #F5F1E8; }
.story .stage.difumin { --c: var(--c-difumin); --a: var(--a-difumin); } .story .stage.filmeto { --c: #8E1F1A; --a: #15110E; }
.story .text { max-width: 46ch; }
.story:nth-child(odd) .text { justify-self: start; }
.story:nth-child(even) .text { justify-self: end; }
.story .kicker { margin-bottom: 12px; }
.story h3 { font-size: var(--t5); margin-bottom: 12px; }
.story p { color: var(--ink-2); }
/* the screenshot strip: a snap row that fades at its right edge, with a «swipe» hint (and, with site.js,
   previous / next buttons in the hint's place) */
.strip { display: flex; gap: 20px; overflow-x: auto; padding: 8px 0 24px; scroll-snap-type: x mandatory; scrollbar-width: thin;
  -webkit-mask-image: linear-gradient(90deg, #000 90%, transparent); mask-image: linear-gradient(90deg, #000 90%, transparent); }
.strip figure { flex: none; width: 236px; margin: 0; scroll-snap-align: start; }
/* room after the last screen, so scrolled to the end it sits clear of the fade instead of half under it */
.strip::after { content: ''; flex: none; width: 10%; }
.strip img { width: 100%; height: auto; border-radius: var(--r-l); box-shadow: 0 16px 36px rgba(30, 28, 25, .18); border: 1px solid var(--line); }
.strip figcaption { margin-top: 12px; font-size: var(--t0); color: var(--ink-2); }
.strip figcaption b { display: block; font: 500 var(--t0) var(--font-ui); color: var(--ink); margin-bottom: 2px; }
.strip-hint { display: inline-flex; align-items: center; gap: 8px; margin: 0; font: 500 var(--t0) var(--font-ui); letter-spacing: .02em; color: var(--ink-3); white-space: nowrap; }
.strip-hint > svg { width: 16px; height: 16px; }
.strip-hint.has-nav > svg, .strip-hint.fits { display: none; }
.strip-nav { display: inline-flex; gap: 6px; margin-left: 6px; }
.strip-nav button { width: 38px; height: 38px; display: grid; place-items: center; padding: 0; border-radius: var(--pill); border: 1px solid var(--line-strong); background: none; color: var(--ink); cursor: pointer; }
.strip-nav button:hover { background: var(--line); }
.strip-nav button:disabled { opacity: .35; cursor: default; }
.strip-nav button:disabled:hover { background: none; }
.strip-nav svg { width: 18px; height: 18px; }
/* on a touch screen the strip is swiped: the hint keeps its arrow and the buttons stay away (brief 40) */
@media (hover: none) and (pointer: coarse) { .strip-nav { display: none; } .strip-hint.has-nav > svg { display: inline-block; } }
.priv-strip { position: relative; isolation: isolate; border-radius: var(--r-xl); overflow: hidden; background: var(--c, var(--paper-2)); padding: 40px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center; }
.priv-strip .bg { position: absolute; z-index: -1; right: 40px; top: -80px; width: 300px; height: auto; transform: rotate(-6deg); border-radius: var(--r-l); box-shadow: var(--shot-shadow); }
.priv-strip .panel { padding: 30px 32px; border-radius: var(--r-l); }
.priv-strip .panel .kicker { margin-bottom: 12px; }
.priv-strip h2 { font-size: var(--t5); margin-bottom: 12px; }
.priv-strip ul { margin: 14px 0 0; padding-left: 18px; color: var(--ink-2); font-size: var(--t1); display: grid; gap: 6px; }
.priv-strip .links { margin-top: 22px; }
.priv-strip .aside { font-size: var(--t1); max-width: 380px; justify-self: end; }
.priv-strip .aside b { color: var(--ink); }
.priv-strip.gym { --c: #FFD300; } .priv-strip.morfi { --c: #2B3A8F; } .priv-strip.guitar { --c: #B98A5E; } .priv-strip.portion { --c: #F4C451; } .priv-strip.noten { --c: #CDEFD9; }
.priv-strip.foliotti { --c: #8FA6FF; } .priv-strip.difumin { --c: #CC2E26; } .priv-strip.filmeto { --c: #15110E; }
.scale { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; padding: 36px 40px; border-radius: var(--r-l); border: 1px solid var(--line); background: var(--paper-2); }
.scale svg { width: 100%; max-width: 420px; height: auto; display: block; margin-inline: auto; }
.scale h2 { font-size: var(--t5); margin-bottom: 12px; }
.scale .kicker, .duo .kicker { margin-bottom: 12px; }
/* a feature with one screen beside the text (the Gym coach, Morfi's photo, the Guitar tuner) */
.duo { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; padding: 36px 40px; border-radius: var(--r-l); border: 1px solid var(--line); background: var(--paper-2); }
.duo .stage { position: relative; height: 440px; border-radius: var(--r-l); overflow: hidden; background: var(--c, var(--paper)); isolation: isolate; }
.duo .stage.gym { --c: #161616; } .duo .stage.morfi { --c: #EDE6D8; } .duo .stage.guitar { --c: #2A211B; }
.duo .stage.foliotti { --c: #2A47B8; } .duo .stage.difumin { --c: #ECECE9; } .duo .stage.filmeto { --c: #8E1F1A; }
.duo .stage img { position: absolute; left: 50%; top: 32px; width: 240px; height: auto; transform: translateX(-50%); border-radius: var(--r-l); box-shadow: var(--shot-shadow); }
.duo .stage .tag { position: absolute; left: 20px; right: 20px; bottom: 20px; padding: 14px 18px; border-radius: var(--r-m); font: 500 var(--t0) var(--font-ui); letter-spacing: .02em; }
.duo h2 { font-size: var(--t5); margin-bottom: 12px; }
.duo p + p { margin-top: 12px; }
/* the other apps at the end of an app page (and the eight on the 404): rows that fill their line, four to a
   line on desktop (the seven read 4 + 3, the eight 4 + 4; content-sized pills left one alone under a row of
   six, brief 40), two on tablets, one per line on phones like the beta page's rows */
.others { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.others a { flex: 1 1 calc(25% - 8px); max-width: calc(33.334% - 7px); display: flex; align-items: center; gap: 12px; padding: 10px 20px 10px 10px; border-radius: var(--pill); border: 1px solid var(--line); background: var(--paper-2); text-decoration: none; }
/* desktop: every pill a quarter of the row, a shorter last row centred (4 + 3 had a wider second row) */
@media (min-width: 1001px) { .others { justify-content: center; } .others a { flex: 0 1 calc(25% - 7.5px); } }
@media (max-width: 1000px) { .others a { flex-basis: calc(50% - 5px); max-width: none; } }
@media (max-width: 600px) { .others a { flex-basis: 100%; } }
.others a:hover { border-color: var(--brass); }
.others img { width: 40px; height: 40px; border-radius: var(--r-s); box-shadow: 0 4px 10px rgba(0, 0, 0, .14), 0 0 0 1px var(--icon-ring); }   /* in dark a thin light ring: the dark icons (Gym, Guitar Setup, Filmeto) sank into the pill */
.others b { display: block; font: 500 var(--t1)/1.2 var(--font-ui); }
.others small { display: block; font-size: var(--t-1); line-height: 1.3; color: var(--ink-3); margin-top: 2px; }
/* «In motion»: the optional self-hosted video (VIDEOS in registry.js) on the app's own colour */
.film { border-radius: var(--r-l); padding: 32px; display: grid; justify-items: center; gap: 16px; }
.film video { display: block; width: 100%; height: auto; border-radius: var(--r-l); box-shadow: var(--shot-shadow); background: #000; }
.film.portrait video { width: min(360px, 100%); }
.film .fine { font-size: var(--t-1); color: var(--ink-3); text-align: center; max-width: 64ch; }
.film.band:not(.on-dark) .fine { color: #3A3631; }   /* a light band keeps dark text in both themes */
.film.band.filmeto .fine { color: #F3D9CF; }   /* on the safelight red the dark bands' quiet ink gave 4.0:1; the plate's own quiet ink, 6.8:1 */
/* «In detail»: the full list from the Play listing in two columns, and the fact sheet beside it */
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 36px; align-items: start; }
.groups { columns: 2; column-gap: 36px; }
.group { break-inside: avoid; padding-bottom: 22px; }
.group h3 { font-size: var(--t2); padding-top: 12px; border-top: 1px solid var(--line-strong); margin-bottom: 10px; }
.group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: var(--t1); color: var(--ink-2); }
.group li { position: relative; padding-left: 20px; }
.group li::before { content: ''; position: absolute; left: 2px; top: .45em; width: 5px; height: 9px; border: solid var(--brass); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.sheet { position: sticky; top: 100px; padding: 26px 28px 28px; border-radius: var(--r-l); border: 1px solid var(--line); background: var(--paper-2); }
.sheet h3 { font-size: var(--t3); margin-bottom: 16px; }
.sheet dl { margin: 0; display: grid; gap: 14px; font-size: var(--t1); }
.sheet dt { color: var(--ink-3); font: 500 var(--t-2)/1.4 var(--font-ui); letter-spacing: .1em; text-transform: uppercase; }
.sheet dd { margin: 3px 0 0; color: var(--ink-2); }
.sheet code { font: var(--t0) ui-monospace, Menlo, Consolas, monospace; color: var(--ink); }
@media (max-width: 1000px) {
  .detail { grid-template-columns: 1fr; gap: 28px; } .sheet { position: static; }
  .app-band .wrap { grid-template-columns: 1fr; min-height: 0; padding: 28px 0 36px; gap: 24px; }
  .app-band .plate { padding: 26px 22px 24px; border-radius: var(--r-l); }
  .app-band h1.f-gym { font-size: min(3.5rem, 16vw); }   /* the vw cap: with large text (125 %) «Gym Toolkit» was wider than the plate and pushed it off the screen */
  .app-band h1.f-noten { font-size: min(2.75rem, 12.4vw); }   /* the same cap for «Notenrechner» with large text */
  /* both screens whole and centred under the plate (the owner saw them cut, 2026-11-08: the desktop's
     :nth-child(1) out-ranked `> *`, and a 360 px stage held a 473 px pair), and the motif behind the
     screens instead of behind the plate's text (Gym's yellow block made its first lines unreadable) */
  .app-band .shots { height: 404px; }
  .app-band .shots > :nth-child(1) { width: 162px; left: calc(50% - 158px); top: 4px; transform: rotate(-4deg); }
  .app-band .shots > :nth-child(2) { width: 162px; left: calc(50% - 2px); top: 40px; transform: rotate(3deg); }
  .app-band .accent, .app-band .page, .app-band .frame { top: auto; bottom: 30px; height: 400px; }
  .app-band .reel { top: auto; bottom: 170px; }
  .app-band .cloth { top: auto; bottom: 210px; }
  .app-rest > section:first-child { padding-top: 56px; }
}
@media (max-width: 900px) {
  .stories { gap: 40px; margin-top: 28px; }
  .story { grid-template-columns: 1fr; gap: 18px; }
  .story:nth-child(even) .stage { order: 0; }
  .story .stage { height: 300px; }
  .story .stage::before, .story:nth-child(even) .stage::before { left: 50%; right: -10%; top: 16%; bottom: -10%; }
  .story .stage img { width: 196px; top: 22px; }
  .story:nth-child(even) .text, .story:nth-child(odd) .text { justify-self: start; max-width: none; }
  .story h3 { font-size: var(--t4); }
  .priv-strip { grid-template-columns: 1fr; padding: 20px; }
  .priv-strip .bg { display: none; }   /* beside the panel only slivers of the screen showed (20 px strips) */
  .priv-strip .aside { justify-self: stretch; max-width: none; }
  .scale { grid-template-columns: 1fr; padding: 24px; }
  .duo { grid-template-columns: 1fr; padding: 20px; gap: 24px; }
  .duo .stage { height: 360px; }
  .duo .stage img { width: 200px; top: 24px; }
  .film { padding: 20px; }
  .strip-hint { white-space: normal; }
}
@media (max-width: 700px) { .groups { columns: 1; } .sheet { padding: 22px 20px; } }

/* ===== privacy pages (the legal text, restyled) ===== */
.doc { width: min(700px, 100% - 48px); margin-inline: auto; padding: 60px 0 80px; }
.doc .crumbs { font: 500 var(--t0) var(--font-ui); letter-spacing: .04em; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 26px; }
.doc .crumbs a { text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.doc .crumbs img { width: 22px; height: 22px; border-radius: 6px; }
.doc h1 { font-size: clamp(2.125rem, 4vw, 3rem); }
.doc .meta { color: var(--ink-3); font-size: var(--t1); margin-top: 10px; }
/* the page's languages, as the footer's plain list: the current one underlined in brass */
.doc .lang { margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 0 16px; }
.doc .lang a { display: inline-block; padding: 4px 0; font: 500 var(--t0) var(--font-ui); color: var(--ink-2); text-decoration: none; }
.doc .lang a:hover { color: var(--ink); }
.doc .lang a[aria-current] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--brass); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.doc .prevails { margin: 6px 0 0; font-size: var(--t1); color: var(--ink-2); }
.doc .summary { margin: 30px 0 10px; padding: 24px 28px; border-radius: var(--r-l); }
.doc .summary strong { display: block; font: 500 var(--t-1) var(--font-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.doc h2 { font-size: 1.375rem; margin: 40px 0 10px; }
.doc p { margin: 0 0 12px; color: var(--ink); }
.doc ul { margin: 0 0 12px; padding-left: 22px; }
.doc li { margin-bottom: 6px; }
.doc a { text-decoration-color: var(--line-strong); }
.doc a:hover { text-decoration-color: var(--brass); }
/* a policy's second and third language, folded (W43): the summary names the language and the title;
   a fragment inside opens it (current browsers, and site.js) */
.doc .fold { margin-top: 56px; border-top: 1px solid var(--line); }
.doc .fold summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; font: 500 var(--t3)/1.3 var(--font-display); letter-spacing: -.01em; color: var(--ink); }
.doc .fold summary::-webkit-details-marker { display: none; }
.doc .fold summary::after { content: ''; flex: none; width: 10px; height: 10px; margin: 0 8px 4px 0; border: solid var(--ink-3); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.doc .fold[open] summary::after { transform: rotate(-135deg); margin-bottom: -4px; }
.doc .fold summary:hover { color: var(--brass-text); }
.doc .fold section { padding: 8px 0 24px; }
/* the legal notice: the provider's details as a card, like the policies' «In short» */
.doc dl.notice { margin: 30px 0 22px; padding: 24px 28px; border-radius: var(--r-l); display: grid; grid-template-columns: max-content 1fr; gap: 14px 28px; }
.doc dl.notice dt { color: var(--ink-3); font: 500 var(--t-2)/1.9 var(--font-ui); letter-spacing: .1em; text-transform: uppercase; }
.doc dl.notice dd { margin: 0; }
@media (max-width: 600px) { .doc dl.notice { grid-template-columns: 1fr; gap: 2px; padding: 20px; } .doc dl.notice dd + dt { margin-top: 12px; } }
.privacy-bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; opacity: .35; }
.privacy-bg img { position: absolute; width: 300px; height: auto; border-radius: var(--r-l); box-shadow: var(--shot-shadow); }
.privacy-bg img:nth-child(1) { right: -40px; top: 120px; transform: rotate(8deg); }
.privacy-bg img:nth-child(2) { left: -60px; top: 520px; transform: rotate(-10deg); }
@media (max-width: 900px) { .doc { width: calc(100% - 32px); padding: 30px 0 60px; } .privacy-bg { display: none; } .doc .summary { padding: 20px; } }

/* ===== the privacy index: the nine policies with their icons (site.js privacyIndex) ===== */
.pindex { width: min(760px, 100% - 48px); padding: 56px 0 88px; }
.pindex .kicker { margin-bottom: 14px; }
.pindex .lead { font-size: var(--t3); line-height: 1.45; color: var(--ink-2); max-width: 52ch; margin-top: 18px; }
.plist { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 10px; }
.plist a { display: flex; align-items: center; gap: 16px; padding: 14px 18px 14px 16px; border-radius: var(--r-l); border: 1px solid var(--line); background: var(--paper-2); text-decoration: none; color: var(--ink); }
.plist a:hover { border-color: var(--brass); }
.plist img { flex: none; width: 48px; height: 48px; border-radius: var(--r-s); box-shadow: 0 4px 10px rgba(0, 0, 0, .14); }
.plist .mark { flex: none; width: 48px; justify-content: center; }
.plist .mark img { width: 40px; height: auto; border-radius: 0; box-shadow: none; }
.plist a > span { flex: 1; min-width: 0; }
.plist b { display: block; font: 500 var(--t2)/1.25 var(--font-ui); }
.plist small { display: block; font-size: var(--t0); line-height: 1.35; color: var(--ink-3); margin-top: 3px; }
.plist small.in { color: var(--brass-text); font-family: var(--font-ui); font-weight: 500; letter-spacing: .02em; }
.plist a > svg { flex: none; width: 18px; height: 18px; color: var(--ink-3); }
@media (max-width: 900px) { .pindex { width: calc(100% - 32px); padding: 32px 0 64px; } .plist a { padding: 12px 14px 12px 12px; gap: 12px; } .plist img { width: 42px; height: 42px; } }

/* ===== 404 ===== */
.oops { min-height: 0; display: grid; align-content: center; gap: 14px; padding: 72px 0 24px; }
.oops .kicker { margin-bottom: 8px; }
.oops p { max-width: 48ch; color: var(--ink-2); font-size: var(--t3); }
.oops .actions { margin-top: 10px; }
/* one line per other language (site.js notFound): its own «page does not exist» and its home */
.oops .nf-langs { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 6px; max-width: 56ch; color: var(--ink-3); font-size: var(--t1); }
/* the eight apps, in case one of them was the goal */
.nf-apps { padding: 24px 0 88px; }
.nf-apps h2 { font-size: var(--t4); }
.nf-apps .others { margin-top: 18px; }

/* ===== Guardapatas (site.js: guardapatasPage, guardapatasPill, guardapatasRoom), Spanish only. Its page is a
   full app page built from the app pages' parts (.app-band, .stories, .strip, .duo, .detail, .priv-strip) in the
   app's own colours, direction A «Cartelera de barrio» (app10_guardapatas/lib/ui/theme/tokens.dart): ink
   #1E1B16 for its room, paper and «hoja» for the notes, vermilion, tape yellow, the sage of its photo
   backdrops and the green of «Disponible». Its icon is inline SVG; its name and the stamp are set in the
   app's «cartel» voice (Archivo, wdth 75, wght 800, caps: a subset of those letters, registry.js) ===== */
@font-face { font-family: 'Archivo'; font-weight: 100 900; font-display: swap; src: url('fonts/archivo.woff?v=3bee4a2597') format('woff'); }
.f-guardapatas, .gp-stamp { font-family: 'Archivo', 'Jost', 'Jost Fallback', sans-serif; font-weight: 800; font-variation-settings: 'wdth' 75; text-transform: uppercase; letter-spacing: .015em; }
.gp-board, .gp-warn, .gp-soon { --gp-board: #B9C4A9; --gp-hoja: #FFFCF5; --gp-tinta: #1E1B16; --gp-gris: #5C5548; --gp-borde: #CFC4AD; --gp-cinta: #E9D9A6; --gp-tape: rgba(233, 217, 166, .94); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .gp-board, :root:not([data-theme="light"]) .gp-warn, :root:not([data-theme="light"]) .gp-soon { --gp-board: #26352C; --gp-hoja: #221E18; --gp-tinta: #F1E9D8; --gp-gris: #B3A992; --gp-borde: #3A3328; --gp-cinta: #4A3F22; --gp-tape: rgba(122, 104, 56, .94); }
}
:root[data-theme="dark"] .gp-board, :root[data-theme="dark"] .gp-warn, :root[data-theme="dark"] .gp-soon { --gp-board: #26352C; --gp-hoja: #221E18; --gp-tinta: #F1E9D8; --gp-gris: #B3A992; --gp-borde: #3A3328; --gp-cinta: #4A3F22; --gp-tape: rgba(122, 104, 56, .94); }
/* the room: the lifebuoy of the icon (four vermilion and four cream arcs) behind the two screens */
.band.gp-band { --c: #1E1B16; }
.gp-band .icon { display: block; }
.gp-ring { position: absolute; z-index: 0; left: calc(50% + 46px); top: 92px; width: 650px; height: 650px; border-radius: 50%;
  background: repeating-conic-gradient(from 25deg, #C43D1C 0 40deg, transparent 40deg 45deg, #F6F0E2 45deg 85deg, transparent 85deg 90deg);
  -webkit-mask: radial-gradient(closest-side, transparent 67.5%, #000 68%); mask: radial-gradient(closest-side, transparent 67.5%, #000 68%); }
.app-band h1.f-guardapatas { font-size: clamp(min(3rem, 12.4vw), 6.2vw, 5rem); line-height: .95; }   /* 5rem: at 5.25 the word was 526 px in the plate's 514 px column (from 1355 px up) ; 12.4vw: at 360 px the 48 px word (300 px) pushed the plate off the screen */
.gp-band .actions { margin-top: 28px; }
.gp-stamp { display: inline-block; font-size: var(--t3); line-height: 1; color: #F2805F; border: 2.5px solid currentColor; border-radius: 5px; padding: 10px 13px 8px; transform: rotate(-2deg); }
.gp-where { margin-top: 18px; font-size: var(--t0); color: var(--ink-3); }
.story .stage.guardapatas { --c: #E9D9A6; --a: #BF3115; }
.duo .stage.guardapatas { --c: #1E1B16; }
.priv-strip.guardapatas { --c: #2F5D4A; }
/* «Para quién»: three notes taped to the neighbourhood board */
.gp-board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding: 52px 36px 44px; border-radius: var(--r-xl); background: var(--gp-board); }
.gp-note { position: relative; padding: 34px 26px 26px; background: var(--gp-hoja); border: 1px solid var(--gp-borde); border-radius: 3px; box-shadow: 0 14px 26px rgba(30, 27, 22, .16); color: var(--gp-tinta); }
.gp-note::before { content: ''; position: absolute; left: 50%; top: -13px; width: 92px; height: 26px; margin-left: -46px; background: var(--gp-tape); transform: rotate(-3deg); }
.gp-note:nth-child(1) { transform: rotate(-.9deg); }
.gp-note:nth-child(2) { transform: rotate(.6deg) translateY(8px); }
.gp-note:nth-child(2)::before { transform: rotate(2deg); }
.gp-note:nth-child(3) { transform: rotate(-.4deg); }
.gp-note h3 { font-size: var(--t3); margin-bottom: 10px; color: var(--gp-tinta); }
.gp-note p { font-size: var(--t1); color: var(--gp-gris); }
/* the app's own money warning, on its tape yellow */
.gp-care h2 { margin-bottom: 16px; }
.gp-warn { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 16px; padding: 14px 18px 14px 16px; border-radius: 4px; background: var(--gp-cinta); color: var(--gp-tinta); font-weight: 700; }
.gp-warn svg { flex: none; width: 22px; height: 22px; margin-top: 1px; }
.gp-soon { display: flex; align-items: center; gap: 16px; margin: 16px 0 0; padding: 16px 22px 16px 16px; border-radius: var(--r-l); background: var(--gp-cinta); color: var(--gp-tinta); font-size: var(--t2); }
.gp-soon-icon { flex: none; width: 48px; height: 48px; border-radius: 22%; }
.gp-soon b { font-weight: 700; }
/* the notice in the Spanish home's hero panel, under the facts: the app's ink in both themes */
.gp-pill { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; margin-top: 22px; padding: 6px 14px 6px 6px; border-radius: var(--pill);
  background: #1E1B16; color: #F6F0E2; text-decoration: none; font: 500 var(--t-1)/1.3 var(--font-ui); letter-spacing: .01em;
  border: 1px solid rgba(246, 240, 226, .16); box-shadow: 0 6px 16px rgba(0, 0, 0, .12); }
.gp-pill-icon { flex: none; width: 26px; height: 26px; border-radius: 50%; }
.gp-pill b { font-weight: 600; color: #F6F0E2; }
.gp-pill span { color: rgba(246, 240, 226, .86); }
.gp-pill > svg:last-child { flex: none; width: 16px; height: 16px; }
.gp-pill:hover { border-color: rgba(246, 240, 226, .4); }
.gp-pill:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
/* in dark mode it inverts to cream, as the hero's main button does (owner, 20 Nov: on the dark panel the ink pill got lost);
   the icon keeps its own dark plate */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .gp-pill { background: #F6F0E2; color: #1E1B16; border-color: rgba(30, 27, 22, .18); box-shadow: 0 6px 16px rgba(0, 0, 0, .3); }
  :root:not([data-theme="light"]) .gp-pill b { color: #1E1B16; }
  :root:not([data-theme="light"]) .gp-pill span { color: rgba(30, 27, 22, .82); }
  :root:not([data-theme="light"]) .gp-pill:hover { border-color: rgba(30, 27, 22, .45); }
}
:root[data-theme="dark"] .gp-pill { background: #F6F0E2; color: #1E1B16; border-color: rgba(30, 27, 22, .18); box-shadow: 0 6px 16px rgba(0, 0, 0, .3); }
:root[data-theme="dark"] .gp-pill b { color: #1E1B16; }
:root[data-theme="dark"] .gp-pill span { color: rgba(30, 27, 22, .82); }
:root[data-theme="dark"] .gp-pill:hover { border-color: rgba(30, 27, 22, .45); }
/* its room on the Spanish home (site.js guardapatasRoom), the ninth: a dark room like Gym's, in the app's ink, with the
   icon's lifebuoy behind the two screens as on its own page. The plate is a cream-tinted glass; «Próximamente» in the
   number row takes the stamp's vermilion (5.9:1 on the plate), the name the app's «cartel» voice. */
.band.guardapatas { --c: #1E1B16; }
.band.guardapatas .plate.dark { --plate: rgba(246, 240, 226, .07); --plate-edge: rgba(246, 240, 226, .2); --plate-top: rgba(246, 240, 226, .26);
  --ink: #F6F0E2; --ink-2: #DDD4C1; --ink-3: #BDB39D; --line-strong: rgba(246, 240, 226, .34); --brass-text: #F2805F; --focus: #F6F0E2; }
/* the ring turned as in the icon (vermilion up, down and at both sides, cream on the diagonals): the cream screens stand on vermilion */
.room .gp-ring { left: calc(50% - 14px); top: calc(50% - 330px); width: 660px; height: 660px;
  background: repeating-conic-gradient(from -20deg, #C43D1C 0 40deg, transparent 40deg 45deg, #F6F0E2 45deg 85deg, transparent 85deg 90deg); }
.room.guardapatas .n { text-transform: uppercase; }
.room.guardapatas p.desc { text-wrap: pretty; }
.room .n .gp-room-icon { flex: none; width: 40px; height: 40px; border-radius: 22%; box-shadow: 0 6px 14px rgba(0, 0, 0, .3), 0 0 0 1px rgba(246, 240, 226, .14); }
.room .name.f-guardapatas { font-size: 3.375rem; line-height: .95; }
@media (max-width: 1000px) {
  .gp-ring { left: calc(50% - 215px); top: auto; bottom: 23px; width: 430px; height: 430px; }
  .room .gp-ring { left: calc(50% - 215px); top: 19px; width: 430px; height: 430px; }
  .room .name.f-guardapatas { font-size: min(2.625rem, 12.4vw); }   /* the vw cap holds the word inside la tarjeta with large text */
  .gp-board { grid-template-columns: 1fr; gap: 32px; padding: 42px 18px 24px; border-radius: var(--r-l); }
  .gp-note:nth-child(n) { transform: none; }
}
@media (max-width: 600px) { .gp-stamp { font-size: var(--t1); padding: 9px 11px 7px; } .gp-soon { font-size: var(--t1); } }

/* ===== beta page: the glass panel over the apps' icons, then four numbered steps and a help box ===== */
section.beta-top { padding: 36px 0 0; }
.beta-top .inner { padding: 64px 48px; }
.beta-panel { max-width: 700px; padding: 40px 44px 36px; }
.beta-panel .kicker { margin-bottom: 18px; }
.beta-panel h1 { font-size: clamp(2rem, 4.4vw + .5rem, 3.5rem); max-width: 16ch; }   /* 32 px at 360, so «Coba aplikasinya sebelum orang lain.» is two lines, not four */
.beta-panel .lead { font-size: var(--t3); line-height: 1.45; max-width: 50ch; margin-top: 16px; color: var(--ink-2); }
.beta-panel .facts { margin-top: 22px; }
.beta-panel .tip { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); font-size: var(--t1); color: var(--ink-2); max-width: 56ch; }
section.beta-flow { padding-top: 64px; }
.flow { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.step { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 20px; padding: 28px 30px 30px; border-radius: var(--r-l); border: 1px solid var(--line); background: var(--paper-2); }
.step .num { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--paper); font: 600 var(--t3)/1 var(--font-ui); }
.step h3 { font-size: var(--t4); margin: 10px 0; }
.step p { color: var(--ink-2); max-width: 60ch; }
.step p + p { margin-top: 10px; }
.step .actions { margin-top: 20px; }
.step p.hint { margin-top: 14px; font-size: var(--t0); color: var(--ink-3); }
/* the app rows of steps 2 and 3: icon, name, one-liner, the button at the right */
.beta-apps { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.beta-apps li { display: flex; align-items: center; gap: 14px; padding: 12px 12px 12px 14px; border-radius: var(--r-m); background: var(--paper); border: 1px solid var(--line); }
.beta-apps img { flex: none; width: 44px; height: 44px; border-radius: var(--r-s); box-shadow: 0 4px 10px rgba(0, 0, 0, .14); }
.beta-apps li.later img { opacity: .7; }
.beta-apps .ident { flex: 1; min-width: 0; }
.beta-apps b { display: block; font: 500 var(--t1) var(--font-ui); }
.beta-apps small { display: block; font-size: var(--t-1); color: var(--ink-3); margin-top: 2px; }
.beta-apps .btn { flex: none; min-height: 44px; padding: 0 18px; font-size: var(--t0); }
.beta-apps .btn svg { width: 16px; height: 16px; }
.beta-apps .state { flex: none; padding: 6px 12px; }
.trouble { position: sticky; top: 100px; padding: 28px 30px; border-radius: var(--r-l); border: 1px solid var(--line-strong); }
.trouble h2 { font-size: var(--t4); margin-bottom: 16px; }
.trouble ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; font-size: var(--t1); color: var(--ink-2); }
.trouble li + li { padding-top: 14px; border-top: 1px solid var(--line); }
.trouble b { display: block; color: var(--ink); font: 500 var(--t1) var(--font-ui); margin-bottom: 4px; }
@media (max-width: 1000px) { .flow { grid-template-columns: 1fr; } .trouble { position: static; } }
@media (max-width: 900px) {
  section.beta-top { padding-top: 20px; }
  .beta-top .inner { padding: 40px 16px; }
  .beta-panel { padding: 28px 22px 26px; border-radius: var(--r-l); }
  section.beta-flow { padding-top: 48px; }
}
@media (max-width: 600px) {
  .step { grid-template-columns: 1fr; gap: 6px; padding: 22px 18px 24px; }
  .step .num { width: 40px; height: 40px; font-size: var(--t2); }
  .step h3 { font-size: 1.375rem; margin-top: 8px; }
  .step .actions .btn { width: 100%; justify-content: center; text-align: center; }
  .beta-apps li { flex-wrap: wrap; }
  .beta-apps .btn { width: 100%; justify-content: center; }
  /* a waiting app: its «Beta: coming soon» pill under the name, aligned with it, never beside it */
  .beta-apps li.later { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 8px 14px; align-items: center; }
  .beta-apps li.later .state { grid-column: 2; justify-self: start; }
  .trouble { padding: 22px 18px; }
}

/* ===== «Support» on the home page (only when DONATE_URL is set in registry.js): calm, one plain link ===== */
section.support-sec { padding-top: 0; }
.support { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: 40px 44px; border-radius: var(--r-l); border: 1px solid var(--line); background: var(--paper-2); }
.support .kicker { margin-bottom: 12px; }
.support h2 { font-size: var(--t5); margin-bottom: 12px; max-width: 26ch; }
.support p.muted { max-width: 54ch; }
.support p.muted + p.muted { margin-top: 10px; }
.support .give { justify-self: end; max-width: 380px; }
.support .fine { margin-top: 14px; font-size: var(--t-1); color: var(--ink-3); }
@media (max-width: 900px) { .support { grid-template-columns: 1fr; padding: 24px 20px; gap: 22px; } .support .give { justify-self: stretch; max-width: none; } }

/* ===== Alento Labs · brief 65 · la combinación final (25 nov 2026; las salas en el teléfono, 26 nov) =====
   Ported from the designer's final package (office note h-30c7f0427f4d, owner's final yes 26 Nov): blocks as delivered, except
   block 2c (the 250 px room screens), which lives in the .room .shots rules above, and the kicker colour, now in .hero-panel .kicker.
   Pared de la portada con relieve, que responde a la persona · capturas de cada sala que se recorren solas, con pausa (escritorio) ·
   las capturas de cada sala llegan, aparecen y giran con el scroll y con la inclinación o el puntero («vitrina», todos los anchos) ·
   «Aparece» en títulos de sección y textos de las historias · transición A «El ícono viaja» · loops de las apps.

   Reglas de la casa:
   - Todo lo que se mueve cuelga de html.js (lo pone theme.js: hay JavaScript) y de prefers-reduced-motion: no-preference.
     Sin JavaScript o con movimiento reducido la página es la de hoy, píxel a píxel (lo comprueba tools/probar_final.py).
   - Sin estilos en línea en el HTML: las medidas que pone el script van por CSSOM (style.setProperty), que la CSP permite.
   - Cortes de ancho: la portada y las historias cambian a 900 px; las salas y la cabecera de la app, a 1000 px (como en site.css). */

/* ---------- 1. La pared de la portada: relieve, y responde a la persona ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* touch-action: arrastrar de lado es de la pared; bajar y hacer zoom siguen siendo del navegador */
  html.js .hero { perspective: 1100px; perspective-origin: 50% 20%; touch-action: pan-y pinch-zoom; }
  /* --mx y --my (-1 a 1): hacia dónde mira la pared, según el puntero o la inclinación del teléfono (los pone el script) */
  html.js .wall { --mx: 0; --my: 0; animation: none; transform-style: preserve-3d;
    transform: translateX(-50%) rotateX(calc(14deg - var(--my) * 3deg)) rotateY(calc(var(--mx) * 5deg)) rotateZ(-7deg); }
  /* --o: cuánto se corrió la fila a lo largo de la pared (lo pone el script; sin script vale 0) */
  html.js .wall .row { --z: 0px; transform-style: preserve-3d; transform: translateZ(var(--z)) translateX(var(--o, 0px)); }
  html.js .wall .row:nth-child(1) { --z: -150px; }
  html.js .wall .row:nth-child(3) { --z: 110px; }
  html.js .wall img { box-shadow: 0 26px 50px rgba(30, 28, 25, .3); }
  /* el relieve de cada captura. Antes de que corra el script, por número de hijo… */
  html.js .wall img:nth-child(3n + 1) { transform: translateZ(46px); }
  html.js .wall img:nth-child(4n + 2) { transform: translateZ(-38px); }
  /* …y con la pared dando la vuelta (.is-loop), por su lugar en la serie: el script pone .nx-zn (cerca) y .nx-zf (lejos) con el
     mismo dibujo en cada repetición. NO volver a nth-child acá: las copias vienen después de las capturas ocultas (.x), les toca
     otro relieve que a las originales y, en la media vuelta, cada captura cambia de tamaño y se corre de golpe (el salto del 25 nov). */
  html.js .wall.is-loop img:nth-child(n) { transform: none; }
  html.js .wall.is-loop img.nx-zn { transform: translateZ(46px); }
  html.js .wall.is-loop img.nx-zf { transform: translateZ(-38px); }
  html.js .wall.is-loop .x { display: none; }             /* las copias ya cubren las pantallas anchas */
  /* una luz que cruza la pared una vez, al abrir */
  html.js .hero::before { content: ''; position: absolute; z-index: -1; inset: -20% -60%; pointer-events: none;
    background: linear-gradient(112deg, transparent 42%, var(--sheen) 49%, rgba(255, 255, 255, 0) 56%); animation: nx-sweep 1.6s cubic-bezier(.2, 0, 0, 1) .2s both; }
  @keyframes nx-sweep { from { translate: -45% 0; } to { translate: 45% 0; opacity: 0; } }
  /* al bajar, cada fila se corre a su ritmo (solo CSS, con el scroll de la página) */
  @supports (animation-timeline: scroll()) {
    html.js .wall .row { animation: linear both; animation-timeline: scroll(root); animation-range: 0px 900px; }
    html.js .wall .row:nth-child(1) { animation-name: nx-row-a; }
    html.js .wall .row:nth-child(2) { animation-name: nx-row-b; }
    html.js .wall .row:nth-child(3) { animation-name: nx-row-c; }
    @keyframes nx-row-a { to { translate: -180px 60px; } }
    @keyframes nx-row-b { to { translate: 230px 120px; } }
    @keyframes nx-row-c { to { translate: -360px 210px; } }
  }
  @media (max-width: 900px) {
    html.js .hero { padding-top: 212px; perspective: 700px; }     /* en el teléfono la portada mide 104 px más: se ve más pared sobre el panel */
    html.js .wall { top: -150px; }
  }
}

/* ---------- 2. Las salas: las capturas cortadas se recorren solas (solo donde están cortadas: escritorio) ---------- */
/* El script marca cada captura cortada con data-pan y le da --pan (lo que le falta para mostrar su borde de abajo) y --y (dónde va
   ahora, con un reloj por sala). En el teléfono ya se ven enteras: no hay data-pan, no hay botón y no cambia nada.
   NO hacerlo con una animación de CSS detenida y reanudada con animation-play-state: al reanudarla, Chromium deja un cuadro sin
   aplicar y la captura salta 150 a 220 px, ida y vuelta (el otro salto del 25 nov). */
/* the room's pause button (owner, 26 Nov: «no me gusta como tapa los screenshots», and only while the pointer is in the
   room): in the plate's top-right corner, level with «01 · 08», a thin ring in the plate's ink. With a mouse it shows on
   hover over the room or on keyboard focus; on a touch screen (no hover) it stays. Only where the screens scroll by
   themselves (.has-pan, desktop): WCAG 2.2.2 asks a way to stop motion that runs over 5 s. */
.room .plate > .loop-btn.pan-btn { top: 32px; right: 30px; bottom: auto; left: auto; color: var(--ink); background: transparent;
  border: 1px solid var(--line-strong); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.room .plate > .pan-btn svg { width: 18px; height: 18px; }
.room:not(.has-pan) .pan-btn { display: none; }
@media (hover: hover) {
  .room .plate > .pan-btn { opacity: 0; transition: opacity .2s linear; }
  .room:hover .plate > .pan-btn, .room .plate > .pan-btn:focus-visible { opacity: 1; }
}
@media (prefers-reduced-motion: no-preference) {
  html.js .room .shots > [data-pan] { translate: 0 var(--y, 0px); }
  html.js .room.is-in .shots > [data-pan] { will-change: translate; }
  /* el botón de pausa de un loop no viaja con la captura: se queda donde está */
  html.js .room .shots > [data-pan] .loop-btn { translate: 0 calc(-1 * var(--y, 0px)); }
}

/* ---------- 2b. Las salas como vitrina (26 nov; en todos los anchos) ---------- */
/* Las dos capturas de cada sala llegan desde abajo y aparecen (la segunda, un poco después), quedan de pie con algo de giro, con un
   canto de vidrio, y giran un poco más con el scroll y con la inclinación del teléfono o el puntero. Todo sale de la posición del
   scroll: no corre nada solo, no hay botón, y si se sube, se deshace. En escritorio se suma al recorrido del bloque 2 (que va por
   la propiedad translate; esto, por transform: no se pisan).
   Los números (--op, --tx, --ty, --rx, --ry) los pone el script en cada captura; sin ellos, la captura queda como hoy.
   La clase .nx-v la pone el script. */
@media (prefers-reduced-motion: no-preference) {
  html.js .room.nx-v .shots { perspective: 900px; perspective-origin: 50% 46%; }
  html.js .room.nx-v .shots > :nth-child(-n + 2) { opacity: var(--op, 1);
    transform: translate3d(var(--tx, 0px), var(--ty, 0px), 0) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) rotate(-4deg); }
  html.js .room.nx-v .shots > :nth-child(2) { transform: translate3d(var(--tx, 0px), var(--ty, 0px), 0) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) rotate(3deg); }
  /* el canto de vidrio: un filo oscuro, una franja clara translúcida y otro filo, como los teléfonos de la vitrina */
  html.js .room.nx-v .shots > img, html.js .room.nx-v .shots > picture img, html.js .room.nx-v .shots > .loop-slot {
    box-shadow: 0 0 0 1px rgba(30, 28, 25, .55), 0 0 0 4px rgba(255, 255, 255, .3), 0 0 0 5px rgba(30, 28, 25, .22), var(--shot-shadow); }
  html.js .room.nx-v.nx-near .shots > :nth-child(-n + 2) { will-change: transform, opacity; }
  /* escritorio: las capturas miden 300 px (en el teléfono, 162): más distancia de perspectiva y un canto algo más ancho */
  @media (min-width: 1001px) {
    html.js .room.nx-v .shots { perspective: 1500px; perspective-origin: 50% 50%; }
    html.js .room.nx-v .shots > img, html.js .room.nx-v .shots > picture img, html.js .room.nx-v .shots > .loop-slot {
      box-shadow: 0 0 0 1px rgba(30, 28, 25, .55), 0 0 0 6px rgba(255, 255, 255, .3), 0 0 0 7px rgba(30, 28, 25, .22), var(--shot-shadow); }
  }
}


/* ---------- 3. «Aparece»: los títulos de sección y los textos de las historias suben y aparecen al entrar ---------- */
/* Solo fuera de los bloques que recortan (.band, .stage: overflow hidden): adentro, view() toma ese bloque como referencia, no ve el
   scroll de la página y la animación queda frenada a mitad de camino (un texto a medio aparecer, una captura corrida). */
@media (prefers-reduced-motion: no-preference) { @supports (animation-timeline: view()) {
  html.js .sec-head:not(.band .sec-head), html.js .story .text { animation: nx-rise linear both; animation-timeline: view(); animation-range: entry 0px entry 300px; }
  @keyframes nx-rise { from { opacity: 0; translate: 0 48px; } }
} }

/* ---------- 4. Transición entre páginas, A «El ícono viaja» (View Transitions entre documentos, solo CSS) ---------- */
/* «scripting: enabled»: sin JavaScript se navega con un corte, como hoy (el nombre de transición de la barra cambia dos filas de
   píxeles). El ícono y el nombre de la sala o del cubo que se tocó vuelan a la cabecera de la página de la app; al volver, regresan.
   .vt-src lo pone el script al hacer clic; sin él vale :hover / :focus-visible / :active. Donde no hay soporte, se navega como hoy. */
@media (prefers-reduced-motion: no-preference) and (scripting: enabled) {
  @view-transition { navigation: auto; }
  /* The bar's name only while a transition runs (theme.js adds html.vt in pageswap / pagereveal and takes it off when it ends):
     an element with a view-transition-name is a backdrop root, so with the name always on, the bar's glass (.bar::after) had
     nothing behind it to blur and the page's text showed sharp through the bar (seen in Chrome, 26 Nov). */
  html.vt .top { view-transition-name: top-bar; }
  .cube:is(.vt-src, :has(.plate:is(:hover, :focus-visible, :active))) .plate .n img,
  .room:is(.vt-src, :has(.links a:is(:hover, :focus-visible, :active))) .plate .n :is(img, .gp-room-icon) { view-transition-name: app-icon; }
  .cube:is(.vt-src, :has(.plate:is(:hover, :focus-visible, :active))) .plate .name,
  .room:is(.vt-src, :has(.links a:is(:hover, :focus-visible, :active))) .plate .name { view-transition-name: app-name; width: fit-content; }
  .app-band .plate .icon { view-transition-name: app-icon; }
  .app-band h1 { view-transition-name: app-name; width: fit-content; }
  ::view-transition-group(*) { animation-duration: .42s; animation-timing-function: cubic-bezier(.2, 0, 0, 1); }
  ::view-transition-old(root) { animation: nx-vt-out .18s cubic-bezier(.3, 0, 1, 1) both; }
  ::view-transition-new(root) { animation: nx-vt-in .32s cubic-bezier(0, 0, 0, 1) .1s both; }
  @keyframes nx-vt-out { to { opacity: 0; } }
  @keyframes nx-vt-in { from { opacity: 0; } }
  ::view-transition-old(app-name), ::view-transition-new(app-name) { height: 100%; width: auto; }
  ::view-transition-old(app-name) { animation-duration: .12s; }
  ::view-transition-new(app-name) { animation-duration: .16s; animation-delay: .06s; }
  ::view-transition-group(top-bar) { animation: none; z-index: 5; }
  ::view-transition-old(top-bar) { display: none; }
  ::view-transition-new(top-bar) { animation: none; }
}

/* ---------- 5. Las apps funcionando: loops, y el botón de pausa ---------- */
/* El loop va encima de la captura a la que reemplaza, dentro de .loop-slot (la captura queda de póster y de respaldo). */
.loop-slot { display: block; border-radius: var(--r-l); box-shadow: var(--shot-shadow); }
.loop-slot > img, .room .shots .loop-slot > img, .app-band .shots .loop-slot > img,
.story .stage .loop-slot > img, .story:nth-child(n) .stage .loop-slot > img {
  position: static; display: block; width: 100%; height: auto; left: auto; top: auto; transform: none; box-shadow: none; border-radius: inherit; rotate: none; translate: none; animation: none; }
.loop { position: absolute; inset: 0; display: block; border-radius: inherit; }
.loop video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; border-radius: inherit; opacity: 0; transition: opacity .3s linear; background: transparent; }
.loop.is-on video { opacity: 1; }
/* en las historias el loop toma el lugar y el tamaño que tenía la captura */
.story .stage .loop-slot { position: absolute; z-index: 1; left: 50%; top: 34px; width: 264px; transform: translateX(-50%) rotate(-3deg); }
.story:nth-child(even) .stage .loop-slot { transform: translateX(-50%) rotate(3deg); }
@media (max-width: 900px) { .story .stage .loop-slot { width: 196px; top: 22px; } }
/* el botón de pausa (de un loop o de una sala): siempre visible, 44 px */
.loop-btn { position: absolute; right: 8px; bottom: 8px; z-index: 2; width: 44px; height: 44px; padding: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  color: #1E1C19; background: rgba(248, 245, 239, .9); border: 1px solid rgba(30, 28, 25, .22); box-shadow: 0 6px 16px rgba(0, 0, 0, .28);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.loop-btn[hidden] { display: none; }
.loop-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.loop-btn .i-play { display: none; fill: currentColor; stroke-width: 1.6; }
.loop-btn[aria-pressed="true"] .i-play { display: block; }
.loop-btn[aria-pressed="true"] .i-pause { display: none; }
.loop-btn:focus-visible { outline: 3px solid var(--focus, #1E1C19); outline-offset: 3px; }
.loop-btn:active { scale: .94; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .loop-btn { color: #EDE7DC; background: rgba(34, 32, 29, .88); border-color: rgba(255, 255, 255, .26); } }
:root[data-theme="dark"] .loop-btn { color: #EDE7DC; background: rgba(34, 32, 29, .88); border-color: rgba(255, 255, 255, .26); }
/* el botón va siempre dentro de la parte de la captura que se ve: en escritorio las capturas de las salas se cortan abajo a
   propósito y la segunda pantalla pisa un borde de la primera */
@media (min-width: 1001px) {
  .room .shots .loop-btn { bottom: auto; top: 372px; }
  .room .shots > :nth-child(2) .loop-btn { top: 312px; }
  .room:not(.flip) .shots > :nth-child(1) .loop-btn { right: auto; left: 8px; }
  /* la segunda captura de una sala no espejada se corta a la derecha en pantallas de 1001 a 1290 px: su botón va a la izquierda,
     que siempre se ve (a la derecha quedaba fuera de la pantalla) */
  .room:not(.flip) .shots > :nth-child(2) .loop-btn { right: auto; left: 8px; }
}
@media (max-width: 1000px) { .room .shots > :nth-child(1) .loop-btn { right: auto; left: 8px; } }
@media (min-width: 901px) { .story .stage .loop-btn { bottom: auto; top: 328px; } }
@media (max-width: 900px) { .story .stage .loop-btn { bottom: auto; top: 222px; } }

/* the footer's link lists on phone and tablet: one column, each link a 44 px row (27 px before), so a thumb hits it
   (owner, 27 Nov: «solo una columna pero un poquito más de píxeles por botón»; the two-column proposal was declined) */
@media (max-width: 900px) {
  .foot :not(.langs) > ul { gap: 0; row-gap: 0; }
  .foot :not(.langs) > ul li { margin: 0; }
  .foot :not(.langs) > ul li:not(:has(a)) { margin-top: 10px; }   /* the two lines of plain text keep their air */
  .foot :not(.langs) > ul a { display: flex; align-items: center; min-height: 44px; }
  .foot :not(.langs) > ul a::after { content: none; }
}
