/* ============================================================
   ciccilleju.it — 2026
   Modernist: Archivo, rosso unico, griglia visibile, spigoli vivi
   ============================================================ */
/* Archivo self-hosted: font variabile 400-800, subset latin, preload nell'head */
@font-face {
    font-family: "Archivo";
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url("../fonts/archivo-var-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --bg: #f3f2f2;
    --surface: #eae9e9;
    --ink: #201e1d;
    --accent: #ec3013;
    --divider: color-mix(in srgb, #201e1d 40%, transparent);

    --n-100: #f8f4f4;
    --n-200: #eae7e7;
    --n-900: #2d2b2b;

    --a-100: #fff2ef;
    --a-400: #ff9783;
    /* a-600 tarato per AA 4.5:1 col testo --bg (bottoni e poster) */
    --a-600: #d02508;
    --a-700: #ae1800;

    --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;

    --pad: clamp(18px, 4.5vw, 56px);
    --band: clamp(56px, 8vw, 120px);
    --ease: cubic-bezier(.22, 1, .36, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    color-scheme: light;
    /* le ancore delle sezioni non devono finire sotto la topbar sticky */
    scroll-padding-top: calc(var(--topbar-h, 68px) + 12px);
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

body {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-wrap: pretty;
    overflow-x: clip;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

h1,
h2,
h3,
h4 {
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

::selection {
    background: var(--accent);
    color: var(--bg);
}

.grayscale {
    filter: grayscale(1) contrast(1.08);
}

.wrap {
    width: 100%;
    max-width: 1400px;
    margin-inline: auto;
    padding-inline: var(--pad);
}

.skip-link {
    position: absolute;
    left: -9999px;
    z-index: 200;
    background: var(--ink);
    color: var(--bg);
    padding: 12px 18px;
    font-weight: 800;
}

.skip-link:focus-visible {
    left: 12px;
    top: 12px;
}

/* ---------- Etichette ---------- */
.eyebrow {
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--a-700);
}

.meta {
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 600;
    color: color-mix(in srgb, var(--ink) 65%, transparent);
}

/* ---------- Bottoni ---------- */
.btn {
    display: inline-block;
    font-weight: 800;
    font-size: 15px;
    line-height: 1.2;
    padding: 16px 22px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background .18s, color .18s, transform .18s;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn--primary {
    background: var(--a-600);
    color: var(--bg);
}

.btn--primary:hover {
    background: var(--a-700);
}

.btn--primary:active {
    background: var(--a-700);
    transform: none;
}

.btn--outline {
    border-color: var(--ink);
    color: var(--ink);
    background: transparent;
}

.btn--outline:hover {
    background: var(--ink);
    color: var(--bg);
}

.btn--paper {
    background: var(--bg);
    color: var(--ink);
}

.btn--light {
    border-color: var(--bg);
    color: var(--bg);
    background: transparent;
}

.btn--light:hover {
    background: color-mix(in srgb, var(--bg) 20%, transparent);
}

.btn--sm {
    font-size: 13px;
    padding: 11px 18px;
}

/* ---------- Topbar ---------- */
.topbar {
    position: sticky;
    top: 0;
    z-index: 60;
    background: color-mix(in srgb, var(--bg) 90%, transparent);
    backdrop-filter: blur(12px);
    border-bottom: 2px solid var(--divider);
}

.topbar__inner {
    display: flex;
    align-items: center;
    gap: clamp(12px, 3vw, 40px);
    padding-block: 10px;
}

.wordmark {
    margin-right: auto;
    /* è un <button>: reset dell'aspetto nativo */
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    color: inherit;
    text-align: left;
    cursor: pointer;
}

.wordmark b {
    display: block;
    font-weight: 800;
    font-size: clamp(15px, 2.2vw, 18px);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.wordmark span {
    display: block;
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 600;
    color: color-mix(in srgb, var(--ink) 65%, transparent);
}

.topnav {
    display: none;
    gap: clamp(14px, 2vw, 30px);
    font-size: 13px;
    font-weight: 600;
}

.topnav a {
    display: block;
    padding: 6px 0;
    border-bottom: 2px solid transparent;
    transition: border-color .2s, color .2s;
}

.topnav a:hover {
    border-bottom-color: var(--accent);
    color: var(--accent);
}

.lang {
    display: flex;
    border: 2px solid var(--divider);
    font-size: 12px;
    font-weight: 800;
}

.lang a,
.lang span {
    padding: 7px 9px;
}

.lang [aria-current="true"] {
    background: var(--ink);
    color: var(--bg);
}

.lang a:hover {
    background: var(--a-100);
    color: var(--a-700);
}

.menu-btn {
    display: grid;
    place-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 2px solid var(--divider);
}

.menu-btn i {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--ink);
}

@media (min-width: 900px) {
    .topnav {
        display: flex;
    }

    .menu-btn {
        display: none;
    }
}

/* ---------- Menu mobile ---------- */
.menu {
    position: fixed;
    inset: 0;
    z-index: 90;
    background: var(--bg);
    padding: var(--pad);
    display: flex;
    flex-direction: column;
}

.menu[hidden] {
    display: none;
}

.menu__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid var(--divider);
    padding-bottom: 14px;
}

.menu__close {
    width: 44px;
    height: 44px;
    font-size: 22px;
    line-height: 1;
    background: transparent;
    border: 2px solid var(--divider);
    color: var(--ink);
    cursor: pointer;
}

.menu nav {
    display: flex;
    flex-direction: column;
}

.menu nav a {
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding: 18px 0;
    border-bottom: 2px solid var(--divider);
    font-weight: 800;
    font-size: clamp(28px, 9vw, 44px);
    letter-spacing: -0.03em;
}

.menu nav a em {
    font-style: normal;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
}

.menu .btn {
    margin-top: auto;
}

/* ---------- Hero ---------- */
.hero {
    padding-top: 0;
}

/* Primo schermo: status + titolo riempiono il viewport, il resto arriva sotto la piega */
.hero__intro {
    min-height: calc(100vh - var(--topbar-h, 68px));
    min-height: calc(100svh - var(--topbar-h, 68px));
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-block: clamp(24px, 4vh, 56px);
}

.hero__status {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: clamp(20px, 4vw, 40px);
}

.dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .15;
    }
}

.hero__title {
    font-size: clamp(46px, 11.5vw, 168px);
    /* tetto in svh: su schermi bassi il titolo resta dentro il primo schermo */
    font-size: min(clamp(46px, 11.5vw, 168px), 18svh);
    line-height: .86;
    letter-spacing: -0.045em;
}

.hero__title span {
    display: block;
}

.hero__title span:nth-child(n+3) {
    color: var(--accent);
}

.hero__grid {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(28px, 4vw, 64px);
    align-items: flex-start;
    margin-top: clamp(36px, 6vw, 72px);
}

.hero__copy {
    flex: 1.45 1 340px;
    border-top: 2px solid var(--divider);
    padding-top: 20px;
}

.hero__lead {
    font-size: clamp(16px, 1.5vw, 20px);
    line-height: 1.5;
    max-width: 58ch;
    margin-bottom: 24px;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* ---------- Scheda tecnica ---------- */
.spec {
    flex: 1 1 320px;
    border-top: 2px solid var(--ink);
    padding-top: 12px;
}

.spec__head {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 6px;
}

.spec__head span {
    color: color-mix(in srgb, var(--ink) 65%, transparent);
}

.spec dl div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 11px 0;
    border-top: 1px solid var(--divider);
    font-size: 14px;
}

.spec dl div:last-child {
    border-bottom: 2px solid var(--ink);
}

.spec dt {
    color: color-mix(in srgb, var(--ink) 65%, transparent);
}

.spec dd {
    font-weight: 600;
    text-align: right;
}

.spec dd.ok {
    color: var(--a-700);
}

/* ---------- Marquee ---------- */
.marquee {
    margin-top: clamp(40px, 6vw, 80px);
    border-top: 2px solid var(--divider);
    border-bottom: 2px solid var(--divider);
    overflow: hidden;
    padding-block: 14px;
}

.marquee__track {
    display: flex;
    width: max-content;
    animation: marquee 34s linear infinite;
    font-weight: 800;
    font-size: clamp(15px, 1.6vw, 20px);
    text-transform: uppercase;
}

.marquee__track span {
    padding-inline: 18px;
}

.marquee__track i {
    font-style: normal;
    color: var(--accent);
}

@keyframes marquee {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(-50%, 0, 0);
    }
}

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

    .marquee__track,
    .dot {
        animation: none;
    }
}

/* ---------- Celle di griglia ---------- */
.cells {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 2px;
    background: var(--divider);
    border-block: 2px solid var(--ink);
}

.cell {
    background: var(--bg);
    padding: clamp(22px, 2.6vw, 34px) clamp(16px, 2vw, 28px);
    transition: background .2s;
}

.cells--tint .cell:hover {
    background: var(--a-100);
}

.cells--surface .cell {
    background: var(--surface);
}

/* ---------- Fatti ---------- */
.facts {
    border-block: 2px solid var(--divider);
    border-top: 0;
}

.facts .cells {
    border: 0;
    background: var(--divider);
}

.facts .cell {
    padding-block: clamp(24px, 3.5vw, 44px);
}

.facts b {
    display: block;
    font-size: clamp(44px, 5.5vw, 76px);
    line-height: .9;
    letter-spacing: -0.04em;
    margin-bottom: 8px;
}

.facts .cell:last-child b {
    color: var(--accent);
}

.facts p {
    font-size: 13px;
    line-height: 1.4;
    color: color-mix(in srgb, var(--ink) 65%, transparent);
}

/* ---------- Sezioni ---------- */
.section {
    padding-block: var(--band);
}

.section__head {
    display: flex;
    align-items: baseline;
    gap: clamp(16px, 3vw, 44px);
    flex-wrap: wrap;
    margin-bottom: clamp(28px, 4vw, 56px);
}

.folio {
    font-weight: 800;
    font-size: clamp(40px, 5vw, 72px);
    line-height: .8;
    letter-spacing: -0.04em;
    color: var(--accent);
}

.section__title {
    font-size: clamp(30px, 4.6vw, 62px);
    line-height: 1;
    letter-spacing: -0.035em;
    max-width: 24ch;
    margin-top: 8px;
}

.section__sub {
    max-width: 62ch;
    font-size: clamp(15px, 1.35vw, 18px);
    line-height: 1.55;
}

/* ---------- Servizi ---------- */
.service__num {
    font-size: 11px;
    letter-spacing: 0.14em;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 14px;
}

.service h3 {
    font-size: clamp(21px, 2.1vw, 27px);
    margin-bottom: 12px;
}

.service p {
    font-size: 15px;
    line-height: 1.55;
    color: color-mix(in srgb, var(--ink) 78%, transparent);
    margin-bottom: 14px;
}

.stack {
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
    color: color-mix(in srgb, var(--ink) 65%, transparent);
}

/* ---------- Progetti ---------- */
.work {
    background: var(--surface);
    border-top: 2px solid var(--ink);
    padding-top: var(--band);
    padding-bottom: clamp(40px, 6vw, 80px);
}

.case {
    display: block;
    border-top: 2px solid var(--ink);
    padding-block: clamp(28px, 4vw, 56px);
    transition: background .25s;
}

.case:last-of-type {
    border-bottom: 2px solid var(--ink);
}

.case:hover {
    background: color-mix(in srgb, var(--accent) 7%, transparent);
}

.case__inner {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(24px, 4vw, 64px);
    align-items: flex-end;
}

.case--flip .case__inner {
    flex-wrap: wrap-reverse;
}

.case__body {
    flex: 1.1 1 320px;
}

.case__name {
    font-size: clamp(40px, 7vw, 104px);
    line-height: .85;
    letter-spacing: -0.045em;
    margin-block: 18px;
}

.case__desc {
    font-size: clamp(15px, 1.35vw, 18px);
    line-height: 1.5;
    max-width: 46ch;
    color: color-mix(in srgb, var(--ink) 80%, transparent);
    margin-bottom: 18px;
}

.case__go {
    display: inline-block;
    margin-top: 20px;
    font-weight: 800;
    font-size: 14px;
    color: var(--a-700);
    border-bottom: 2px solid var(--accent);
    padding-bottom: 3px;
}

.case figure {
    flex: 1.4 1 400px;
    border: 2px solid var(--ink);
    overflow: hidden;
    background: var(--n-200);
    transition: transform .4s var(--ease), filter .4s;
}

.case figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case:hover figure {
    transform: scale(1.015);
    filter: none;
}

.mini {
    margin-top: clamp(36px, 5vw, 64px);
}

.mini .cell {
    padding-top: 22px;
}

.mini figure {
    border: 2px solid var(--ink);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    margin-bottom: 16px;
    transition: filter .4s;
}

.mini .cell:hover figure.grayscale {
    filter: none;
}

/* su touch non esiste hover: progetti sempre a colori (la bio resta in b/n) */
@media (hover: none) {
    .case figure.grayscale,
    .mini figure.grayscale {
        filter: none;
    }
}

.mini figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mini h3 {
    font-size: clamp(22px, 2.4vw, 30px);
    margin-block: 8px 10px;
}

.mini p {
    font-size: 14px;
    line-height: 1.5;
    color: color-mix(in srgb, var(--ink) 75%, transparent);
}

/* ---------- Percorso (banda scura) ---------- */
.dark {
    background: var(--n-900);
    color: var(--n-100);
}

.dark .folio,
.dark .eyebrow {
    color: var(--a-400);
}

.dark .section__sub {
    color: color-mix(in srgb, var(--n-100) 75%, transparent);
    margin-bottom: clamp(32px, 5vw, 56px);
}

.timeline {
    list-style: none;
    border-top: 2px solid color-mix(in srgb, var(--n-100) 40%, transparent);
}

.timeline li {
    display: flex;
    flex-wrap: wrap;
    gap: 6px clamp(20px, 4vw, 64px);
    padding-block: clamp(16px, 2vw, 24px);
    border-bottom: 1px solid color-mix(in srgb, var(--n-100) 22%, transparent);
}

.timeline li:last-child {
    border-bottom-width: 2px;
    border-bottom-color: color-mix(in srgb, var(--n-100) 40%, transparent);
}

.timeline time {
    flex: 0 0 84px;
    font-weight: 800;
    font-size: clamp(20px, 2vw, 26px);
    letter-spacing: -0.02em;
    color: var(--a-400);
}

.timeline div {
    flex: 1 1 260px;
}

.timeline strong {
    display: block;
    font-weight: 800;
    font-size: clamp(18px, 1.9vw, 24px);
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}

.timeline p {
    font-size: 14px;
    color: color-mix(in srgb, var(--n-100) 70%, transparent);
}

/* ---------- Metodo ---------- */
.method__num {
    font-weight: 800;
    font-size: 34px;
    line-height: 1;
    color: var(--accent);
    margin-bottom: 16px;
}

.method h3 {
    font-size: clamp(19px, 1.9vw, 24px);
    margin-bottom: 10px;
}

.method p {
    font-size: 15px;
    line-height: 1.55;
    color: color-mix(in srgb, var(--ink) 78%, transparent);
}

.process {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    padding-block: clamp(20px, 3vw, 32px);
    border-bottom: 2px solid var(--divider);
    font-weight: 800;
    font-size: clamp(13px, 1.3vw, 16px);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.process i {
    font-style: normal;
    color: var(--accent);
}

.bio {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(20px, 3vw, 44px);
    align-items: flex-start;
    padding-top: clamp(32px, 4vw, 56px);
}

.bio figure {
    flex: 0 0 clamp(120px, 18vw, 200px);
    border: 2px solid var(--ink);
    overflow: hidden;
}

.bio figure img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.bio div {
    flex: 1 1 320px;
}

.bio h3 {
    font-size: clamp(22px, 2.4vw, 30px);
    margin-bottom: 12px;
}

.bio p {
    font-size: clamp(15px, 1.35vw, 17px);
    line-height: 1.55;
    max-width: 62ch;
    color: color-mix(in srgb, var(--ink) 82%, transparent);
}

.bio a {
    color: var(--a-700);
    border-bottom: 2px solid var(--accent);
    font-weight: 600;
}

/* ---------- FAQ ---------- */
.faq {
    border-top: 2px solid var(--ink);
    max-width: 900px;
}

.faq details {
    border-bottom: 2px solid var(--divider);
}

.faq details:last-child {
    border-bottom-color: var(--ink);
}

.faq summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    list-style: none;
    padding-block: 20px;
    font-weight: 800;
    font-size: clamp(17px, 1.8vw, 22px);
    letter-spacing: -0.02em;
    transition: color .18s;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary:hover {
    color: var(--accent);
}

.faq summary i {
    font-style: normal;
    color: var(--accent);
    font-size: 22px;
    line-height: 1;
    transition: transform .25s var(--ease);
}

.faq details[open] summary i {
    transform: rotate(45deg);
}

.faq p {
    font-size: 15px;
    line-height: 1.6;
    max-width: 60ch;
    color: color-mix(in srgb, var(--ink) 78%, transparent);
    padding-bottom: 22px;
}

/* ---------- Poster contatti ---------- */
.poster {
    background: var(--a-600);
    color: var(--bg);
    padding-block: clamp(48px, 7vw, 100px);
}

.poster .eyebrow {
    color: var(--bg);
    margin-bottom: clamp(20px, 3vw, 36px);
}

.poster h2 {
    font-size: clamp(40px, 9.5vw, 140px);
    line-height: .86;
    letter-spacing: -0.045em;
    margin-bottom: clamp(24px, 4vw, 44px);
}

.poster p {
    max-width: 52ch;
    font-size: clamp(16px, 1.5vw, 20px);
    line-height: 1.5;
    margin-bottom: clamp(24px, 3.5vw, 40px);
}

/* ---------- Brief ---------- */
.contact__grid {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(28px, 5vw, 72px);
    align-items: flex-start;
    padding-block: clamp(48px, 7vw, 96px);
}

.brief {
    flex: 1.5 1 420px;
    border-top: 2px solid var(--ink);
    padding-top: 18px;
}

.brief h3 {
    font-size: clamp(24px, 3vw, 38px);
    line-height: 1.05;
    margin-block: 6px 8px;
}

.brief__note {
    font-size: 14px;
    color: color-mix(in srgb, var(--ink) 65%, transparent);
    margin-bottom: 28px;
}

.brief fieldset {
    border: 0;
    margin-bottom: 24px;
}

.brief legend {
    font-size: 12px
;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--ink) 70%, transparent);
    margin-bottom: 10px;
}

.seg {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.seg label {
    background: var(--bg);
    border: 1px solid var(--divider);
    padding: 9px 13px;
    font-size: 13px;
    cursor: pointer;
    transition: background .18s, color .18s, border-color .18s;
}

.seg input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.seg label:hover {
    background: var(--a-100);
    color: var(--a-700);
}

.seg label:has(input:checked) {
    background: var(--a-600);
    border-color: var(--a-600);
    color: var(--bg);
    font-weight: 600;
}

.seg label:has(input:focus-visible) {
    outline: 2px solid var(--accent);
    outline-offset: -2px;
}

.fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

.field label {
    display: block;
    font-size: 12px;
    margin-bottom: 5px;
    color: color-mix(in srgb, var(--ink) 70%, transparent);
}

.input {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    font: inherit;
    font-size: 15px;
    color: var(--ink);
    caret-color: var(--accent);
    background: var(--surface);
    border: 1px solid var(--divider);
    border-radius: 0;
}

.input:hover {
    border-color: color-mix(in srgb, var(--ink) 45%, transparent);
}

.input:focus-visible {
    border-color: var(--accent);
    outline-offset: 0;
}

textarea.input {
    min-height: 110px;
    resize: vertical;
}

.preview {
    border: 2px solid var(--divider);
    background: var(--surface);
    padding: 14px 16px;
    margin-block: 20px 18px;
}

.preview b {
    display: block;
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 600;
    color: color-mix(in srgb, var(--ink) 65%, transparent);
    margin-bottom: 8px;
}

.preview p {
    font-size: 13px;
    line-height: 1.6;
    white-space: pre-wrap;
    color: color-mix(in srgb, var(--ink) 85%, transparent);
}

/* ---------- Contatti ---------- */
.contacts {
    flex: 1 1 300px;
    list-style: none;
    border-top: 2px solid var(--ink);
}

.contacts a {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 2px solid var(--divider);
    transition: padding-inline .2s, background .2s;
}

.contacts li:last-of-type a {
    border-bottom-color: var(--ink);
}

.contacts a:hover {
    background: var(--a-100);
    padding-inline: 10px;
}

.contacts b {
    font-weight: 800;
    font-size: clamp(15px, 1.5vw, 19px);
    letter-spacing: -0.02em;
}

.contacts__note {
    padding-top: 20px;
    font-size: 13px;
    line-height: 1.6;
    color: color-mix(in srgb, var(--ink) 65%, transparent);
}

/* ---------- Footer ---------- */
.footer {
    border-top: 2px solid var(--ink);
    padding-block: clamp(24px, 3vw, 40px);
}

.footer__inner {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 32px;
    justify-content: space-between;
    font-size: 12px;
    color: color-mix(in srgb, var(--ink) 65%, transparent);
}

/* ---------- Consenso ---------- */
.consent {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 120;
    max-width: 520px;
    background: var(--ink);
    color: var(--n-100);
    border: 2px solid var(--ink);
    padding: 18px;
    box-shadow: 0 12px 32px color-mix(in srgb, var(--n-900) 22%, transparent);
}

.consent[hidden] {
    display: none;
}

.consent p {
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 14px;
}

.consent__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.consent .btn--outline {
    border-color: var(--n-100);
    color: var(--n-100);
}

.consent .btn--outline:hover {
    background: var(--n-100);
    color: var(--ink);
}

/* ---------- Reveal ---------- */
.js .reveal {
    opacity: 0;
    transform: translateY(18px);
}

.js .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: opacity .7s var(--ease), transform .7s var(--ease);
}

@media (prefers-reduced-motion: reduce) {
    .js .reveal {
        opacity: 1;
        transform: none;
    }
}
