/* ============================================================
   GAZ Labs — Design System  v1.8
   Dark-glassmorphism visual language extracted from the homepage (index.html).
   Tokens + components + background/cursor utilities.
   Self-contained and same-origin (GDPR-clean): no third-party CSS.
   Pair with /assets/fonts/sans.css (Bricolage Grotesque + Outfit) and, for the animated
   background + cursor, /assets/js/starfield.js then /assets/js/atmosphere.js.

   CACHE BUSTING: the ?v= on every consumer link/script is a CONTENT HASH, stamped
   by _local/stamp-assets.ps1 — never edit it by hand. After changing this file (or
   any versioned asset) run:  .\_local\stamp-assets.ps1 -Apply
   ============================================================ */

:root {
    /* ---- Color · text ---- */
    --ds-bg: #000;
    --ds-text: #e5e5e5;            /* default body text */
    --ds-text-on-card: #cfd3d8;    /* body text inside cards */
    --ds-text-muted: #9ca3af;
    --ds-text-faint: #8b93a0;          /* AA on #000 (6.8:1) — dates, count badge */
    --ds-text-fainter: #7e8591;        /* AA on #000 (5.7:1) — footers, fine meta */
    --ds-text-bright: #f9fafb;
    --ds-text-strong: #fff;
    --ds-text-kicker-bright: #b9c0c9;  /* accent section labels (kicker) */

    /* ---- Color · glass surfaces ---- */
    --ds-surface: rgba(20, 20, 20, 0.40);        /* card */
    --ds-surface-panel: rgba(20, 20, 20, 0.45);  /* large panel / sidebar */
    --ds-surface-pill: rgba(255, 255, 255, 0.02);
    --ds-surface-pill-hover: rgba(255, 255, 255, 0.08);

    /* ---- Color · borders & lines ---- */
    --ds-border: rgba(255, 255, 255, 0.08);
    --ds-border-subtle: rgba(255, 255, 255, 0.05);
    --ds-border-strong: rgba(255, 255, 255, 0.20);
    --ds-border-hover: rgba(255, 255, 255, 0.30);
    --ds-rail: rgba(255, 255, 255, 0.10);

    /* ---- Color · filled control (primary button) ----
       Shared with the homepage's .glass-btn--primary, which hand-retyped the same
       recipe. Tokenised so the pair can never drift and so a filled control is not
       permanently white-on-near-black. */
    --ds-fill-strong: rgba(255, 255, 255, 0.92);
    --ds-fill-strong-hover: #fff;
    --ds-on-fill-strong: #0a0a0a;
    --ds-fill-glow: rgba(255, 255, 255, 0.22);

    /* ---- Color · ambient accent lights ---- */
    --ds-light-navy: rgba(30, 58, 138, 0.25);
    --ds-light-violet: rgba(124, 58, 237, 0.15);
    --ds-light-white: rgba(255, 255, 255, 0.03);

    /* ---- Typography ---- */
    --ds-font-body: 'Bricolage Grotesque', sans-serif;
    --ds-font-display: 'Outfit', sans-serif;
    --ds-fs-meta: 0.62rem;     /* dates, footer */
    --ds-fs-kicker: 0.65rem;   /* section labels */
    --ds-fs-xs: 0.72rem;       /* pill labels */
    --ds-fs-sm: 0.8rem;        /* meta text, chips */
    --ds-fs-body: 0.86rem;     /* card body */
    --ds-fs-md: 0.95rem;       /* prose */
    --ds-fs-lg: 1.05rem;       /* entry titles */
    --ds-fs-title: 1.45rem;    /* name / page title */
    --ds-fs-h1: 2rem;          /* large page heading (e.g. privacy) */
    --ds-fs-jumbo: 4.5rem;     /* hero numerals (e.g. 404 code) */
    --ds-tracking-wide: 0.2em;
    --ds-tracking-kicker: 0.28em;

    /* ---- Radius ---- */
    --ds-radius-card: 1.25rem;
    --ds-radius-panel: 1.5rem;
    --ds-radius-input: 14px;
    --ds-radius-pill: 9999px;

    /* ---- Elevation ---- */
    --ds-shadow-card: 0 15px 35px -10px rgba(0, 0, 0, 0.5);
    --ds-shadow-panel: 0 15px 40px -18px rgba(0, 0, 0, 0.6);

    /* ---- Motion ---- */
    --ds-dur: 0.3s;
    --ds-ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --ds-ease: cubic-bezier(0.16, 1, 0.3, 1);      /* standard GazLabs: hover, stati, aperture, pagine */
    --ds-ease-in: cubic-bezier(0.4, 0, 1, 1);      /* solo per ciò che esce */

    /* ---- Effects ---- */
    --ds-blur: 12px;
}

/* ---- Reset & base ---- */
* { box-sizing: border-box; margin: 0; padding: 0; }
/* ---- Scrollbar ----
   ⚠️ TRAPPOLA, verificata a schermo: da Chrome 121, se un elemento dichiara
   `scrollbar-width` o `scrollbar-color`, i pseudo-elementi ::-webkit-scrollbar-*
   NON si applicano più a quell'elemento. Qui c'erano entrambi i meccanismi con
   valori DIVERSI, quindi il disegno vero (sliver da 4px arrotondato al 12%) non
   veniva mai reso: usciva `thin` al 15%, cioè una barra più larga e più chiara —
   la banda biancastra sul bordo destro.
   I due blocchi ora dichiarano lo STESSO aspetto. Se ne cambi uno, cambia l'altro.
   La traccia è `transparent`: il canale della scrollbar mostra il nero della
   pagina invece di dipingerne un secondo, che è ciò che la faceva leggere come
   una fascia separata.

   I colori sono OPACHI di proposito, non token con alpha: `scrollbar-color` è
   dipinta dal motore, non dal compositore della pagina, e come componga un alpha
   sulla traccia varia fra motori e versioni. Un valore opaco è l'unico che rende
   uguale ovunque, e qui è l'unico posto del sistema dove questo conta.

   Il criterio del valore è misurato, non a occhio: la griglia di sfondo è
   l'elemento più chiaro dietro il contenuto e sta a luminanza ~13 (--ds-rail al
   10%, resa a opacity 0.5). #0d0d0d è esattamente 13. Il pollice stava a 26, il
   DOPPIO della griglia: per questo il bordo destro si leggeva come una fascia
   biancastra invece che come un elemento dell'atmosfera. Una scrollbar non può
   gridare più forte dello sfondo su cui scorre. */
html { scroll-behavior: smooth; scrollbar-color: #0d0d0d #000; scrollbar-width: thin; }
body {
    background-color: var(--ds-bg);
    color: var(--ds-text);
    font-family: var(--ds-font-body);
    -webkit-font-smoothing: antialiased;
    min-height: 100vh; min-height: 100dvh;
    position: relative;
    overflow-x: hidden;
}
/* Ramo legacy, per i browser che non leggono le proprietà standard sopra.
   Stessi valori opachi, dichiarati con l'altra sintassi: il bordo #000 rientra
   il pollice a uno sliver di 4px senza introdurre trasparenze. */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb { background: #0d0d0d; border-radius: var(--ds-radius-pill); border: 2px solid #000; }
::-webkit-scrollbar-thumb:hover { background: #3d3d3d; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 8px; }
/* Keyboard focus lifts interactive glass the same way hover does */
.ds-pill:focus-visible, .ds-icon-btn:focus-visible { background: var(--ds-surface-pill-hover); border-color: var(--ds-border-hover); color: #fff; }

/* ============================================================
   Background system  (fixed atmospheric layers)
   ============================================================ */
.ds-bg-layer { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; }
/* Base fill of the atmosphere stack. Was an inline style="background-color:#000" in the
   markup, which no stylesheet rule could ever override — keep it a token so the page
   background stays themeable. */
.ds-bg-base { background-color: var(--ds-bg); }
.ds-bg-grid {
    background-image:
        linear-gradient(to right, var(--ds-rail) 1px, transparent 1px),
        linear-gradient(to bottom, var(--ds-rail) 1px, transparent 1px);
    background-size: 60px 60px;
    -webkit-mask-image: radial-gradient(circle at center, #000 40%, transparent 100%);
    mask-image: radial-gradient(circle at center, #000 40%, transparent 100%);
    opacity: 0.5;
}
.ds-particles { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: 0.8; }
.ds-ambient { position: fixed; border-radius: 50%; filter: blur(100px); opacity: 0.4; pointer-events: none; z-index: -1; }
.ds-ambient--navy   { background: var(--ds-light-navy);   width: 800px; height: 800px; top: -20%; left: -10%; animation: ds-float-1 20s infinite alternate ease-in-out; }
.ds-ambient--violet { background: var(--ds-light-violet); width: 600px; height: 600px; bottom: -10%; right: -10%; animation: ds-float-2 15s infinite alternate ease-in-out; }
.ds-ambient--white  { background: var(--ds-light-white);  width: 500px; height: 500px; top: 40%; left: 40%; filter: blur(120px); animation: ds-float-3 25s infinite alternate ease-in-out; }
@keyframes ds-float-1 { 0% { transform: translate(0,0) scale(1); } 100% { transform: translate(50px,50px) scale(1.1); } }
@keyframes ds-float-2 { 0% { transform: translate(0,0) scale(1); } 100% { transform: translate(-30px,-50px) scale(1.1); } }
@keyframes ds-float-3 { 0% { transform: translate(-50%,-50%) scale(1); } 100% { transform: translate(-40%,-60%) scale(1.2); } }
@keyframes ds-fade   { from { opacity: 0; } to { opacity: 1; } }

/* ============================================================
   Custom cursor
   Markup: <div class="ds-cursor" id="cursor-dot"></div>
   JS: body.classList.add('ds-cursor-on'); toggle 'is-hover' on the dot
   ============================================================ */
.ds-cursor {
    position: fixed; top: 0; left: 0; width: 12px; height: 12px; border-radius: 50%;
    background: #fff; box-shadow: 0 0 15px 2px rgba(255, 255, 255, 0.6);
    mix-blend-mode: difference; z-index: 9999; pointer-events: none;
    will-change: transform, width, height;
    transition: width var(--ds-dur) var(--ds-ease-spring),
                height var(--ds-dur) var(--ds-ease-spring),
                background-color var(--ds-dur) var(--ds-ease);
}
.ds-cursor.is-hover {
    width: 50px !important; height: 50px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: invert(1);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.5) !important;
}
body.ds-cursor-on * { cursor: none; }
@media (pointer: coarse) {
    body.ds-cursor-on * { cursor: auto; }
    .ds-cursor { display: none; }
}

/* ============================================================
   Components
   ============================================================ */

/* ---- Card ---- */
.ds-card {
    position: relative;
    overflow: hidden;
    background: var(--ds-surface);
    backdrop-filter: blur(var(--ds-blur)); -webkit-backdrop-filter: blur(var(--ds-blur));
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-card);
    padding: 1.2rem 1.4rem;
    transition: border-color var(--ds-dur) var(--ds-ease), box-shadow var(--ds-dur) var(--ds-ease), transform var(--ds-dur) var(--ds-ease);
}
.ds-card > * { position: relative; z-index: 1; }
/* Cursor-follow glare (JS sets --glare-x / --glare-y) */
.ds-card::before {
    content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit; pointer-events: none;
    background: radial-gradient(circle at var(--glare-x, 50%) var(--glare-y, 50%), rgba(255,255,255,0.13), rgba(255,255,255,0.04) 30%, transparent 60%);
    opacity: 0; transition: opacity 0.35s ease;
}
.ds-card:hover::before { opacity: 1; }   /* glare on any card hover */
.ds-card--interactive:hover {
    border-color: var(--ds-border-strong);
    box-shadow: var(--ds-shadow-card);
    transform: translateY(-3px);
}
/* Content-light cards (dates/titles only): keep the glare, drop the lift */
.ds-card--calm { transition: border-color var(--ds-dur) var(--ds-ease); }
.ds-card--calm:hover { border-color: var(--ds-border-strong); }

/* ---- Panel (large glass surface, e.g. sidebar) ---- */
.ds-panel {
    position: relative;
    background: var(--ds-surface-panel);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-panel);
    box-shadow: var(--ds-shadow-panel);
}
.ds-panel > * { position: relative; z-index: 1; }
/* Cursor-follow glare (JS sets --glare-x / --glare-y) */
.ds-panel::before {
    content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit; pointer-events: none;
    background: radial-gradient(340px circle at var(--glare-x, 50%) var(--glare-y, 50%), rgba(255,255,255,0.10), rgba(255,255,255,0.035) 40%, transparent 75%);
    opacity: 0; transition: opacity 0.4s ease;
}
.ds-panel:hover::before { opacity: 1; }

/* ---- Pill (link / button) ---- */
.ds-pill {
    display: inline-flex; align-items: center; gap: 0.7rem;
    padding: 0.6rem 1.1rem;
    background: var(--ds-surface-pill);
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-pill);
    text-decoration: none; color: var(--ds-text-muted);
    transition: background var(--ds-dur) var(--ds-ease), border-color var(--ds-dur) var(--ds-ease), color var(--ds-dur) var(--ds-ease);
}
.ds-pill:hover { background: var(--ds-surface-pill-hover); border-color: var(--ds-border-hover); color: #fff; }
.ds-pill svg { width: 16px; height: 16px; flex: 0 0 auto; color: inherit; }
.ds-pill__label {
    font-family: var(--ds-font-display); font-size: var(--ds-fs-xs); font-weight: 500;
    letter-spacing: 0.1em; text-transform: uppercase; color: inherit;
}
/* Brand logo used as a pill icon — kept monochrome, lit on hover */
.ds-pill__logo { width: 18px; height: 18px; flex: 0 0 auto; filter: grayscale(100%) brightness(180%); opacity: 0.65; transition: opacity var(--ds-dur) var(--ds-ease), filter var(--ds-dur) var(--ds-ease); }
.ds-pill:hover .ds-pill__logo { opacity: 1; filter: grayscale(100%) brightness(240%); }

/* ---- Icon-only round button ---- */
.ds-icon-btn {
    display: grid; place-items: center; width: 2.6rem; height: 2.6rem;
    background: var(--ds-surface-pill); border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-pill); text-decoration: none; color: var(--ds-text-muted);
    transition: background var(--ds-dur) var(--ds-ease), border-color var(--ds-dur) var(--ds-ease), color var(--ds-dur) var(--ds-ease);
}
.ds-icon-btn:hover { background: var(--ds-surface-pill-hover); border-color: var(--ds-border-hover); color: #fff; }
.ds-icon-btn svg { width: 16px; height: 16px; color: inherit; }

/* ---- Chip ---- */
.ds-chip {
    font-size: var(--ds-fs-sm); color: var(--ds-text-on-card);
    background: var(--ds-surface-pill); border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-pill); padding: 0.4rem 0.85rem;
}

/* ---- Kicker / section label ---- */
.ds-kicker {
    font-family: var(--ds-font-display); font-size: var(--ds-fs-kicker); font-weight: 600;
    letter-spacing: var(--ds-tracking-kicker); text-transform: uppercase; color: var(--ds-text-faint);
}
/* Accent variant: brighter label + a short lit gradient bar (used across pages) */
.ds-kicker--accent { display: inline-flex; align-items: center; gap: 0.7rem; color: var(--ds-text-kicker-bright); }
.ds-kicker--accent::before {
    content: ""; flex: 0 0 auto; width: 1.5rem; height: 2px; border-radius: 2px;
    background: linear-gradient(90deg, rgba(255,255,255,0.75), rgba(255,255,255,0.05));
    box-shadow: 0 0 10px rgba(255,255,255,0.25);
}

/* ---- Language switch ----
   Deliberatamente LINK, non bottoni: ogni lingua e' un URL vero, quindi il controllo
   funziona senza JS, e' indicizzabile e non memorizza alcuna preferenza sul dispositivo.
   Qui c'era anche un componente .ds-segmented, rimosso il 2026-08-19: zero consumatori
   in tutto il sito, e la sua unica menzione nella documentazione era un avviso a non
   usarlo. Un componente la cui documentazione mette in guardia da se' stesso e' un
   componente che non serve. */
.ds-lang { display: inline-flex; gap: 0.4rem; }
.ds-lang__opt {
    font-family: var(--ds-font-display); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.15em;
    padding: 0.4rem 0.9rem; border-radius: var(--ds-radius-pill); text-decoration: none;
    background: var(--ds-surface-pill); border: 1px solid var(--ds-border); color: var(--ds-text-muted);
    transition: background var(--ds-dur) var(--ds-ease), border-color var(--ds-dur) var(--ds-ease), color var(--ds-dur) var(--ds-ease);
}
.ds-lang__opt:hover { color: var(--ds-text-strong); }
.ds-lang__opt[aria-current="page"] {
    background: var(--ds-surface-pill-hover); border-color: var(--ds-border-hover); color: var(--ds-text-strong);
}

/* ---- Touch: comfortable tap targets (>=44px) ---- */
@media (pointer: coarse) {
    .ds-icon-btn { width: 2.75rem; height: 2.75rem; }
    .ds-lang__opt { padding: 0.55rem 1.05rem; }
    /* The language switch is small by design; padding alone leaves it around 32px,
       so the touch target is set explicitly rather than inferred from the type size. */
    .ds-lang__opt { display: inline-flex; align-items: center; min-height: 44px; }
    /* Same story for the pill and the button, the system's two everyday controls: their
       padding is tuned to the 0.72rem label and lands them at ~37px, so 44px has to be
       stated rather than inferred. Growing the padding instead would reach the height
       only by also fattening them sideways, which changes their proportions. min-height
       leaves an icon-only pill intact — it stays as wide as its padding, just centred. */
    .ds-pill,
    .ds-btn { display: inline-flex; align-items: center; min-height: 44px; }
}

/* ---- Timeline (vertical rail + dot markers) ---- */
.ds-timeline { position: relative; padding-left: 2rem; }
.ds-timeline::before { content: ""; position: absolute; left: 0.4rem; top: 0; bottom: 0; width: 1px; background: linear-gradient(to bottom, transparent, var(--ds-rail) 6%, var(--ds-rail) 94%, transparent); }
.ds-timeline__item { position: relative; margin-bottom: 1.1rem; }
.ds-timeline__item::before { content: ""; position: absolute; left: -1.85rem; top: 1.4rem; width: 9px; height: 9px; border-radius: 50%; background: #fff; box-shadow: 0 0 12px rgba(255, 255, 255, 0.5); }
@media (max-width: 480px) {
    .ds-timeline { padding-left: 1.6rem; }
    .ds-timeline__item::before { left: -1.45rem; top: 1.2rem; }
}

/* ---- Button (filled primary / ghost) ---- */
.ds-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
    padding: 0.72rem 1rem;
    font-family: var(--ds-font-display); font-size: var(--ds-fs-xs); font-weight: 600;
    letter-spacing: 0.1em; text-transform: uppercase;
    border: 1px solid transparent; border-radius: var(--ds-radius-pill);
    cursor: pointer; text-decoration: none;
    transition: background var(--ds-dur) var(--ds-ease), border-color var(--ds-dur) var(--ds-ease), box-shadow var(--ds-dur) var(--ds-ease), color var(--ds-dur) var(--ds-ease), transform var(--ds-dur) var(--ds-ease);
}
.ds-btn svg { width: 15px; height: 15px; flex: 0 0 auto; }
.ds-btn:active { transform: translateY(1px); }
.ds-btn--primary { color: var(--ds-on-fill-strong); background: var(--ds-fill-strong); border-color: var(--ds-fill-strong); }
.ds-btn--primary:hover { background: var(--ds-fill-strong-hover); box-shadow: 0 0 20px var(--ds-fill-glow); }
.ds-btn--ghost { color: var(--ds-text-muted); background: var(--ds-surface-pill); border-color: var(--ds-border); }
.ds-btn--ghost:hover { color: #fff; background: var(--ds-surface-pill-hover); border-color: var(--ds-border-hover); }

/* ---- Skip-to-content link (visually hidden until keyboard focus — WCAG 2.4.1) ---- */
.ds-skip {
    position: fixed; top: 0.75rem; left: 0.75rem; z-index: 200; transform: translateY(-160%);
    padding: 0.6rem 1rem; font-family: var(--ds-font-display); font-size: var(--ds-fs-xs);
    font-weight: 600; letter-spacing: 0.06em; color: #0a0a0a; background: #fff;
    border-radius: var(--ds-radius-pill); text-decoration: none; transition: transform var(--ds-dur) var(--ds-ease);
}
.ds-skip:focus { transform: translateY(0); outline: 2px solid rgba(255, 255, 255, 0.6); outline-offset: 3px; }

/* ---- Micro-footer (uppercase display meta line) ---- */
.ds-footer {
    font-family: var(--ds-font-display); font-size: var(--ds-fs-meta);
    letter-spacing: var(--ds-tracking-wide); text-transform: uppercase; color: var(--ds-text-fainter);
}
.ds-footer a { color: inherit; text-decoration: none; transition: color var(--ds-dur) var(--ds-ease); }
.ds-footer a:hover { color: var(--ds-text-muted); }

/* ============================================================
   Movimento  (standard GazLabs, come gazlabs.it e leonidaguide.gg)
   Tra una pagina e l'altra niente salto: View Transitions tra documenti, la pagina
   vecchia dissolve (0,18 s), la nuova entra dissolvendo e salendo di 8px (0,42 s).
   Gli elementi con lo stesso view-transition-name sulle due pagine si spostano
   invece di ricomparire: nella home il titolo della card cliccata prende il nome
   solo durante la transizione (script in testa a index.html), la pagina d'arrivo
   lo porta fisso con .ds-vt-titolo. Un nome deve essere unico nella pagina.
   I <details> crescono in altezza invece di comparire.
   Browser senza supporto: tutto come prima. «Riduci movimento»: niente di tutto questo.
   Chi arriva con una transizione ha html.ds-vt-arrivo (lo mette lo script della
   pagina su `pagereveal`): le entrate a scaglioni del primo caricamento si spengono.
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
    @view-transition { navigation: auto; }

    ::view-transition-group(*) { animation-duration: 0.48s; animation-timing-function: var(--ds-ease); }
    ::view-transition-old(root) { animation: ds-vt-esce 0.18s var(--ds-ease-in) both; }
    ::view-transition-new(root) { animation: ds-vt-entra 0.42s var(--ds-ease) 0.06s both; }
    /* un nome presente su una sola delle due pagine esce o entra con il resto della pagina */
    ::view-transition-old(*):only-child { animation: ds-vt-esce 0.18s var(--ds-ease-in) both; }
    ::view-transition-new(*):only-child { animation: ds-vt-entra 0.42s var(--ds-ease) 0.06s both; }

    /* titolo del progetto: dal titolo della card all'h1 della pagina. Le due righe di testo
       hanno larghezze diverse: si ancorano in alto a sinistra invece di stirarsi */
    .ds-vt-titolo { view-transition-name: progetto-titolo; }
    ::view-transition-old(progetto-titolo),
    ::view-transition-new(progetto-titolo) { height: 100%; width: auto; object-fit: none; object-position: left top; }

    @keyframes ds-vt-esce  { to { opacity: 0; } }
    @keyframes ds-vt-entra { from { opacity: 0; transform: translateY(8px); } }
}
/* aperture: solo a schermo, la stampa vede i riquadri come sono */
@media screen and (prefers-reduced-motion: no-preference) {
    :root { interpolate-size: allow-keywords; }
    details::details-content {
        block-size: 0; overflow-y: clip;
        transition: block-size 0.45s var(--ds-ease), content-visibility 0.45s allow-discrete;
    }
    details[open]::details-content { block-size: auto; }
}
