/* Plastico Metavisuale — il sito classico, figlio di bluoberon.it.
   Dalla casa madre: la «Notte Oberon», il verde-acqua, Fraunces nei titoli, angoli vivi, il filo iridescente dell'anello,
   il piede, il pannello «Leggi come preferisci» e il consenso ai cookie. Di suo: Raleway nel testo e nel menu. */
@font-face { font-family: "Raleway"; src: url("/fonts/raleway-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Raleway"; src: url("/fonts/raleway-latin-wght-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces-latin-wght-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }

:root {
  /* Notte Oberon */
  --fondo: #071219; --fondo-2: #0b1d28; --fondo-3: #102837; --nero: #040b10;
  --filo: rgba(233, 241, 244, .10); --filo-forte: rgba(233, 241, 244, .18);
  /* identità */
  --teal: #268ba0; --teal-chiaro: #52c2d8; --teal-medio: #1f7a8d; --teal-scuro: #16606f;
  --forte: #e9f1f4; --testo: #a7bcc6; --su-colore: #fff;
  --iride: linear-gradient(100deg, #ff5a4e 0%, #ffa62b 18%, #65bc7b 38%, #35b5cc 55%, #3a8fd9 72%, #c2317e 100%);
  --titoli: "Fraunces", Georgia, "Times New Roman", serif;
  --raggio: 2px;
  --testata: 68px; --larghezza: 1100px; --margine: clamp(1rem, 3vw, 2rem);
  --vela: rgba(7, 18, 25, .86);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--testata) + 8px); -webkit-text-size-adjust: 100%; scrollbar-color: var(--teal-scuro) var(--fondo); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }
body { margin: 0; background: var(--fondo); color: var(--testo); font: 400 1.125rem/1.7 "Raleway", Arial, Helvetica, sans-serif; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--forte); text-underline-offset: .2em; }
h1, h2, h3 { margin: 0; color: var(--forte); font-family: var(--titoli); font-weight: 400; line-height: 1.2; }
ul[role="list"] { list-style: none; margin: 0; padding: 0; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--teal-chiaro); outline-offset: 3px; }
.solo-lettori { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.salta { position: fixed; left: 1rem; top: -4rem; z-index: 6000; background: var(--forte); color: var(--fondo); padding: .7rem 1rem; font-weight: 700; }
.salta:focus { top: 1rem; }

/* testata: menu, accessibilità e firma di blu oberon */
.testata { position: fixed; inset: 0 0 auto 0; z-index: 1000; height: var(--testata); display: flex; align-items: center; gap: .75rem; padding: 0 max(var(--margine), calc((100% - 1180px) / 2)); background: var(--vela); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid var(--filo); }
.testata:has(.a11y-btn[aria-expanded="true"]) { z-index: 5001; }
.menu { flex: 1; height: 100%; display: flex; align-items: center; min-width: 0; }
.menu ul { display: flex; align-items: center; width: 100%; }
.menu a { display: block; padding: 0 .85rem; line-height: var(--testata); color: var(--testo); text-decoration: none; text-transform: uppercase; font-size: .9rem; letter-spacing: .08em; transition: color .25s; }
.menu li:first-child a { padding-left: 0; }
.menu a:hover, .menu a[aria-current="true"] { color: var(--forte); }
.menu a[aria-current="true"] { box-shadow: inset 0 -2px 0 var(--teal-chiaro); }
.menu .lingua { margin-left: auto; }
.menu .lingua a { font-weight: 700; }
.menu .apri { display: none; }
.casa { display: flex; align-items: center; gap: .55rem; flex: none; text-decoration: none; opacity: .92; transition: opacity .25s; }
.casa:hover { opacity: 1; }
.casa .anello { width: 26px; height: 26px; }
.casa .parola { width: auto; height: 15px; }

@media (max-width: 1100px) {
  .menu { order: 3; flex: none; }
  .a11y { order: 2; margin-left: auto; }
  .menu .apri { display: grid; place-items: center; width: 48px; height: 48px; margin-right: -12px; }
  .righe, .righe::before, .righe::after { display: block; width: 24px; height: 2px; background: var(--forte); transition: transform .3s, background .3s; }
  .righe { position: relative; }
  .righe::before, .righe::after { content: ""; position: absolute; left: 0; }
  .righe::before { top: -7px; } .righe::after { top: 7px; }
  .apri[aria-expanded="true"] .righe { background: transparent; }
  .apri[aria-expanded="true"] .righe::before { transform: translateY(7px) rotate(45deg); }
  .apri[aria-expanded="true"] .righe::after { transform: translateY(-7px) rotate(-45deg); }
  .menu ul { position: fixed; inset: var(--testata) 0 auto 0; flex-direction: column; align-items: stretch; background: var(--fondo); border-top: 1px solid var(--filo); max-height: calc(100dvh - var(--testata)); overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility 0s .25s; }
  .menu ul.aperto { visibility: visible; opacity: 1; transform: none; transition: opacity .25s, transform .25s; }
  .menu li { border-bottom: 1px solid var(--filo); }
  .menu a, .menu li:first-child a { padding: 0 var(--margine); line-height: 3.5rem; font-size: 1rem; }
  .menu .lingua { margin-left: 0; }
}

/* accessibilità: bottone e pannello come su bluoberon.it */
.a11y { position: relative; flex: none; }
.a11y-btn { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border: 1px solid var(--filo-forte); border-radius: var(--raggio); color: var(--testo); transition: color .3s, border-color .3s; }
.a11y-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.a11y-btn svg circle { fill: currentColor; stroke: none; }
.a11y-btn:hover, .a11y-btn[aria-expanded="true"] { color: var(--forte); border-color: var(--teal-chiaro); }
.a11y-panel { position: fixed; top: calc(var(--testata) - .25rem); right: max(1rem, calc((100% - 1180px) / 2)); z-index: 1103; width: min(23.5rem, calc(100% - 2rem)); max-height: calc(100svh - var(--testata) - 1rem); overflow: auto; overscroll-behavior: contain; display: grid; gap: .5rem; padding: 1.15rem; background: var(--fondo-2); color: var(--forte); border: 1px solid var(--filo-forte); border-radius: var(--raggio); box-shadow: 0 24px 60px -20px rgba(0,0,0,.75); }
.a11y-panel[hidden] { display: none; }
.a11y-title { margin: 0 0 .35rem; font-family: var(--titoli); font-size: 1.25rem; line-height: 1.3; }
.a11y-opt { display: flex; align-items: center; gap: .75rem; width: 100%; min-height: 3.6rem; padding: .7rem .9rem; text-align: start; border: 1px solid var(--filo-forte); border-radius: var(--raggio); transition: border-color .25s, background .25s; }
.a11y-opt:hover { border-color: var(--teal-chiaro); }
.a11y-opt[aria-checked="true"] { border-color: var(--teal-chiaro); background: color-mix(in srgb, var(--teal) 14%, transparent); }
.a11y-opt-text { flex: 1; display: grid; gap: .1rem; }
.a11y-opt-name { font-weight: 700; font-size: .95rem; line-height: 1.35; }
.a11y-opt-desc { font-size: .82rem; line-height: 1.4; color: var(--testo); }
.a11y-track { flex: none; position: relative; width: 2.9rem; height: 1.6rem; border-radius: 999px; border: 1.5px solid var(--testo); transition: background .25s, border-color .25s; }
.a11y-track::after { content: ""; position: absolute; top: 50%; left: .2rem; width: 1.05rem; height: 1.05rem; border-radius: 50%; background: var(--testo); translate: 0 -50%; transition: left .25s, background .25s; }
.a11y-opt[aria-checked="true"] .a11y-track { background: var(--iride); border-color: transparent; }
.a11y-opt[aria-checked="true"] .a11y-track::after { left: calc(100% - 1.25rem); background: #fff; }
.a11y-state { flex: none; min-width: 2.2rem; text-align: end; font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--testo); }
.a11y-opt[aria-checked="true"] .a11y-state { color: var(--forte); }
.a11y-reset { margin-top: .5rem; padding: .75rem 1rem; border: 1px solid var(--filo-forte); border-radius: var(--raggio); font-size: .88rem; font-weight: 700; }
.a11y-reset:hover { border-color: var(--teal-chiaro); }
.a11y-note { margin: 0; font-size: .82rem; line-height: 1.5; color: var(--testo); }

/* giostra in apertura */
.giostra { position: relative; background: var(--fondo-2); margin-top: var(--testata); }
.slides { position: relative; width: 100%; aspect-ratio: 1400 / 700; max-height: calc(100svh - var(--testata)); overflow: hidden; }
@media (max-width: 600px) { .slides { aspect-ratio: 4 / 3; } }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.slide.attiva { opacity: 1; z-index: 1; }
.slide:first-child::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,18,25,.6), rgba(7,18,25,0) 70%); pointer-events: none; }
@media (max-width: 600px) { .slide:first-child::after { background: linear-gradient(0deg, rgba(7,18,25,.85), rgba(7,18,25,0) 65%); } }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide-titolo { z-index: 2; position: absolute; left: 0; right: 0; top: 50%; translate: 0 -50%; max-width: 1180px; margin: 0 auto; padding: 0 calc(var(--margine) + 3.5rem); color: #fff; font-family: var(--titoli); font-weight: 300; font-size: clamp(1.35rem, .7rem + 2.6vw, 2.6rem); line-height: 1.18; text-wrap: balance; text-shadow: 0 1px 14px rgba(0,0,0,.6); }
.slide-titolo b { font-weight: 400; font-style: italic; }
.freccia { position: absolute; top: 50%; translate: 0 -50%; z-index: 3; width: 52px; height: 52px; display: grid; place-items: center; border-radius: var(--raggio); background: rgba(7,18,25,.55); color: #fff; transition: background .2s; }
.freccia:hover { background: rgba(7,18,25,.85); }
.freccia svg, .comandi svg, .su svg, .chiudi svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.freccia.prec { left: var(--margine); } .freccia.succ { right: var(--margine); }
.comandi { position: absolute; z-index: 3; left: 50%; bottom: 1rem; translate: -50% 0; display: flex; align-items: center; gap: .35rem; padding: .25rem .5rem; border-radius: var(--raggio); background: rgba(7,18,25,.5); }
.comandi button { width: 32px; height: 32px; display: grid; place-items: center; color: #fff; }
.puntino::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 2px solid #fff; }
.puntino[aria-current="true"]::before { background: #fff; }
.pausa .vai { display: none; fill: currentColor; stroke: none; }
.pausa.ferma .vai { display: block; } .pausa.ferma .ferma { display: none; }
@media (max-width: 600px) { .giostra .freccia { display: none; } .slide-titolo { top: auto; bottom: 3.6rem; translate: none; padding: 0 var(--margine); font-size: 1.25rem; } .comandi { bottom: .6rem; } }

/* fasce */
.fascia { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.fascia + .fascia { padding-top: 0; }
.fascia.blu, .fascia.verde, .fascia.nera, .fascia.scura { padding-top: clamp(3rem, 7vw, 5.5rem); }
.fascia.blu { background: var(--fondo-3); }
.fascia.verde { background: var(--teal-medio); color: #fff; --forte: #fff; --testo: #eaf6f8; }
.fascia.nera { background: var(--nero); }
.riga { max-width: var(--larghezza); margin: 0 auto; padding: 0 var(--margine); }
.grande { font-size: clamp(1.75rem, 1rem + 2.6vw, 2.8rem); font-weight: 300; text-align: center; margin-bottom: 2rem; text-wrap: balance; }
.grande::after { content: ""; display: block; width: 3.5rem; height: 2px; margin: 1.1rem auto 0; background: var(--iride); }
.fascia.verde .grande::after { background: #fff; }
.testo { max-width: 72ch; margin: 0 auto; }
#checosa .testo { text-align: left; }
#checosa .bottoni { margin-top: 2.25rem; }

/* scatole con icona o numero */
.scatole.tre { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3rem); }
.scatole li { text-align: center; }
.scatole h3 { font-size: 1.45rem; margin: 1rem 0 .9rem; }
.scatole p { margin: 0; color: var(--forte); text-align: left; font-size: 1.0625rem; opacity: .9; }
.tempi li { text-align: left; padding-top: 1.25rem; border-top: 1px solid var(--filo-forte); }
.numero { display: block; font-family: var(--titoli); font-style: italic; font-weight: 300; font-size: 2.4rem; line-height: 1; color: var(--teal-chiaro); }
.cerchio { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--teal); color: var(--teal-chiaro); }
.cerchio svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 760px) { .scatole.tre { grid-template-columns: 1fr; } }

/* galleria a nastro */
.galleria { position: relative; background: var(--fondo-2); }
.nastro { display: grid; grid-auto-flow: column; grid-auto-columns: calc(100% / 3); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.nastro::-webkit-scrollbar { display: none; }
.nastro li { scroll-snap-align: start; }
.foto { display: block; width: 100%; background: #000; overflow: hidden; }
.foto img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s cubic-bezier(.22,1,.36,1); }
.foto:hover img, .foto:focus-visible img { transform: scale(1.05); }
.foto:focus-visible { outline-offset: -4px; }
@media (max-width: 700px) { .nastro { grid-auto-columns: 85%; } .galleria .freccia { width: 44px; height: 44px; } }

/* download */
.scarica { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem 2.5rem; }
.scarica a { display: flex; align-items: center; gap: .9rem; color: var(--forte); text-decoration: none; max-width: 22rem; }
.scarica .nome { font-weight: 600; line-height: 1.35; }
.scarica .peso { display: block; font-size: .875rem; color: var(--testo); }
.scarica .file { display: flex; flex-direction: column; }
.scarica a:hover .nome { text-decoration: underline; }
.scarica .cerchio { flex: none; transition: background .2s, color .2s; }
.scarica a:hover .cerchio { background: var(--teal-medio); color: #fff; }

/* fascia con il video di sfondo */
.fondo-video { position: relative; height: 420px; overflow: hidden; background: var(--fondo) url("/media/sito/alpi-1400.webp") center / cover no-repeat; }
.fondo-video::after { content: ""; position: absolute; inset: 0; background: rgba(7,18,25,.25); }
.fondo-video iframe { position: absolute; left: 50%; top: 50%; width: max(100%, 746px); aspect-ratio: 16 / 9; translate: -50% -50%; border: 0; pointer-events: none; opacity: 0; transition: opacity 1.2s; }
.fondo-video iframe.pronto { opacity: 1; }
@media (max-width: 800px) { .fondo-video { display: none; } }

/* video e testi a due colonne */
.tre-due { display: grid; grid-template-columns: 3fr 2fr; gap: clamp(1.5rem, 4vw, 2.5rem); align-items: start; }
.due-tre { display: grid; grid-template-columns: 2fr 3fr; gap: clamp(1.5rem, 4vw, 2.5rem); align-items: start; }
.tre-due .testo p, .due-tre .testo { margin: 0; }
@media (max-width: 800px) { .tre-due, .due-tre { grid-template-columns: 1fr; } }
.filmato { position: relative; aspect-ratio: 16 / 9; background: #000; }
.filmato iframe, .avvia { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.avvia { background: #000; }
.avvia img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .2s; }
.avvia:hover img { opacity: 1; }
.play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 72px; height: 50px; border-radius: var(--raggio); background: rgba(7,18,25,.8); transition: background .2s; }
.play::after { content: ""; position: absolute; left: 50%; top: 50%; translate: -35% -50%; border: 11px solid transparent; border-left: 18px solid #fff; border-right: 0; }
.avvia:hover .play, .avvia:focus-visible .play { background: var(--teal-medio); }

/* il futuro è adesso */
.invito { max-width: 60rem; margin: 0 auto 2rem; color: var(--forte); font-size: clamp(1.1rem, 1rem + .3vw, 1.3rem); line-height: 1.55; }
.invito a { font-weight: 600; }
.modulo { min-height: 50vh; display: grid; place-items: center; }
.modulo iframe { width: 100%; height: 60vh; min-height: 420px; border: 0; }

/* pulsanti come su bluoberon.it: angoli vivi, maiuscolo spaziato */
.bottoni { display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem; margin: 0; }
.bottone { display: inline-flex; align-items: center; justify-content: center; padding: .95rem 1.9rem; border: 1.5px solid transparent; border-radius: var(--raggio); background: linear-gradient(135deg, var(--teal-medio), var(--teal-scuro)); color: #fff; font-weight: 700; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; box-shadow: 0 10px 30px -12px rgba(38,139,160,.55); transition: transform .4s cubic-bezier(.34,1.4,.44,1), box-shadow .4s, border-color .3s, background .3s; }
.bottone:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(38,139,160,.75); }
.bottone.chiaro { background: transparent; border-color: var(--filo-forte); color: var(--forte); box-shadow: none; }
.bottone.chiaro:hover { border-color: var(--teal-chiaro); }
.fascia.verde .bottone { background: #fff; color: var(--teal-scuro); }

/* piede: lo stesso di bluoberon.it */
.piede { position: relative; border-top: 1px solid var(--filo); background: radial-gradient(90% 120% at 50% 130%, rgba(38,139,160,.18) 0%, transparent 60%), var(--fondo); }
.motto { margin: 0; padding: clamp(3rem, 7vw, 6rem) 1rem clamp(1.75rem, 3.5vw, 3rem); text-align: center; white-space: nowrap; font-weight: 300; font-size: clamp(.55rem, 3vw, 1.35rem); letter-spacing: clamp(.1em, .85vw, .58em); text-indent: clamp(.1em, .85vw, .58em); text-transform: uppercase; color: var(--teal-chiaro); }
.motto sup { font-size: .5em; letter-spacing: .1em; margin-left: .3em; opacity: .75; }
.motto .accendi { background-color: var(--teal-chiaro); background-image: linear-gradient(105deg, transparent 0 42%, #ecffff 50%, transparent 58% 100%); background-size: 220% 100%; background-repeat: no-repeat; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: luce 5s linear infinite; }
@keyframes luce { 0%, 86% { background-position: 115% 0; } 100% { background-position: -15% 0; } }
.piede-griglia { width: min(1180px, 92vw); margin: 0 auto; display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.6fr; gap: clamp(2rem, 4vw, 3.5rem); padding: clamp(1.75rem, 3.5vw, 3rem) 0 clamp(3rem, 7vw, 5rem); }
.piede-col h2 { margin-bottom: 1.1rem; font-family: inherit; font-size: .78rem; font-weight: 800; letter-spacing: .28em; text-transform: uppercase; color: var(--testo); }
.piede-col ul { display: grid; gap: .55rem; }
.piede-col li, .piede-col a { color: var(--testo); font-size: .95rem; line-height: 1.55; text-decoration: none; }
.piede-col a { transition: color .3s, padding-left .3s; overflow-wrap: anywhere; }
.piede-col a:hover { color: var(--forte); padding-left: .3rem; }
.piede-col a[aria-current="page"] { color: var(--forte); }
.piede-marca p { margin: 1rem 0 0; max-width: 34ch; font-size: .95rem; line-height: 1.6; color: var(--testo); }
.piede-marca .casa .anello { width: 40px; height: 40px; }
.piede-marca .casa .parola { height: 22px; }
.piede-legale { border-top: 1px solid var(--filo); width: min(1180px, 92vw); margin: 0 auto; padding: 1.4rem 0 1.8rem; display: grid; gap: .7rem; }
.copyright { margin: 0; font-size: .72rem; line-height: 1.7; color: var(--testo); }
.piede-link { margin: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; font-size: .9rem; }
.piede-link a, .link-cookie { color: var(--testo); text-decoration: underline; text-underline-offset: 2px; }
.piede-link a:hover, .link-cookie:hover { color: var(--forte); }
@media (max-width: 900px) { .piede-griglia { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .piede-griglia { grid-template-columns: 1fr; } }

.su { position: fixed; right: 1rem; bottom: 1rem; z-index: 40; width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--raggio); background: rgba(7,18,25,.7); border: 1px solid var(--filo-forte); color: #fff; opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; }
.su.visibile { opacity: 1; visibility: visible; transition: opacity .3s; }

/* consenso ai cookie (Consent Mode v2), come su bluoberon.it */
.cookie { position: fixed; left: 0; right: 0; bottom: 0; z-index: 5000; padding: clamp(.8rem, 2vw, 1.15rem); background: rgba(7,18,25,.97); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-top: 1px solid var(--filo); color: #e9f1f4; animation: su-cookie .4s cubic-bezier(.22,1,.36,1) both; }
.cookie[hidden] { display: none; }
@keyframes su-cookie { from { transform: translateY(100%); opacity: 0; } to { transform: none; opacity: 1; } }
.cookie-dentro { max-width: 1100px; margin: 0 auto; display: grid; gap: .85rem; }
.cookie-titolo { margin: 0 0 .2rem; font-family: var(--titoli); font-size: 1.12rem; }
.cookie-testo { margin: 0; color: #a7bcc6; font-size: .92rem; line-height: 1.5; }
.cookie-testo a { color: var(--teal-chiaro); }
.cookie-scelte { display: grid; gap: .55rem; }
.cookie-scelte[hidden] { display: none; }
.cookie-opz { display: flex; gap: .6rem; align-items: flex-start; font-size: .88rem; color: #a7bcc6; cursor: pointer; }
.cookie-opz input { margin: .2rem 0 0; flex: none; accent-color: var(--teal-medio); }
.cookie-opz b { color: #e9f1f4; }
.cookie-opz.bloccata { opacity: .8; cursor: default; }
.cookie-azioni { display: flex; flex-wrap: wrap; gap: .55rem; }
.cookie-btn { padding: .6rem 1.15rem; border: 1px solid rgba(233,241,244,.18); border-radius: var(--raggio); font-weight: 700; color: #e9f1f4; transition: border-color .25s, background .25s; }
.cookie-btn[hidden] { display: none; }
.cookie-btn:hover { border-color: var(--teal-chiaro); }
.cookie-btn.pieno { background: var(--teal-medio); border-color: var(--teal-medio); color: #fff; }
.cookie-btn.pieno:hover { background: var(--teal-scuro); border-color: var(--teal-scuro); }
@media (min-width: 760px) { .cookie-dentro { grid-template-columns: 1fr auto; align-items: center; } .cookie-scelte { grid-column: 1 / -1; } .cookie-azioni { justify-content: flex-end; } }

/* fotografia ingrandita */
.lente { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(4,11,16,.94); color: #fff; }
.lente[open] { display: grid; place-items: center; }
.lente::backdrop { background: rgba(0,0,0,.6); }
.lente img { max-width: min(92vw, 1000px); max-height: 82dvh; width: auto; object-fit: contain; }
.lente .didascalia { position: absolute; left: 0; right: 0; bottom: 1rem; margin: 0 auto; padding: 0 4rem; max-width: 50rem; text-align: center; font-size: 1rem; }
.lente .chiudi { position: absolute; top: 1rem; right: 1rem; width: 48px; height: 48px; display: grid; place-items: center; background: rgba(255,255,255,.08); border-radius: var(--raggio); color: #fff; }

/* ==== Le quattro preferenze di lettura (attributi su <html>, come su bluoberon.it) ==== */
html[data-testo="grande"] { font-size: 120%; }
@media (min-width: 1101px) { html[data-testo="grande"] .menu { zoom: calc(1 / 1.2); } }

html[data-fondo="chiaro"] {
  --fondo: #faf8f4; --fondo-2: #f1ede5; --fondo-3: #e6e0d4; --nero: #ece7dd;
  --filo: rgba(20,35,43,.14); --filo-forte: rgba(20,35,43,.3);
  --forte: #14232b; --testo: #3c5260; --teal-chiaro: #176d80; --vela: rgba(250,248,244,.9);
  color-scheme: light;
}
html[data-fondo="chiaro"] .casa .parola { filter: invert(1) brightness(.25); }
html[data-fondo="chiaro"] .piede { background: radial-gradient(90% 120% at 50% 130%, rgba(38,139,160,.14) 0%, transparent 60%), var(--fondo); }
html[data-fondo="chiaro"] .motto .accendi { -webkit-text-fill-color: currentColor; background: none; animation: none; }

html[data-contrasto="alto"] { --filo: rgba(255,255,255,.5); --filo-forte: #fff; --testo: #fff; --forte: #fff; --fondo-2: #000; --fondo-3: #000; --fondo: #000; --nero: #000; --vela: #000; --teal-chiaro: #7fe0f2; }
html[data-contrasto="alto"][data-fondo="chiaro"] { --filo: rgba(0,0,0,.6); --filo-forte: #000; --testo: #000; --forte: #000; --fondo: #fff; --fondo-2: #fff; --fondo-3: #fff; --nero: #fff; --vela: #fff; --teal-chiaro: #0b4f5d; }
html[data-contrasto="alto"] a { text-decoration: underline; }
html[data-contrasto="alto"] :is(.bottone, .cookie-btn, .a11y-opt, .freccia) { border: 2px solid currentColor; }
html[data-contrasto="alto"] .slide:first-child::after { background: linear-gradient(90deg, rgba(0,0,0,.85), rgba(0,0,0,.2) 75%); }

html[data-moto="fermo"] { scroll-behavior: auto; }
html[data-moto="fermo"] *, html[data-moto="fermo"] *::before, html[data-moto="fermo"] *::after { animation: none !important; transition: none !important; }
html[data-moto="fermo"] .fondo-video iframe { display: none; }
