/* ==========================================================================
   DIGITAL ARRAY — main.css
   Direzione visiva: Agents/DESIGN.md (v1.0)
   Indice
   1. Token e font
   2. Base e accessibilità
   3. Layout e superfici
   4. Tipografia
   5. Azioni (pulsanti, link, frecce)
   6. Header e menu overlay
   7. Hero e composizione visiva
   8. Studio
   9. Servizi
   10. Portfolio, filtri e dialoghi
   11. Come lavoriamo
   12. Prenota
   13. Footer
   14. Contatti
   15. Motion
   16. Responsive
   ========================================================================== */

/* 1. Token e font ---------------------------------------------------------- */

:root {
    --paper: #ffffff;
    --ink: #000000;
    --chalk: #e6e6e6;
    --steel: #c4ced3;
    --muted: #595959;
    --muted-dark: #a6a6a6;
    --line-light: rgba(0, 0, 0, .18);
    --line-dark: rgba(230, 230, 230, .24);
    --font-sans: "Instrument Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    --space-1: 8px;
    --space-2: 16px;
    --space-3: 24px;
    --space-4: 32px;
    --space-6: 48px;
    --space-8: 64px;
    --space-12: 96px;
    --space-16: 128px;
    --gutter: clamp(16px, 1.4vw, 32px);
    --col-gap: clamp(12px, 1.7vw, 24px);
    --ease-out: cubic-bezier(.22, 1, .36, 1);
    --ease-in-out: cubic-bezier(.76, 0, .24, 1);
    --header-h: clamp(72px, 6.4vw, 104px);
    --max-w: 1760px;
}

@font-face {
    font-family: "Instrument Sans";
    src: url("fonts/instrument-sans-var.woff2") format("woff2");
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
}

/* 2. Base e accessibilità -------------------------------------------------- */

* {
    box-sizing: border-box;
}

html {
    scroll-padding-top: 112px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-sans);
    font-size: clamp(16px, 1.1vw, 18px);
    line-height: 1.4;
    letter-spacing: -.01em;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

h1,
h2,
h3,
p,
ul,
ol,
figure,
blockquote {
    margin: 0;
}

ul,
ol {
    padding: 0;
    list-style: none;
}

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

button {
    font-family: inherit;
}

::selection {
    background: var(--ink);
    color: var(--paper);
}

.on-steel ::selection {
    background: var(--steel);
    color: var(--ink);
}

:focus-visible {
    outline: 2px solid #000;
    outline-offset: 5px;
    box-shadow: 0 0 0 7px #fff;
}

.on-ink :focus-visible {
    outline-color: #fff;
    box-shadow: 0 0 0 7px #000;
}

.brand-logo {
    display: block;
    width: clamp(124px, 12.4vw, 176px);
    height: auto;
}

.on-ink .brand-logo {
    filter: invert(1);
}

.skip-link {
    position: absolute;
    left: var(--gutter);
    top: -100px;
    z-index: 200;
    padding: 14px 20px;
    background: var(--ink);
    color: var(--paper);
    font-size: 14px;
    letter-spacing: .02em;
    transition: top .2s var(--ease-out);
}

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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

/* 3. Layout e superfici ---------------------------------------------------- */

.shell {
    width: 100%;
    max-width: calc(var(--max-w) + var(--gutter) * 2);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--col-gap);
}

.section {
    padding-block: clamp(64px, 8.4vw, 156px);
    border-top: 1px solid var(--line-light);
}

.on-ink {
    background: var(--ink);
    color: var(--chalk);
}

.on-ink.section {
    border-top-color: var(--line-dark);
}

.on-steel {
    background: var(--steel);
    color: var(--ink);
}

.on-steel.section {
    border-top-color: var(--line-light);
}

.on-ink .label,
.on-ink .intro,
.on-ink .service__desc,
.on-ink .project__meta {
    color: var(--muted-dark);
}

/* 4. Tipografia ------------------------------------------------------------ */

.label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: clamp(32px, 4vw, 56px);
    color: var(--muted);
    font-size: clamp(12px, .9vw, 13px);
    line-height: 1.3;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.label::after {
    content: "";
    flex: 1 1 auto;
    height: 1px;
    background: currentColor;
    opacity: .22;
}

.label__num {
    font-variant-numeric: tabular-nums;
    opacity: .8;
}

.on-steel .label {
    color: var(--ink);
}

.on-steel .label::after {
    opacity: .28;
}

.hero__eyebrow {
    font-size: clamp(12px, .9vw, 13px);
    line-height: 1.3;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--muted);
}

.hero__title {
    margin-top: clamp(20px, 2.4vw, 32px);
    font-size: clamp(38px, 6.4vw, 104px);
    font-weight: 400;
    line-height: 1.02;
    letter-spacing: -.045em;
    text-wrap: balance;
}

.section-title,
.statement {
    font-size: clamp(36px, 4.4vw, 72px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -.035em;
    text-wrap: balance;
}

.statement {
    font-size: clamp(34px, 5.2vw, 88px);
}

.intro {
    font-size: clamp(18px, 1.6vw, 26px);
    font-weight: 400;
    line-height: 1.28;
    letter-spacing: -.02em;
    color: var(--muted);
    text-wrap: pretty;
}

.section-head {
    margin-bottom: clamp(40px, 6vw, 88px);
}

.section-head__grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--col-gap);
    row-gap: clamp(20px, 3vw, 32px);
    align-items: end;
}

.section-head__grid .section-title {
    grid-column: 1 / span 7;
}

.section-head__grid .intro {
    grid-column: 8 / span 5;
    max-width: 46ch;
}

/* 5. Azioni ---------------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(20px, 2.4vw, 40px);
    min-height: 56px;
    padding: 0 clamp(20px, 1.8vw, 28px);
    border: 1px solid var(--ink);
    background: var(--ink);
    color: var(--paper);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -.005em;
    text-align: left;
    cursor: pointer;
    transition: background-color .22s var(--ease-out),
        color .22s var(--ease-out),
        border-color .22s var(--ease-out);
}

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

.btn__arrow {
    flex: 0 0 auto;
    width: 15px;
    height: 15px;
    transition: transform .2s var(--ease-out);
}

.btn:hover .btn__arrow {
    transform: translate(3px, -3px);
}

.btn--ghost {
    background: transparent;
    border-color: var(--line-light);
    color: var(--ink);
}

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

.on-ink .btn {
    background: var(--chalk);
    border-color: var(--chalk);
    color: var(--ink);
}

.on-ink .btn:hover {
    background: transparent;
    color: var(--chalk);
}

.on-steel .btn--ghost {
    border-color: rgba(0, 0, 0, .32);
}

.btn.is-disabled,
.btn[aria-disabled="true"] {
    background: transparent;
    border-color: rgba(0, 0, 0, .3);
    color: var(--muted);
    cursor: not-allowed;
}

.on-ink .btn.is-disabled {
    background: transparent;
    border-color: var(--line-dark);
    color: var(--muted-dark);
}

.btn[aria-disabled="true"]:hover {
    background: transparent;
    color: var(--muted);
}

.btn[aria-disabled="true"] .btn__arrow,
.on-ink .btn.is-disabled .btn__arrow {
    opacity: .4;
}

.booking-note {
    display: block;
    margin-top: 14px;
    max-width: 42ch;
    font-size: 14px;
    line-height: 1.4;
    color: var(--muted);
}

.on-steel .booking-note {
    color: var(--muted);
}

.pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 20px;
    border: 1px solid var(--ink);
    background: var(--ink);
    color: var(--paper);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .01em;
    transition: background-color .2s var(--ease-out), color .2s var(--ease-out);
}

.pill:hover {
    background: transparent;
    color: var(--ink);
}

.on-ink .pill {
    border-color: var(--chalk);
    background: var(--chalk);
    color: var(--ink);
}

.on-ink .pill:hover {
    background: transparent;
    color: var(--chalk);
}

.on-steel .pill {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--steel);
}

.on-steel .pill:hover {
    background: transparent;
    color: var(--ink);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    border-bottom: 1px solid currentColor;
    font-size: 15px;
    transition: color .2s var(--ease-out);
}

.text-link:hover {
    color: var(--muted);
}

.on-steel .text-link:hover {
    color: var(--ink);
    color: rgba(0, 0, 0, .6);
}

/* 6. Header e menu overlay ------------------------------------------------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: var(--paper);
    color: var(--ink);
    border-bottom: 1px solid transparent;
    transition: transform .45s var(--ease-out),
        background-color .25s linear,
        color .25s linear,
        border-color .25s linear;
}

.site-header[data-surface="ink"] {
    background: var(--ink);
    color: var(--chalk);
    border-bottom-color: var(--line-dark);
}

.site-header[data-surface="ink"] .brand-logo {
    filter: invert(1);
}

.site-header[data-surface="steel"] {
    background: var(--steel);
    border-bottom-color: var(--line-light);
}

.site-header.is-hidden {
    transform: translateY(-100%);
}

/* Ingresso del marchio al primo caricamento, una sola volta. */
.site-header .brand {
    animation: intro-in .7s var(--ease-out) both;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    height: var(--header-h);
    width: 100%;
    max-width: calc(var(--max-w) + var(--gutter) * 2);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.brand {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: clamp(14px, 2vw, 32px);
}

.menu-trigger {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .01em;
    cursor: pointer;
}

.menu-trigger__bars {
    display: block;
    width: 18px;
    height: 8px;
    border-top: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transition: transform .3s var(--ease-out), border-color .3s linear;
}

.menu-trigger:hover .menu-trigger__bars {
    transform: scaleX(.8);
    transform-origin: left center;
}

.menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: flex;
    flex-direction: column;
    padding-inline: var(--gutter);
    padding-block: clamp(16px, 2vw, 24px);
    background: var(--steel);
    color: var(--ink);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-16px);
    transition: opacity .45s var(--ease-out),
        transform .5s var(--ease-out),
        visibility 0s linear .5s;
}

.menu-overlay.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity .4s var(--ease-out),
        transform .5s var(--ease-out),
        visibility 0s linear 0s;
}

.menu-overlay__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    height: var(--header-h);
}

.menu-close {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    min-width: 44px;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.menu-close__cross {
    position: relative;
    display: block;
    width: 18px;
    height: 18px;
    border: 1px solid currentColor;
}

.menu-close__cross::before,
.menu-close__cross::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 1px;
    background: currentColor;
}

.menu-close__cross::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.menu-close__cross::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.menu-nav {
    margin-top: clamp(24px, 4vw, 56px);
    border-top: 1px solid var(--line-light);
}

.menu-nav li {
    border-bottom: 1px solid var(--line-light);
}

.menu-link {
    display: flex;
    align-items: baseline;
    gap: clamp(12px, 2vw, 32px);
    padding-block: clamp(10px, 1.4vw, 18px);
    font-size: clamp(30px, 5.6vw, 68px);
    line-height: 1.02;
    letter-spacing: -.04em;
    transition: transform .25s var(--ease-out), opacity .25s var(--ease-out);
}

.menu-link__num {
    width: 2.2ch;
    color: rgba(0, 0, 0, .55);
    font-size: clamp(11px, .95vw, 13px);
    letter-spacing: .05em;
    font-variant-numeric: tabular-nums;
}

.menu-link:hover,
.menu-link:focus-visible {
    transform: translateX(10px);
}

.menu-overlay__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--space-4);
    margin-top: auto;
    padding-top: clamp(32px, 5vw, 56px);
    font-size: 14px;
}

.menu-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: var(--ink);
}

.menu-meta__label {
    color: rgba(0, 0, 0, .55);
    font-size: 12px;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.menu-meta a {
    border-bottom: 1px solid currentColor;
    min-height: 30px;
    display: inline-flex;
    align-items: center;
}

.menu-meta a:hover {
    color: rgba(0, 0, 0, .6);
}

/* 7. Hero ------------------------------------------------------------------ */

.hero {
    border-top: 0;
    padding-top: clamp(32px, 4.2vw, 72px);
    padding-bottom: clamp(56px, 7vw, 120px);
}

.hero__grid {
    align-items: start;
}

.hero__copy {
    grid-column: 1 / span 6;
    grid-row: 1;
    padding-top: clamp(0px, 1.4vw, 24px);
}

.hero__visual {
    grid-column: 8 / span 5;
    grid-row: 1;
}

.hero__lead {
    margin-top: clamp(24px, 2.6vw, 36px);
    max-width: 44ch;
    font-size: clamp(18px, 1.5vw, 24px);
    line-height: 1.3;
    letter-spacing: -.02em;
    color: var(--muted);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 20px;
    margin-top: clamp(28px, 3.4vw, 44px);
}

.hero__note {
    margin-top: 18px;
    font-size: 13px;
    line-height: 1.4;
    letter-spacing: .01em;
    color: var(--muted);
}

.hv {
    margin: 0;
}

.hv__stage {
    position: relative;
    aspect-ratio: 4 / 5;
    background: var(--steel);
    overflow: hidden;
    isolation: isolate;
}

.hv__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(0, 0, 0, .08) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 0, 0, .08) 1px, transparent 1px);
    background-size: 16.6667% 13.3333%;
}

.hv__frame {
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(0, 0, 0, .28);
}

/* Disco chiaro che entra dal basso: stacca il solido dal fondo steel. */
.hv__disc {
    position: absolute;
    left: -30%;
    top: 82%;
    width: 104%;
    aspect-ratio: 1;
    border: 1px solid rgba(0, 0, 0, .18);
    border-radius: 50%;
    background: var(--chalk);
}

/* Oggetto 3D: le stesse forme della favicon estrusa in 20 livelli sovrapposti. */
.hv__scene {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    perspective: 1100px;
    perspective-origin: 50% 46%;
    transform-style: preserve-3d;
}

.hv__tilt {
    grid-area: 1 / 1;
    width: 72%;
    aspect-ratio: 1;
    transform-style: preserve-3d;
}

.hv__spin {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
    animation: hv-turn 24s cubic-bezier(.45, 0, .55, 1) infinite;
    will-change: transform;
}

.hv__layer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    fill: var(--ink);
    transform: translateZ(var(--z));
}

.hv__layer:last-child {
    fill: var(--chalk);
}

@keyframes hv-turn {
    0%,
    100% {
        transform: rotateX(-11deg) rotateY(-32deg);
    }

    50% {
        transform: rotateX(7deg) rotateY(32deg);
    }
}

.hv__ring {
    grid-area: 1 / 1;
    width: 74%;
    aspect-ratio: 1;
    border: 1px solid rgba(0, 0, 0, .24);
    border-radius: 50%;
}

.hv__ring--eq {
    transform: rotateX(72deg);
}

.hv__ring--mer {
    transform: rotateY(72deg);
}

.hv__scramble {
    position: absolute;
    left: 7%;
    top: 8%;
    font-size: 11px;
    letter-spacing: .14em;
    color: rgba(0, 0, 0, .62);
    font-variant-numeric: tabular-nums;
}

.hv__caption {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 16px;
    margin-top: 12px;
    font-size: 12px;
    line-height: 1.3;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--muted);
}

/* 8. Studio ---------------------------------------------------------------- */

.studio .statement {
    max-width: 22ch;
}

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

.studio__text {
    grid-column: 7 / span 5;
    max-width: 52ch;
    font-size: clamp(18px, 1.5vw, 26px);
    line-height: 1.34;
    letter-spacing: -.02em;
    color: var(--ink);
}

.studio__text strong {
    font-weight: 500;
}

.values {
    margin-top: clamp(48px, 6.5vw, 104px);
    border-top: 1px solid var(--line-light);
    row-gap: var(--space-4);
    padding-top: clamp(24px, 3vw, 40px);
}

.value {
    grid-column: span 4;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.value:nth-child(1) {
    grid-column: 1 / span 4;
}

.value:nth-child(2) {
    grid-column: 5 / span 4;
}

.value:nth-child(3) {
    grid-column: 9 / span 4;
}

.value__num {
    font-size: 12px;
    letter-spacing: .05em;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
}

.value__title {
    font-size: clamp(19px, 1.4vw, 22px);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -.02em;
}

.value__text {
    max-width: 34ch;
    font-size: 16px;
    line-height: 1.45;
    color: var(--muted);
}

/* 9. Servizi --------------------------------------------------------------- */

.service-list {
    border-top: 1px solid var(--line-light);
}

.service {
    position: relative;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--col-gap);
    align-items: start;
    padding-block: clamp(24px, 3vw, 44px);
    border-bottom: 1px solid var(--line-light);
    transition: background-color .3s var(--ease-out);
}

.service:hover {
    background: rgba(0, 0, 0, .028);
}

.service__num {
    grid-column: 1 / span 1;
    padding-top: 6px;
    font-size: 12px;
    letter-spacing: .05em;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
}

.service__title-wrap {
    grid-column: 2 / span 5;
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.service__title {
    font-size: clamp(24px, 3.2vw, 48px);
    font-weight: 400;
    line-height: 1.06;
    letter-spacing: -.03em;
    transition: transform .35s var(--ease-out);
}

.service:hover .service__title {
    transform: translateX(8px);
}

.service__body {
    grid-column: 8 / span 5;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.service__desc {
    max-width: 46ch;
    font-size: clamp(16px, 1.2vw, 19px);
    line-height: 1.42;
    color: var(--muted);
}

.service__tasks {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    max-width: 48ch;
    font-size: 13px;
    line-height: 1.4;
    letter-spacing: .005em;
    color: var(--ink);
}

.service__tasks li {
    position: relative;
    padding-left: 14px;
}

.service__tasks li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .62em;
    width: 6px;
    height: 1px;
    background: currentColor;
    opacity: .55;
}

/* 10. Portfolio ------------------------------------------------------------ */

.portfolio__filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 26px;
    margin-bottom: clamp(32px, 4vw, 64px);
}

.filter {
    min-height: 44px;
    padding: 0;
    border: 0;
    border-bottom: 1px solid transparent;
    background: none;
    color: var(--muted);
    font-size: 14px;
    letter-spacing: .01em;
    cursor: pointer;
    transition: color .2s var(--ease-out), border-color .2s var(--ease-out);
}

.filter:hover {
    color: var(--ink);
}

.filter[aria-pressed="true"] {
    color: var(--ink);
    border-bottom-color: var(--ink);
}

.filter__count {
    font-size: 11px;
    vertical-align: super;
    padding-left: 3px;
    font-variant-numeric: tabular-nums;
    opacity: .7;
}

.filter__count:empty {
    display: none;
}

.projects {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--col-gap);
    row-gap: clamp(48px, 6vw, 96px);
}

.project {
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: opacity .28s var(--ease-out);
}

.project.is-filtered-out {
    display: none;
}

.projects.is-filtered .project {
    animation: project-in .3s var(--ease-out) both;
}

.project--major {
    grid-column: 1 / span 7;
}

.project--minor {
    grid-column: 9 / span 4;
    margin-top: 120px;
}

.project--minor-start {
    grid-column: 1 / span 4;
    margin-top: 120px;
}

.project--major-end {
    grid-column: 6 / span 7;
}

.project__media {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    overflow: hidden;
    cursor: pointer;
}

.project--major .project__media {
    aspect-ratio: 16 / 10;
}

.project--minor .project__media,
.project--minor-start .project__media {
    aspect-ratio: 4 / 5;
}

.project__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .65s var(--ease-out);
}

.project__media:hover .project__img,
.project__media:focus-visible .project__img {
    transform: scale(1.035);
}

.project__arrow {
    position: absolute;
    right: 16px;
    bottom: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--paper);
    color: var(--ink);
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .3s var(--ease-out), transform .3s var(--ease-out);
}

.project__arrow svg {
    width: 16px;
    height: 16px;
}

.project__media:hover .project__arrow,
.project__media:focus-visible .project__arrow {
    opacity: 1;
    transform: none;
}

.project__caption {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 4px 16px;
}

.project__name {
    font-size: clamp(20px, 1.7vw, 26px);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -.025em;
}

.project__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    font-size: 12px;
    line-height: 1.4;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--muted);
}

.tag {
    padding: 2px 6px;
    border: 1px solid currentColor;
    font-size: 10px;
    letter-spacing: .08em;
}

.portfolio__note {
    max-width: 52ch;
    margin-top: clamp(32px, 4vw, 56px);
    padding-top: 20px;
    border-top: 1px solid var(--line-light);
    font-size: 14px;
    line-height: 1.45;
    color: var(--muted);
}

.portfolio__note a {
    border-bottom: 1px solid currentColor;
    color: var(--ink);
}

.dialog {
    width: min(1080px, calc(100vw - 32px));
    max-height: min(88vh, 920px);
    padding: 0;
    border: 0;
    background: var(--paper);
    color: var(--ink);
    overflow: auto;
}

.dialog[open] {
    animation: dialog-in .3s var(--ease-out) both;
}

.dialog::backdrop {
    background: rgba(0, 0, 0, .74);
}

.dialog__bar {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-inline: clamp(20px, 3vw, 48px);
    background: var(--paper);
    border-bottom: 1px solid var(--line-light);
}

.dialog__label {
    font-size: 12px;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--muted);
}

.dialog__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-right: calc(clamp(20px, 3vw, 48px) * -1);
    border: 0;
    border-left: 1px solid var(--line-light);
    background: none;
    color: var(--ink);
    cursor: pointer;
}

.dialog__close svg {
    width: 14px;
    height: 14px;
}

.dialog__close:hover {
    background: rgba(0, 0, 0, .05);
}

.dialog__inner {
    padding: clamp(24px, 4vw, 56px) clamp(20px, 3vw, 48px) clamp(32px, 4vw, 56px);
}

.dialog__title {
    max-width: 22ch;
    font-size: clamp(30px, 3.4vw, 52px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -.035em;
}

.dialog__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-top: 16px;
    font-size: 12px;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--muted);
}

.dialog__media {
    margin-top: clamp(24px, 3vw, 40px);
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

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

.dialog__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(24px, 3vw, 48px);
    margin-top: clamp(28px, 3.4vw, 48px);
}

.dialog__section h3 {
    margin-bottom: 12px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--muted);
}

.dialog__section p {
    font-size: 17px;
    line-height: 1.45;
    color: var(--ink);
}

.dialog__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 16px;
    line-height: 1.4;
}

.dialog__list li {
    padding-top: 8px;
    border-top: 1px solid var(--line-light);
}

.dialog__disclaimer {
    margin-top: clamp(24px, 3vw, 40px);
    padding-top: 16px;
    border-top: 1px solid var(--line-light);
    font-size: 13px;
    line-height: 1.45;
    color: var(--muted);
}

/* 11. Come lavoriamo ------------------------------------------------------- */

.lavoriamo__grid {
    align-items: start;
}

.lavoriamo__intro {
    grid-column: 1 / span 4;
}

.lavoriamo__intro .section-title {
    margin-bottom: clamp(20px, 2.4vw, 32px);
    font-size: clamp(32px, 3.6vw, 56px);
}

.lavoriamo__intro .intro {
    max-width: 34ch;
    color: var(--muted-dark);
}

.lavoriamo__intro .label {
    color: var(--muted-dark);
}

.steps {
    grid-column: 6 / span 7;
}

.step {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: clamp(8px, 1.4vw, 20px);
    padding-block: clamp(20px, 2.6vw, 34px);
    border-top: 1px solid var(--line-dark);
}

.step:last-child {
    border-bottom: 1px solid var(--line-dark);
}

.step__num {
    padding-top: 6px;
    font-size: 12px;
    letter-spacing: .05em;
    color: var(--muted-dark);
    font-variant-numeric: tabular-nums;
}

.step__title {
    margin-bottom: 10px;
    font-size: clamp(24px, 2.4vw, 36px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -.03em;
}

.step__text {
    max-width: 52ch;
    font-size: clamp(16px, 1.15vw, 18px);
    line-height: 1.45;
    color: var(--chalk);
}

.step__out {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 14px;
    font-size: 12px;
    line-height: 1.4;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--muted-dark);
}

.step__out strong {
    font-weight: 500;
    color: var(--chalk);
}

/* 12. Prenota -------------------------------------------------------------- */

.prenota {
    padding-block: clamp(64px, 8.4vw, 156px);
}

.prenota__grid {
    row-gap: clamp(32px, 5vw, 64px);
    align-items: start;
}

.prenota__main {
    grid-column: 1 / span 6;
}

.prenota__aside {
    grid-column: 8 / span 5;
}

.prenota__title {
    font-size: clamp(34px, 4.6vw, 76px);
    font-weight: 400;
    line-height: 1.04;
    letter-spacing: -.04em;
    text-wrap: balance;
}

.prenota__lead {
    max-width: 40ch;
    margin-top: clamp(20px, 2.4vw, 32px);
    font-size: clamp(18px, 1.5vw, 24px);
    line-height: 1.3;
    letter-spacing: -.02em;
    color: rgba(0, 0, 0, .72);
}

.prenota__actions {
    margin-top: clamp(28px, 3.4vw, 44px);
}

.guarantees {
    border-top: 1px solid rgba(0, 0, 0, .24);
}

.guarantee {
    display: flex;
    align-items: baseline;
    gap: 16px;
    padding-block: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, .24);
    font-size: 16px;
    line-height: 1.35;
}

.guarantee__num {
    font-size: 12px;
    letter-spacing: .05em;
    color: rgba(0, 0, 0, .55);
    font-variant-numeric: tabular-nums;
}

.prenota__mail {
    margin-top: clamp(24px, 3vw, 40px);
    font-size: 15px;
    line-height: 1.6;
}

.prenota__mail .text-link {
    border-bottom-color: currentColor;
}

/* 13. Footer --------------------------------------------------------------- */

.footer {
    padding-top: clamp(48px, 6vw, 88px);
    padding-bottom: clamp(24px, 3vw, 40px);
    border-top: 1px solid rgba(0, 0, 0, .18);
}

.footer__top {
    row-gap: clamp(40px, 5vw, 64px);
    padding-bottom: clamp(40px, 5vw, 64px);
}

.footer__nav {
    grid-column: 1 / span 6;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 20px;
}

.footer__nav a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    font-size: clamp(16px, 1.15vw, 18px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s var(--ease-out);
    width: fit-content;
}

.footer__nav a:hover {
    border-bottom-color: currentColor;
}

.footer__actions {
    grid-column: 8 / span 5;
    border-top: 1px solid rgba(0, 0, 0, .24);
}

.action-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding-block: 14px;
    border-bottom: 1px solid rgba(0, 0, 0, .24);
    font-size: 15px;
    line-height: 1.3;
}

.action-row__label {
    color: rgba(0, 0, 0, .55);
    font-size: 12px;
    letter-spacing: .05em;
    text-transform: uppercase;
    white-space: nowrap;
}

.action-row__value {
    text-align: right;
    border-bottom: 1px solid transparent;
    transition: border-color .2s var(--ease-out);
}

a.action-row:hover .action-row__value {
    border-bottom-color: currentColor;
}

.footer__claim {
    max-width: 46ch;
    font-size: clamp(18px, 1.5vw, 24px);
    line-height: 1.28;
    letter-spacing: -.02em;
}

.footer__geo {
    margin-top: 12px;
    font-size: 13px;
    letter-spacing: .03em;
    color: rgba(0, 0, 0, .6);
}

.footer__signature {
    margin-top: clamp(40px, 6vw, 88px);
}

.footer__signature .brand-logo {
    width: min(90vw, 100%);
    max-width: 100%;
}

.footer__legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 24px;
    margin-top: clamp(16px, 2vw, 24px);
    padding-top: 16px;
    border-top: 1px solid rgba(0, 0, 0, .18);
    font-size: 12px;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, .62);
}

.footer__legal a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    border-bottom: 1px solid transparent;
    transition: border-color .2s var(--ease-out);
}

.footer__legal a:hover {
    border-bottom-color: currentColor;
}

.footer--compact {
    padding-top: clamp(32px, 4vw, 56px);
}

.footer--compact .footer__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--space-3);
}

.footer--compact .brand-logo {
    width: clamp(170px, 20vw, 280px);
}

/* 14. Contatti ------------------------------------------------------------- */

.contact-page {
    padding-top: clamp(32px, 4vw, 64px);
    padding-bottom: clamp(64px, 8vw, 140px);
}

.contact-page__grid {
    align-items: start;
    row-gap: clamp(32px, 5vw, 64px);
}

.contact-head {
    grid-column: 1 / span 6;
}

.contact-head .label {
    margin-bottom: clamp(28px, 3.6vw, 48px);
}

.contact-title {
    font-size: clamp(38px, 5.4vw, 92px);
    font-weight: 400;
    line-height: 1.02;
    letter-spacing: -.045em;
    text-wrap: balance;
}

.contact-intro {
    max-width: 34ch;
    margin-top: clamp(20px, 2.4vw, 32px);
    font-size: clamp(18px, 1.5vw, 24px);
    line-height: 1.3;
    letter-spacing: -.02em;
    color: rgba(0, 0, 0, .72);
}

.contact-list {
    grid-column: 7 / span 6;
    margin-top: clamp(0px, 4vw, 72px);
    border-top: 1px solid rgba(0, 0, 0, .24);
}

.contact-row {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 28px;
    align-items: center;
    gap: 12px;
    min-height: 108px;
    padding-block: clamp(18px, 2.2vw, 28px);
    border-bottom: 1px solid rgba(0, 0, 0, .24);
    transition: background-color .25s var(--ease-out);
}

.contact-row:hover {
    background: rgba(0, 0, 0, .04);
}

.contact-row__num {
    font-size: 12px;
    letter-spacing: .05em;
    color: rgba(0, 0, 0, .55);
    font-variant-numeric: tabular-nums;
    align-self: start;
    padding-top: 8px;
}

.contact-row__inner {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.contact-row__label {
    font-size: 12px;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, .55);
}

.contact-row__value {
    font-size: clamp(24px, 3vw, 44px);
    line-height: 1.08;
    letter-spacing: -.035em;
    overflow-wrap: anywhere;
}

.contact-row--email .contact-row__value {
    font-size: clamp(20px, 2.9vw, 44px);
}

.contact-row__arrow {
    width: 18px;
    height: 18px;
    color: var(--ink);
    transition: transform .2s var(--ease-out);
}

.contact-row:hover .contact-row__arrow {
    transform: translate(4px, -4px);
}

.contact-page__note {
    grid-column: 7 / span 6;
    max-width: 40ch;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(0, 0, 0, .62);
}

/* 15. Motion --------------------------------------------------------------- */

@keyframes intro-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes dialog-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes project-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.intro-in {
    animation: intro-in .7s var(--ease-out) both;
}

.js [data-reveal] {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .55s var(--ease-out), transform .55s var(--ease-out);
    transition-delay: var(--delay, 0ms);
}

.js [data-reveal].is-in {
    opacity: 1;
    transform: none;
}

.tlines .line {
    display: block;
    overflow: hidden;
    /* Lo spazio evita che la maschera tagli le discendenti (g, p, q). */
    padding-bottom: .14em;
    margin-bottom: -.14em;
}

.tlines .line__inner {
    display: inline-block;
}

.js .tlines .line__inner {
    transform: translateY(105%);
    transition: transform .85s var(--ease-out);
    transition-delay: var(--delay, 0ms);
}

.js .tlines.is-in .line__inner {
    transform: none;
}

.js .tlines .line:nth-child(2) .line__inner {
    transition-delay: calc(var(--delay, 0ms) + 70ms);
}

.js .tlines .line:nth-child(3) .line__inner {
    transition-delay: calc(var(--delay, 0ms) + 140ms);
}

.js .menu-nav li {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .34s var(--ease-out), transform .4s var(--ease-out);
}

.js .menu-overlay.is-open .menu-nav li {
    opacity: 1;
    transform: none;
}

.js .menu-overlay.is-open .menu-nav li:nth-child(1) { transition-delay: 90ms; }
.js .menu-overlay.is-open .menu-nav li:nth-child(2) { transition-delay: 130ms; }
.js .menu-overlay.is-open .menu-nav li:nth-child(3) { transition-delay: 170ms; }
.js .menu-overlay.is-open .menu-nav li:nth-child(4) { transition-delay: 210ms; }
.js .menu-overlay.is-open .menu-nav li:nth-child(5) { transition-delay: 250ms; }

/* 16. Responsive ----------------------------------------------------------- */

@media (max-width: 1279px) {

    .hv__tilt {
        width: 70%;
    }

    .step {
        grid-template-columns: 48px minmax(0, 1fr);
    }
}

@media (max-width: 1023px) {

    :root {
        --gutter: 20px;
        --col-gap: 16px;
    }

    .grid {
        grid-template-columns: repeat(8, minmax(0, 1fr));
    }

    .section-head__grid {
        grid-template-columns: repeat(8, minmax(0, 1fr));
    }

    .section-head__grid .section-title {
        grid-column: 1 / span 8;
    }

    .section-head__grid .intro {
        grid-column: 1 / span 6;
        max-width: 48ch;
    }

    .hero__grid {
        grid-template-columns: repeat(8, minmax(0, 1fr));
        row-gap: clamp(32px, 5vw, 56px);
    }

    .hero__copy {
        grid-column: 1 / span 8;
        grid-row: 1;
        padding-top: 0;
    }

    .hero__visual {
        grid-column: 1 / span 6;
        grid-row: 2;
    }

    .hero__title {
        font-size: clamp(36px, 6.4vw, 64px);
        max-width: 18ch;
    }

    .studio .statement {
        max-width: 24ch;
    }

    .studio__text {
        grid-column: 4 / span 5;
    }

    .values {
        grid-template-columns: repeat(8, minmax(0, 1fr));
    }

    .value:nth-child(1) {
        grid-column: 1 / span 4;
    }

    .value:nth-child(2) {
        grid-column: 5 / span 4;
    }

    .value:nth-child(3) {
        grid-column: 1 / span 4;
    }

    .service {
        grid-template-columns: repeat(8, minmax(0, 1fr));
        row-gap: 16px;
    }

    .service__num {
        grid-column: 1 / span 1;
    }

    .service__title-wrap {
        grid-column: 2 / span 7;
    }

    .service__body {
        grid-column: 2 / span 7;
    }

    .projects {
        grid-template-columns: repeat(8, minmax(0, 1fr));
        row-gap: clamp(40px, 6vw, 72px);
    }

    .project--major {
        grid-column: 1 / span 5;
    }

    .project--minor {
        grid-column: 6 / span 3;
        margin-top: 0;
    }

    .project--minor-start {
        grid-column: 1 / span 3;
        margin-top: 0;
    }

    .project--major-end {
        grid-column: 4 / span 5;
    }

    .project--minor-start {
        align-self: end;
    }

    .lavoriamo__intro {
        grid-column: 1 / span 8;
        position: static;
    }

    .lavoriamo__intro .intro {
        max-width: 48ch;
    }

    .steps {
        grid-column: 1 / span 8;
        margin-top: clamp(32px, 4vw, 48px);
    }

    .prenota__main {
        grid-column: 1 / span 8;
    }

    .prenota__aside {
        grid-column: 4 / span 5;
    }

    .footer__nav {
        grid-column: 1 / span 8;
    }

    .footer__actions {
        grid-column: 1 / span 6;
    }

    .contact-page__grid {
        grid-template-columns: repeat(8, minmax(0, 1fr));
    }

    .contact-head {
        grid-column: 1 / span 8;
    }

    .contact-list {
        grid-column: 1 / span 8;
        margin-top: 0;
    }

    .contact-page__note {
        grid-column: 1 / span 6;
    }

    .dialog__grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 1024px) {

    .lavoriamo__intro {
        position: sticky;
        top: calc(var(--header-h) + 40px);
    }
}

@media (max-width: 767px) {

    :root {
        --gutter: 16px;
        --col-gap: 12px;
        --header-h: 72px;
    }

    html {
        scroll-padding-top: 88px;
    }

    .grid,
    .section-head__grid,
    .hero__grid,
    .projects,
    .values,
    .lavoriamo__grid,
    .prenota__grid,
    .contact-page__grid,
    .footer__top {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .section {
        padding-block: clamp(64px, 12vw, 88px);
    }

    .hero {
        padding-top: 24px;
        padding-bottom: clamp(56px, 12vw, 80px);
    }

    .hero__copy,
    .hero__visual,
    .contact-head,
    .contact-list,
    .contact-page__note {
        grid-column: 1 / span 4;
        grid-row: auto;
    }

    .hero__title {
        font-size: clamp(34px, 9vw, 56px);
        max-width: none;
    }

    .section-title {
        font-size: clamp(30px, 7vw, 40px);
    }

    .statement {
        font-size: clamp(30px, 8.4vw, 46px);
    }

    .intro {
        font-size: clamp(19px, 4vw, 22px);
    }

    .hero__visual {
        margin-top: 8px;
    }

    .hv__tilt {
        width: 76%;
    }

    .hv__ring {
        width: 82%;
    }

    .studio__text {
        grid-column: 1 / span 4;
        font-size: clamp(19px, 4vw, 22px);
    }

    .values {
        margin-top: 40px;
        padding-top: 20px;
    }

    .value:nth-child(1),
    .value:nth-child(2),
    .value:nth-child(3) {
        grid-column: 1 / span 4;
        padding-top: 20px;
        border-top: 1px solid var(--line-light);
    }

    .value:nth-child(1) {
        border-top: 0;
        padding-top: 0;
    }

    .service {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        row-gap: 14px;
        padding-block: 24px;
    }

    .service__num {
        grid-column: 1 / span 4;
        padding-top: 0;
    }

    .service__title-wrap {
        grid-column: 1 / span 4;
    }

    .service__body {
        grid-column: 1 / span 4;
    }

    .service__title {
        font-size: clamp(24px, 6.4vw, 32px);
    }

    .service__desc {
        font-size: 16px;
    }

    .projects {
        row-gap: 44px;
    }

    .project--major,
    .project--minor,
    .project--minor-start,
    .project--major-end {
        grid-column: 1 / span 4;
        margin-top: 0;
        align-self: auto;
    }

    .portfolio__filters {
        gap: 2px 18px;
        margin-bottom: 24px;
    }

    .filter {
        font-size: 13px;
    }

    .lavoriamo__intro,
    .steps {
        grid-column: 1 / span 4;
    }

    .steps {
        margin-top: 32px;
    }

    .step {
        grid-template-columns: 1fr;
        gap: 6px;
        padding-block: 22px;
    }

    .step__num {
        padding-top: 0;
    }

    .prenota__main,
    .prenota__aside {
        grid-column: 1 / span 4;
    }

    .prenota__title {
        font-size: clamp(32px, 8.6vw, 48px);
    }

    .prenota__actions .btn {
        width: 100%;
    }

    .footer__nav,
    .footer__actions {
        grid-column: 1 / span 4;
    }

    .footer__nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer__claim {
        font-size: clamp(18px, 4.6vw, 22px);
    }

    .footer__signature .brand-logo {
        width: 100%;
    }

    .contact-title {
        font-size: clamp(34px, 10vw, 54px);
    }

    .contact-row {
        grid-template-columns: 32px minmax(0, 1fr) 22px;
        min-height: 92px;
    }

    .contact-row__value {
        font-size: clamp(22px, 6.4vw, 32px);
    }

    .contact-row--email .contact-row__value {
        font-size: clamp(20px, 5.8vw, 30px);
    }

    .footer--compact .footer__inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .dialog {
        width: calc(100vw - 16px);
        max-height: 92vh;
    }

    .dialog__close {
        margin-right: calc(clamp(20px, 3vw, 48px) * -1);
    }

    .dialog {
        --dialog-pad: 20px;
    }
}

@media (max-width: 480px) {

    .brand-logo {
        width: clamp(112px, 34vw, 150px);
    }

    .menu-trigger__label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        clip-path: inset(50%);
        white-space: nowrap;
    }

    .menu-trigger {
        gap: 0;
    }

    .pill {
        max-width: 108px;
        padding: 6px 10px;
        font-size: 11px;
        line-height: 1.2;
        text-align: center;
    }

    .header-actions {
        gap: 12px;
    }

    .contact-row {
        grid-template-columns: 28px minmax(0, 1fr) 18px;
    }
}

/* Motion ridotto: nessun reveal, nessun parallax, nessuna transizione traslata */

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

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        transition-delay: 0ms !important;
        scroll-behavior: auto !important;
    }

    .js [data-reveal],
    .js .tlines .line__inner,
    .js .menu-nav li {
        opacity: 1;
        transform: none;
    }

    .hv__stage,
    .hv__ring,
    .hv__tilt {
        transform: none !important;
    }

    .hv__spin {
        animation: none;
        transform: rotateX(-9deg) rotateY(-28deg);
    }
}
