/*
Created on : 1 ago 2026, 21:34:10
Author : marta
*/
:root {
    --color-bg: #f4f1ea;
    --color-text: #1d1d1b;
    --color-accent: #000;
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 32px;
    --space-lg: 64px;
    --space-xl: 120px;
    --font-main: Arial, sans-serif;
}
/* =========================================
CURSORE PERSONALIZZATO
========================================= */
/* Cursore normale */
html,
body {
    cursor: url("../assets/images/icons/cursor-default.svg") 0 0, auto;
}

html {
    scroll-behavior: smooth;
}

/* Cursore hover sugli elementi cliccabili */
a,
button,
input[type="submit"],
input[type="button"],
[role="button"],
.archive-eventi__link {
    cursor: url("../assets/images/icons/cursor-hover.svg") 0 0, pointer;
}

section[id] {
    scroll-margin-top: 90px;
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
/* =========================
   PRELOADER
========================= */
.preloader-logo {
    width: clamp(140px, 45vw, 220px);
    height: auto;
}
.site-preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100dvh;
    padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
    box-sizing: border-box;
    background: #fff;
    opacity: 1;
    visibility: visible;
    overflow: hidden;
    pointer-events: auto;
    transition: opacity 180ms ease, visibility 180ms ease;
}
.site-preloader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
/* =========================
HEADER
========================= */
.navbar-brand {
    max-width: 100px;
}
/* =========================================
BREADCRUMB
========================================= */
.maat-breadcrumb {
    padding: 18px 0;
    font-size: 12px;
}
.maat-breadcrumb__list {
    color: #fff;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    justify-content: center;
}
.maat-breadcrumb__item {
    display: flex;
    align-items: center;
}
.maat-breadcrumb__item:not(:last-child)::after {
    content: "/";
    display: inline-block;
    margin: 0 8px;
    opacity: 0.4;
}
.maat-breadcrumb__link {
    color: inherit;
    text-decoration: none;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}
.maat-breadcrumb__link:hover,
.maat-breadcrumb__link:focus {
    color: inherit;
    opacity: 1;
}
.maat-breadcrumb__item.is-current {
    opacity: 1;
}

/* =========================================
   GLOBAL CONTACT CTA
========================================= */
.maat-contact-cta {
    position: relative;
    padding: clamp(6rem, 12vw, 11rem) 0;
    overflow: hidden;
}

.maat-contact-cta__inner {
    position: relative;
    color: #f5f5f5;
}
.maat-contact-cta__eyebrow {
    margin: 0 0 1rem;
    font-family: 'Caveat', cursive;
    font-size: clamp(1rem, 1.5vw, 1.35rem);
}
.maat-contact-cta__title {
    margin: 0;
    max-width: 950px;
    font-family: 'Special Elite', monospace;
    font-size: clamp(2rem, 3vw, 4.5rem);
    line-height: .9;
    text-transform: uppercase;
    color: #f5f5f5;
}
.maat-contact-cta__text {
    max-width: 600px;
    margin: 2rem 0;
    font-size: clamp(1rem, 1.3vw, 1.2rem);
    line-height: 1.6;
}
.maat-contact-cta__link {
    display: inline-block;
    font-family: 'Special Elite', monospace;
    font-size: clamp(1.3rem, 2vw, 1.8rem);
    color: inherit;
    text-decoration: none;
    transition: transform .2s ease;
}
.maat-contact-cta__link:hover {
    color: inherit;
    transform: translateX(.4rem);
}


























/* =========================
HOME
========================= */
body {
    background-image: url("../assets/images/yellow_bg.png");
    background-repeat: no-repeat;
    background-size: cover;
}
/* =========================================
REALMAAT / HERO
========================================= */
.realmaat-section {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.realmaat-row {
    position: relative;
    width: 100%;
    min-height: 600px;
    margin: 0;
}
/* =========================================
REALMAAT CLAIM
========================================= */
.realmaat-claim {
    position: absolute;
    top: 50%;
    left: 4vw;
    transform: translateY(-50%);
    z-index: 3;
    color: #f4f3ee;
    pointer-events: none;
}
/* microclaim */
.realmaat-claim__micro {
    margin: 0 0 1.5rem;
    font-family: "Caveat", cursive;
    font-weight: 600;
    font-size: clamp(0.7rem, 0.9vw, 0.95rem);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}
/* claim */
.realmaat-claim__title {
    margin: 0;
    max-width: 11ch;
    font-family: "Special Elite", serif;
    font-size: clamp(3rem, 6vw, 8rem);
    font-weight: 400;
    line-height: 0.88;
    letter-spacing: -0.045em;
}
/* mobile */
@media (max-width: 767.98px) {
    .realmaat-claim {
        top: auto;
        bottom: 2rem;
        left: 1rem;
        right: 1rem;
        transform: none;
    }
    .realmaat-claim__micro {
        margin-bottom: 0.8rem;
    }
    #navbarNavOffcanvas {
        position: fixed;
        width: 100%;
        max-width: 100%;
        height: 100dvh;
        background: #101116 !important;
        overflow: hidden;
    }
    #navbarNavOffcanvas::after {
        content: "";
        position: absolute;
        right: -10vw;
        bottom: -8vh;
        width: min(90vw, 520px);
        height: 78vh;
        background: url("../assets/images/menu-bg-maat.png") center bottom / contain no-repeat;
        opacity: 0.78;
        pointer-events: none;
        z-index: 0;
    }
    #navbarNavOffcanvas .offcanvas-header {
        position: relative;
        z-index: 3;
    }
    #navbarNavOffcanvas .offcanvas-body {
        position: relative;
        z-index: 2;
        display: flex;
        align-items: flex-start;
        padding: 5rem 1.5rem 2rem;
    }
    #navbarNavOffcanvas #main-menu {
        width: 100%;
        gap: 0.4rem;
    }
    #navbarNavOffcanvas .nav-link {
        display: inline-block;
        color: #f4f3ee;
        font-family: "Special Elite", serif;
        font-size: clamp(2.2rem, 10vw, 4rem);
        line-height: 0.95;
        text-decoration: none;
    }
}
/* =========================================
IMMAGINE CENTRALE
========================================= */
.glitch-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 600px;
    z-index: 2;
}

.glitch-image {
    display: block;
    max-width: 100%;
    height: auto;
}

.glitch-image--portrait {
    width: 100%;
    max-width: 500px;
    position: relative;
    z-index: 2;
}

/* =========================================
ZONE DELLE FACCINE
========================================= */
.bubble-zone {
    position: relative;
    min-height: 600px;
    overflow: visible;
    z-index: 4;
}

/* =========================================
FACCINE
========================================= */
.face-bubble {
    position: absolute;
    width: 120px;
    height: 120px;
    pointer-events: none;
    opacity: 0;
    z-index: 50;
    transform-origin: center;
    animation: maat-face-float 5.5s ease-in-out forwards;
}

.face-bubble img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.15));
}

/* ANIMAZIONE FACCINE */
@keyframes maat-face-float {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) translateY(15px) scale(0.7) rotate(-6deg);
    }

    15% {
        opacity: 1;
    }

    70% {
        opacity: 0.95;
        transform: translate(-50%, -50%) translateY(-20px) scale(1) rotate(2deg);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) translateY(-75px) scale(1.15) rotate(6deg);
    }
}

/* MOBILE */

@media (max-width: 767px) {
    .realmaat-section {
        min-height: 70vh;
    }

    .realmaat-row {
        min-height: 500px;
    }

    .glitch-image-container {
        min-height: 500px;
    }

    .bubble-zone {
        min-height: 500px;
        touch-action: manipulation;
    }

    .face-bubble {
        width: 90px;
        height: 90px;
    }
}

/* mobile */
@media (max-width: 767px) {
    .bubble-zone {
        cursor: pointer;
    }
}

/* mobile */
@media (max-width: 991px) {
    .mobile-down {
        min-height: 200px;
    }
}

/* =========================================
FESTIVAL TICKER
========================================= */
.festival-ticker {
    position: relative;
    display: flex;
    align-items: stretch;
    width: 100%;
    overflow: hidden;
}

/* Etichetta fissa */
.festival-ticker__label {
    font-family: "Caveat", cursive;
    position: relative;
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    padding: 1rem 1.5rem;
    color: #17181d;
    background: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0.08em;
    z-index: 3;
}

/* Finestra dello scorrimento */
.festival-ticker__viewport {
    min-width: 0;
    flex: 1;
    overflow: hidden;
}

/* Traccia animata */
.festival-ticker__track {
    display: flex;
    width: max-content;
    animation: festival-ticker-scroll 30s linear infinite;
    will-change: transform;
}

/* Ferma il ticker al passaggio */
.festival-ticker:hover .festival-ticker__track {
    animation-play-state: paused;
}

/* Le due copie del contenuto */
.festival-ticker__group {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

/* Singolo festival */
.festival-ticker__item {
    display: inline-flex;
    align-items: center;
    gap: 0rem;
    min-height: 64px;
    padding: 0.75rem 2rem;
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
    transition: color 180ms ease, background-color 180ms ease;
    flex-direction: column;
    font-family: "Caveat", cursive;
    font-weight: 600;
    font-size: clamp(0.7rem, 0.9vw, 0.95rem);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.festival-ticker__item:hover,
.festival-ticker__item:focus-visible {}

/* Elementi interni */
.festival-ticker__item:hover {}

.festival-ticker__title {
    font-family: "Special Elite", serif;
    font-size: clamp(3rem, 6vw, 8rem);
    font-weight: 400;
    color: #f5f5f5;
    margin-bottom: -15px;
}

.festival-ticker__date,
.festival-ticker__place {
    opacity: 0.65;
    font-size: 0.85rem;
    color: #f5f5f5;
}

/* =========================================
   VETRO IRIDESCENTE RIUTILIZZABILE
========================================= */

.maat-glass-iridescent {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.10);
    background-color: #ffffff50;
    border: 0;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.20);
    isolation: isolate;
}

/* riflesso colorato */
.maat-glass-iridescent::before {
    content: "";
    position: absolute;
    top: -200%;
    left: -200%;
    width: 400%;
    height: 400%;
    background: conic-gradient(rgb(255, 0, 149), rgb(255, 230, 0),yellow,rgb(136, 255, 0),rgb(0, 195, 255),rgb(255, 2, 242),rgb(144, 75, 255),rgb(255, 94, 0));
    opacity: 0.30;
    animation: maat-rainbow-shine 6s linear infinite;
    mix-blend-mode: overlay;
    pointer-events: none;
    z-index: 0;
}
/* contenuto sopra al riflesso */
.maat-glass-iridescent>* {
    position: relative;
    z-index: 1;
}

/* animazione identica al cubo */

@keyframes maat-rainbow-shine {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }

}


/* accessibilità */

@media (prefers-reduced-motion: reduce) {

    .maat-glass-iridescent::before {
        animation: none;
    }

}

/* Movimento continuo */
@keyframes festival-ticker-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* Accessibilità:
niente movimento se l'utente lo disattiva */
@media (prefers-reduced-motion: reduce) {
    .festival-ticker__track {
        animation: none;
    }
    .festival-ticker__group[aria-hidden="true"] {
        display: none;
    }
    .festival-ticker__viewport {
        overflow-x: auto;
    }
}
/* Mobile */
@media (max-width: 767px) {
    .festival-ticker {
        display: block;
    }
    .festival-ticker__label {
        width: 100%;
        justify-content: center;
        padding: 0.65rem 1rem;
    }
    .festival-ticker__item {
        min-height: 56px;
        padding: 0.65rem 1.25rem;
    }
}
/* =========================================
   DRAWING WALL / PROGETTI HOME
========================================= */

.drawing-wall-section {
    position: relative;
    padding: 7rem 0;
    overflow: hidden;
}
/* =========================================
   HEADER
========================================= */
.drawing-wall-section__header {
    position: relative;
    padding: 0 2rem;
    margin-bottom: 5rem;
}

.drawing-wall-section__eyebrow {
    margin: 0 0 1rem;
    font-family: "Caveat", cursive;
    font-size: clamp(1.4rem,2.2vw,2.3rem);
    font-weight: 600;
    color: #C0C9CB;
}
.drawing-wall-section__title {
    margin: 0;
    font-family: "Special Elite", serif;
    font-size: clamp(3rem,6vw,8rem);
    font-weight: 400;
    line-height: 0.82;
    text-transform: uppercase;
    color: #f5f5f5;
}
/* =========================================
   BOOTSTRAP ROW
========================================= */
.drawing-wall {
    position: relative;
    align-items: flex-start;
    padding: 0 2rem 4rem;
    margin-left: 0;
    margin-right: 0;
}
/* =========================================
   COLONNE
========================================= */
.drawing-wall__col {
    position: relative;
    display: flex;
    justify-content: center;
}
@media (min-width: 992px) {
    .drawing-wall__col--4 {
        margin-left: 8.333333%;
    }
}
/* =========================================
   SINGOLO PROGETTO
========================================= */
.drawing-wall__item {
    position: relative;
    width: 100%;
    max-width: 430px;
    min-width: 0;
    transition:transform 300ms cubic-bezier(.2,.75,.2,1), z-index 0ms;
}
.drawing-wall__item:hover {
    z-index: 20;
}
/* =========================================
   DISPOSIZIONE IRREGOLARE
   SOLO DESKTOP
========================================= */
.drawing-wall__item--1 {
    transform: rotate(-4deg) translateY(2rem);
}
.drawing-wall__item--2 {
    transform: rotate(3deg) translateY(-1rem);
}
.drawing-wall__item--3 {
    transform: rotate(-2deg) translateY(4rem);
}
.drawing-wall__item--4 {
    transform: rotate(2deg) translateY(1rem);
}
.drawing-wall__item--5 {
    transform: rotate(-5deg) translateY(-2rem);
}
/* =========================================
   HOVER DESKTOP
========================================= */
@media (hover: hover) and (pointer: fine) {
    .drawing-wall__item:hover {
        transform: rotate(0deg) translateY(-0.5rem) scale(1.03);
    }
}
/* =========================================
   LINK
========================================= */
.drawing-wall__link {
    position: relative;
    display: block;
    color: inherit;
    text-decoration: none;
}
/* =========================================
   FOGLIO / STAMPA
========================================= */
.drawing-wall__image {
    position: relative;
    padding: 0.75rem;
    background: #f4f3ee;
    box-shadow: 0 1rem 2rem rgba(0,0,0,0.35);
}
/* =========================================
   SCOTCH PNG REALE
========================================= */
.drawing-wall__tape {
    position: absolute;
    z-index: 20;
    top: -42px;
    left: 50%;
    display: block;
    width: clamp(135px,36%,205px);
    height: auto;
    pointer-events: none;
    user-select: none;
    transform: translateX(-50%) rotate(-1deg);
    transform-origin: center;
    filter: drop-shadow(0 4px 3pxrgba(0, 0, 0, 0.2));
}
/* variazioni scotch */
.drawing-wall__col:nth-child(3n + 1) .drawing-wall__tape {
    transform: translateX(-50%)rotate(-2deg);
}
.drawing-wall__col:nth-child(3n + 2) .drawing-wall__tape {
    width: clamp(110px,31%,170px);
    transform:translateX(-50%) rotate(1.5deg);
}
.drawing-wall__col:nth-child(3n + 3)
.drawing-wall__tape {
    width: clamp(125px,36%,195px);
    transform: translateX(-50%) rotate(-0.5deg);
}
/* =========================================
   FOTO
========================================= */
.drawing-wall__thumbnail {
    display: block;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center;
}
/* =========================================
   PLACEHOLDER
========================================= */
.drawing-wall__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 4 / 5;
    padding: 2rem;
    background: #222;
    color: #f4f3ee;
    font-family: "Special Elite", serif;
    text-align: center;
}
/* =========================================
   TESTI
========================================= */
.drawing-wall__meta {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    margin-top: 1rem;
    color: #f4f3ee;
}
.drawing-wall__item-title {
    margin: 0;
    font-size: 1rem;
    line-height: 1.2;
}
.drawing-wall__year {
    flex-shrink: 0;
    font-size: 0.8rem;
    opacity: 0.55;
}
/* =========================================
   LINK ARCHIVIO
========================================= */
.drawing-wall__archive {
    display: flex;
    justify-content: center;
    padding: 3rem 2rem 0;
    margin: 0 0 1rem;
    font-family: "Caveat", cursive;
    font-size: clamp(0.8rem,1.2vw,2.3rem);
    font-weight: 600;
    color: rgb(198,255,0);
}
.drawing-wall__archive-link {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding-bottom: 0.35rem;
    color: #f4f3ee;
    text-decoration: none;
    transition: color 180ms ease, border-color 180ms ease;
}
.drawing-wall__archive-link:hover {
    color: #C0C9CB;
    border-color: #C0C9CB;
}
/* =========================================
   TABLET + MOBILE
   SCROLL ORIZZONTALE
========================================= */
@media (max-width: 991.98px) {
   .drawing-wall-section {
        padding: 5rem 0 6rem;
    }
    .drawing-wall-section__header {
        padding: 0 1.5rem;
        margin-bottom: 2rem;
    }
    .drawing-wall {
        display: flex;
        flex-wrap: nowrap;
        align-items: flex-start;
        overflow-x: auto;
        overflow-y: visible;
        gap: 2rem;
        padding: 4rem 2rem 5rem;
        margin-left: 0;
        margin-right: 0;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .drawing-wall::-webkit-scrollbar {
        display: none;
    }
    /* sovrascrive le colonne bootstrap */
    .drawing-wall__col {
        flex: 0 0 45vw;
        width: 45vw;
        max-width: 45vw;
        padding-left: 0;
        padding-right: 0;
        scroll-snap-align: center;
        scroll-snap-stop: normal;
    }
    .drawing-wall__item {
        width: 100%;
        max-width: 420px;
        margin: 0 auto;
    }
    /* inclinazioni touch */
    .drawing-wall__item--1,
    .drawing-wall__item--2,
    .drawing-wall__item--3,
    .drawing-wall__item--4,
    .drawing-wall__item--5 {
        transform: rotate(-2deg);
    }
    .drawing-wall__col:nth-child(even)
    .drawing-wall__item {
        transform: rotate(2deg);
    }
    .drawing-wall__archive {
        justify-content: flex-start;

        padding: 0 1.5rem;
   }
}
/* =========================================
   SOLO MOBILE
========================================= */
@media (max-width: 767.98px) {
    .drawing-wall-section {
        padding: 5rem 0;
    }
    .drawing-wall-section__header {
        padding: 0 1rem;
        margin-bottom: 2rem;
    }
    .drawing-wall {
        gap: 1.5rem;
        padding: 3rem 1.5rem 4rem;
    }
    .drawing-wall__col {
        flex: 0 0 82vw;
        width: 82vw;
        max-width: 82vw;
    }
    .drawing-wall__item {
        width: 100%;
        max-width: 100%;
   }
    .drawing-wall__tape {
        top: -38px;
        width: clamp(125px,38vw,180px);
    }
    .drawing-wall__archive {
        justify-content: flex-start;

        padding: 0 1rem;
    }
}
/* =========================================
   ACCESSIBILITÀ
========================================= */
@media (prefers-reduced-motion: reduce) {
    .drawing-wall {
        scroll-behavior: auto;
    }
    .drawing-wall__item {
        transition: none;
    }
}
/* =========================================
REALTÀ - LOGHI ORIZZONTALI
========================================= */
.home-associazioni {
    position: relative;
    padding: 6rem 0 7rem;
    overflow: hidden;
}
.home-associazioni__header {
    position: relative;
    padding: 0 2rem;
    margin-bottom: 5rem;
}
.home-associazioni__eyebrow {
    margin: 0 0 1rem;
    font-family: "Caveat", cursive;
    font-size: clamp(1.4rem, 2.2vw, 2.3rem);
    font-weight: 600;
    color: #C0C9CB;
}
.home-associazioni__title {
    margin: 0;
    font-family: "Special Elite", serif;
    font-size: clamp(3rem, 6vw, 8rem);
    font-weight: 400;
    line-height: 0.82;
    text-transform: uppercase;
    color: #f5f5f5;
}
/* STRISCIA ORIZZONTALE */
.home-associazioni__grid {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2.75rem 2rem 3.5rem;
    scroll-snap-type: x proximity;
    scroll-behavior: smooth;
    /* Firefox */
    scrollbar-width: none;
    /* IE / vecchio Edge */
    -ms-overflow-style: none;
}

/* Chrome / Safari / Edge */
.home-associazioni__grid::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.home-associazioni__grid::-webkit-scrollbar-track {
    display: none;
}

.home-associazioni__grid::-webkit-scrollbar-thumb {
    display: none;
}

/* 6 ELEMENTI VISIBILI */
.home-associazioni__item {
    flex: 0 0 calc((100vw - 4rem - 6.25rem) / 6);
    min-width: 0;
    scroll-snap-align: start;
}

/* LINK */
.home-associazioni__link {
    display: block;
    color: inherit;
    text-decoration: none;
}

/* VETRO CHIARO / LATTIGINOSO */
.home-associazioni__glass {
    position: relative;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.25rem;
    overflow: hidden;
    border-radius: 30px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(225, 228, 235, 0.72));
    border: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.95), inset 0 -1px 2px rgba(0, 0, 0, 0.07), 0 12px 35px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(10px) saturate(125%);
    -webkit-backdrop-filter: blur(10px) saturate(125%);
    transition: transform 260ms ease, box-shadow 260ms ease, background 260ms ease;
}
/* RIFLESSO */
.home-associazioni__glass::before {
    content: "";
    position: absolute;
    top: -40%;
    left: -80%;
    width: 55%;
    height: 180%;
    background: linear-gradient(105deg, transparent 15%, rgba(255, 255, 255, 0.04) 30%, rgba(255, 255, 255, 0.62) 48%, rgba(255, 0, 160, 0.12) 54%, rgba(0, 215, 255, 0.11) 60%, transparent 75%);
    transform: rotate(14deg);
    filter: blur(2px);
    opacity: 0.55;
    pointer-events: none;
    z-index: 3;
    transition: left 650ms cubic-bezier(.2, .8, .2, 1), opacity 250ms ease;
}

/* leggerissima iridescenza */
.home-associazioni__glass::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 0, 150, 0.035), transparent 30%, rgba(0, 210, 255, 0.045) 65%, rgba(180, 255, 0, 0.025));
    opacity: 0.35;
    pointer-events: none;
    z-index: 1;
}
/* LOGO */
.home-associazioni__thumbnail {
    position: relative;
    z-index: 2;
    display: block;
    width: 78%;
    height: 78%;
    object-fit: contain;
    opacity: 1;
    filter: none;
    transition: transform 220ms ease, filter 220ms ease;
}
/* HOVER */
.home-associazioni__link:hover .home-associazioni__glass {
    transform: translateY(-6px) scale(1.015);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.97), rgba(238, 240, 245, 0.84));
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 1), 0 18px 45px rgba(0, 0, 0, 0.28);
}
/* riflesso che attraversa il vetro */
.home-associazioni__link:hover .home-associazioni__glass::before {
    left: 125%;
    opacity: 1;
}
/* glitch cromatico leggero */
.home-associazioni__link:hover .home-associazioni__thumbnail {
    transform: scale(1.05) translateX(1px);
    filter: drop-shadow(-2px 0 0 rgba(255, 0, 140, 0.35)) drop-shadow(2px 0 0 rgba(0, 220, 255, 0.35));
}
/* NOME */
.home-associazioni__name {
    margin: 1rem 0 0;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 400;
    opacity: 0.72;
    transition: opacity 200ms ease;
    color: #f4f3ee;
}
.home-associazioni__link:hover .home-associazioni__name {
    opacity: 1;
}
/* =========================================
   CONTROLLI SCROLLER REALTÀ
========================================= */
.home-associazioni__controls {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.6rem;
    padding: 0 2rem;
    margin-top: -3rem;
    margin-bottom: 1rem;
}
.home-associazioni__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: #f4f3ee;
    font-size: 1.1rem;
    line-height: 1;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    cursor: pointer;
    transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease, opacity 180ms ease;
}
.home-associazioni__arrow:hover {
    background: #f4f3ee;
    color: #101116;
    border-color: #f4f3ee;
    transform: translateY(-2px);
}

.home-associazioni__arrow:disabled {
    opacity: 0.25;
    cursor: default;
    transform: none;
}

/* RESPONSIVE */
@media (max-width: 1199px) {
    .home-associazioni__item {
        flex-basis: calc((100vw - 4rem - 3.75rem) / 4);
    }
}

@media (max-width: 767px) {
    .home-associazioni {
        padding: 4rem 0 5rem;
    }

    .home-associazioni__grid {
        padding: 2rem 1rem 3rem;
    }

    .home-associazioni__item {
        flex-basis: 44vw;
    }
    .home-associazioni__glass {
        border-radius: 22px;
        padding: 1.5rem;
    }
    .home-associazioni__controls {
        padding: 0 1rem;
        margin-top: -1rem;
        margin-bottom: 0;
    }

    .home-associazioni__arrow {
        width: 38px;
        height: 38px;
    }
}
/* =========================================
FESTIVAL / EVENTI / POLAROID HOMEPAGE
========================================= */
.home-eventi {
    position: relative;
    padding: 7rem 0 9rem;
    overflow: hidden;
}

/* HEADER */
.home-eventi__header {
    position: relative;
    padding: 0 2rem;
    margin-bottom: 5rem;
}

.home-eventi__eyebrow {
    margin: 0 0 1rem;
    font-family: "Caveat", cursive;
    font-size: clamp(1.4rem, 2.2vw, 2.3rem);
    font-weight: 600;
    color: #C0C9CB;
}

.home-eventi__title {
    margin: 0;
    font-family: "Special Elite", serif;
    font-size: clamp(3rem, 6vw, 8rem);
    font-weight: 400;
    line-height: 0.82;
    text-transform: uppercase;
    color: #f5f5f5;
}

.home-eventi__types {
    margin: 1.5rem 0 0;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.5;
}

/* =========================================
PARETE POLAROID
========================================= */
.home-eventi__wall {
    position: relative;
    align-items: center;
    padding: 3rem 3vw 4rem;
    margin-left: 0;
    margin-right: 0;
}

.home-eventi__col {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* POSIZIONE IRREGOLARE */
.home-eventi__item {
    position: relative;
    width: 100%;
    max-width: 440px;
    min-width: 0;
    transition: transform 300ms ease, z-index 0ms;
}

/* 1 */
.home-eventi__item--1 {
    transform: translateY(1rem) rotate(-4deg);
}

/* 2 */
.home-eventi__item--2 {
    transform: translateY(-2.5rem) rotate(2.5deg);
}

/* 3 */
.home-eventi__item--3 {
    transform: translateY(2.5rem) rotate(-1.5deg);
}

/* 4 */
.home-eventi__item--4 {
    transform: translateY(-0.5rem) rotate(4deg);
}

/* LINK */
.home-eventi__link {
    display: block;
    color: inherit;
    text-decoration: none;
}

/* =========================================
POLAROID
========================================= */
.home-eventi__polaroid {
    position: relative;
    padding: 0.8rem 0.8rem 1.5rem;
    background: #e9e6dc;
    color: #151515;
    box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.42);
    transition: transform 350ms cubic-bezier(.2, .75, .2, 1), box-shadow 350ms ease;
}

/* carta un po' sporca */
.home-eventi__polaroid::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.13;
    background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.06) 0, rgba(0, 0, 0, 0.06) 1px, transparent 1px, transparent 3px);
    mix-blend-mode: multiply;
}

/* =========================================
FOTO
========================================= */

.home-eventi__photo {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #222;
    z-index: 2;
}

.home-eventi__thumbnail {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center;
    filter: contrast(1.04) saturate(0.92);
    transition: transform 600ms cubic-bezier(.2, .75, .2, 1), filter 300ms ease;
}

/* =========================================
NUMERINO
======================================== */
.home-eventi__number {
    position: absolute;
    top: 0.6rem;
    left: 0.6rem;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: rgba(245, 243, 236, 0.92);
    color: #151515;
    font-size: 0.65rem;
    font-family: monospace;
}

/* =========================================
PLACEHOLDER
========================================= */
.home-eventi__placeholder {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: #222;
    color: #f4f3ee;
    text-align: center;
    font-family: "Special Elite", serif;
}

/* =========================================
DIDASCALIA
========================================= */
.home-eventi__caption {
    position: relative;
    z-index: 2;
    padding: 1rem 0.4rem 0;
}

.home-eventi__type {
    display: inline-block;
    margin-bottom: 0.45rem;
    font-family: "Caveat", cursive;
    font-size: 1.2rem;
    font-weight: 600;
    color: #bf164b;
    transform: rotate(-2deg);
}

.home-eventi__name {
    margin: 0 0 0.5rem;
    font-family: "Special Elite", serif;
    font-size: clamp(1.2rem, 1.8vw, 1.8rem);
    font-weight: 400;
    line-height: 1;
}

.home-eventi__meta {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    font-size: 0.62rem;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.6;
}

/* =========================================
CTA
========================================= */

.home-eventi__cta {
    display: block;
    margin-top: 0.8rem;
    padding-left: 0.5rem;
    font-family: "Caveat", cursive;
    font-size: 1.35rem;
    color: #f4f3ee;
    opacity: 0;
    transform: translateY(0.5rem);
    transition: opacity 200ms ease, transform 200ms ease;
}

/* =========================================
HOVER
========================================= */
.home-eventi__item:hover {
    z-index: 20;
}
.home-eventi__item:hover {
    transform: translateY(-1rem) rotate(0deg) scale(1.04);
}
.home-eventi__link:hover .home-eventi__polaroid {
    box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.52);
}
.home-eventi__link:hover .home-eventi__thumbnail {
    transform: scale(1.055);
    filter: contrast(1.08) saturate(1.08);
}

.home-eventi__link:hover .home-eventi__cta {
    opacity: 1;
    transform: translateY(0);
}
/* =========================================
ARCHIVIO
========================================= */
.home-eventi__archive {
    display: flex;
    justify-content: center;
    padding: 2rem 2rem 0;
    font-family: Caveat, cursive;
    font-size: clamp(0.8rem, 1.2vw, 2.3rem);
    font-weight: 600;
    color: rgb(198, 255, 0);
    margin: 0px 0px 1rem;
}
.home-eventi__archive-link {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding-bottom: 0.35rem;
    color: #f4f3ee;
    text-decoration: none;
}
.home-eventi__archive-link:hover {
    color: #C0C9CB;
    border-color: #C0C9CB;
}
/* =========================================
ARCHIVE EVENTI - REALTÀ COLLEGATA
========================================= */
.archive-eventi__realta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}
.archive-eventi__realta-item {
    display: flex;
    align-items: center;
}
.archive-eventi__realta-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 90px;
    height: 50px;
}
.archive-eventi__realta-image {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}
.archive-eventi__realta-name {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    opacity: 0.6;
}
/* =========================================
TABLET + MOBILE
SCORRIMENTO ORIZZONTALE
========================================= */
@media (max-width: 991.98px) {
    .home-eventi {
        padding: 5rem 0 6rem;
    }
    .home-eventi__header {
        padding: 0 1.5rem;
        margin-bottom: 2rem;
    }
    /* =====================================
       PARETE SCORREVOLE
    ====================================== */
    .home-eventi__wall {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        overflow-x: auto;
        overflow-y: visible;
        gap: 2rem;
        padding: 4rem 2rem 5rem;
        margin-left: 0;
        margin-right: 0;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .home-eventi__wall::-webkit-scrollbar {
        display: none;
    }
    /* =====================================
       CARD TABLET
    ====================================== */
    .home-eventi__col {
        /*
         * Sovrascrive le larghezze Bootstrap
         * col-sm-6 / col-lg-3 in questa vista.
         */
        flex: 0 0 45vw;
        width: 45vw;
        max-width: 45vw;
        padding-left: 0;
        padding-right: 0;
        scroll-snap-align: center;
        scroll-snap-stop: normal;
    }
    .home-eventi__item {
        width: 100%;
        max-width: 360px;
        margin: 0 auto;
    }
    /* =====================================
       INCLINAZIONI
    ====================================== */
    .home-eventi__item,
    .home-eventi__item--1,
    .home-eventi__item--2,
    .home-eventi__item--3,
    .home-eventi__item--4 {
        transform: rotate(-2deg);
    }
    .home-eventi__col:nth-child(even)
    .home-eventi__item {
        transform: rotate(2deg);
    }
    /*
     * Su touch non esiste un vero hover:
     * il link "entra" deve quindi essere
     * sempre visibile.
     */
    .home-eventi__cta {
        opacity: 1;
        transform: none;
    }
    .home-eventi__archive {
        justify-content: flex-start;

        padding: 0 1.5rem;
    }
}
/* =========================================
SOLO MOBILE
========================================= */
@media (max-width: 767.98px) {
    .home-eventi__header {
        padding: 0 1rem;
    }
    .home-eventi__wall {
        gap: 1.5rem;
        padding: 3rem 1.5rem 4rem;
    }
    /*
     * Sul telefono una polaroid occupa
     * quasi tutto lo schermo,
     * ma lascia intravedere la successiva.
     */
    .home-eventi__col {
        flex: 0 0 78vw;
        width: 78vw;
        max-width: 78vw;
    }
    .home-eventi__item {
        max-width: 100%;
    }
    .home-eventi__archive {
        padding: 0 1rem;
    }
}
/* =========================================
   HOME DISEGNI
========================================= */
.home-disegni {
    position: relative;
    padding: clamp(6rem, 10vw, 10rem) 2rem;
}
/* =========================================
   HEADER
========================================= */
.home-disegni__header {
    margin-bottom: clamp(6rem,10vw,10rem);
}
.home-disegni__eyebrow {
    margin: 0 0 1rem;
    font-family: "Caveat", cursive;
    font-size: clamp(1.4rem, 2.2vw, 2.3rem);
    font-weight: 600;
    color: #C0C9CB;
}
.home-disegni__title {
    margin: 0;
    font-family: "Special Elite", serif;
    font-size: clamp(3rem, 6vw, 8rem);
    font-weight: 400;
    line-height: 0.82;
    text-transform: uppercase;
    color: #f5f5f5;
}
/* =========================================
   BOOTSTRAP GRID
========================================= */
.home-disegni__wall {
    position: relative;
}
.home-disegni__col {
    display: flex;
    justify-content: center;
}
/*
 * Rompiamo leggermente la riga Bootstrap.
 */
.home-disegni__col:nth-child(1) {
    padding-top: 2rem;
}
.home-disegni__col:nth-child(2) {
    padding-top: 7rem;
}
.home-disegni__col:nth-child(3) {
    padding-top: 0;
}
/* =========================================
   OGGETTO APPESO
========================================= */
.home-disegni__item {
    position: relative;
    width: 100%;
    transform-origin: 50% -24px;
    will-change: transform;
}
/* =========================================
   INCLINAZIONI
========================================= */
.home-disegni__item--1 {
    --home-frame-angle: -1.2deg;
    transform: rotate(var(--home-frame-angle));
}
.home-disegni__item--2 {
    --home-frame-angle: 1.1deg;
    transform: rotate(var(--home-frame-angle));
}
.home-disegni__item--3 {
    --home-frame-angle: -0.6deg;
    transform: rotate(var(--home-frame-angle));
}
/* =========================================
   LINK
========================================= */
.home-disegni__link {
    position: relative;
    display: block;
    width: 100%;
    color: inherit;
    text-decoration: none;
}
/* =========================================
   CHIODO
========================================= */
.home-disegni__nail {
    position: absolute;
    z-index: 10;
    top: -62px;
    left: 50%;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #aaa;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
    transform: translateX(-50%);
}
/* =========================================
   FILO
========================================= */
.home-disegni__hanging {
    position: absolute;
    z-index: 2;
    top: -58px;
    left: 0;
    width: 100%;
    height: 63px;
    pointer-events: none;
}
.home-disegni__wire-svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}
.home-disegni__wire-svg line {
    fill: none;
    stroke: rgba(205,205,205,0.6);
    stroke-width: 0.6;
    vector-effect:
        non-scaling-stroke;
}
/* =========================================
   BAROCCA SENZA CHIODO
========================================= */
.home-disegni__item--barocca
.home-disegni__nail,
.home-disegni__item--barocca
.home-disegni__hanging {
    display: none;
}
/* =========================================
   QUADRO
========================================= */
.home-disegni__picture {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    filter: drop-shadow(8px 14px 12px rgba(0, 0, 0, 0.45));
}
/* =========================================
   DISEGNO
========================================= */

.home-disegni__artwork {
    position: absolute;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #f3f0e8;
}
.home-disegni__image {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
}
.home-disegni__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 2rem;
    color: #111;
    background: #f3f0e8;
    line-height: 1.2;
    text-align: center;
}
/* =========================================
   PNG CORNICE
========================================= */
.home-disegni__frame-image {
    position: relative;
    z-index: 3;
    display: block;
    width: 100%;
    height: auto;
    pointer-events: none;
    user-select: none;
}
/* =========================================
   CORNICE NERA
========================================= */
.home-disegni__item--nera.home-disegni__item--portrait .home-disegni__artwork {
    top: 12%;
    right: 17%;
    bottom: 12%;
    left: 17%;
}
.home-disegni__item--nera.home-disegni__item--landscape .home-disegni__artwork {
    top: 18%;
    right: 11%;
    bottom: 18%;
    left: 11%;
}
/* =========================================
   CORNICE LEGNO
========================================= */
.home-disegni__item--legno.home-disegni__item--portrait .home-disegni__artwork {
    top: 12.5%;
    right: 18%;
    bottom: 12.5%;
    left: 18%;
}
.home-disegni__item--legno.home-disegni__item--landscape .home-disegni__artwork {
    top: 18%;
    right: 11.5%;
    bottom: 18%;
    left: 11.5%;
}
/* =========================================
   CORNICE BAROCCA
========================================= */
.home-disegni__item--barocca.home-disegni__item--portrait .home-disegni__artwork {
    top: 20%;
    right: 18%;
    bottom: 19%;
    left: 18%;
}
.home-disegni__item--barocca.home-disegni__item--landscape .home-disegni__artwork {
    top: 27%;
    right: 11.5%;
    bottom: 25%;
    left: 11.5%;
}
/* =========================================
   HOVER - OSCILLAZIONE
========================================= */

.home-disegni__item:hover {
    animation: home-disegni-swing 850ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

@keyframes home-disegni-swing {

    0% {
        transform: rotate(var(--home-frame-angle, 0deg));
    }

    20% {
        transform: rotate(2.2deg);
    }

    42% {
        transform: rotate(-1.6deg);
    }

    62% {
        transform: rotate(1deg);
    }

    78% {
        transform: rotate(-0.5deg);
    }

    100% {
        transform: rotate(var(--home-frame-angle, 0deg));
    }
}
/* =========================================
   LINK ARCHIVIO
========================================= */
.home-disegni__archive {
    margin-top: clamp(5rem,8vw,8rem);
    text-align: right;
}
.home-disegni__archive-link {
    color: #f4f3ee;
    font-family: "Caveat",cursive;
    font-size: 1.5rem;
    text-decoration: none;
}
.home-disegni__archive-link:hover {
    color: #C0C9CB;
}
/* =========================================
   HOME DISEGNI
   TABLET + MOBILE - SCROLL ORIZZONTALE
========================================= */
@media (max-width: 991.98px) {
    .home-disegni {
        padding: 5rem 0 6rem;
    }
    .home-disegni__header {
        padding: 0 1.5rem;
        margin-bottom: 3rem;
    }
    /* =====================================
       PARETE SCORREVOLE
    ====================================== */
    .home-disegni__wall {
        display: flex;
        flex-wrap: nowrap;
        align-items: flex-start;
        overflow-x: auto;
        overflow-y: visible;
        gap: 2rem;
        padding: 5rem 2rem 5rem;
        margin-left: 0;
        margin-right: 0;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .home-disegni__wall::-webkit-scrollbar {
        display: none;
    }
    /* =====================================
       COLONNE TABLET
    ====================================== */
    .home-disegni__col {
        flex: 0 0 45vw;
        width: 45vw;
        max-width: 45vw;
        padding-left: 0;
        padding-right: 0;
        scroll-snap-align: center;
        scroll-snap-stop: normal;
        justify-content: center;
    }
    .home-disegni__item {
        width: 100%;
        max-width: 420px;
        margin: 0 auto;
    }
    /* =====================================
       POSIZIONE IRREGOLARE
       MA NON VERTICALE INFINITA
    ====================================== */
    .home-disegni__col:nth-child(1) {
        padding-top: 0;
    }
    .home-disegni__col:nth-child(2) {
        padding-top: 3rem;
    }
    .home-disegni__col:nth-child(3) {
        padding-top: 1rem;
    }
    /* =====================================
       CTA ARCHIVIO
    ====================================== */
    .home-disegni__archive {
        justify-content: flex-start;
        padding: 0 1.5rem;
    }
}
/* =========================================
   HOME DISEGNI
   SOLO MOBILE
========================================= */

@media (max-width: 767.98px) {

    .home-disegni {
        padding: 5rem 0;
    }
    .home-disegni__header {
        padding: 0 1rem;
        margin-bottom: 2rem;
    }
    .home-disegni__wall {
        gap: 1.5rem;
        padding: 4.5rem 1.5rem 4rem;
    }
    /*
     * Quadro quasi a piena larghezza,
     * ma resta visibile un pezzo del successivo.
     */
    .home-disegni__col {
        flex: 0 0 82vw;
        width: 82vw;
        max-width: 82vw;
    }
    .home-disegni__item {
        width: 100%;
        max-width: 100%;
    }
    /*
     * Un minimo di irregolarità
     * anche nello slider.
     */

    .home-disegni__col:nth-child(1) {
        padding-top: 0;
    }
    .home-disegni__col:nth-child(2) {
        padding-top: 2rem;
    }
    .home-disegni__col:nth-child(3) {
        padding-top: 0.5rem;
    }
    .home-disegni__archive {
        justify-content: flex-start;
        padding: 0 1rem;
    }
}
/* =========================================
   TOUCH / ACCESSIBILITÀ
========================================= */

@media (hover: none) {
    .home-disegni__item:hover {
        animation: none;
    }
}
@media (prefers-reduced-motion: reduce) {
    .home-disegni__item:hover {
        animation: none;
    }
}
/* =========================
MAAT CUBE
========================= */
.maat-cube-scene {
    --cube-size: 280px;
    width: var(--cube-size);
    height: var(--cube-size);
    position: relative;
    perspective: 1000px;
    margin: 0 auto;
}
.maat-cube {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
    animation: maat-cube-spin 16s linear infinite;
}
.maat-cube-face {
    position: absolute;
    width: var(--cube-size);
    height: var(--cube-size);
    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .30);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 0 0 20px rgba(255, 255, 255, .20);
    overflow: hidden;
    backface-visibility: visible;
}

.maat-cube-front {
    transform: translateZ(calc(var(--cube-size) / 2));
}
.maat-cube-back {
    transform: rotateY(180deg) translateZ(calc(var(--cube-size) / 2));
}
.maat-cube-right {
    transform: rotateY(90deg) translateZ(calc(var(--cube-size) / 2));
}
.maat-cube-left {
    transform: rotateY(-90deg) translateZ(calc(var(--cube-size) / 2));
}
.maat-cube-top {
    transform: rotateX(90deg) translateZ(calc(var(--cube-size) / 2));
}
.maat-cube-bottom {
    transform: rotateX(-90deg) translateZ(calc(var(--cube-size) / 2));
}
.maat-cube-face svg {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    height: 100%;
}
.maat-cube-face svg path {
    fill: #1d1d1b;
}
.maat-cube-face::before {
    content: "";
    position: absolute;
    top: -200%;
    left: -200%;
    width: 400%;
    height: 400%;
    background: conic-gradient(rgb(255, 0, 149), rgb(255, 230, 0), yellow, rgb(136, 255, 0), rgb(0, 195, 255), rgb(255, 2, 242), rgb(144, 75, 255), rgb(255, 94, 0));
    opacity: .30;
    animation: maat-rainbow-shine 6s linear infinite;
    mix-blend-mode: overlay;
    pointer-events: none;
    z-index: 1;
}

@keyframes maat-rainbow-shine {
    from {
        transform: rotate(0deg) translate(0, 0);
    }
    to {
        transform: rotate(360deg) translate(0, 0);
    }
}
@keyframes maat-cube-spin {
    0% {
        transform: rotateX(-22deg) rotateY(0deg) rotateZ(35deg);
    }
    100% {
        transform: rotateX(-22deg) rotateY(360deg) rotateZ(35deg);
    }
}
@media (max-width: 767.98px) {
    .maat-cube-scene {
        --cube-size: 210px;
    }
}
@media (prefers-reduced-motion: reduce) {

   .maat-cube,
    .maat-cube-face::before {
        animation: none;
    }
    .maat-cube {
        transform: rotateX(-22deg) rotateY(35deg) rotateZ(35deg);
    }
}
/* =========================================
   FOOTER
========================================= */
.maat-footer {
    position: relative;
    padding: 7rem 2rem 2rem;
    background: #0a0b0e;
    color: #f4f3ee;
    overflow: hidden;
}

.maat-back-to-top {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 50%;
    background: rgba(16, 17, 22, .75);
    backdrop-filter: blur(8px);
    color: #f4f3ee;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease, background 180ms ease;
    z-index: 999;
}

.maat-back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.maat-back-to-top:hover {
    background: #C0C9CB;
    color: #101116;
}

/* =========================================
   PARTE PRINCIPALE
========================================= */
.maat-footer__main {
    margin-left: 0;
    margin-right: 0;
    padding-bottom: 6rem;
}

/* =========================================
   BRAND
========================================= */
.maat-footer__brand {
    display: inline-block;
    margin: 0;
    font-family: "Special Elite", serif;
    font-size: clamp(5rem, 14vw, 14rem);
    font-weight: 400;
    max-width: clamp(10rem, 5vw, 12rem);
    line-height: 0.7;
    letter-spacing: -0.04em;
    color: #f4f3ee;
    text-decoration: none;
    transition: color 200ms ease, transform 250ms ease;
}

.maat-footer__brand:hover {
    color: #C0C9CB;
    transform: translateX(0.15rem);
}

/* =========================================
   CLAIM
========================================= */
.maat-footer__claim {
    max-width: 32ch;
    margin: 2rem 0 0;
    font-family: "Caveat", cursive;
    font-size: clamp(1.3rem, 2vw, 2rem);
    color: #C0C9CB;
}

/* =========================================
   LABEL
========================================= */
.maat-footer__label {
    max-width: 32ch;
    margin: 2rem 0 0;
    font-family: "Caveat", cursive;
    font-size: clamp(1.3rem, 2vw, 2rem);
    color: #C0C9CB;
}

/* =========================================
   NAV / LINK
========================================= */
.maat-footer__nav,
.maat-footer__links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
}

.maat-footer__nav a,
.maat-footer__links a {
    position: relative;
    color: #f4f3ee;
    font-size: clamp(1rem, 1.3vw, 1.2rem);
    text-decoration: none;
    opacity: 0.75;
    transition: opacity 180ms ease, color 180ms ease, transform 180ms ease;
}

.maat-footer__nav a:hover,
.maat-footer__links a:hover {
    color: #C0C9CB;
    opacity: 1;
    transform: translateX(0.25rem);
}

/* icone social */
.maat-footer__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.maat-footer__social-icon {
    display: block;
    width: 28px;
    height: 28px;
    object-fit: contain;
    transition: transform 180ms ease, opacity 180ms ease;
}
.maat-footer__social-link:hover .maat-footer__social-icon {
    transform: translateY(-2px);
    opacity: 0.7;
}
/* =========================================
   PARTE BASSA
========================================= */
.maat-footer__bottom {
    margin-left: 0;
    margin-right: 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.maat-footer__copyright,
.maat-footer__credits {
    margin: 0;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    opacity: 0.35;
}

.maat-footer__credits {
    text-align: right;
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {
    .maat-footer {
        padding: 5rem 1rem 1.5rem;
    }
    .maat-footer__main {
        padding-bottom: 4rem;
    }
    .maat-footer__brand {
        font-size: clamp(5rem, 27vw, 8rem);
    }
    .maat-footer__claim {
        margin-top: 1.5rem;
    }
    .maat-footer__credits {
        text-align: left;
    }
}
/* =========================
ANIMATIONS
========================= */
.content-area {
    color: #f4f3ee;
}























/* =========================================
   ARCHIVE PROGETTI
========================================= */
.archive-progetti {
    background: transparent;
    color: #f4f3ee;
}

/* =========================================
   HERO
========================================= */
.archive-progetti__hero {
    padding: 6rem 2rem 5rem;
}

.archive-progetti__eyebrow {
    margin: 0 0 1rem;
    font-family: "Caveat", cursive;
    font-size: clamp(1.4rem, 2.2vw, 2.3rem);
    color: #C0C9CB;
}

.archive-progetti__title {
    margin: 0;
    font-family: "Special Elite", serif;
    font-size: clamp(3rem, 6vw, 8rem);
    font-weight: 400;
    line-height: 0.82;
    text-transform: uppercase;
}

/* =========================================
   BODY
========================================= */
.archive-progetti__body {
    padding: 2rem 0 8rem;
}

/* =========================================
   FILTRI
========================================= */
.archive-progetti__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    padding: 0 2rem 4rem;
}

.archive-progetti__filter {
    padding: 0.55rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    background: transparent;
    color: #f4f3ee;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    cursor: pointer;
    transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.archive-progetti__filter:hover,
.archive-progetti__filter.is-active {
    color: #101116;
    background: #C0C9CB;
    border-color: #C0C9CB;
}

/* =========================================
   BOOTSTRAP ROW
========================================= */
.archive-progetti__grid {
    align-items: flex-start;
    padding: 2rem 2rem 4rem;
    margin-left: 0;
    margin-right: 0;
}

/* =========================================
   COLONNE BOOTSTRAP
========================================= */
.archive-progetti__col {
    position: relative;
    display: flex;
    justify-content: center;
    transition: opacity 180ms ease;
}

/* filtro */
.archive-progetti__col.is-hidden {
    display: none;
}

/* =========================================
   PROGETTO
========================================= */
.archive-progetti__item {
    position: relative;
    width: 100%;
    max-width: 430px;
    min-width: 0;
    transform-origin: 50% 0;
    will-change: transform;
    transition: transform 300ms cubic-bezier(.2,.75,.2,1 ), z-index 0ms;
}
.archive-progetti__item:hover {
    z-index: 20;
}
/* =========================================
   DISPOSIZIONE IRREGOLARE
========================================= */
/* 1 */
.archive-progetti__col:nth-child(6n + 1) .archive-progetti__item {
    --project-angle: -3deg;
    --project-y: 1rem;
    transform: translateY(var(--project-y)) rotate(var(--project-angle));
}
/* 2 */
.archive-progetti__col:nth-child(6n + 2) .archive-progetti__item {
    --project-angle: 2deg;
    --project-y: -2rem;
    transform: translateY(var(--project-y)) rotate(var(--project-angle));
}
/* 3 */
.archive-progetti__col:nth-child(6n + 3) .archive-progetti__item {
    --project-angle: -1.5deg;
    --project-y: 3rem;
    transform: translateY(var(--project-y)) rotate(var(--project-angle));
}
/* 4 */
.archive-progetti__col:nth-child(6n + 4) .archive-progetti__item {
    --project-angle: 2.5deg;
    --project-y: 1rem;
    transform: translateY(var(--project-y)) rotate(var(--project-angle));
}
/* 5 */
.archive-progetti__col:nth-child(6n + 5) .archive-progetti__item {
    --project-angle: -4deg;
    --project-y: -1rem;
    transform: translateY(var(--project-y)) rotate(var(--project-angle));
}
/* 6 */
.archive-progetti__col:nth-child(6n) .archive-progetti__item {
    --project-angle: 3deg;
    --project-y: 2rem;

    transform: translateY(var(--project-y)) rotate(var(--project-angle));
}
/* =========================================
   HOVER - OSCILLAZIONE
========================================= */

@media (hover: hover) and (pointer: fine) {
    .archive-progetti__item:hover {
        z-index: 20;
        animation: archive-progetti-swing 800ms cubic-bezier(0.22,0.61,0.36,1);
    }
}
/* =========================================
   ANIMAZIONE
========================================= */
@keyframes archive-progetti-swing {

    0% {
        transform: translateY(var(--project-y, 0)) rotate(var(--project-angle, 0deg));
    }
    20% {
        transform: translateY(var(--project-y, 0)) rotate(2deg);
    }
    42% {
        transform: translateY(var(--project-y, 0)) rotate(-1.5deg);
    }
    62% {
        transform: translateY(var(--project-y, 0)) rotate(0.9deg);
    }
    78% {
        transform: translateY(var(--project-y, 0)) rotate(-0.4deg);
    }
    100% {
        transform: translateY(var(--project-y, 0)) rotate(var(--project-angle, 0deg));
    }
}
/* =========================================
   LINK
========================================= */
.archive-progetti__link {
    display: block;
    color: inherit;
    text-decoration: none;
}
/* =========================================
   PAPER
========================================= */
.archive-progetti__paper {
    position: relative;
    padding: 0.75rem;
    background: #f4f3ee;
    box-shadow: 0 1.5rem 3rem rgba(0,0,0,0.38);
}
/* =========================================
   SCOTCH PNG REALE
========================================= */
.archive-progetti__tape {
    position: absolute;
    z-index: 20;
    top: -42px;
    left: 50%;
    display: block;
    width: clamp(135px,36%,205px);
    height: auto;
    pointer-events: none;
    user-select: none;
    transform: translateX(-50%) rotate(-1deg);
    transform-origin: center;
    filter: drop-shadow(0 4px 3px rgba(0,0,0,0.2));
}
/* =========================================
   VARIAZIONI SCOTCH
========================================= */
.archive-progetti__col:nth-child(3n + 1)
.archive-progetti__tape {
    transform: translateX(-50%) rotate(-2deg);
}
.archive-progetti__col:nth-child(3n + 2)
.archive-progetti__tape {
    transform: translateX(-50%) rotate(1.5deg);
}
.archive-progetti__col:nth-child(3n + 3)
.archive-progetti__tape {
    transform: translateX(-50%) rotate(-0.5deg);
}
/* =========================================
   IMMAGINE
========================================= */
.archive-progetti__image {
    overflow: hidden;
}

.archive-progetti__thumbnail {
    display: block;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center;
}
/* =========================================
   PLACEHOLDER
========================================= */
.archive-progetti__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 4 / 5;
    padding: 2rem;
    background: #222;
    color: #f4f3ee;
    font-family: "Special Elite", serif;
    text-align: center;
}
/* =========================================
   META
========================================= */
.archive-progetti__meta {
    margin-top: 1rem;
}

.archive-progetti__name {
    margin: 0 0 0.4rem;
    font-family: "Special Elite", serif;
    font-size: clamp(1.2rem, 1.7vw, 1.8rem);
    font-weight: 400;
    line-height: 1;
}
.archive-progetti__year {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.7rem;
    opacity: 0.5;
}
/* =========================================
   TIPOLOGIE
========================================= */
.archive-progetti__types {
    margin-top: 0.4rem;
    font-family: "Caveat", cursive;
    font-size: 1.05rem;
    color: #C0C9CB;
}
/* =========================================
   RELAZIONI
========================================= */
.archive-progetti__relations {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 0.6rem;
    margin-top: 0.3rem;
    font-size: 0.67rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.55;
}
/* =========================================
   TABLET
========================================= */
@media (max-width: 991.98px) {
    .archive-progetti__item {
        max-width: 380px;
    }
    .archive-progetti__col:nth-child(odd) .archive-progetti__item {
        --project-angle: -2deg;
        --project-y: 0;
        transform: rotate(var(--project-angle));
    }
    .archive-progetti__col:nth-child(even) .archive-progetti__item {
        --project-angle: 2deg;
        --project-y: 0;
        transform: rotate(var(--project-angle));
    }
}
/* =========================================
   MOBILE
========================================= */
@media (max-width: 767px) {
    .archive-progetti__hero {
        padding: 4rem 1rem 3rem;
    }
    .archive-progetti__filters {
        padding: 0 1rem 3rem;
    }
    .archive-progetti__grid {
        padding: 2rem 1rem 3rem;
    }
    .archive-progetti__col {
        margin-bottom: 2rem;
    }
    .archive-progetti__item {
        width: 88%;
        max-width: 420px;
    }
    .archive-progetti__col:nth-child(odd) .archive-progetti__item {
        --project-angle: -2deg;
        --project-y: 0;
        transform: rotate(var(--project-angle));
    }
    .archive-progetti__col:nth-child(even) .archive-progetti__item {
        --project-angle: 2deg;
        --project-y: 0;
        transform: rotate(var(--project-angle));
    }
}
@media (max-width: 767.98px) {
    .archive-progetti__tape {
        top: -38px;
        width: clamp(125px,38vw,180px);
    }
}








































/* =========================================
   ARCHIVE EVENTI
========================================= */

.archive-eventi {
    color: #f4f3ee;
    overflow: hidden;
}

/* HERO */
.archive-eventi__hero {
    padding: 6rem 2rem 7rem;
}

.archive-eventi__eyebrow {
    margin: 0 0 1rem;
    font-family: "Caveat", cursive;
    font-size: clamp(1.4rem, 2.2vw, 2.3rem);
    color: #C0C9CB;
}

.archive-eventi__title {
    margin: 0;
    font-family: "Special Elite", serif;
    font-size: clamp(3rem, 6vw, 8rem);
    font-weight: 400;
    line-height: 0.8;
    text-transform: uppercase;
}

/* BODY */
.archive-eventi__body {
    padding: 2rem 0 9rem;
}

.archive-eventi__grid {
    display: flex;
    flex-direction: column;
    gap: 7rem;
    padding: 0 2rem;
}

.archive-eventi__item {
    width: 100%;
}

/* =========================================
   BOOTSTRAP ROW
========================================= */
.archive-eventi__link {
    color: inherit;
    text-decoration: none;
}

/* alternanza desktop */
@media (min-width: 768px) {
    .archive-eventi__item:nth-child(even) .archive-eventi__visual-col {
        order: 2;
    }

    .archive-eventi__item:nth-child(even) .archive-eventi__content-col {
        order: 1;
    }
}
/* =========================================
   POLAROID
========================================= */
.archive-eventi__visual {
    position: relative;
    display: table;
    width: auto !important;
    max-width: 520px;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 auto;
    padding: 0.65rem 0.65rem 0;
    background: #f2eee4;
    color: #151515;
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.26), 0 2px 7px rgba(0, 0, 0, 0.12);
    transform: rotate(-1.5deg);
    transition: transform 300ms ease, box-shadow 300ms ease;
}
/* variazioni */
.archive-eventi__item:nth-child(even) .archive-eventi__visual {
    transform: rotate(1.2deg);
}
.archive-eventi__item:nth-child(3n) .archive-eventi__visual {
    transform: rotate(-0.5deg);
}
/* =========================================
   IMMAGINE
========================================= */
.archive-eventi__photo {
    position: relative;
    z-index: 2;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #111;
}
.archive-eventi__thumbnail {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center;
    margin: 0 !important;
}
/* =========================================
   DIDASCALIA POLAROID
========================================= */
.archive-eventi__polaroid-caption {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    min-height: clamp(4.5rem,7vw,6.5rem);
    padding: 0.9rem 0.75rem 0.7rem;
}
.archive-eventi__polaroid-date {
    display: inline-block;
    font-family: "Caveat", cursive;
    font-size: clamp(1.2rem,1.7vw,1.65rem);
    font-weight: 600;
    line-height: 1;
    color: #bf164b;
    transform: rotate(-2deg);
    transform-origin: left center;
}
/* =========================================
   COLONNA FOTO BOOTSTRAP
========================================= */
.archive-eventi__visual-col {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    align-self: center;
}
/* =========================================
   TEXTURE CARTA
========================================= */
.archive-eventi__visual::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.12;
    background: repeating-linear-gradient( 0deg, rgba(0, 0, 0, 0.05) 0, rgba(0, 0, 0, 0.05) 1px, transparent 1px, transparent 3px);
    mix-blend-mode: multiply;
}
/* =========================================
   HOVER
========================================= */
@media (hover: hover) and (pointer: fine) {
    .archive-eventi__link:hover
    .archive-eventi__visual {
        transform: rotate(0deg) translateY(-5px);
        box-shadow: 0 23px 48px rgba(0, 0, 0, 0.32), 0 3px 9px rgba(0, 0, 0, 0.13);
    }
}
/* =========================================
   TESTO
========================================= */
.archive-eventi__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.archive-eventi__type {
    margin-bottom: 0.8rem;
    font-family: "Caveat", cursive;
    font-size: 1.35rem;
    color: #C0C9CB;
}

.archive-eventi__name {
    margin: 0;
    font-family: "Special Elite", serif;
    font-size: clamp(2.4rem, 5vw, 5.5rem);
    font-weight: 400;
    line-height: 0.9;
}

.archive-eventi__meta {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-top: 1.4rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    opacity: 0.58;
}

/* REALTÀ */
.archive-eventi__realta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-top: 1.4rem;
}

.archive-eventi__realta-image {
    display: block;
    width: auto;
    height: auto;
    max-width: 90px;
    max-height: 45px;
    object-fit: contain;
}

.archive-eventi__realta-name {
    font-size: 0.72rem;
    opacity: 0.6;
}

/* CTA */
.archive-eventi__cta {
    margin-top: 1.5rem;
    font-family: "Caveat", cursive;
    font-size: 1.4rem;
    opacity: 0;
    transform: translateY(5px);
    transition: opacity 180ms ease, transform 180ms ease;
}

.archive-eventi__link:hover .archive-eventi__cta {
    opacity: 1;
    transform: none;
}

/* SEPARATORE */
.archive-eventi__item:not(:last-child) {
    padding-bottom: 7rem;
}

/* =========================================
   TABLET
========================================= */
@media (max-width: 991px) {
    .archive-eventi__visual {
        max-width: 420px;
    }

    .archive-eventi__name {
        font-size: clamp(2rem, 6vw, 8rem);
    }

    .archive-eventi__meta_realta {
        display: flex;
        flex-direction: row;
        gap: 5rem;
    }

}

/* =========================================
   MOBILE
========================================= */
@media (max-width: 767px) {
    .archive-eventi__hero {
        padding: 4rem 1rem 5rem;
    }
    .archive-eventi__grid {
        gap: 5rem;
        padding: 0 1rem;
    }
    .archive-eventi__visual {
        max-width: 360px;
        padding: 0.5rem 0.5rem 0;
        margin-bottom: 1rem;
        transform: rotate(-0.7deg);
    }
    .archive-eventi__polaroid-caption {
        min-height: 4.2rem;
        padding: 0.75rem 0.6rem 0.55rem;
    }
    .archive-eventi__polaroid-date {
        font-size: 1.35rem;
    }
    .archive-eventi__meta_realta {
        display: flex;
        flex-direction: row;
        gap: 5rem;
    }
    .archive-eventi__item:nth-child(even)
    .archive-eventi__visual {
        transform: rotate(0.7deg);
    }
    .archive-eventi__item:nth-child(3n)
    .archive-eventi__visual {
        transform: rotate(-0.4deg);
    }
    .archive-eventi__item:not(:last-child) {
        padding-bottom: 5rem;
    }
    .archive-eventi__cta {
        opacity: 1;
        transform: none;
    }
}






























/* =========================================
   SINGLE PROGETTI
========================================= */

.single-progetto {
    background: transparent;
    color: #f4f3ee;
}

/* =========================================
   HERO
========================================= */
.single-progetto__hero {
    padding: 5rem 2rem 4rem;
}

.single-progetto__headline {
    margin-left: 0;
    margin-right: 0;
}

/* =========================================
   TITOLO
========================================= */
.single-progetto__title {
    margin: 0;
    max-width: 13ch;
    font-family: "Special Elite", serif;
    font-size: clamp(3rem, 6vw, 8rem);
    font-weight: 400;
    line-height: 0.86;
}

/* =========================================
   LOGHI REALTÀ
========================================= */

.single-progetto__realta-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 1.5rem;
    padding-top: 0.5rem;
    align-items: center;
}

.single-progetto__realta-link {
    display: block;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    text-decoration: none;
    transition: opacity 200ms ease, transform 200ms ease;
}

.single-progetto__realta-link:hover {
    opacity: 0.75;
    transform: translateY(-2px);
}

.single-progetto__realta-logo {
    display: block;
    width: auto;
    height: auto;
    max-width: 160px;
    max-height: 90px;
    object-fit: contain;
}

.single-progetto__realta-name {
    color: #f4f3ee;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* =========================================
   DETTAGLI
========================================= */
.single-progetto__details {
    padding: 3rem 2rem 4rem;
}

.single-progetto__details-row {
    margin-left: 0;
    margin-right: 0;
}

.single-progetto__detail {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.single-progetto__detail-label {
    font-size: 1rem;
    text-transform: none;
    letter-spacing: 0.08em;
    opacity: 0.95;
    font-family: "Caveat", cursive;
}

.single-progetto__detail-value {
    font-size: 0.86rem;
    line-height: 1.4;
    opacity: 0.75;
}

/* =========================================
   LINK DETTAGLI
========================================= */
.single-progetto__detail-links,
.single-progetto__evento-list {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.single-progetto__detail-links a,
.single-progetto__evento-link {
    color: inherit;
    font-size: 0.8rem;
    text-decoration: none;
    opacity: 0.65;
    transition: color 180ms ease, opacity 180ms ease;
}

.single-progetto__detail-links a:hover,
.single-progetto__evento-link:hover {
    color: #C0C9CB;
    opacity: 1;
}

/* =========================================
   COVER / FEATURED IMAGE
========================================= */

.single-progetto__cover-section {
    padding: 4rem 0 6rem;
}
/* =========================================
   FOGLIO APPESO
========================================= */
.single-progetto__cover {
    position: relative;
    width: 100%;
    margin: 0;
    transform-origin: 50% 0;
    --single-project-angle: -1.5deg;
    transform: rotate(var(--single-project-angle));
    will-change: transform;
}
/* =========================================
   LOCANDINA / FOGLIO
========================================= */

.single-progetto__paper {
    position: relative;
    padding: 0.75rem;
    background: #f4f3ee;
    box-shadow: 0 1.5rem 3.5rem rgba(0, 0, 0, 0.4);
    line-height: 0;
}
.single-progetto__cover-image {
    display: block;
    width: 100% !important;
    height: auto !important;
    max-height: none;
    object-fit: initial;
}
/* =========================================
   SCOTCH PNG REALE
========================================= */
.single-progetto__tape {
    position: absolute;
    z-index: 20;
    top: -42px;
    left: 50%;
    display: block;
    width: clamp(140px,30%,210px);
    height: auto;
    pointer-events: none;
    user-select: none;
    transform: translateX(-50%) rotate(-2deg);
    transform-origin: center;
    filter: drop-shadow( 0 4px 3px rgba(0,0,0,0.2 ));
}


/* =========================================
   HOVER - OSCILLAZIONE
========================================= */

@media (hover: hover) and (pointer: fine) {

    .single-progetto__cover:hover {
        animation: single-progetto-swing 800ms cubic-bezier(0.22,0.61,0.36,1);
    }
}
/* =========================================
   ANIMAZIONE
========================================= */
@keyframes single-progetto-swing {

    0% {
        transform: rotate(var( --single-project-angle, 0deg));
    }
    20% {
        transform: rotate(1.6deg);
    }
    42% {
        transform: rotate(-1.1deg);
    }
    62% {
        transform: rotate(0.6deg);
    }
    78% {
        transform: rotate(-0.25deg);
    }
    100% {
        transform: rotate(var(--single-project-angle, 0deg));
    }
}
/* =========================================
   BODY / GALLERIA
========================================= */
.single-progetto__body {
    padding: 5rem 2rem 8rem;
}
.single-progetto__content {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    font-size: clamp(1rem, 1.3vw, 1.2rem);
    line-height: 1.7;
}

/* =========================================
   TESTO GUTENBERG
========================================= */
.single-progetto__content>p,
.single-progetto__content>h2,
.single-progetto__content>h3,
.single-progetto__content>h4,
.single-progetto__content>ul,
.single-progetto__content>ol,
.single-progetto__content>blockquote {
    max-width: 70ch;
    margin-left: auto;
    margin-right: auto;
}

/* =========================================
   FOOGALLERY
========================================= */
.single-progetto .foogallery.fg-light.fg-shadow-outline .fg-item-inner {
    box-shadow: none !important;
}

.single-progetto .foogallery.fg-light .fg-item-inner {
    background-color: transparent !important;
    border-color: transparent !important;
}

/* =========================================
   NAVIGAZIONE
========================================= */
.single-progetto__navigation {
    padding: 4rem 2rem 7rem;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.single-progetto__navigation-inner {
    margin-left: 0;
    margin-right: 0;
}

.single-progetto__navigation-next {
    text-align: right;
}

.single-progetto__navigation a {
    display: inline-flex;
    flex-direction: column;
    gap: 0.5rem;
    color: inherit;
    text-decoration: none;
}

.single-progetto__navigation span {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.5;
}

.single-progetto__navigation strong {
    max-width: 20ch;
    font-family: "Special Elite", serif;
    font-size: clamp(1.3rem, 2vw, 2rem);
    font-weight: 400;
    line-height: 1;
}

.single-progetto__navigation a:hover strong {
    color: #C0C9CB;
}

/* =========================================
   TABLET
========================================= */
@media (max-width: 991px) {
    .single-progetto__hero {
        padding: 4rem 1.5rem 3rem;
    }

    .single-progetto__details {
        padding: 3rem 1.5rem;
    }

    .single-progetto__body {
        padding: 4rem 1.5rem 6rem;
    }

    .single-progetto__realta-logo {
        max-width: 130px;
        max-height: 75px;
    }
}

/* =========================================
   MOBILE
========================================= */
@media (max-width: 767px) {

    .single-progetto__hero {
        padding: 3rem 1rem 2rem;
    }
    .single-progetto__realta-list {
        justify-content: flex-start;
        margin-top: 1.5rem;
        padding-top: 0;
    }

    .single-progetto__realta-logo {
        max-width: 120px;
        max-height: 65px;
    }

    .single-progetto__details {
        padding: 2.5rem 1rem;
    }

    .single-progetto__body {
        padding: 3rem 1rem 5rem;
    }

    .single-progetto__navigation {
        padding: 3rem 1rem 5rem;
    }

    .single-progetto__navigation-next {
        text-align: left;
    }
}
@media (max-width: 767.98px) {

    .single-progetto__cover-section {
        padding: 3rem 0 4rem;
    }
    .single-progetto__cover {
        --single-project-angle: -1deg;
    }
    .single-progetto__tape {
        top: -38px;
        width: clamp(125px,38vw,180px);
    }

}









































/* =========================================
   SINGLE EVENTO
========================================= */

.single-evento {
    background: transparent;
    color: #f4f3ee;
}

/* =========================================
   HERO
========================================= */
.single-evento__hero {
    padding:
        5rem 2rem 4rem;
}

.single-evento__headline {
    margin-left: 0;
    margin-right: 0;
}

/* =========================================
   TITOLO
========================================= */
.single-evento__title {
    margin: 0;
    max-width: 13ch;
    font-family: "Special Elite", serif;
    font-size: clamp(3rem, 6vw, 8rem);
    font-weight: 400;
    line-height: 0.84;
}

/* =========================================
   LOGHI REALTÀ
========================================= */
.single-evento__logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 1.5rem;
    align-items: center;
}

.single-evento__logo-link {
    display: block;
    color: inherit;
    text-decoration: none;
    transition: opacity 200ms ease, transform 200ms ease;
}

.single-evento__logo-link:hover {
    opacity: 0.7;
    transform: translateY(-3px);
}

.single-evento__logo {
    display: block;
    width: auto;
    height: auto;
    max-width: 160px;
    max-height: 90px;
    object-fit: contain;
}

.single-evento__logo-name {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* =========================================
   DETTAGLI
========================================= */
.single-evento__details {
    padding: 3rem 2rem 4rem;
}

.single-evento__details-row {
    margin-left: 0;
    margin-right: 0;
}

.single-evento__detail {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.single-evento__detail-label {
    font-size: 1rem;
    text-transform: none;
    letter-spacing: 0.08em;
    opacity: 0.35;
    font-family: "Caveat", cursive;
}

.single-evento__detail-value {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    font-size: 0.85rem;
    line-height: 1.35;
    opacity: 0.78;
}

.single-evento__date,
.single-evento__place {
    opacity: 0.65;
}

/* =========================================
   LINK REALTÀ
========================================= */

.single-evento__detail-links {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.single-evento__detail-links a {
    color: #f4f3ee;
    font-size: 0.82rem;
    text-decoration: none;
    opacity: 0.72;
    transition: color 180ms ease, opacity 180ms ease;
}

.single-evento__detail-links a:hover {
    color: #C0C9CB;
    opacity: 1;
}

/* =========================================
   LINK ESTERNI
========================================= */
.single-evento__links {
    padding: 2rem 2rem 0;
}

.single-evento__links-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem 1.5rem;
}

.single-evento__links a {
    display: inline-flex;
    color: #f4f3ee;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-decoration: none;
    border-bottom: 1px solid rgba(244, 243, 238, 0.4);
    transition: color 180ms ease, border-color 180ms ease;
}

.single-evento__links a:hover {
    color: #C0C9CB;
    border-color: #C0C9CB;
}
/* =========================================
   SINGLE EVENTO - POLAROID
========================================= */
.single-evento__cover-section {
    padding: 4rem 0 6rem;
}
/* =========================================
   POLAROID
========================================= */
.single-evento__polaroid {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0.9rem 0.9rem 1.4rem;
    background: #e9e6dc;
    color: #151515;
    box-shadow: 0 1.5rem 3.5rem rgba(0,0,0,0.42);
    transform: rotate(-1.2deg);
    transform-origin: center;
    transition: transform 350ms cubic-bezier(.2,.75,.2,1), box-shadow 350ms ease;
}
/* texture carta */

.single-evento__polaroid::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.12;
    background: repeating-linear-gradient( 0deg, rgba(0, 0, 0, 0.05) 0, rgba(0, 0, 0, 0.05) 1px, transparent 1px, transparent 3px);
    mix-blend-mode: multiply;
}
/* =========================================
   FOTO
========================================= */
.single-evento__polaroid-photo {
    position: relative;
    z-index: 2;
    width: 100%;
    overflow: hidden;
    background: #222;
}
.single-evento__polaroid-image {
    display: block;
    width: 100% !important;
    height: auto !important;
    object-fit: contain;
}
/* =========================================
   DIDASCALIA POLAROID
========================================= */
.single-evento__polaroid-caption {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    min-height: clamp(5rem,9vw,8rem);
    padding: 1.1rem 1rem 0.7rem;
}
/* data scritta a mano */
.single-evento__polaroid-date {
    display: inline-block;
    margin-left: 0.4rem;
    font-family: "Caveat", cursive;
    font-size: clamp(1.4rem,2.2vw,2rem);
    font-weight: 600;
    line-height: 1;
    color: #bf164b;
    transform: rotate(-2deg);
    transform-origin: left center;
}
/* =========================================
   HOVER
========================================= */

@media (hover: hover) and (pointer: fine) {
    .single-evento__polaroid:hover {
        transform: rotate(0deg) translateY(-0.4rem);
        box-shadow: 0 2rem 4rem rgba(0,0,0,0.5);
    }
}
/* =========================================
   MOBILE
========================================= */
@media (max-width: 767.98px) {
    .single-evento__cover-section {
        padding: 3rem 0 4rem;
    }
    .single-evento__polaroid {
        padding: 0.65rem 0.65rem 1.1rem;
        transform: rotate(-0.8deg);
    }
    .single-evento__polaroid-caption {
        padding: 1rem 0.35rem 0.2rem;
    }
}
/* =========================================
   GALLERIA PLUGIN
========================================= */
.single-evento .foogallery.fg-light.fg-shadow-outline .fg-item-inner {
    box-shadow: none !important;
}
.single-evento .foogallery.fg-light .fg-item-inner {
    background-color: transparent !important;
    border-color: transparent !important;
}
.single-evento__gallery {
    padding: 2rem 2rem 8rem;
}
.single-evento__content {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}
.single-evento__content>*:first-child {
    margin-top: 0;
}
.single-evento__content>*:last-child {
    margin-bottom: 0;
}
/* =========================================
   PROGETTI COLLEGATI
========================================= */
.single-evento__progetti {
    position: relative;
    padding: 7rem 0 8rem;
    overflow: hidden;
}
/* HEADER */
.single-evento__progetti-header {
    padding: 0 2rem;
    margin-bottom: 5rem;
}
.single-evento__progetti-eyebrow {
    margin: 0 0 1rem;
    font-family: "Caveat", cursive;
    font-size: clamp(1.4rem, 2vw, 2rem);
    color: #C0C9CB;
}
.single-evento__progetti-title {
    margin: 0;
    font-family: "Special Elite", serif;
    font-size: clamp(3rem, 5vw, 7rem);
    font-weight: 400;
    line-height: 0.85;
}
/* =========================================
   BOOTSTRAP ROW
========================================= */
.single-evento__progetti-grid {
    align-items: flex-start;
    padding: 0 2rem 4rem;
    margin-left: 0;
    margin-right: 0;
}
/* =========================================
   COLONNA PROGETTO
========================================= */
.single-evento__progetto-col {
    display: flex;
    justify-content: center;
}
/* =========================================
   PROGETTO
========================================= */
.single-evento__progetto {
    position: relative;
    width: 100%;
    max-width: 430px;
    transition: transform 300ms cubic-bezier(.2, .75, .2, 1), z-index 0ms;
}
/* IRREGOLARITÀ */
.single-evento__progetto--1 {
    transform: rotate(-3deg) translateY(1rem);
}
.single-evento__progetto--2 {
    transform: rotate(2.5deg) translateY(-1.5rem);
}
.single-evento__progetto--3 {
    transform: rotate(-2deg) translateY(2rem);
}

.single-evento__progetto--4 {
    transform: rotate(2deg) translateY(0.5rem);
}

.single-evento__progetto--5 {
    transform: rotate(-4deg) translateY(-1rem);
}

.single-evento__progetto--6 {
    transform: rotate(3deg) translateY(2rem);
}

/* =========================================
   LINK
========================================= */
.single-evento__progetto-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

/* =========================================
   FOGLIO
========================================= */
.single-evento__progetto-paper {
    position: relative;
    padding: 0.75rem;
    background: #f4f3ee;
    box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.35);
}

/* =========================================
   SCOTCH
========================================= */
.single-evento__progetto-paper::before {
    content: "";
    position: absolute;
    top: -1.1rem;
    left: 50%;
    z-index: 5;
    width: 42%;
    height: 2rem;
    transform: translateX(-50%) rotate(-3deg);
    background: rgba(226, 214, 177, 0.68);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
}

/* =========================================
   IMMAGINE
========================================= */
.single-evento__progetto-image {
    overflow: hidden;
}

.single-evento__progetto-thumbnail {
    display: block;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center;
    transition: transform 350ms ease;
}

/* =========================================
   PLACEHOLDER
========================================= */
.single-evento__progetto-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 4 / 5;
    padding: 2rem;
    background: #222;
    color: #f4f3ee;
    font-family: "Special Elite", serif;
    text-align: center;
}

/* =========================================
   TITOLO PROGETTO
========================================= */
.single-evento__progetto-title {
    margin: 1rem 0 0;
    font-family: "Special Elite", serif;
    font-size: clamp(1.1rem, 1.5vw, 1.5rem);
    font-weight: 400;
    line-height: 1.05;
}

/* =========================================
   HOVER PROGETTO
========================================= */

.single-evento__progetto:hover {
    z-index: 20;
    transform: rotate(0deg) translateY(-0.5rem) scale(1.03);
}

.single-evento__progetto-link:hover .single-evento__progetto-thumbnail {
    transform: scale(1.025);
}

/* =========================================
   TABLET
========================================= */
@media (max-width: 991px) {
    .single-evento__hero {
        padding: 4rem 1.5rem 3rem;
    }

    .single-evento__details {
        padding: 3rem 1.5rem;
    }

    .single-evento__links {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .single-evento__gallery {
        padding: 2rem 1.5rem 6rem;
    }

    .single-evento__logo {
        max-width: 130px;
        max-height: 75px;
    }

    .single-evento__progetto {
        max-width: 380px;
        transform: rotate(-2deg);
    }

    .single-evento__progetto:nth-child(even) {
        transform: rotate(2deg);
    }

}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    .single-evento__hero {
        padding: 3rem 1rem 2.5rem;
    }
    .single-evento__logos {
        justify-content: flex-start;
        margin-top: 1rem;
    }
    .single-evento__logo {
        max-width: 120px;
        max-height: 65px;
    }
    .single-evento__details {
        padding: 2.5rem 1rem;
    }
    .single-evento__links {
        padding: 2rem 1rem 0;
    }
    .single-evento__cover-section {
        padding: 2rem 0 3rem;
    }
    .single-evento__gallery {
        padding: 2rem 1rem 5rem;
    }
    .single-evento__progetti {
        padding: 5rem 0 6rem;
    }
    .single-evento__progetti-header {
        padding: 0 1rem;
        margin-bottom: 3rem;
    }
    .single-evento__progetti-grid {
        padding: 0 1rem 2rem;
    }
    .single-evento__progetto-col {
        margin-bottom: 2.5rem;
    }
    .single-evento__progetto {
        width: 88%;
        max-width: 420px;
        transform: rotate(-2deg);
    }
    .single-evento__progetto:nth-child(even) {
        transform: rotate(2deg);
    }
}

@media (max-width: 767.98px) {

    .single-evento__polaroid {
        padding: 0.7rem 0.7rem 1.7rem;
        transform: rotate(-0.8deg);
    }

}



























/* =========================================
   SINGLE DISEGNO
========================================= */

.single-disegno {
    color: #f4f3ee;
}


/* HERO */

.single-disegno__hero {
    padding: clamp(5rem, 9vw, 9rem) 2rem clamp(3rem, 6vw, 6rem);
}


.single-disegno__title {
    margin: 0;
    font-family: "Special Elite", serif;
    font-size: clamp(3rem, 6vw, 8rem);
    font-weight: 400;
    line-height: 0.82;
    text-transform: uppercase;
}
/* =========================================
   DETTAGLI
========================================= */

.single-disegno__details {
    padding: 0 2rem clamp(3rem, 5vw, 5rem);
}


.single-disegno__details-row {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.12);
}
.single-disegno__detail {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}


.single-disegno__detail-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.5;
}
.single-disegno__detail-value {
    font-size: 1rem;
}
/* =========================================
   OPERA
========================================= */
.single-disegno__cover-section {
    padding: 0 1rem clamp(5rem, 8vw, 8rem);
}
.single-disegno__cover {
    margin: 0;
    text-align: center;
}
.single-disegno__cover-image {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 88vh;
    max-height: 88dvh;
    margin: 0 auto;
    object-fit: contain;
}
/* =========================================
   CONTENUTO / GALLERIA
========================================= */
.single-disegno__body {
    padding: 0 2rem clamp(5rem, 8vw, 8rem);
}
.single-disegno__content {
    width: 100%;
}
.single-disegno__content > *:first-child {
    margin-top: 0;
}
.single-disegno__content > *:last-child {
    margin-bottom: 0;
}
/* =========================================
   NAVIGAZIONE
========================================= */

.single-disegno__navigation {
    padding: clamp(3rem, 5vw, 5rem) 2rem;
    border-top: 1px solid rgba(255,255,255,0.12);
}


.single-disegno__navigation a {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    color: #f4f3ee;
    text-decoration: none;
}
.single-disegno__navigation a:hover {
    color: #C0C9CB;
}
.single-disegno__navigation span {
    font-family: "Caveat", cursive;
    font-size: 1.2rem;
    opacity: 0.7;
}
.single-disegno__navigation strong {
    font-family: "Special Elite", serif;
    font-size: clamp(1.5rem,3vw,2.5rem);
    font-weight: 400;
}
.single-disegno__navigation-next {
    text-align: right;
}
/* =========================================
   DISPONIBILITÀ DISEGNO
========================================= */
.single-disegno__availability--disponibile {
    color: #C0C9CB;
}
.single-disegno__availability--non_disponibile {
    opacity: 0.55;
}
/* =========================================
   SINGLE DISEGNO - CORNICE
========================================= */
.single-disegno__framed {
    margin: 0;
    width: 100%;
    text-align: center;
}
.single-disegno__framed-picture {
    position: relative;
    width: 100%;
    line-height: 0;
    overflow: hidden;
    filter: drop-shadow(10px 18px 16px rgba(0, 0, 0, 0.4));
}
.single-disegno__framed-artwork {
    position: absolute;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #f3f0e8;
}
.single-disegno__framed-image {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
}
.single-disegno__frame-image {
    position: relative;
    z-index: 3;
    display: block;
    width: 100%;
    height: auto;
    pointer-events: none;
    user-select: none;
}
/* =========================================
   NERA
========================================= */
.single-disegno__framed--nera.single-disegno__framed--portrait .single-disegno__framed-artwork {
    top: 12%;
    right: 17%;
    bottom: 12%;
    left: 17%;
}
.single-disegno__framed--nera.single-disegno__framed--landscape .single-disegno__framed-artwork {
    top: 18%;
    right: 11%;
    bottom: 18%;
    left: 11%;
}
/* =========================================
   LEGNO
========================================= */
.single-disegno__framed--legno.single-disegno__framed--portrait .single-disegno__framed-artwork {
    top: 12.5%;
    right: 18%;
    bottom: 12.5%;
    left: 18%;
}
.single-disegno__framed--legno.single-disegno__framed--landscape .single-disegno__framed-artwork {
    top: 18%;
    right: 11.5%;
    bottom: 18%;
    left: 11.5%;
}
/* =========================================
   BAROCCA
========================================= */
.single-disegno__framed--barocca.single-disegno__framed--portrait .single-disegno__framed-artwork {
    top: 20%;
    right: 18%;
    bottom: 19%;
    left: 18%;
}
.single-disegno__framed--barocca.single-disegno__framed--landscape .single-disegno__framed-artwork {
    top: 27%;
    right: 11.5%;
    bottom: 25%;
    left: 11.5%;
}
/* =========================================
   MOBILE
========================================= */
@media (max-width: 767.98px) {

    .single-disegno__hero {
        padding: 4rem 1rem 3rem;
    }
    .single-disegno__title {
        font-size: clamp(3.5rem,16vw,5.5rem);
    }
    .single-disegno__details {
        padding: 0 1rem 3rem;
    }
    .single-disegno__cover-section {
        padding: 0 1rem 4rem;
    }
    .single-disegno__cover-image {
        max-height: 80dvh;
    }
    .single-disegno__body {
        padding: 0 1rem 4rem;
    }
    .single-disegno__navigation {
        padding: 3rem 1rem;
    }
    .single-disegno__navigation-next {
        text-align: left;
    }

}

































/* =========================================
   ARCHIVE DISEGNI
========================================= */

.archive-disegni {
    position: relative;
    color: #f4f3ee;
}
/* =========================================
   HERO
========================================= */
.archive-disegni__hero {
    padding: clamp(6rem, 10vw, 10rem) 2rem clamp(5rem, 8vw, 8rem);
}
.archive-disegni__eyebrow {
    margin: 0 0 1rem;
    font-family: "Caveat", cursive;
    font-size: clamp(1.4rem, 2.2vw, 2.3rem);
    color: #C0C9CB;
}
.archive-disegni__title {
    margin: 0;
    font-family: "Special Elite", serif;
    font-size: clamp(3rem, 6vw, 8rem);
    font-weight: 400;
    line-height: 0.8;
    text-transform: uppercase;
}
/* =========================================
   PARETE
========================================= */
.archive-disegni__wall {
    position: relative;
    padding: 3rem 2rem 12rem;
}
.archive-disegni__grid {
    position: relative;
}
.archive-disegni__col {
    display: flex;
    justify-content: center;
    margin-bottom: clamp(5rem,10vw,11rem);
}
/* =========================================
   DISPOSIZIONE IRREGOLARE
========================================= */
.archive-disegni__col:nth-child(4n + 1) {
    padding-top: 2rem;
}
.archive-disegni__col:nth-child(4n + 2) {
    padding-top: 8rem;
}
.archive-disegni__col:nth-child(4n + 3) {
    padding-top: 0;
}
.archive-disegni__col:nth-child(4n + 4) {
    padding-top: 5rem;
}
/* =========================================
   OGGETTO APPESO
========================================= */
.archive-disegni__item {
    position: relative;
    width: 100%;
    transform-origin: 50% -24px;
    will-change: transform;
}
.archive-disegni__item--1,
.archive-disegni__item--7,
.archive-disegni__item--13 {
    --frame-angle: -1.3deg;
    transform: rotate(var(--frame-angle));
}
.archive-disegni__item--2,
.archive-disegni__item--6,
.archive-disegni__item--11 {
    --frame-angle: 1.1deg;
    transform: rotate(var(--frame-angle));
}
.archive-disegni__item--3,
.archive-disegni__item--9 {
    --frame-angle: -0.5deg;
    transform: rotate(var(--frame-angle));
}
.archive-disegni__item--4,
.archive-disegni__item--10 {
    --frame-angle: 1.7deg;
    transform: rotate(var(--frame-angle));
}
.archive-disegni__item--5,
.archive-disegni__item--8,
.archive-disegni__item--12 {
    --frame-angle: -0.8deg;
    transform: rotate(var(--frame-angle));
}
/* =========================================
   LINK
========================================= */
.archive-disegni__link {
    position: relative;
    display: block;
    color: inherit;
    text-decoration: none;
}
/* =========================================
   SISTEMA DI SOSPENSIONE
========================================= */

.archive-disegni__nail {
    position: absolute;
    z-index: 10;
    top: -62px;
    left: 50%;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #aaa;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
    transform: translateX(-50%);
}
/* =========================================
   FILI
========================================= */
.archive-disegni__hanging {
    position: absolute;
    z-index: 2;
    top: -58px;
    left: 0;
    width: 100%;
    height: 63px;
    pointer-events: none;
}
.archive-disegni__wire-svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}
.archive-disegni__wire-svg line {
    fill: none;
    stroke: rgba(205,205,205,0.7);
    stroke-width: 0.7;
    vector-effect: non-scaling-stroke;
}
/* =========================================
   BAROCCA SENZA CHIODO
========================================= */
.archive-disegni__item--barocca
.archive-disegni__nail,
.archive-disegni__item--barocca
.archive-disegni__hanging {
    display: none;
}
/* =========================================
   QUADRO
========================================= */
.archive-disegni__picture {
    position: relative;
    width: 100%;
    line-height: 0;
    overflow: hidden;
    filter: drop-shadow(8px 14px 12px rgba(0, 0, 0, 0.45));
}
/* =========================================
   DISEGNO
========================================= */
.archive-disegni__artwork {
    position: absolute;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #f3f0e8;
}
.archive-disegni__image {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
}
/* =========================================
   CORNICE PNG
========================================= */
.archive-disegni__frame-image {
    position: relative;
    z-index: 3;
    display: block;
    width: 100%;
    height: auto;
    pointer-events: none;
    user-select: none;
}
/* =========================================
   CORNICE NERA
========================================= */
/* verticale */
.archive-disegni__item--nera.archive-disegni__item--portrait .archive-disegni__artwork {
    top: 12%;
    right: 17%;
    bottom: 12%;
    left: 17%;
}
/* orizzontale */
.archive-disegni__item--nera.archive-disegni__item--landscape .archive-disegni__artwork {
    top: 18%;
    right: 11%;
    bottom: 18%;
    left: 11%;
}
/* =========================================
   CORNICE LEGNO
========================================= */
/* verticale */
.archive-disegni__item--legno.archive-disegni__item--portrait .archive-disegni__artwork {
    top: 12.5%;
    right: 18%;
    bottom: 12.5%;
    left: 18%;
}
/* orizzontale */
.archive-disegni__item--legno.archive-disegni__item--landscape .archive-disegni__artwork {
    top: 18%;
    right: 11.5%;
    bottom: 18%;
    left: 11.5%;
}
/* =========================================
   CORNICE BAROCCA
========================================= */
/* verticale */
.archive-disegni__item--barocca.archive-disegni__item--portrait .archive-disegni__artwork {
    top: 20%;
    right: 18%;
    bottom: 19%;
    left: 18%;
}
/* orizzontale */
.archive-disegni__item--barocca.archive-disegni__item--landscape .archive-disegni__artwork {
    top: 27%;
    right: 11.5%;
    bottom: 25%;
    left: 11.5%;
}
/* =========================================
   HOVER - OSCILLAZIONE
========================================= */
.archive-disegni__item:hover {
    animation: archive-disegni-swing 850ms cubic-bezier( 0.22, 0.61, 0.36, 1);
}
@keyframes archive-disegni-swing {
    0% {
        transform: rotate(var( --frame-angle, 0deg));
    }
    20% {
        transform: rotate(2.2deg);
    }
    42% {
        transform: rotate(-1.6deg);
    }
    62% {
        transform: rotate(1deg);
    }
    78% {
        transform: rotate(-0.5deg);
    }
    100% {
        transform: rotate(var(--frame-angle, 0deg));
    }
}
/* =========================================
   MOBILE
========================================= */

@media (max-width: 767.98px) {
    .archive-disegni__hero {
        padding: 5rem 1rem 4rem;
    }
    .archive-disegni__wall {
        padding: 1rem 1rem 7rem;
    }
    .archive-disegni__col:nth-child(4n + 1),
    .archive-disegni__col:nth-child(4n + 2),
    .archive-disegni__col:nth-child(4n + 3),
    .archive-disegni__col:nth-child(4n + 4) {
        padding-top: 0;
    }
    .archive-disegni__col:nth-child(even) {
        margin-left: auto;
    }
    .archive-disegni__col:nth-child(odd) {
        margin-right: auto;
    }
    .archive-disegni__col {
        margin-bottom: 5rem;
    }

}
/* =========================================
   TOUCH / ACCESSIBILITÀ
========================================= */
@media (
    hover: none
) {

    .archive-disegni__item:hover {
        animation: none;
    }

}
@media (
    prefers-reduced-motion: reduce
) {
    .archive-disegni__item:hover {
        animation: none;
    }

}






























/* =========================================
   ARCHIVE REALTÀ
========================================= */
.archive-realta {
    background: transparent;
    color: #f4f3ee;
    min-height: 100vh;
}

/* =========================================
   HERO
========================================= */
.archive-realta__hero {
    padding: clamp(4rem, 8vw, 8rem) 2rem 5rem;
}

.archive-realta__eyebrow {
    margin: 0 0 0.8rem;
    text-transform: none;
    font-family: "Caveat", cursive;
    font-size: clamp(1.4rem, 2.2vw, 2.3rem);
    color: #C0C9CB;
}

.archive-realta__title {
    margin: 0;
    font-family: "Special Elite", serif;
    font-size: clamp(3rem, 5vw, 8rem);
    font-weight: 400;
    line-height: 0.82;
    text-transform: uppercase;
}


/* =========================================
   BODY
========================================= */

.archive-realta__body {
    padding: 0 2rem 8rem;
}

/* =========================================
   GRID BOOTSTRAP
========================================= */
.archive-realta__grid {
    margin-left: 0;
    margin-right: 0;
}

/* =========================================
   COLONNE
========================================= */
.archive-realta__col {
    display: flex;
}

/* =========================================
   ITEM
========================================= */
.archive-realta__item {
    width: 100%;
    min-width: 0;
    padding: clamp(0.5rem, 1vw, 1rem);
}

/* =========================================
   LINK / CARD VETRO
========================================= */
.archive-realta__link {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 340px;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    color: #f4f3ee;
    text-decoration: none;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.035));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 18px 45px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: transform 250ms ease, border-color 250ms ease, background 250ms ease, box-shadow 250ms ease;
}

/* =========================================
   RIFLESSO VETRO
========================================= */
.archive-realta__link::before {
    content: "";
    position: absolute;
    top: -40%;
    left: -20%;
    width: 65%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    transform: rotate(12deg);
    pointer-events: none;
    opacity: 0.7;
}

/* =========================================
   LOGO
========================================= */
.archive-realta__logo-wrap {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-height: 190px;
    padding: 1rem 0 2rem;
}
.archive-realta__logo {
    display: block;
    width: auto;
    height: auto;
    max-width: 72%;
    max-height: 140px;
    object-fit: contain;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.18));
    transition: transform 250ms ease;
}
.archive-realta__logo-fallback {
    font-family: "Special Elite", serif;
    font-size: clamp(1.4rem, 2vw, 2rem);
    text-align: center;
}
/* =========================================
   TESTI
========================================= */
.archive-realta__meta {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.archive-realta__name {
    margin: 0;
    font-family: "Special Elite", serif;
    font-size: clamp(1.3rem, 2vw, 1.8rem);
    font-weight: 400;
    line-height: 1;
}
.archive-realta__excerpt {
    margin: 0.8rem 0 0;
    max-width: 34ch;
    font-size: 0.78rem;
    line-height: 1.5;
    opacity: 0.55;
}
.archive-realta__cta {
    margin-top: 1.2rem;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.45;
    transition: opacity 200ms ease, transform 200ms ease;
}
/* =========================================
   HOVER
========================================= */
.archive-realta__link:hover {
    color: #f4f3ee;
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.28);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.055));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 25px 55px rgba(0, 0, 0, 0.28);
}
.archive-realta__link:hover .archive-realta__logo {
    transform: scale(1.06);
}
.archive-realta__link:hover .archive-realta__cta {
    opacity: 1;
    transform: translateX(4px);
}
/* =========================================
   PAGINAZIONE
========================================= */
.archive-realta__pagination {
    margin-top: 4rem;
}
.archive-realta__pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 0.7rem;
}
.archive-realta__pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.7rem;
    color: inherit;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    opacity: 0.55;
    transition: opacity 180ms ease, color 180ms ease, background 180ms ease, border-color 180ms ease;
}
.archive-realta__pagination .page-numbers.current,
.archive-realta__pagination .page-numbers:hover {
    color: #101116;
    background: #C0C9CB;
    border-color: #C0C9CB;
    opacity: 1;
}
/* =========================================
   TABLET
========================================= */
@media (max-width: 991px) {
    .archive-realta__link {
        min-height: 320px;
    }

    .archive-realta__logo {
        max-width: 70%;
        max-height: 120px;
    }
}
/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    .archive-realta__hero {
        padding: 4rem 1rem 4rem;
    }

    .archive-realta__body {
        padding: 0 1rem 5rem;
    }

    .archive-realta__item {
        padding: 0.25rem;
    }

    .archive-realta__link {
        min-height: 280px;

        padding: 1.5rem;
    }

    .archive-realta__logo-wrap {
        min-height: 140px;
        padding: 1rem 0 1.5rem;
    }

    .archive-realta__logo {
        max-width: 65%;
        max-height: 100px;
    }

    .archive-realta__cta {
        opacity: 1;
        transform: none;
    }
}





















/* =========================================
   SINGLE REALTÀ
========================================= */

.single-realta {
    color: #f4f3ee;
}


/* =========================================
   HERO
========================================= */

.single-realta__hero {
    padding: clamp(4rem, 8vw, 8rem) 2rem 3rem;
}

.single-realta__intro {
    margin-left: 0;
    margin-right: 0;
}


/* =========================================
   TITOLO
========================================= */

.single-realta__title {
    margin: 0;

    font-family: "Special Elite", serif;
    font-size: clamp(3rem, 5vw, 8rem);
    font-weight: 400;
    line-height: 0.86;

    color: #f4f3ee;
}


/* =========================================
   LOGO
========================================= */

.single-realta__logo {
    display: flex;
    justify-content: flex-end;
    align-items: center;

    width: 100%;
}

.single-realta__logo-image {
    display: block;

    width: auto;
    height: auto;

    max-width: 100%;
    max-height: 220px;

    object-fit: contain;
}


/* =========================================
   DESCRIZIONE
========================================= */

.single-realta__body {
    padding: 3rem 0 5rem;
}

.single-realta__content {
    max-width: 850px;

    font-size: clamp(1.05rem, 1.4vw, 1.35rem);
    line-height: 1.65;
}

.single-realta__content > *:first-child {
    margin-top: 0;
}

.single-realta__content > *:last-child {
    margin-bottom: 0;
}

.single-realta__content p {
    margin-bottom: 1.5rem;
}

.single-realta__content a {
    color: inherit;

    text-decoration: underline;
    text-underline-offset: 0.2em;
}


/* =========================================
   LINK SITO / SOCIAL
========================================= */

.single-realta__links {
    padding: 0 0 6rem;
}

.single-realta__links-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.single-realta__links a {
    display: inline-flex;
    align-items: center;
    padding: 0.7rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    color: #f4f3ee;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-decoration: none;
    transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}
.single-realta__links a:hover {
    background: #f4f3ee;
    color: #101116;
    border-color: #f4f3ee;
    transform: translateY(-2px);
}
/* =========================================
   INTESTAZIONI SEZIONI
========================================= */
.single-realta__section-header {
    margin-bottom: clamp(2rem, 4vw, 4rem);
}
.single-realta__eyebrow {
    margin: 0 0 0.8rem;
    font-family: "Caveat", cursive;
    font-size: clamp(1.4rem, 2.2vw, 2.3rem);
    text-transform: none;
    color: #C0C9CB;
}

.single-realta__section-title {
    margin: 0;
    font-family: "Special Elite", serif;
    font-size: clamp(3rem, 6vw, 6rem);
    font-weight: 400;
    line-height: 0.9;
}
/* ==========================================================
   EVENTI COLLEGATI
   POLAROID
========================================================== */
.single-realta__eventi {
    padding: 6rem 2rem 8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}
/* =========================================
   WALL EVENTI
========================================= */
.single-realta__eventi-wall {
    align-items: flex-start;
    margin-left: 0;
    margin-right: 0;
    padding-top: 2rem;
}
.single-realta__evento-col {
    display: flex;
    justify-content: center;
}
/* =========================================
   EVENTO
========================================= */
.single-realta__evento {
    position: relative;
    width: 100%;
    max-width: 360px;
    transition: transform 300ms ease, z-index 0ms;
}


/* =========================================
   DISPOSIZIONE IRREGOLARE EVENTI
========================================= */

.single-realta__evento--1 {
    transform: translateY(1rem) rotate(-4deg);
}

.single-realta__evento--2 {
    transform: translateY(-1.5rem) rotate(2.5deg);
}

.single-realta__evento--3 {
    transform: translateY(2rem) rotate(-1.5deg);
}

.single-realta__evento--4 {
    transform: translateY(-0.5rem) rotate(4deg);
}

.single-realta__evento--5 {
    transform: translateY(1.5rem) rotate(-2.5deg);
}

.single-realta__evento--6 {
    transform: translateY(-1rem) rotate(2deg);
}
/* =========================================
   LINK EVENTO
========================================= */
.single-realta__evento-link {
    display: block;
    width: 100%;
    color: inherit;
    text-decoration: none;
}
/* =========================================
   POLAROID EVENTO
========================================= */
.single-realta__evento-polaroid {
    position: relative;
    width: 100%;
    padding: 0.65rem 0.65rem 0;
    background: #f2eee4;
    color: #151515;
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.26), 0 2px 7px rgba(0, 0, 0, 0.12);
    transition: box-shadow 300ms ease;
}
/* texture carta */
.single-realta__evento-polaroid::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.12;
    background: repeating-linear-gradient(0deg,rgba(0, 0, 0, 0.05) 0,rgba(0, 0, 0, 0.05) 1px,transparent 1px,transparent 3px);
    mix-blend-mode: multiply;
}
/* =========================================
   FOTO EVENTO
========================================= */
.single-realta__evento-photo {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #111;
    z-index: 2;
}
.single-realta__evento-photo img,
.single-realta__evento-thumbnail {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center;
    margin: 0 !important;
    transition: transform 350ms ease, filter 350ms ease;
}
/* =========================================
   DIDASCALIA POLAROID
========================================= */
.single-realta__evento-caption {
    position: relative;
    display: flex;
    align-items: center;
    min-height: clamp(4.5rem,7vw,6.5rem);
    padding: 0.9rem 0.75rem 0.7rem;
    z-index: 2;
}
/* =========================================
   DATA EVENTO
========================================= */
.single-realta__evento-date {
    display: inline-block;
    font-family: "Caveat", cursive;
    font-size: clamp(1.2rem,1.7vw,1.65rem);
    font-weight: 600;
    line-height: 1;
    color: #bf164b;
    transform: rotate(-2deg);
    transform-origin: left center;
}
/* =========================================
   TITOLO EVENTO
========================================= */
.single-realta__evento-title {
    margin: 1rem 0 0;
    font-family: "Special Elite", serif;
    font-size: clamp(1.2rem,1.8vw,1.8rem);
    font-weight: 400;
    line-height: 1.05;
    color: #f4f3ee;
}
/* =========================================
   HOVER EVENTO
========================================= */
@media (hover: hover) and (pointer: fine) {
    .single-realta__evento:hover {
        z-index: 20;
        transform: translateY(-1rem) rotate(0deg) scale(1.04);
    }
    .single-realta__evento-link:hover .single-realta__evento-polaroid {
        box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.52);
    }
    .single-realta__evento-link:hover .single-realta__evento-thumbnail {
        transform: scale(1.055);
        filter: contrast(1.08) saturate(1.08);
    }
}
/* ==========================================================
   PROGETTI COLLEGATI
   FOGLIO + SCOTCH PNG
========================================================== */
.single-realta__progetti {
    padding: 5rem 2rem 8rem;
    overflow: hidden;
}

.single-realta__progetti-grid {
    margin-left: 0;
    margin-right: 0;
    align-items: flex-start;
}

.single-realta__progetto-col {
    display: flex;
    justify-content: center;
}
/* =========================================
   PROGETTO
========================================= */

.single-realta__progetto {
    position: relative;
    width: 100%;
    max-width: 430px;
    min-width: 0;
    transform-origin: 50% 0;
    will-change: transform;
    transition: transform 300ms cubic-bezier(.2,.75,.2,1), z-index 0ms;
}
/* =========================================
   SCOTCH PNG REALE
========================================= */
.single-realta__progetto-tape {
    position: absolute;
    z-index: 20;
    top: -42px;
    left: 50%;
    display: block;
    width: clamp(135px,36%,205px);
    height: auto;
    pointer-events: none;
    user-select: none;
    transform: translateX(-50%) rotate(-1deg);
    transform-origin: center;
    filter: drop-shadow(0 4px 3pxrgba(0,0,0,0.2));
}
/* variazioni scotch */

.single-realta__progetto-col:nth-child(3n + 1) .single-realta__progetto-tape {
    transform: translateX(-50%) rotate(-2deg);
}

.single-realta__progetto-col:nth-child(3n + 2) .single-realta__progetto-tape {
    transform: translateX(-50%) rotate(1.5deg);
}

.single-realta__progetto-col:nth-child(3n + 3) .single-realta__progetto-tape {
    transform: translateX(-50%) rotate(-0.5deg);
}
/* =========================================
   DISPOSIZIONE IRREGOLARE PROGETTI
========================================= */
/* 1 */
.single-realta__progetto-col:nth-child(6n + 1)
.single-realta__progetto {
    --project-angle: -3deg;
    --project-y: 1rem;
    transform: translateY(var(--project-y)) rotate(var(--project-angle));
}
/* 2 */
.single-realta__progetto-col:nth-child(6n + 2)
.single-realta__progetto {
    --project-angle: 2deg;
    --project-y: -2rem;
    transform: translateY(var(--project-y)) rotate(var(--project-angle));
}
/* 3 */
.single-realta__progetto-col:nth-child(6n + 3)
.single-realta__progetto {
    --project-angle: -1.5deg;
    --project-y: 3rem;
    transform: translateY(var(--project-y)) rotate(var(--project-angle));
}
/* 4 */
.single-realta__progetto-col:nth-child(6n + 4) .single-realta__progetto {
    --project-angle: 2.5deg;
    --project-y: 1rem;
    transform: translateY(var(--project-y)) rotate(var(--project-angle));
}
/* 5 */
.single-realta__progetto-col:nth-child(6n + 5) .single-realta__progetto {
    --project-angle: -4deg;
    --project-y: -1rem;
    transform: translateY(var(--project-y)) rotate(var(--project-angle));
}
/* 6 */
.single-realta__progetto-col:nth-child(6n) .single-realta__progetto {
    --project-angle: 3deg;
    --project-y: 2rem;
    transform: translateY(var(--project-y)) rotate(var(--project-angle));
}
/* =========================================
   LINK PROGETTO
========================================= */
.single-realta__progetto-link {
    display: block;
    color: inherit;
    text-decoration: none;
}
/* =========================================
   FOGLIO PROGETTO
========================================= */
.single-realta__progetto-paper {
    position: relative;
    padding: 0.75rem;
    background: #f4f3ee;
    box-shadow: 0 1.5rem 3rem rgba(0,0,0,0.38);
}
/* =========================================
   IMMAGINE PROGETTO
========================================= */
.single-realta__progetto-image {
    overflow: hidden;
}
.single-realta__progetto-thumbnail {
    display: block;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center;
}
/* =========================================
   PLACEHOLDER PROGETTO
========================================= */
.single-realta__progetto-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 4 / 5;
    padding: 2rem;
    background: #222;
    color: #f4f3ee;
    font-family: "Special Elite", serif;
    text-align: center;
}
/* =========================================
   TITOLO PROGETTO
========================================= */
.single-realta__progetto-title {
    margin: 1rem 0 0;
    font-family: "Special Elite", serif;
    font-size: clamp(1.15rem, 1.8vw, 1.7rem);
    font-weight: 400;
    line-height: 1.05;
    transition: color 180ms ease;
}
.single-realta__progetto-link:hover .single-realta__progetto-title {
    color: #C0C9CB;
}
/* =========================================
   HOVER PROGETTO - OSCILLAZIONE
========================================= */
@media (hover: hover) and (pointer: fine) {
    .single-realta__progetto:hover {
        z-index: 20;
        animation: single-realta-progetto-swing 800ms cubic-bezier(0.22,0.61,0.36,1);
    }
}
/* =========================================
   ANIMAZIONE PROGETTO
========================================= */

@keyframes single-realta-progetto-swing {

    0% {
        transform: translateY(var(--project-y, 0)) rotate(var(--project-angle, 0deg));
    }

    20% {
        transform: translateY(var(--project-y, 0)) rotate(2deg);
    }

    42% {
        transform: translateY(var(--project-y, 0)) rotate(-1.5deg);
    }

    62% {
        transform: translateY(var(--project-y, 0)) rotate(0.9deg);
    }

    78% {
        transform: translateY(var(--project-y, 0)) rotate(-0.4deg);
    }

    100% {
        transform: translateY(var(--project-y, 0)) rotate(var(--project-angle, 0deg));
    }
}
/* ==========================================================
   TABLET
========================================================== */
@media (max-width: 991.98px) {
    /* EVENTI */
    .single-realta__evento {
        max-width: 340px;
        transform: rotate(-2deg);
    }
    .single-realta__evento-col:nth-child(even) .single-realta__evento {
        transform: rotate(2deg);
    }
    /* PROGETTI */
    .single-realta__progetto {
        max-width: 380px;
    }
    .single-realta__progetto-col:nth-child(odd) .single-realta__progetto {
        --project-angle: -2deg;
        --project-y: 0;
        transform: rotate(var(--project-angle));
    }
    .single-realta__progetto-col:nth-child(even) .single-realta__progetto {
        --project-angle: 2deg;
        --project-y: 0;
        transform: rotate(var(--project-angle));
    }
}
/* ==========================================================
   MOBILE
========================================================== */
@media (max-width: 767.98px) {
    /* HERO */
    .single-realta__hero {
        padding: 3rem 1rem 2rem;
    }
    .single-realta__logo {
        justify-content: flex-start;
    }
    .single-realta__logo-image {
        max-width: 180px;
        max-height: 110px;
    }
    /* DESCRIZIONE */
    .single-realta__body {
        padding: 2rem 0 4rem;
    }
    .single-realta__links {
        padding-bottom: 4rem;
    }
    /* =========================================
       EVENTI MOBILE - SCROLL ORIZZONTALE
    ========================================= */
    .single-realta__eventi {
        padding: 4rem 0 5rem;
    }
    .single-realta__eventi .single-realta__section-header {
        padding: 0 1rem;
    }
    .single-realta__eventi-wall {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: visible;
        gap: 1.5rem;
        padding: 3rem 1.5rem 4rem;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }
    .single-realta__eventi-wall::-webkit-scrollbar {
        display: none;
    }
    .single-realta__evento-col {
        flex: 0 0 76vw;
        width: 76vw;
        max-width: 76vw;
        padding-left: 0;
        padding-right: 0;
        scroll-snap-align: center;
    }
    .single-realta__evento {
        width: 100%;
        max-width: none;
        transform: rotate(-2deg);
    }
    .single-realta__evento-col:nth-child(even)
    .single-realta__evento {
        transform: rotate(2deg);
    }
    /* =========================================
       PROGETTI MOBILE
    ========================================= */
    .single-realta__progetti {
        padding: 4rem 1rem 5rem;
    }
    .single-realta__progetto-col {
        margin-bottom: 2.5rem;
    }
    .single-realta__progetto {
        width: 88%;
        max-width: 420px;
    }
    .single-realta__progetto-tape {
        top: -38px;
        width: clamp(125px,38vw,180px);
    }
}















































/* =========================================
   CONTATTI
========================================= */
.page-contatti {
    padding: clamp(4rem, 8vw, 8rem) 0 8rem;
    color: #f4f3ee;
}

.page-contatti__eyebrow {
    margin: 0 0 1rem;
    font-family: "Caveat", cursive;
    font-size: clamp(1.4rem, 2.2vw, 2.3rem);
    color: #C0C9CB;
}
.page-contatti__title {
    margin: 0;
    font-family: "Special Elite", serif;
    font-size: clamp(3rem, 6vw, 8rem);
    font-weight: 400;
    line-height: 0.85;
}

.page-contatti__intro {
    max-width: 34ch;
    margin-top: 2rem;
    font-size: clamp(1rem, 1.4vw, 1.3rem);
    line-height: 1.6;
    opacity: 0.75;
}
/* =========================================
   CONTACT FORM 7
========================================= */
.maat-contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.maat-contact-form__field {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.maat-contact-form label {
    font-family: "Caveat", cursive;
    font-size: 1.2rem;
    color: #C0C9CB;
}
.maat-contact-form input[type="text"],
.maat-contact-form input[type="email"],
.maat-contact-form textarea {
    width: 100%;
    padding: 0.9rem 0;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
    background: transparent;
    color: #f4f3ee;
    font-size: 1rem;
    border-radius: 0;
    outline: none;
    transition: border-color 180ms ease;
}
.maat-contact-form input:focus,
.maat-contact-form textarea:focus {
    border-bottom-color: #C0C9CB;
}
.maat-contact-form textarea {
    min-height: 180px;
    resize: vertical;
}
/* PRIVACY */
.maat-contact-form__privacy {
    font-size: 0.8rem;
    line-height: 1.4;
    opacity: 0.75;
}
.maat-contact-form__privacy input {
    margin-right: 0.5rem;
}
/* INVIA */
.maat-contact-form input[type="submit"] {
    padding: 0.7rem 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 999px;
    background: transparent;
    color: #f4f3ee;
    font-family: "Special Elite", serif;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}
.maat-contact-form input[type="submit"]:hover {
    background: #C0C9CB;
    color: #101116;
    transform: translateY(-2px);
}
/* MESSAGGI CF7 */
.wpcf7-not-valid-tip {
    margin-top: 0.4rem;
    color: #ff5b7f;
    font-size: 0.75rem;
}
.wpcf7 form .wpcf7-response-output {
    margin: 2rem 0 0;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #f4f3ee;
}
/* MOBILE */
@media (max-width: 767.98px) {
    .page-contatti {
        padding: 4rem 1rem 5rem;
    }
}













/* =========================================
   MAAT SEARCH
========================================= */


/* =========================================
   LENTE NAVBAR
========================================= */

.maat-search-toggle {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: #f4f3ee;
    cursor: pointer;
    opacity: 0.75;
    transition: opacity 180ms ease, transform 180ms ease;
}

.maat-search-toggle:hover {
    opacity: 1;
    transform: scale(1.06);
}

/* SVG */
.maat-search-toggle__icon {
    display: block;
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* =========================================
   OVERLAY
========================================= */
.maat-search-overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(8, 8, 12, 0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    color: #f4f3ee;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 250ms ease, visibility 250ms ease, transform 250ms ease;
    z-index: 100000;
}

/* APERTA */
.maat-search-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}
body.maat-search-open {
    overflow: hidden;
}
/* =========================================
   CONTENUTO
========================================= */
.maat-search-overlay .container {
    width: 100%;
}

.maat-search-overlay__inner {
    width: min(1100px, 100%);
    margin: 0 auto;
    padding: 2rem;
}

/* =========================================
   EYEBROW
========================================= */
.maat-search-overlay__eyebrow {
    margin: 0 0 1.5rem;
    font-family: "Caveat", cursive;
    font-size: clamp(1.4rem, 2vw, 2rem);
    color: #C0C9CB;
}

/* =========================================
   FORM
========================================= */
.maat-search {
    display: flex;
    align-items: flex-end;
    width: 100%;
    border-bottom: 1px solidrgba(244, 243, 238, 0.35);
}

/* =========================================
   INPUT
========================================= */
.maat-search__input {
    flex: 1;
    min-width: 0;
    width: 100%;
    padding: 0.5rem 1rem 0.8rem 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    outline: 0;
    background: transparent;
    color: #f4f3ee;
    font-family: "Special Elite", serif;
    font-size: clamp(2.5rem, 7vw, 7rem);
    font-weight: 400;
    line-height: 1;
    caret-color: #C0C9CB;
    appearance: none;
    -webkit-appearance: none;
}

.maat-search__input::placeholder {
    color: rgba(244, 243, 238, 0.22);
    opacity: 1;
}

.maat-search__input::-webkit-search-cancel-button {
    display: none;
}

/* =========================================
   CERCA
========================================= */
.maat-search__submit {
    flex: 0 0 auto;
    margin: 0 0 1rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: #f4f3ee;
    font-family: "Caveat", cursive;
    font-size: 1.5rem;
    cursor: pointer;
    white-space: nowrap;
    opacity: 0.65;
    transition: opacity 180ms ease, color 180ms ease, transform 180ms ease;
}

.maat-search__submit:hover {
    color: #C0C9CB;
    opacity: 1;
    transform: translateX(4px);
}

/* =========================================
   CHIUDI
========================================= */
.maat-search-overlay__close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #f4f3ee;
    font-size: 3rem;
    font-weight: 200;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
}

/* =========================================
   FOCUS
========================================= */
.maat-search-toggle:focus-visible,
.maat-search-overlay__close:focus-visible,
.maat-search__submit:focus-visible {
    outline: 2px solid #C0C9CB;
    outline-offset: 4px;
}

/* =========================================
   MOBILE
========================================= */
@media (max-width: 767.98px) {
    .maat-search-toggle {
        margin-left: auto;
        margin-right: 0.4rem;
        width: 40px;
        height: 40px;
    }

    .maat-search-toggle__icon {
        width: 21px;
        height: 21px;
    }

    .maat-search-overlay__inner {
        padding: 1rem;
    }

    .maat-search-overlay__eyebrow {
        margin-bottom: 1rem;
    }

    .maat-search {
        display: block;
    }

    .maat-search__input {
        display: block;
        padding: 0.5rem 0 0.8rem;
        font-size: clamp(2.5rem, 12vw, 4.5rem);
    }

    .maat-search__submit {
        display: block;
        margin: 1rem 0 0.8rem;
    }

    .maat-search-overlay__close {
        top: 0.7rem;
        right: 0.7rem;
        width: 44px;
        height: 44px;
        font-size: 2.5rem;
    }
}

/* =========================================
   REDUCED MOTION
========================================= */
@media (prefers-reduced-motion: reduce) {

    .maat-search-overlay,
    .maat-search-toggle,
    .maat-search__submit {
        transition: none;
    }
}
















/* =========================================
   SEARCH RESULTS
========================================= */

.search-results-page {
    color: #f4f3ee;
}

/* HERO */
.search-results-page__hero {
    padding: clamp(4rem, 8vw, 8rem) 2rem 5rem;
}

.search-results-page__eyebrow {
    margin: 0 0 1rem;
    font-family: "Caveat", cursive;
    font-size: clamp(1.4rem, 2vw, 2rem);
    color: #C0C9CB;
}

.search-results-page__title {
    margin: 0;
    font-family: "Special Elite", serif;
    font-size: clamp(3rem, 6vw, 8rem);
    font-weight: 400;
    line-height: 0.9;
}
.search-results-page__title span {
    color: #C0C9CB;
}
/* BODY */
.search-results-page__body {
    padding: 0 2rem 8rem;
}
/* CARD */
.search-results-page__item {
    height: 100%;
}
.search-results-page__link {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}
/* IMMAGINE */
.search-results-page__image {
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #1a1b20;
}
.search-results-page__thumbnail {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 300ms ease, filter 300ms ease;
}
/* TESTO */
.search-results-page__content {
    padding-top: 1rem;
}
.search-results-page__type {
    display: block;
    margin-bottom: 0.5rem;
    font-family: "Caveat", cursive;
    font-size: 1.1rem;
    color: #C0C9CB;
}
.search-results-page__name {
    margin: 0;
    font-family: "Special Elite", serif;
    font-size: clamp(1.4rem, 2vw, 2rem);
    font-weight: 400;
    line-height: 1;
}
.search-results-page__excerpt {
    margin: 0.8rem 0 0;
    max-width: 35ch;
    font-size: 0.82rem;
    line-height: 1.5;
    opacity: 0.6;
}
.search-results-page__cta {
    display: inline-block;
    margin-top: 1rem;
    font-family: "Caveat", cursive;
    font-size: 1.25rem;
    opacity: 0.55;
    transition: opacity 180ms ease, transform 180ms ease;
}
/* HOVER */
.search-results-page__link:hover .search-results-page__thumbnail {
    transform: scale(1.035);
    filter: contrast(1.05) saturate(1.05);
}
.search-results-page__link:hover .search-results-page__cta {
    opacity: 1;
    transform: translateX(4px);
}
/* PAGINAZIONE */
.search-results-page__pagination {
    margin-top: 5rem;
}
.search-results-page__pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}
.search-results-page__pagination .page-numbers {
    color: inherit;
    text-decoration: none;
    opacity: 0.55;
}
.search-results-page__pagination .page-numbers.current,
.search-results-page__pagination .page-numbers:hover {
    opacity: 1;
    color: #C0C9CB;
}
/* EMPTY */
.search-results-page__empty {
    font-size: 1rem;
    opacity: 0.7;
}
/* MOBILE */
@media (max-width: 767.98px) {

    .search-results-page__hero {
        padding: 4rem 1rem 3rem;
    }
    .search-results-page__body {
        padding: 0 1rem 5rem;
    }
}

































/* =========================================
   ERROR PAGE
========================================= */

.maat-error-page {
    color: #f4f3ee;
}

.maat-error-page__section {
    min-height: 75vh;
    display: flex;
    align-items: center;
    padding: clamp(4rem, 8vw, 8rem) 2rem;
}

.min-vh-75 {
    min-height: 75vh;
}

.maat-error-page__code {
    margin: 0 0 1rem;
    font-family: "Caveat", cursive;
    font-size: clamp(2rem, 4vw, 4rem);
    color: #C0C9CB;
}

.maat-error-page__title {
    margin: 0;
    max-width: 10ch;
    font-family: "Special Elite", serif;
    font-size: clamp(3rem, 6vw, 8rem);
    font-weight: 400;
    line-height: 0.85;
}

.maat-error-page__text {
    max-width: 38ch;
    margin-top: 2rem;
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.65;
}

.maat-error-page__actions {
    margin-top: 2rem;
}

.maat-error-page__link {
    color: #f4f3ee;
    font-family: "Caveat", cursive;
    font-size: 1.5rem;
    text-decoration: none;
}

.maat-error-page__link:hover {
    color: #C0C9CB;
}

.maat-error-page__visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 350px;
    font-family: "Special Elite", serif;
    font-size: clamp(10rem, 25vw, 25rem);
    line-height: 1;
    opacity: 0.08;
}

@media (max-width: 767.98px) {
    .maat-error-page__section {
        padding: 4rem 1rem;
    }

    .maat-error-page__visual {
        min-height: 200px;
        justify-content: flex-start;
    }
}























/* =========================================
   TREMORE ARCHIVE
========================================= */
.tremore-page {
    position: relative;
    color: #f4f3ee;
    overflow: clip;
}
/* =========================================
   TREMORE HERO
========================================= */
.tremore-hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(5rem, 10vw, 10rem) 2rem;
    text-align: center;
    z-index: 10;
}
.tremore-hero__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}
/* FANZINE */
.tremore-hero__eyebrow {
    margin: 0 0 clamp(1.5rem, 3vw, 3rem);
    font-family: "Caveat", cursive;
    font-size: clamp(1.5rem,2.5vw,2.4rem);
    color: #C0C9CB;
    text-align: center;
}
/* =========================================
   LOGO TREMORE
========================================= */
.tremore-hero__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.tremore-hero__logo-image {
    display: block;
    width: min(760px,80vw);
    height: auto;
    transform-origin: center center;
    cursor: default;
    will-change: transform, filter;
}
/* =========================================
   TREMOLIO
========================================= */
.tremore-hero__logo-image:hover {
    animation: tremore-logo-shake 0.14s steps(2, end) infinite;
    filter:
        blur(0.15px);
}
@keyframes tremore-logo-shake {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    10% {
        transform: translate(-2px, 1px) rotate(-0.25deg);
    }
    20% {
        transform: translate(2px, -1px) rotate(0.2deg);
    }
    30% {
        transform: translate(-1px, -2px) rotate(0.1deg);
    }
    40% {
        transform: translate(1px, 2px) rotate(-0.2deg);
    }
    50% {
        transform: translate(-3px, 0) rotate(0.25deg);
    }
    60% {
        transform: translate(2px, 1px) rotate(-0.15deg);
    }
    70% {
        transform: translate(0, -2px) rotate(0.2deg);
    }
    80% {
        transform: translate(-1px, 2px) rotate(-0.25deg);
    }
    90% {
        transform: translate(2px, -1px) rotate(0.1deg);
    }
    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}
/* =========================================
   MOBILE
========================================= */
@media (max-width: 767.98px) {
    .tremore-hero {
        min-height: 65dvh;
        padding: 5rem 1rem;
    }
    .tremore-hero__eyebrow {
        margin-bottom: 1.5rem;
    }
    .tremore-hero__logo-image {
        width: min(92vw,560px);
    }
}
/* =========================================
   ACCESSIBILITÀ
========================================= */
@media (prefers-reduced-motion: reduce) {
    .tremore-hero__logo-image:hover {
        animation: none;
    }
}
/* =========================================
   EXPERIENCE
========================================= */
.tremore-experience {
    position: relative;
}
/* =========================================
   STAGE STICKY
========================================= */
.tremore-stage {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: -100vh;
    margin-bottom: -100dvh;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
    perspective: 1500px;
}
.tremore-stage__inner {
    /*
     * Dimensione del singolo pannello.

     * Il foglio aperto è:
     * 4 pannelli in larghezza
     * 2 in altezza.
     */
    --tremore-panel-width: min(19vw,24dvh,240px);
    --tremore-panel-height: calc(var(--tremore-panel-width) * 1.4142);
    position: relative;
    width: calc(var(--tremore-panel-width) * 4);
    height: calc(var(--tremore-panel-height) * 2);
    transform-style: preserve-3d;
    perspective: 1500px;
}
/* =========================================
   FOGLIO
========================================= */
.tremore-paper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    will-change: transform;
}
/* =========================================
   RIGHE
========================================= */
.tremore-paper__row {
    position: absolute;
    left: 0;
    width: 100%;
    height: var(--tremore-panel-height);
    transform-style: preserve-3d;
    will-change: transform;
    backface-visibility: visible;
}
.tremore-paper__row--top {
    top: 0;
    /*
     * Piega orizzontale centrale.
     * La riga superiore ruota
     * sul suo bordo inferiore.
     */
    transform-origin: center bottom;
}
.tremore-paper__row--bottom {
    top: var(--tremore-panel-height);
    transform-origin: center top;
}
/* =========================================
   METÀ DELLE RIGHE
========================================= */
.tremore-paper__half {
    position: absolute;
    top: 0;
    width: calc(var(--tremore-panel-width) * 2);
    height: var(--tremore-panel-height);
    transform-style: preserve-3d;
    will-change: transform;
    backface-visibility: visible;
}
.tremore-paper__half--left {
    left: 0;
    /*
     * Piega sulla linea tra
     * colonna 2 e colonna 3.
     */
    transform-origin: right center;
}
.tremore-paper__half--right {
    left: calc(var(--tremore-panel-width) * 2);
    transform-origin: left center;
}
/* =========================================
   PANNELLI
========================================= */
.tremore-paper__panel {
    position: absolute;
    top: 0;
    width: var(--tremore-panel-width);
    height: var(--tremore-panel-height);
    /*
     * Carta quasi trasparente.
     */
    background: rgba(244,243,238,0.035);
    transform-style: preserve-3d;
    backface-visibility: visible;
    will-change: transform;
    box-sizing: border-box;
}
/* =========================================
   POSIZIONI PANNELLI
========================================= */
/*
 * Dentro ogni metà abbiamo
 * due pannelli.
 */
.tremore-paper__half .tremore-paper__panel:first-child {
    left: 0;
}
.tremore-paper__half .tremore-paper__panel:last-child {
    left: var(--tremore-panel-width);
}
/* =========================================
   BORDO ESTERNO
========================================= */
/*
 * Riga superiore = bordo alto.
 */
.tremore-paper__panel--top {
    border-top: 2px solid #f4f3ee;
}
/*
 * Riga inferiore = bordo basso.
 */
.tremore-paper__panel--bottom {
    border-bottom: 2px solid #f4f3ee;
}
/*
 * Prima colonna.
 */
.tremore-paper__panel--col-1 {
    border-left: 2px solid #f4f3ee;
}
/*
 * Ultima colonna.
 */
.tremore-paper__panel--col-4 {
    border-right: 2px solid #f4f3ee;
}
/* =========================================
   PIEGHE VERTICALI
========================================= */
/*
 * Le pieghe interne NON sono bordi
 * dell'oggetto indipendenti.

 * Sono attaccate ai pannelli
 * e quindi ruotano insieme alla carta.
 */
.tremore-paper__panel--col-1,
.tremore-paper__panel--col-2,
.tremore-paper__panel--col-3 {
    border-right: 2px dashed rgba(244,243,238,0.7);
}
/* =========================================
   PIEGA ORIZZONTALE CENTRALE
========================================= */
.tremore-paper__panel--top {
    border-bottom: 2px dashed rgba(244,243,238,0.7);
}
/* =========================================
   PANNELLI ESTERNI

   Servono come ulteriori cerniere
   per l'ultima apertura.
========================================= */
.tremore-paper__panel--outer-left {
    transform-origin: right center;
}
.tremore-paper__panel--outer-right {
    transform-origin: left center;
}
/* =========================================
   LEGGERA PROFONDITÀ
========================================= */
.tremore-paper__panel {
    box-shadow: inset 0 0 20px rgba(255,255,255,0.015);
}
/* =========================================
   CONTENUTI
========================================= */
.tremore-scroll {
    position: relative;
    z-index: 5;
}
/* =========================================
   NUMERO
========================================= */
.tremore-issue {
    position: relative;
    min-height: 115vh;
    min-height: 115dvh;
    padding: 0 2rem;
}
/* alternanza */
.tremore-issue:nth-child(odd) .tremore-issue__content {
    margin-right: auto;
}
.tremore-issue:nth-child(even) .tremore-issue__content {
    margin-left: auto;
}
/* =========================================
   TESTO
========================================= */
.tremore-issue__content {
    position: relative;
    z-index: 10;
    padding: 4rem 0;
}
.tremore-issue__number {
    margin: 0 0 0.75rem;
    font-family: "Caveat", cursive;
    font-size: clamp(1.5rem,2.5vw,2.5rem);
    color: #C0C9CB;
}
.tremore-issue__title {
    margin: 0;
    font-family: "Special Elite", serif;
    font-size: clamp(3rem, 6vw, 8rem);
    font-weight: 400;
    line-height: 0.85;
}
.tremore-issue__description {
    max-width: 42ch;
    margin-top: 2rem;
    font-size: 1rem;
    line-height: 1.65;
}
.tremore-issue__description>*:last-child {
    margin-bottom: 0;
}
/* =========================================
   PDF
========================================= */
.tremore-issue__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    margin-top: 2rem;
}
.tremore-issue__actions a {
    color: #f4f3ee;
    font-family: "Caveat", cursive;
    font-size: 1.35rem;
    text-decoration: none;
    transition: color 180ms ease, transform 180ms ease;
}
.tremore-issue__actions a:hover {
    color: #C0C9CB;
    transform: translateX(3px);
}
/* =========================================
   TABLET
========================================= */
@media (max-width: 991.98px) {
    .tremore-stage__inner {
        --tremore-panel-width: min(21vw,23dvh);
    }
    .tremore-issue {
        min-height: 240dvh;
    }
}
/* =========================================
   MOBILE
========================================= */
@media (max-width: 767.98px) {
    .tremore-hero {
        min-height: 65dvh;
        padding: 5rem 1rem;
    }
    .tremore-stage {
        perspective: 1100px;
    }
    .tremore-stage__inner {
        /*
         * Foglio aperto:
         * circa 92% della viewport.
         */
        --tremore-panel-width: min(23vw,21dvh);
        perspective: 1100px;
    }
    .tremore-issue {
        min-height: 108dvh;
        padding: 0 1rem;
    }
    .tremore-issue__content {
        margin-left: 0 !important;
        margin-right: auto !important;
    }
    .tremore-issue__title {
        font-size: clamp(3rem, 6vw, 8rem);
    }
}
/* =========================================
   REDUCED MOTION
========================================= */
@media (prefers-reduced-motion: reduce) {
    .tremore-paper__row,
    .tremore-paper__half,
    .tremore-paper__panel {
        transform: none !important;
    }
}
/* =========================================
   TREMORE CALL
========================================= */
.tremore-call {
    position: relative;
    z-index: 10;
    padding: clamp(6rem, 10vw, 10rem) 1rem;
}
.tremore-call__eyebrow {
    margin: 0 0  0.75rem;
    font-family: "Caveat", cursive;
    font-size: 2rem;
    color: #C0C9CB;
}
.tremore-call__title {
    margin: 0;
    font-family: "Special Elite", serif;
    font-size: clamp(1rem, 3vw, 4rem);
    font-weight: 400;
    line-height: 0.9;
}
.tremore-call__theme {
    max-width: 45ch;
    margin-top: 2rem;
    font-size: clamp(1.1rem,1.6vw,1.35rem);
    line-height: 1.6;
}
.tremore-call__contacts {
    margin-top: 3rem;
}
.tremore-call__contacts p {
    margin-bottom: 1rem;
}
.tremore-call__contacts a {
    display: inline-block;
    margin-right: 1.5rem;
    color: #f4f3ee;
    font-family: "Caveat", cursive;
    font-size: 2.4rem;
    text-decoration: none;
}
.tremore-call__contacts a:hover {
    color: #C0C9CB;
}





























/* =========================================
   SINGLE TREMORE
========================================= */
.single-tremore {
    color: #f4f3ee;
}
/* =========================================
   HERO
========================================= */
.single-tremore__hero {
    padding: clamp(5rem, 9vw, 9rem) 2rem clamp(4rem, 7vw, 7rem);
}
.single-tremore__number {
    margin: 0 0 0.75rem;
    font-family: "Caveat", cursive;
    font-size: clamp(1.6rem,2.5vw,2.6rem);
    color: #C0C9CB;
}
.single-tremore__title {
    margin: 0;
    max-width: 11ch;
    font-family: "Special Elite", serif;
    font-size: clamp(3rem, 6vw, 8rem);
    font-weight: 400;
    line-height: 0.84;
    margin-bottom: 20px;
}
/* =========================================
   COPERTINA
========================================= */
.single-tremore__cover {
    width: 100%;
    transform: rotate(1.5deg);
    box-shadow: 0 25px 70px rgba(0,0,0,0.35);
}
.single-tremore__cover-image {
    display: block;
    width: 100%;
    height: auto;
}
/* =========================================
   INTRO
========================================= */
.single-tremore__intro {
    padding: 0 0 clamp(5rem, 8vw, 8rem);
}
.single-tremore__content {
    font-size: clamp(1.05rem,1.4vw,1.3rem);
    line-height: 1.7;
}
.single-tremore__content>*:first-child {
    margin-top: 0;
}
.single-tremore__content>*:last-child {
    margin-bottom: 0;
}
/* =========================================
   READER
========================================= */
.single-tremore__reader-section {
    padding: clamp(5rem, 8vw, 8rem) 2rem;
    border-top: 0;
}
/* HEADER READER */
.single-tremore__reader-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: clamp(3rem,6vw,6rem);
}
.single-tremore__reader-eyebrow {
    margin: 0 0 0.5rem;
    font-family: "Caveat", cursive;
    font-size: 1.5rem;
    color: #C0C9CB;
}
.single-tremore__reader-title {
    margin: 0;
    font-family: "Special Elite", serif;
    font-size: clamp(3rem, 6vw, 6rem);
    font-weight: 400;
    line-height: 0.9;
}
/* =========================================
   AZIONI
========================================= */
.single-tremore__reader-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.75rem 1.5rem;
}
.single-tremore__reader-actions a {
    color: #f4f3ee;
    font-family: "Caveat", cursive;
    font-size: 1.35rem;
    text-decoration: none;
    transition: color 180ms ease, transform 180ms ease;
}
.single-tremore__reader-actions a:hover {
    color: #C0C9CB;
    transform: translateX(3px);
}
/* =========================================
   PDF VIEWER
========================================= */
.tremore-reader {
    width: 100%;
}
/* LOADING */
.tremore-reader__loading,
.tremore-reader__error {
    padding: 5rem 1rem;
    text-align: center;
    font-family: "Special Elite", serif;
    font-size: 1.2rem;
    opacity: 0.65;
}
/* =========================================
   PAGINE
========================================= */
.tremore-reader__pages {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1rem, 2vw, 2rem);
    align-items: start;
    width: min(1500px, 100%);
    margin: 0 auto;
}
/* =========================================
   SINGOLA PAGINA
========================================= */
.tremore-reader__page {
    position: relative;
    width: 100%;
    min-height: 50vh;
    background: rgba(255,255,255,0.025);
    opacity: 0.25;
    transition: opacity 250ms ease;
    overflow: hidden;
}
.tremore-reader__page.is-rendered {
    opacity: 1;
}
/* =========================================
   CANVAS
========================================= */
.tremore-reader__canvas {
    display: block;
    width: 100%;
    height: auto;
    background: #fff;
}
/* =========================================
   RITORNO
========================================= */
.single-tremore__back {
    padding: 3rem 2rem 7rem;
    border-top: 0;
}
.single-tremore__back a {
    color: #f4f3ee;
    font-family: "Caveat", cursive;
    font-size: 1.5rem;
    text-decoration: none;
}
.single-tremore__back a:hover {
    color: #C0C9CB;
}
/* =========================================
   TABLET
========================================= */
@media (max-width: 991.98px) {
    .tremore-reader__pages { 
        gap: 1rem;
    }
}
/* =========================================
   MOBILE
========================================= */
@media (max-width: 767.98px) {
    .single-tremore__hero {
        padding: 4rem 1rem 4rem;
    }
    .single-tremore__intro {
        padding: 0 1rem 4rem;
    }
    .single-tremore__reader-section {
        padding: 4rem 1rem;
    }
    .single-tremore__reader-header {
        display: block;
        margin-bottom: 3rem;
    }
    .single-tremore__reader-actions {
        justify-content: flex-start;
        margin-top: 1.5rem;
    }
    /*
     * Mobile:
     * UNA pagina alla volta.
     */
    .tremore-reader__pages {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .tremore-reader__page {
        min-height: 65vh;
    }
    .single-tremore__back {
        padding: 3rem 1rem 5rem;
    }
}
/* =========================================
   TREMORE ARCHIVE — LINK E COPERTINA
========================================= */
/* TITOLO CLICCABILE */
.tremore-issue__title-link {
    color: inherit;
    text-decoration: none;
}
.tremore-issue__title-link:hover {
    color: #C0C9CB;
}
/* AZIONI */
.tremore-issue__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.75rem;
    margin-top: 2rem;
}
.tremore-issue__actions a {
    color: #f4f3ee;
    text-decoration: none;
    transition: color 180ms ease, transform 180ms ease;
}
.tremore-issue__actions a:hover {
    color: #C0C9CB;
    transform: translateX(3px);
}
/* =========================================
   COPERTINA
========================================= */
.tremore-issue__cover-link {
    display: block;
    color: inherit;
    text-decoration: none;
}
.tremore-issue__cover {
    position: relative;
    width: 100%;
    margin: 0;
    transform: rotate(1.5deg);
    transition: transform 300ms ease;
}
.tremore-issue__cover-link:hover .tremore-issue__cover {
    transform: rotate(0deg) scale(1.025);
}
.tremore-issue__cover-image {
    display: block;
    width: 100%;
    height: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}
/* =========================================
   MOBILE
========================================= */
@media (max-width: 767.98px) {
    .tremore-issue__actions {
        margin-top: 1.5rem;
        gap: 0.75rem 1.25rem;
    }
    .tremore-issue__cover {
        max-width: 280px;
    }
}
/* =========================================
   TREMORE PDF READER
========================================= */
.single-tremore__reader-section {
    padding: clamp(5rem, 8vw, 8rem) 2rem;
}
/* HEADER */
.single-tremore__reader-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: clamp(3rem, 6vw, 6rem);
}
.single-tremore__reader-eyebrow {
    margin: 0 0 0.6rem;
    font-family: "Caveat", cursive;
    font-size: 1.5rem;
    color: #C0C9CB;
}
.single-tremore__reader-title {
    margin: 0;
    font-family: "Special Elite", serif;
    font-size: clamp(3rem, 6vw, 6rem);
    font-weight: 400;
    line-height: 0.9;
}
/* ACTIONS */
.single-tremore__reader-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
}
.single-tremore__reader-actions a {
    color: #f4f3ee;
    text-decoration: none;
    font-family: "Caveat", cursive;
    font-size: 1.3rem;
}
.single-tremore__reader-actions a:hover {
    color: #C0C9CB;
}
/* =========================================
   CONTENITORE LETTORE
========================================= */
.tremore-reader {
    width: 100%;
}
/* =========================================
   PAGINE PDF
========================================= */
.tremore-reader__pages {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(2rem, 4vw, 5rem);
    width: 100%;
}
/*
 * Una pagina alla volta,
 * centrata.
 */
.tremore-reader__page {
    width: min(900px,88vw);
    min-height: 300px;
    display: flex;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 300ms ease, transform 300ms ease;
}
.tremore-reader__page.is-rendered {
    opacity: 1;
    transform: translateY(0);
}
/* CANVAS */
.tremore-reader__canvas {
    display: block;
    width: 100%;
    height: auto;
    background: #fff;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.35);
}
/* LOADING */
.tremore-reader__loading,
.tremore-reader__error {
    padding: 4rem 1rem;
    text-align: center;
    opacity: 0.6;
}
/* =========================================
   MOBILE
========================================= */
@media (max-width: 767.98px) {
    .single-tremore__reader-section {
        padding: 4rem 1rem;
    }
    .single-tremore__reader-header {
        display: block;
        margin-bottom: 3rem;
    }
    .single-tremore__reader-actions {
        margin-top: 1.5rem;
    }
    .tremore-reader__pages {
        gap: 2rem;
    }
    .tremore-reader__page {
        width: 100%;
    }
}
/* =========================================
   SINGLE TREMORE - INDICE
========================================= */
.single-tremore__contents {
    padding: clamp(4rem, 7vw, 7rem) 0;
    border-top: 0;
}
.single-tremore__contents-header {
    margin-bottom: clamp(2.5rem, 5vw, 5rem);
}
.single-tremore__contents-eyebrow {
    margin: 0 0 0.5rem;
    font-family: "Caveat", cursive;
    font-size: 1.5rem;
    color: #C0C9CB;
}
.single-tremore__contents-title {
    margin: 0;
    font-family: "Special Elite", serif;
    font-size: clamp(3rem, 6vw, 6rem);
    font-weight: 400;
    line-height: 0.9;
}
.single-tremore__contents-list {
    border-top: 0;
}
.single-tremore__contents-item {
    padding: 1.5rem 0;
    border-bottom: 0;
}

.single-tremore__contents-item-title {
    margin: 0;
    font-family: "Special Elite", serif;
    font-size: clamp(1.4rem, 2.5vw, 2.2rem);
    font-weight: 400;
    line-height: 1;
}
.single-tremore__contents-author {
    margin: 0.45rem 0 0;
    font-size: 0.8rem;
    opacity: 0.6;
}
@media (max-width: 767.98px) {
    .single-tremore__contents {
        padding: 4rem 1rem;
    }
}

/* TEST NO_LCP - mantieni dimensioni, disabilita solo snap */
.home-associazioni__item {
    flex: 0 0 calc((100vw - 4rem - 6.25rem) / 6) !important;
    min-width: 0 !important;
    scroll-snap-align: none !important;
}

@media (max-width: 1199px) {
    .home-associazioni__item {
        flex-basis: calc((100vw - 4rem - 3.75rem) / 4) !important;
    }
}

@media (max-width: 767px) {
    .home-associazioni__item {
        flex-basis: 44vw !important;
    }
}