/* Vindictus: Defying Fate ITALIA: la pietra ogham.
   Colori: ardesia #262c31, pietra #323a40, luna #e7eaec, argento #aab3bb, mantello #b3121b, brace #ee6c62,
   lichene #8e9c72, pergamena #e4dccb, inchiostro #2a2420.
   Caratteri: Uncial Antiqua (titoli, onciale celtica) e Alegreya Sans (testo). Entrambi SIL Open Font License. */

@font-face { font-family: "Uncial Antiqua"; src: url("../fonts/UncialAntiqua.woff2") format("woff2"); font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Uncial Antiqua"; src: url("../fonts/UncialAntiqua-ext.woff2") format("woff2"); font-display: swap; unicode-range: U+0100-024F, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Alegreya Sans"; src: url("../fonts/AlegreyaSans.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Alegreya Sans"; src: url("../fonts/AlegreyaSans-ext.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Alegreya Sans"; src: url("../fonts/AlegreyaSans-700.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Alegreya Sans"; src: url("../fonts/AlegreyaSans-700-ext.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Alegreya Sans"; src: url("../fonts/AlegreyaSans-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Alegreya Sans"; src: url("../fonts/AlegreyaSans-italic-ext.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF; }

:root {
	--ardesia: #262c31;
	--pietra: #323a40;
	--pietra-chiara: #414a52;
	--luna: #e7eaec;
	--argento: #aab3bb;
	--mantello: #b3121b;
	--brace: #ee6c62;
	--lichene: #8e9c72;
	--pergamena: #e4dccb;
	--inchiostro: #2a2420;
	--seppia: #6b4e37;
	--bordo: 64px;
	--titoli: "Uncial Antiqua", "Palatino Linotype", Georgia, serif;
	--testo: "Alegreya Sans", "Segoe UI", system-ui, sans-serif;
	/* grana della pietra: rumore SVG in linea */
	--grana: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23g)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--ardesia) var(--grana);
	color: var(--luna);
	font-family: var(--testo);
	font-size: 1.125rem;
	line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brace); text-underline-offset: .18em; }
a:hover { color: #ff8f86; }
:focus-visible { outline: 3px solid var(--brace); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--titoli); font-weight: 400; line-height: 1.1; margin: 0 0 .5em; }
h2 { font-size: clamp(2rem, 4.6vw, 3.3rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }
code { font-size: .95em; background: rgba(0, 0, 0, .3); padding: .05em .35em; border-radius: 3px; }

.vdi-salta { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--luna); color: var(--ardesia); padding: .6em 1em; }
.vdi-salta:focus { left: 1rem; top: 1rem; }

main { overflow-x: clip; }
.vdi-pietra { margin-left: var(--bordo); }

/* ---------- Il bordo della pietra: le tacche dei capitoli ---------- */
.vdi-bordo {
	position: fixed; inset: 0 auto 0 0; z-index: 20;
	width: var(--bordo);
	background: var(--pietra) var(--grana);
	border-right: 1px solid rgba(255, 255, 255, .08);
	box-shadow: inset -6px 0 10px rgba(0, 0, 0, .35);
}
.vdi-bordo ol { list-style: none; margin: 0; padding: 1.5rem 0; height: 100%; display: flex; flex-direction: column; justify-content: space-evenly; align-items: center; }
.vdi-bordo a { position: relative; display: block; color: var(--argento); opacity: .55; padding: .2rem .5rem; transition: color .3s, opacity .3s; }
.vdi-bordo .vdi-ogham { height: min(140px, calc((100vh - 6rem) / 7 - 8px)); width: auto; }
.vdi-bordo a:hover, .vdi-bordo a:focus-visible { opacity: 1; color: var(--luna); }
.vdi-bordo a.is-attivo { opacity: 1; color: var(--brace); }
.vdi-bordo__nome {
	position: absolute; left: calc(100% + 10px); top: 50%; transform: translateY(-50%);
	white-space: nowrap; background: var(--inchiostro); color: var(--luna);
	font-size: .9rem; padding: .25em .7em; border-radius: 3px;
	opacity: 0; pointer-events: none; transition: opacity .2s;
}
.vdi-bordo a:hover .vdi-bordo__nome, .vdi-bordo a:focus-visible .vdi-bordo__nome { opacity: 1; }

/* ---------- Pulsanti ---------- */
.vdi-pulsanti { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0 1rem; }
.vdi-bottone {
	display: inline-flex; align-items: center; gap: .55em;
	font: 700 1.05rem/1.2 var(--testo); text-decoration: none; cursor: pointer;
	padding: .85em 1.5em; border: 2px solid transparent; color: var(--luna);
	clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
	transition: background-color .2s, color .2s;
}
.vdi-bottone--discord, .vdi-bottone--azione { background: var(--mantello); }
.vdi-bottone--discord:hover, .vdi-bottone--azione:hover { background: #d01a24; color: #fff; }
.vdi-bottone--secondario { border-color: var(--argento); background: rgba(38, 44, 49, .6); }
.vdi-bottone--secondario:hover { background: var(--luna); color: var(--ardesia); }
.vdi-bottone--reddit { background: #d93a00; }
.vdi-bottone:focus-visible { clip-path: none; }
.vdi-icona { flex: none; }

/* ---------- Capitoli ---------- */
.vdi-capitolo { position: relative; padding: clamp(4rem, 9vw, 7.5rem) clamp(1.25rem, 5vw, 4.5rem); }
.vdi-capitolo__intro { max-width: 62ch; color: var(--argento); }

/* ---------- Ingresso ---------- */
.vdi-ingresso { position: relative; min-height: 94vh; display: grid; align-items: center; padding: 3rem clamp(1.25rem, 5vw, 4.5rem); isolation: isolate; }
.vdi-ingresso__sfondo { position: absolute; inset: 0; z-index: -1; }
.vdi-ingresso__sfondo img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; filter: saturate(.75); }
.vdi-ingresso__sfondo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ardesia) 18%, rgba(38, 44, 49, .82) 50%, rgba(38, 44, 49, .35)); }
.vdi-ingresso__dentro { display: grid; grid-template-columns: minmax(220px, 380px) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; max-width: 1180px; }
.vdi-ingresso__logo { width: 100%; border-radius: 50%; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .6)); }
.vdi-ingresso h1 { font-size: clamp(2.6rem, 6.2vw, 5.1rem); margin-bottom: .3em; text-shadow: 0 2px 14px rgba(0, 0, 0, .55); }
.vdi-ingresso__italia { display: block; font-size: .5em; letter-spacing: .12em; margin-top: .35em; color: var(--argento); }
.vdi-ingresso__ogham { color: var(--brace); max-width: 100%; height: auto; margin: .2rem 0 1.4rem; filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .6)); }
.vdi-ingresso__attacco { font-size: clamp(1.15rem, 1.7vw, 1.35rem); max-width: 46ch; }
.vdi-ingresso__nota { font-size: .95rem; color: var(--argento); max-width: 52ch; font-style: italic; }

/* ---------- Il contratto ---------- */
.vdi-pergamena {
	position: relative; max-width: 980px;
	background: var(--pergamena) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.6' numOctaves='4'/%3E%3CfeColorMatrix values='0 0 0 0 .42 0 0 0 0 .31 0 0 0 0 .2 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23p)'/%3E%3C/svg%3E");
	color: var(--inchiostro);
	padding: clamp(2rem, 5vw, 3.6rem) clamp(1.4rem, 5vw, 3.8rem);
	clip-path: polygon(0 1.2%, 6% 0, 14% 1%, 27% .2%, 41% 1.1%, 55% .1%, 70% .9%, 84% 0, 100% .8%, 99.4% 22%, 100% 47%, 99.3% 75%, 100% 99%, 86% 100%, 71% 99.1%, 56% 100%, 40% 99.2%, 25% 100%, 11% 99.3%, 0 100%, .6% 74%, 0 50%, .7% 25%);
	box-shadow: 0 20px 50px rgba(0, 0, 0, .45);
}
.vdi-pergamena h2 { color: var(--mantello); }
.vdi-pergamena__premessa { font-style: italic; max-width: 60ch; color: var(--seppia); }
.vdi-pergamena a { color: var(--mantello); }
.vdi-clausole { margin: 1.8rem 0 0; display: grid; gap: 1.05rem; max-width: 60ch; }
.vdi-clausole > div { padding-bottom: 1rem; border-bottom: 1px dashed rgba(107, 78, 55, .45); }
.vdi-clausole dt { font-family: var(--titoli); font-size: 1.15rem; color: var(--seppia); margin-bottom: .15rem; }
.vdi-clausole dd { margin: 0; }
.vdi-pergamena__foto { margin: 2rem 0 0; max-width: 60ch; }
.vdi-pergamena__foto img { border: 6px solid #fff8ea; box-shadow: 0 6px 16px rgba(42, 36, 32, .3); transform: rotate(-1.2deg); }
.vdi-pergamena__foto figcaption { font-size: .92rem; color: var(--seppia); margin-top: .7rem; font-style: italic; }
.vdi-firma-riga { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-top: 2.5rem; }
.vdi-firma-riga__linea { flex: 1 1 240px; border-bottom: 2px solid var(--inchiostro); padding-bottom: .2rem; font-style: italic; color: var(--seppia); font-size: .95rem; }
.vdi-sigillo {
	display: grid; place-items: center; text-align: center;
	width: 132px; aspect-ratio: 1; border-radius: 47% 53% 50% 50% / 52% 48% 52% 48%;
	background: radial-gradient(circle at 38% 32%, #d83a3a, var(--mantello) 45%, #6e0a10 100%);
	box-shadow: 0 6px 14px rgba(42, 36, 32, .45), inset 0 -6px 10px rgba(0, 0, 0, .35), inset 0 4px 8px rgba(255, 255, 255, .18);
	color: #fde8e3; font: 700 1rem/1.15 var(--testo); text-decoration: none; padding: 1rem;
	transition: transform .2s;
}
.vdi-pergamena .vdi-sigillo { color: #fde8e3; }
.vdi-pergamena .vdi-sigillo:hover { color: #fff; transform: rotate(-6deg) scale(1.04); }
.vdi-sigillo span { border: 2px dashed rgba(253, 232, 227, .55); border-radius: 50%; width: 100%; aspect-ratio: 1; display: grid; place-items: center; padding: .5rem; }

@media (min-width: 1100px) {
	.vdi-pergamena { display: grid; grid-template-columns: minmax(0, 1fr) 300px; column-gap: 3rem; }
	.vdi-pergamena > h2, .vdi-pergamena__premessa, .vdi-firma-riga { grid-column: 1 / -1; }
	.vdi-pergamena__foto { grid-column: 2; grid-row: 3; margin-top: 2rem; align-self: start; position: sticky; top: 2rem; }
}

/* ---------- La prova del tempismo ---------- */
.vdi-prova { display: grid; grid-template-columns: minmax(0, 36ch) minmax(0, 1fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.vdi-prova__onesta { color: var(--argento); font-style: italic; font-size: .98rem; }
.vdi-arena {
	position: relative; aspect-ratio: 16 / 11; min-height: 380px; overflow: hidden; isolation: isolate;
	border: 1px solid rgba(255, 255, 255, .12); background: #15191c;
	display: grid; grid-template-rows: auto 1fr auto auto; justify-items: center; padding: 1rem;
}
.vdi-arena__sfondo { position: absolute; inset: 0; z-index: -1; }
.vdi-arena__sfondo img { width: 100%; height: 100%; object-fit: cover; opacity: .55; transition: opacity .4s, filter .4s; }
.vdi-arena.is-colpito .vdi-arena__sfondo img { filter: saturate(0) brightness(1.3); }
.vdi-arena__stato { justify-self: stretch; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .4rem 1rem; font-size: .95rem; text-shadow: 0 1px 4px #000; }
.vdi-arena__stato p { margin: 0; display: flex; align-items: center; gap: .6rem; }
.vdi-tacche { display: inline-flex; gap: 5px; align-items: center; }
.vdi-tacche i { display: block; width: 5px; height: 18px; background: var(--brace); border-radius: 1px; transition: background-color .25s, transform .25s; }
.vdi-tacche--vite i { background: var(--luna); }
.vdi-tacche i.is-spento { background: rgba(255, 255, 255, .18); transform: scaleY(.6); }
.vdi-arena__bersaglio { width: min(300px, 70%); align-self: center; overflow: visible; }
.vdi-arena__finestra { fill: none; stroke: var(--luna); stroke-width: 10; opacity: .55; }
.vdi-arena__minaccia { fill: none; stroke: var(--brace); stroke-width: 5; opacity: 0; }
.vdi-arena.is-attiva .vdi-arena__minaccia { opacity: 1; }
.vdi-arena__scudo { fill: var(--pietra-chiara); stroke: var(--luna); stroke-width: 2.5; transition: transform .2s; }
.vdi-arena.is-perfetta .vdi-arena__finestra { stroke: var(--brace); opacity: 1; }
.vdi-arena.is-perfetta .vdi-arena__scudo { transform: translateX(26px); }
.vdi-arena__messaggio { margin: .3rem 0 .6rem; font-family: var(--titoli); font-size: clamp(1.2rem, 2.4vw, 1.6rem); text-align: center; text-shadow: 0 2px 8px #000; min-height: 1.4em; }
.vdi-arena__comandi .vdi-bottone { min-width: 13rem; justify-content: center; font-size: 1.15rem; }
.vdi-arena.is-contrattacco .vdi-bottone--azione { background: var(--luna); color: var(--mantello); }

/* ---------- Cinque nomi sulla pietra ---------- */
.vdi-nomi { background: linear-gradient(var(--ardesia), #20262a); }
.vdi-menhir { list-style: none; padding: 0; margin: 3rem 0 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(.8rem, 2vw, 1.6rem); align-items: end; }
.vdi-menhir__pietra {
	position: relative; background: var(--pietra-chiara) var(--grana);
	padding: 3.2rem 1rem 1.5rem 3.6rem; min-height: 360px;
	display: flex; flex-direction: column; justify-content: flex-end;
	box-shadow: inset 0 -30px 40px rgba(0, 0, 0, .25), 0 14px 24px rgba(0, 0, 0, .35);
}
.vdi-menhir__pietra:nth-child(1) { min-height: 400px; clip-path: polygon(14% 4%, 52% 0, 88% 6%, 100% 100%, 0 100%); }
.vdi-menhir__pietra:nth-child(2) { min-height: 450px; clip-path: polygon(6% 8%, 40% 0, 80% 2%, 96% 14%, 100% 100%, 0 100%); }
.vdi-menhir__pietra:nth-child(3) { min-height: 380px; clip-path: polygon(0 10%, 30% 2%, 70% 0, 100% 9%, 100% 100%, 0 100%); }
.vdi-menhir__pietra:nth-child(4) { min-height: 470px; clip-path: polygon(10% 3%, 64% 0, 92% 10%, 100% 100%, 0 100%); }
.vdi-menhir__pietra:nth-child(5) { min-height: 420px; clip-path: polygon(4% 12%, 46% 0, 100% 5%, 100% 100%, 0 100%); }
.vdi-menhir__ogham { position: absolute; left: .7rem; bottom: 1.4rem; color: var(--brace); height: auto; max-height: calc(100% - 4rem); width: 38px; }
.vdi-menhir h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); margin-bottom: .4rem; }
.vdi-menhir p { font-size: .98rem; color: #d3d8dc; margin: 0; }

/* ---------- Il party da quattro ---------- */
.vdi-party { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.vdi-party__testo p { max-width: 54ch; }
.vdi-bacheca { background: var(--pietra) var(--grana); padding: clamp(1.2rem, 3vw, 2rem); border: 1px solid rgba(255, 255, 255, .08); }
.vdi-bacheca fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: .7rem; }
.vdi-bacheca legend { font-family: var(--titoli); font-size: 1.35rem; margin-bottom: .6rem; padding: 0; }
.vdi-bacheca label { font-weight: 700; }
.vdi-bacheca input[type="text"] { font: inherit; padding: .65em .8em; background: var(--ardesia); color: var(--luna); border: 1px solid var(--argento); border-radius: 2px; }
.vdi-bacheca__giochi { display: grid; gap: .4rem; margin: .3rem 0 .6rem; }
.vdi-bacheca__giochi label { font-weight: 400; display: flex; gap: .55rem; align-items: center; cursor: pointer; }
.vdi-bacheca__giochi input { accent-color: var(--mantello); width: 1.1rem; height: 1.1rem; }
.vdi-bacheca .vdi-bottone { justify-self: start; }
.vdi-scudi { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .7rem; }
.vdi-scudi li {
	aspect-ratio: 4 / 5; display: grid; place-items: center; text-align: center; padding: .6rem .4rem 1.4rem;
	background: rgba(0, 0, 0, .25); border: 2px dashed rgba(170, 179, 187, .45);
	clip-path: polygon(0 0, 100% 0, 100% 58%, 50% 100%, 0 58%);
	font-size: .9rem; color: var(--argento); line-height: 1.25;
	transition: background-color .35s, color .35s;
}
.vdi-scudi li.is-pieno { background: var(--mantello); border-style: solid; border-color: var(--brace); color: #fff; }
.vdi-scudi li { min-width: 0; overflow-wrap: anywhere; }
.vdi-scudi li strong { display: block; font-size: 1rem; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vdi-lampo { display: flex; gap: .8rem; margin-top: 1.4rem; background: #313338; color: #dbdee1; padding: .9rem 1rem; border-radius: 6px; font-size: 1rem; }
.vdi-lampo[hidden] { display: none; }
.vdi-lampo img { border-radius: 50%; flex: none; width: 36px; height: 36px; }
.vdi-lampo p { margin: 0; }
.vdi-lampo__bot { background: #5865f2; color: #fff; font-size: .7rem; padding: .05em .35em; border-radius: 3px; vertical-align: middle; }
.vdi-lampo .vdi-menzione { background: rgba(88, 101, 242, .3); color: #c9cdfb; padding: 0 .15em; border-radius: 3px; }
.vdi-bacheca__nota { font-size: .92rem; color: var(--argento); margin: 1rem 0 0; }

/* ---------- La compagnia ---------- */
.vdi-compagnia { isolation: isolate; }
.vdi-compagnia__sfondo { position: absolute; inset: 0; z-index: -1; }
.vdi-compagnia__sfondo img { width: 100%; height: 100%; object-fit: cover; opacity: .22; filter: saturate(.6); }
.vdi-compagnia__dentro { max-width: 1180px; }
.vdi-compagnia__colonne { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4rem); margin-top: 2.2rem; }
.vdi-sale { margin: 0; display: grid; gap: 1.2rem; }
.vdi-sale > div { border-left: 4px solid var(--mantello); padding: .2rem 0 .2rem 1.1rem; background: rgba(38, 44, 49, .55); }
.vdi-sale dt { font-weight: 700; font-size: 1.15rem; }
.vdi-sale dd { margin: .2rem 0 0; color: #d3d8dc; }
.vdi-gradi { background: rgba(38, 44, 49, .8); padding: 1.6rem; border: 1px solid rgba(255, 255, 255, .1); align-self: start; }
.vdi-gradi ol { list-style: none; padding: 0; margin: 0 0 1rem; }
.vdi-gradi li { padding: .7rem 0; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: 1.1rem; }
.vdi-gradi__livello { display: block; font-size: .85rem; color: var(--argento); }
.vdi-gradi p { font-size: .98rem; color: var(--argento); margin: 0; }

/* ---------- Domande alla taverna ---------- */
.vdi-domande__elenco { max-width: 72ch; margin-top: 2rem; }
.vdi-domande details { border-bottom: 1px solid rgba(255, 255, 255, .12); }
.vdi-domande summary { cursor: pointer; list-style: none; padding: 1.05rem 0 1.05rem 2rem; font-weight: 700; font-size: 1.15rem; position: relative; }
.vdi-domande summary::-webkit-details-marker { display: none; }
.vdi-domande summary::before { content: ""; position: absolute; left: .2rem; top: 1.25rem; width: 4px; height: 1.1rem; background: var(--brace); box-shadow: 7px 0 0 var(--brace); transition: transform .2s; }
.vdi-domande details[open] summary::before { transform: rotate(90deg); }
.vdi-domande details p { padding: 0 0 1.2rem 2rem; margin: 0; color: #d3d8dc; max-width: 66ch; }

/* ---------- La firma ---------- */
.vdi-firma { isolation: isolate; min-height: 80vh; display: grid; align-items: end; }
.vdi-firma__sfondo { position: absolute; inset: 0; z-index: -1; }
.vdi-firma__sfondo img { width: 100%; height: 100%; object-fit: cover; object-position: 45% 30%; }
.vdi-firma__sfondo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--ardesia) 22%, rgba(38, 44, 49, .55) 60%, rgba(38, 44, 49, .2)); }
.vdi-firma__dentro { max-width: 760px; }
.vdi-firma h2 { font-size: clamp(2.3rem, 5.4vw, 4rem); text-shadow: 0 2px 14px rgba(0, 0, 0, .6); }
.vdi-firma__numeri { font-size: 1.15rem; }
.vdi-ufficiali { margin-top: 2.5rem; }
.vdi-ufficiali h3 { font-family: var(--testo); font-weight: 700; font-size: 1rem; color: var(--argento); margin: 1.2rem 0 .4rem; }
.vdi-ufficiali p { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin: 0; }

/* ---------- Piede e pagine di testo ---------- */
.vdi-piede { margin-left: var(--bordo); background: #1e2327; border-top: 1px solid rgba(255, 255, 255, .08); padding: 2.5rem clamp(1.25rem, 5vw, 4.5rem); font-size: .95rem; color: var(--argento); }
.vdi-piede__dentro { display: flex; gap: 1.5rem; align-items: flex-start; max-width: 900px; }
.vdi-piede__logo { width: 88px; border-radius: 50%; flex: none; }
.vdi-piede__titolo { color: var(--luna); font-weight: 700; }
.vdi-pagina { padding: 3rem clamp(1.25rem, 5vw, 4.5rem); max-width: 860px; }
.vdi-pagina__logo img { width: 112px; border-radius: 50%; margin-bottom: 2rem; }
.vdi-testo h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.vdi-testo h2 { font-size: 1.6rem; margin-top: 2rem; }
.vdi-testo p, .vdi-testo li { max-width: 68ch; }
.vdi-testo .wp-block-table { margin: 1.5rem 0; overflow-x: auto; }
.vdi-testo table { border-collapse: collapse; font-size: .95rem; min-width: 560px; }
.vdi-testo th, .vdi-testo td { text-align: left; vertical-align: top; padding: .6rem .7rem; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.vdi-testo th { color: var(--argento); }
body:not(.home) .vdi-piede { margin-left: 0; }

/* ---------- Telefono e tablet ---------- */
@media (max-width: 1000px) {
	.vdi-menhir { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
	.vdi-menhir__pietra, .vdi-menhir__pietra:nth-child(n) { min-height: 260px; }
	.vdi-menhir__pietra:last-child { grid-column: 1 / -1; }
	.vdi-prova, .vdi-party, .vdi-compagnia__colonne { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 899px) {
	:root { --bordo: 0px; }
	.vdi-bordo { display: none; }
	.vdi-ingresso { min-height: 0; padding-top: 2.5rem; padding-bottom: 3.5rem; }
	.vdi-ingresso__dentro { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
	.vdi-ingresso__logo { width: min(240px, 66vw); }
	.vdi-ingresso__sfondo::after { background: linear-gradient(180deg, rgba(38, 44, 49, .55), var(--ardesia) 75%); }
}
@media (max-width: 560px) {
	body { font-size: 1.0625rem; }
	.vdi-menhir { grid-template-columns: minmax(0, 1fr); }
	.vdi-menhir__pietra:last-child { grid-column: auto; }
	.vdi-menhir__pietra, .vdi-menhir__pietra:nth-child(n) { min-height: 190px; }
	.vdi-arena { aspect-ratio: auto; min-height: 420px; }
	.vdi-scudi { gap: .4rem; }
	.vdi-scudi li { font-size: .8rem; }
	.vdi-piede__dentro { flex-direction: column; }
	.vdi-pulsanti .vdi-bottone { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: .01ms !important; }
}
