.lpg-animations {
 --la-pad: max(calc(var(--lpg-grid-gutter) / 2), calc((100% - var(--lpg-grid-max)) / 2));
 --la-type-unit: min(1vw, calc(var(--lpg-grid-max) / 100));
 --la-admin-reserve: var(--wp-admin--admin-bar--height, 0px);
 --la-admin-in-flow: 0px;
 --la-top: calc(var(--lpg-short-header, 60px) + var(--la-admin-reserve) - var(--la-admin-in-flow));
 /* Keep the established frame heights and pin distances when the toolbar scrolls away. */
 --la-height: calc(var(--la-viewport, 100svh) - var(--la-top) - var(--la-admin-in-flow));
 background: var(--paper);
 color: var(--ink);
}
/* WordPress positions its toolbar in the document (rather than fixed) up to 600px. */
@media (max-width:600px) {
 body.home.admin-bar .lpg-animations { --la-admin-in-flow: var(--la-admin-reserve); }
}
.lpg-animations :is(.la-frame,.la-end) { position: relative; isolation: isolate; overflow: hidden; }
.lpg-animations .la-frame { scroll-margin-top: var(--la-top); }
.lpg-animations .la-frame.is-live { height: var(--la-height); }
.lpg-animations :is(h1,h2,.la-moment,.la-plate-title,.la-grain-words) {
 margin: 0; color: inherit; font-family: var(--sans, sans-serif);
 font-weight: 700; line-height: .97; letter-spacing: -.068em; text-wrap: initial;
}
.lpg-animations em {
 font-family: inherit; font-weight: inherit; letter-spacing: -.065em; color: inherit;
}
.lpg-animations .la-label {
 display: block; font: 600 clamp(.66rem,.79vw,.88rem)/1.4 var(--sans,sans-serif);
 letter-spacing: .13em; text-transform: uppercase;
}
.lpg-animations .la-link {
 display: inline-flex; gap: 1.2em; align-items: center; padding: .45em 0;
 color: inherit; border-bottom: 1px solid currentColor; font-size: .95rem; text-decoration: none;
}
.lpg-animations .la-link:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.lpg-animations img.lpg-photo { display: block; width: 100%; height: 100%; object-fit: cover; }
.lpg-animations :is(.la-hero h1,.la-manifesto h2,.la-end h2) > span {
 display: block; overflow: hidden; padding: .03em .08em .11em 0; margin-bottom: -.12em;
}
.lpg-animations :is(.la-hero h1,.la-manifesto h2,.la-end h2) b { display: block; font-weight: inherit; }

.lpg-animations .la-hero { background: var(--paper); }
.lpg-animations .la-hero-window { position: absolute; inset: 0 0 auto; height: var(--la-height); overflow: hidden; }
.lpg-animations .la-hero-window::after,
.lpg-animations .la-end-image::after,
.lpg-animations .la-project::after {
 content: ""; position: absolute; inset: 0; pointer-events: none;
 background: var(--dark); opacity: .38;
}
.lpg-animations .la-hero-art { position: absolute; inset: 0; transform-origin: 50% 8%; }
/* Each sky panel overlaps the previous one by 20% of the hero width. */
.la-hero-sky {
 position: absolute;
 inset: 0 auto 0 0;
 display: flex;
 width: 320%;
 transform: translateX(-6.25%);
 animation: lpg-cloud-drift 256s linear infinite;
}
.la-hero-sky > div { position: relative; flex: 0 0 50%; }
.la-hero-sky > div::before,
.la-hero-sky > div::after {
 content: "";
 position: absolute;
 inset: 0 auto 0 0;
 width: 62.5%;
 background: url("images/animations/hero-sky-panorama.webp") center / cover no-repeat;
 -webkit-mask-image: linear-gradient(to right, transparent, black 20%);
 mask-image: linear-gradient(to right, transparent, black 20%);
}
.la-hero-sky > div::after {
 left: 50%;
 transform: scaleX(-1);
 -webkit-mask-image: linear-gradient(to left, transparent, black 20%);
 mask-image: linear-gradient(to left, transparent, black 20%);
}
.lpg-animations .la-hero-stone { position: absolute; inset: 15% 0 0; }
.lpg-animations .la-hero-stone img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lpg-animations .la-hero-stone img { object-position: 49% top; }
@keyframes lpg-cloud-drift { from { transform: translateX(-6.25%); } to { transform: translateX(-56.25%); } }
@media (max-width:760px) {
 .la-hero-sky { animation-duration: 320s; }
 .lpg-animations .la-hero-stone { top: 22%; }
}
@media (prefers-reduced-motion:reduce) {
 .la-hero-sky { animation: none; }
}
/* Extend the window itself behind the header. Its normal overflow clips the one sky. */
body.home { --la-sky-overhang: var(--lpg-full-header); }
@media (max-width:960px) {
 body.home { --la-sky-overhang: calc(var(--lpg-full-header) * 5 / 9 + var(--lpg-short-header) * 4 / 9); }
}
body.home .la-hero-art .la-hero-sky { top: calc(-1 * var(--la-sky-overhang)); }
body.home:has(.lpg-industrial-header:not([data-compact="true"])) .lpg-animations .la-hero {
 overflow: visible;
}
body.home:has(.lpg-industrial-header:not([data-compact="true"])) .lpg-animations .la-hero-window {
 top: calc(-1 * var(--la-sky-overhang));
 height: calc(var(--la-height) + var(--la-sky-overhang));
}
body.home:has(.lpg-industrial-header:not([data-compact="true"])) .lpg-animations .la-hero-art {
 top: var(--la-sky-overhang);
}
.lpg-animations .la-hero-inner {
 position: relative; min-height: var(--la-height); box-sizing: border-box; padding: clamp(30px,4vw,60px) var(--la-pad);
 display: flex; flex-direction: column; justify-content: flex-start; gap: clamp(18px,3vw,44px); color: #fff;
}
.lpg-animations .la-hero h1 { font-weight: 800; font-size: clamp(3.1rem,min(calc(11.8 * var(--la-type-unit)),19svh),13.5rem); }
.lpg-animations .la-hero h1 em { font-size: .71em; }
@media (prefers-reduced-motion:no-preference) {
 html.lpg-hero-title-pending body.home .la-hero h1 b,
 body.home .la-hero.is-live h1 b {
  transform: translateY(112%);
 }
 body.home:has(.lpg-industrial-header[data-compact="true"]) .la-hero.is-live h1 b {
  transform: translateY(0);
  transition: transform .6s cubic-bezier(.2,.7,.3,1);
 }
 body.home:has(.lpg-industrial-header[data-compact="true"]) .la-hero.is-live h1 > span:nth-child(2) b {
  transition-delay: .08s;
 }
}

.lpg-animations .la-moments { padding: var(--la-pad); }
.lpg-animations .la-moment { font-size: clamp(2.8rem,calc(8.5 * var(--la-type-unit)),10rem); }
.lpg-animations .is-live .la-hero-inner { position: absolute; inset: 0; min-height: 0; }
.lpg-animations .is-live .la-moments { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.lpg-animations .is-live .la-moment { position: absolute; left: var(--la-pad); bottom: 12%; }
.lpg-animations .is-live .la-moment:nth-child(2) { left: auto; right: var(--la-pad); bottom: 14%; color: white; }
.lpg-animations .is-live .la-moment:last-child { color: white; bottom: 9%; }

.lpg-animations .la-pause {
 display: grid; grid-template-columns: 1.6fr 1fr; align-items: end;
 gap: 2rem; padding: clamp(60px,9vw,160px) var(--la-pad); background: var(--paper);
}
.lpg-animations .la-pause h2 { font-size: clamp(2.2rem,calc(4.6 * var(--la-type-unit)),6rem); }
.lpg-animations .la-pause p { margin: 0 0 .85em; max-width: 44ch; line-height: 1.55; }
.lpg-animations .la-selection .la-link { margin-right: 1.3rem; }

.lpg-animations .la-stage { background: var(--dark); color: var(--paper); }
.lpg-animations .la-step { position: relative; padding: var(--la-pad); }
.lpg-animations .la-object { position: relative; height: min(66svh,680px); overflow: hidden; }
.lpg-animations .la-raw .la-object { aspect-ratio: 4 / 3; height: auto; width: min(100%,80vh); margin: auto; overflow: visible; }
.lpg-animations :is(.la-cut-camera,.la-raw-image,.la-slices,.la-slice,.la-cut-lines) { position:absolute; inset:0; }
.lpg-animations .la-slices { visibility:hidden; }
.lpg-animations .la-slice img { position:absolute; inset:0; }
.lpg-animations .la-slice img:first-child:not(:only-child) { opacity:0; }
.lpg-animations .la-cut-lines { width:100%; height:100%; opacity:0; pointer-events:none; }
.lpg-animations .la-kerf {
 fill:none; stroke:var(--paper); stroke-width:1.5px;
 stroke-dasharray:1; stroke-dashoffset:1;
}
.lpg-animations .la-caption { padding: 1.2rem 0; }
.lpg-animations .la-caption h2 { font-size: clamp(2.3rem,calc(5.4 * var(--la-type-unit)),7rem); margin: .12em 0; }
.lpg-animations .la-caption p { font-size: clamp(.85rem,calc(1.12 * var(--la-type-unit)),1.1rem); line-height: 1.4; max-width: 34ch; margin: 0; }
.lpg-animations .la-caption .la-label { color: var(--lpg-brand-mist); }
.lpg-animations .la-grain-words {
 container-type:inline-size; text-transform:uppercase; text-align:center; line-height:.9;
}
.lpg-animations .la-grain-words span {
 display:block; white-space:nowrap; letter-spacing:-.068em;
 font-size:min(9.43cqi,25svh);
}
.lpg-animations .la-grain-words span:first-child { font-size:min(13.75cqi,36svh); }
.lpg-animations .is-live .la-step { position: absolute; inset: 0; padding: 0; }
.lpg-animations .is-live .la-object { position: absolute; inset: 0; height: auto; }
.lpg-animations .is-live .la-raw .la-object {
 width: min(100%, 124svh); height: auto; aspect-ratio: 4 / 3; inset: 50% auto auto 50%;
 transform: translate(-50%,-53%);
}

.lpg-animations :is(.la-raw-image, .la-slice) img { display: block; width: 100%; height: 100%; object-fit: contain; }
.lpg-animations .is-live .la-work .la-object { inset:0; }
.lpg-animations .la-work .la-object img {
 position:absolute; left:50%; top:50%; width:auto; height:78%; max-width:none; aspect-ratio:3/4;
 translate:-50% -53%; display:block;
}
/* The faces share one projected volume; matrix3d maps each texture to its corners. */
.lpg-animations .la-turn {
 position: absolute; inset: 0; pointer-events: none;
}
.lpg-animations .la-turn-face {
 position: absolute; inset: 0 auto auto 0; width: 256px; height: 256px;
 transform-origin: 0 0; visibility: hidden;
 background-repeat: no-repeat; background-size: 100% 100%;
}
.lpg-animations .la-turn[data-turning] .la-turn-face[data-facing] { visibility: visible; }
.lpg-animations .la-turn-front { background-image: url("images/animations/taglio-livelli/rotazione-fronte.webp"); }
.lpg-animations .la-turn-side { background-image: url("images/animations/taglio-livelli/rotazione-fianco.webp"); }
.lpg-animations .la-turn-side::after {
 content: ""; position: absolute; inset: 0;
 background: url("images/animations/taglio-livelli/rotazione-costa-lavorata.webp") center / 100% 100% no-repeat;
 opacity: var(--la-worked-edge, 0);
}
.lpg-animations .la-turn-top { background-image: url("images/animations/taglio-livelli/rotazione-sommita.webp"); }
.lpg-animations .la-turn-worked {
 background-image: url("images/animations/taglio-livelli/pezzo-lavorato.webp");
 background-size: calc(1086 / 776 * 100%) calc(1448 / 1288 * 100%);
 background-position: calc(154 / 310 * 100%) calc(124 / 160 * 100%);
}
.lpg-animations .la-built .la-object img { object-position: 50% 53%; }
@media (min-width:761px) and (min-aspect-ratio:1/1) {
 .lpg-animations .is-live .la-built .la-object { background: var(--dark); }
 .lpg-animations .is-live .la-built .la-object img { width: 65%; margin-left: auto; object-position: 50% 41%; }
}
.lpg-animations .la-finish .la-object img {
 display:block; width:100%; height:100%; object-fit:cover; object-position:50% 53%; transform:scale(1.48);
}
.lpg-animations .is-live .la-finish .la-object { visibility:hidden; }
.lpg-animations .la-cut .la-caption { text-align:right; }
.lpg-animations .la-cut .la-caption p { margin-inline-start:auto; }
.lpg-animations .is-live .la-work .la-caption { z-index:1; }
.lpg-animations .is-live .la-work .la-caption[data-stone-contrast="mixed"] {
 color:white; mix-blend-mode:difference;
}
.lpg-animations .is-live .la-work .la-caption[data-stone-contrast="light"] { color:var(--ink); }
.lpg-animations .is-live .la-work .la-caption[data-stone-contrast] .la-label { color:inherit; }
.lpg-animations .is-live .la-built .la-object::after {
 content: ""; position: absolute; inset: 0; background: var(--dark); opacity: .32;
}
.lpg-animations .is-live .la-caption { position: absolute; left: var(--la-pad); bottom: 7%; padding: 0; }
.lpg-animations .is-live .la-cut .la-caption { left: auto; right: var(--la-pad); max-width: 30%; }
.lpg-animations .is-live .la-finish .la-caption {
 left: auto; right: var(--la-pad); bottom: 5%; background: var(--ink); padding: .65rem 1rem;
}
.lpg-animations .is-live .la-finish .la-caption h2 { font-size: clamp(1.6rem,calc(2.6 * var(--la-type-unit)),3rem); }
.lpg-animations .is-live .la-finish .la-caption p { max-width: 29ch; }
.lpg-animations .is-live .la-grain-words {
 position:absolute; inset:0 var(--la-pad); color:var(--ink); pointer-events:none;
}
.lpg-animations .is-live .la-grain-words span {
 position:absolute; inset-inline:0; top:36%; translate:0 -50%;
}
.lpg-animations .is-live .la-grain-words span:nth-child(2) { top:62%; }
.lpg-animations .is-live .la-cut { z-index:2; }
.lpg-animations .is-live .la-cut .la-caption { z-index:1; }
.lpg-animations .is-live .la-work { background:var(--dark); }
.lpg-animations .is-live .la-built .la-caption h2 { font-size: clamp(3rem,min(calc(10.2 * var(--la-type-unit)),17svh),13rem); text-transform: uppercase; }
.lpg-animations .la-built h2 span { display: block; }
.lpg-animations .is-live .la-track { position: absolute; inset: auto 0 0; height: 3px; background: var(--muted); }
.lpg-animations .la-track i { display: block; height: 100%; background: var(--lpg-brand-mist); transform-origin: left; }

.lpg-animations.la-directed .la-spread { position: relative; z-index: 1; margin-top: -12svh; }
.lpg-animations .la-layout { background: var(--paper); }
.lpg-animations .la-plate { height: min(60svh,700px); overflow: hidden; }
.lpg-animations .la-plate-b img { display:block; width:100%; height:100%; object-fit:cover; object-position:52% 62%; }
.lpg-animations .la-plate-title { font-size: clamp(2.8rem,calc(8 * var(--la-type-unit)),11rem); padding: var(--la-pad); }
.lpg-animations .la-manifesto { padding: var(--la-pad); }
.lpg-animations .la-manifesto h2 { font-size: clamp(2rem,min(calc(9.3 * var(--la-type-unit)),17svh),12rem); line-height: 1; text-transform: uppercase; }
.lpg-animations .la-manifesto h2 > span:nth-child(even) { text-align: right; }
.lpg-animations .la-manifesto h2 > span:nth-child(3) { color: var(--muted); }
.lpg-animations .is-live .la-plates,
.lpg-animations .is-live .la-plate,
.lpg-animations .is-live .la-manifesto { position: absolute; inset: 0; height: auto; }
.lpg-animations .is-live .la-plate-title { position: absolute; left: 0; bottom: 6%; padding-block: 0; color: white; }
.lpg-animations .is-live .la-plate-title:last-child { left: auto; right: 0; text-align: right; }
.lpg-animations .is-live .la-plate::after { content: ""; position: absolute; inset: 0; background: var(--dark); opacity: .32; }
.lpg-animations .is-live .la-manifesto { display: grid; align-items: center; background: var(--paper); }

.lpg-animations .la-exhibition { background: var(--ink); color: white; }
.lpg-animations .la-exhibition h2 { padding: 1rem var(--la-pad); font-size: clamp(2.6rem,calc(7.6 * var(--la-type-unit)),10rem); }
.lpg-animations .la-project { position: relative; isolation: isolate; margin: 0; height: 76svh; overflow: hidden; }
.lpg-animations .la-project img.lpg-photo { object-fit: contain; }
.lpg-animations :is(.la-project figcaption, .la-gallery-caption) {
 position: absolute; z-index: 1; bottom: 7%; left: var(--la-pad); right: var(--la-pad); color: white;
 font-size: clamp(1.7rem,calc(4.5 * var(--la-type-unit)),5.6rem); line-height: 1.05; letter-spacing: -.055em;
}
.lpg-animations .la-gallery-caption { display:none; margin:0; pointer-events:none; }
.lpg-animations .is-live .la-gallery-caption {
 display:block; z-index:2; left:var(--la-pad); right:auto; max-width:calc(100% - 2 * var(--la-pad));
 width:fit-content; padding:.3em .45em; background:rgba(37,40,42,.8);
}
.lpg-animations .is-live .la-project figcaption {
 width:1px; height:1px; white-space:nowrap; overflow:hidden; clip-path:inset(50%);
}
.lpg-animations .is-live.la-exhibition h2 { position: absolute; z-index: 2; inset: 0 auto auto 0; pointer-events: none; }
.lpg-animations .is-live .la-rail { display: flex; height: 100%; }
.lpg-animations .is-live .la-project { flex: 0 0 100%; height: 100%; }
.lpg-animations .la-project::after { background: var(--dark); opacity: .32; }

.lpg-animations .la-end { display: grid; align-items: end; min-height: var(--la-height); color: white; }
.lpg-animations .la-end-image { position: absolute; inset: 0; overflow: hidden; }
.lpg-animations .la-end-image img { object-position: 58% 65%; }
.lpg-animations .la-end-inner { position: relative; padding: var(--la-pad); }
.lpg-animations .la-end h2 { font-size: clamp(3.4rem,min(calc(11.7 * var(--la-type-unit)),20svh),15rem); text-transform: uppercase; }
.lpg-animations .la-end .la-link { margin-top: 1.8rem; }
@media(max-width:760px) {
 .lpg-animations .la-pause { grid-template-columns: 1fr; }
 .lpg-animations .la-hero h1 { font-size: clamp(3.4rem,16vw,7.2rem); }
 .lpg-animations .la-hero h1 em { display: block; font-size: .8em; }
 .lpg-animations .la-hero-inner { justify-content: center; padding-bottom: clamp(32px,22vw,88px); gap: 1rem; }
 .lpg-animations .is-live .la-moment { bottom: 13%; }
 .lpg-animations .la-moment { font-size: clamp(2.8rem,12.3vw,5rem); }
 .lpg-animations .is-live .la-raw .la-object { width: 100%; transform: translate(-50%,-58%); }
 .lpg-animations .is-live .la-cut .la-caption { left: var(--la-pad); right: var(--la-pad); max-width: none; }
 .lpg-animations .la-caption h2 { font-size: 12vw; }
 .lpg-animations .is-live .la-finish .la-caption { left: var(--la-pad); right: auto; }
 .lpg-animations .is-live .la-built .la-caption h2 { font-size: 11.7vw; }
 .lpg-animations .la-plate-title { font-size: 13vw; }
 .lpg-animations .la-manifesto h2 { font-size: 9.7vw; }
}
@media(max-width:760px), (max-width:960px) and (max-height:480px) {
 .lpg-animations .is-live .la-rail { display: block; }
 .lpg-animations .is-live .la-project { position: absolute; inset: 0; }
}
@media(max-height:480px) and (min-width:600px) {
 .lpg-animations .la-hero-inner { gap: .5rem; }
 .lpg-animations .la-caption h2,.lpg-animations .is-live .la-built .la-caption h2 { font-size: 11svh; }
 .lpg-animations .la-plate-title { font-size: 13svh; }
}
.lpg-animations .is-live .la-raw { z-index: 2; }
.lpg-animations .is-live .la-work { z-index: 3; }
.lpg-animations .is-live .la-finish { z-index: 4; }
.lpg-animations .is-live .la-built { z-index: 5; }
.lpg-animations .is-live .la-track { z-index: 6; }
/* Short landscape phones use the same scenes with smaller compositions. */
@media (orientation:landscape) and (max-width:960px) and (max-height:480px) {
 .lpg-animations .la-hero h1 { font-size: clamp(2.5rem, min(11vw, 17svh), 5rem); }
 .lpg-animations .la-hero-inner { padding-bottom: 1rem; }
 .lpg-animations .is-live .la-grain-words {
  line-height:.76; color:var(--paper);
  -webkit-text-stroke:.025em var(--ink);
  text-shadow:0 2px 6px var(--ink);
 }
 .lpg-animations .la-grain-words span { font-size:min(9.43cqi,30svh); }
 .lpg-animations .la-grain-words span:first-child { font-size:min(13.75cqi,40svh); }
 .lpg-animations .la-raw .la-object { width: min(100%, 76svh); }
 .lpg-animations .is-live .la-raw .la-object { width: min(88%, 100svh); }
 .lpg-animations .is-live .la-built .la-caption h2 { font-size: clamp(1.6rem, 10svh, 3rem); }
 .lpg-animations .is-live .la-manifesto h2 { font-size: clamp(1.8rem, 13svh, 4rem); }
 .lpg-animations .is-live.la-exhibition h2 { font-size: clamp(1.7rem, 11svh, 3.5rem); }
 .lpg-animations :is(.la-step .la-object, .la-plate) img.lpg-photo { object-fit: contain; }
 .lpg-animations .la-plate { background: var(--dark); }
 .lpg-animations .la-moment { font-size: clamp(1.8rem, 9svh, 3.2rem); }
 .lpg-animations .la-end h2 { font-size: clamp(2.5rem, 13svh, 4rem); }
}


/* Keep the pin and its spacer on the small viewport. Only the artwork reaches the larger one. */
@supports (height: 100lvh) and (overflow: clip) {
 @media (orientation:portrait) and (max-width:600px),
        (orientation:landscape) and (max-width:960px) and (max-height:480px) {
  body.home .lpg-animations {
   --la-small-viewport: var(--la-viewport, 100svh);
   --la-art-extra: calc(max(0px, calc(100lvh - var(--la-small-viewport))) + var(--la-admin-in-flow));
   --la-visible-extra: calc(max(0px, calc(100dvh - var(--la-small-viewport))) + var(--la-admin-in-flow));
   overflow-x: clip;
  }
  body.home .lpg-animations .la-frame.is-live {
   overflow: visible;
   clip-path: inset(0 0 calc(-1 * var(--la-visible-extra)));
  }
  body.home .lpg-animations .la-frame.is-live::before {
   content: "";
   position: absolute;
   z-index: -1;
   inset: 0 0 calc(-1 * var(--la-art-extra));
   background: inherit;
   pointer-events: none;
  }
  body.home:has(.lpg-industrial-header:not([data-compact="true"])) .lpg-animations .la-hero.is-live {
   clip-path: inset(calc(-1 * var(--la-sky-overhang)) 0 calc(-1 * var(--la-visible-extra)));
  }
  body.home .lpg-animations .is-live .la-hero-window {
   height: calc(var(--la-height) + var(--la-art-extra));
  }
  body.home:has(.lpg-industrial-header:not([data-compact="true"])) .lpg-animations .is-live .la-hero-window {
   height: calc(var(--la-height) + var(--la-art-extra) + var(--la-sky-overhang));
  }
  body.home .lpg-animations .is-live :is(.la-step, .la-plates, .la-manifesto) {
   bottom: calc(-1 * var(--la-art-extra));
  }
  body.home .lpg-animations .is-live .la-raw .la-object {
   top: calc(var(--la-height) / 2);
  }
  body.home .lpg-animations .is-live .la-caption {
   bottom: calc(var(--la-art-extra) + var(--la-height) * .07);
  }
  body.home .lpg-animations .is-live .la-finish .la-caption {
   bottom: calc(var(--la-art-extra) + var(--la-height) * .05);
  }
  body.home .lpg-animations .is-live .la-grain-words {
   bottom: var(--la-art-extra);
  }
  body.home .lpg-animations .is-live .la-work .la-object img {
   top: calc(var(--la-height) / 2);
   height: calc(var(--la-height) * .78);
  }
  body.home .lpg-animations .is-live .la-plate-title {
   bottom: calc(var(--la-art-extra) + var(--la-height) * .06);
  }
  body.home .lpg-animations .is-live .la-rail {
   height: calc(100% + var(--la-art-extra));
  }
  body.home .lpg-animations .is-live .la-track {
   bottom: calc(-1 * var(--la-visible-extra));
  }
 }
}

@media (orientation:portrait) and (max-width:600px) {
 body.home .lpg-animations .la-hero h1 {
  font-size: clamp(3.55rem, 18.3vw, 7.2rem);
 }
 body.home .lpg-animations .la-hero h1 em {
  font-size: .8em;
  white-space: nowrap;
 }
 body.home .lpg-animations .is-live .la-moment:first-child { bottom: 11%; }
 body.home .lpg-animations .la-pause:not(.la-selection) p {
  font-size: 1.1rem;
  line-height: 1.647rem;
 }
 body.home .lpg-animations .la-pause .lpg-inline-actions { column-gap: clamp(20px, 5.3vw, 24px); }
 body.home .lpg-animations .la-pause .la-link { font-weight: 600; }

 body.home .lpg-animations .is-live .la-raw .la-object {
  top: calc(var(--la-height) * .47);
  width: 102%;
 }
 body.home .lpg-animations .is-live .la-work .la-object img {
  top: calc(var(--la-height) * .47);
 }
 body.home .lpg-animations .la-kerf { stroke-width: 1.25px; }
 body.home .lpg-animations .la-caption h2 { font-size: clamp(2.8rem, 13vw, 4.5rem); }
 body.home .lpg-animations .la-caption p {
  font-size: clamp(.94rem, 3.9vw, 1.1rem);
  line-height: 1.42;
 }
 body.home .lpg-animations .la-caption .la-label { font-size: .75rem; }
 body.home .lpg-animations .is-live .la-finish .la-caption h2 { font-size: 1.85rem; }
 body.home .lpg-animations .is-live .la-grain-words span:first-child {
  top: 42%;
  font-size: min(17.95vw, 20.5cqi);
  text-align: left;
 }
 body.home .lpg-animations .is-live .la-grain-words span:nth-child(2) {
  top: 55.5%;
  font-size: min(10.65vw, 12.5cqi);
  text-align: right;
 }
 body.home .lpg-animations .is-live .la-built .la-caption {
  inset-inline: max(var(--la-pad), 6vw);
 }
 body.home .lpg-animations .is-live .la-built .la-caption h2 {
  font-size: clamp(2.5rem, 10.8vw, 4.4rem);
 }

 body.home .lpg-animations .is-live .la-plate-a img { object-position: 46% 52%; }
 /* Use the empty right edge of the same photograph to extend the neutral surround. */
 body.home .lpg-animations .is-live .la-plate-b::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("images/animations/precisione-del-fare.webp") right center / auto 165% no-repeat;
 }
 body.home .lpg-animations .is-live .la-plate-b img {
  position: relative;
  top: 20%;
  height: min(52%, 108vw);
  object-position: 51% 58%;
  mask-image: linear-gradient(transparent, black 17% 83%, transparent);
 }
 body.home .lpg-animations .is-live .la-manifesto h2 { line-height: 1.12; }

 body.home .lpg-animations .is-live.la-exhibition h2 {
  padding-block: 1.15rem;
  font-size: clamp(2.75rem, 11vw, 4.5rem);
 }
 body.home .lpg-animations .is-live .la-project img.lpg-photo {
  position: absolute;
  top: 7%;
  height: 85%;
  object-fit: cover;
 }
 body.home .lpg-animations .is-live .la-project:nth-child(1) img { object-position: 48% 50%; }
 body.home .lpg-animations .is-live .la-project:nth-child(2) img { object-position: 55% 61%; }
 body.home .lpg-animations .is-live .la-project:nth-child(3) img { object-position: 57% 47%; }
 body.home .lpg-animations .is-live .la-gallery-caption {
  bottom: 6%;
  box-sizing: border-box;
  font-size: clamp(1.55rem, 7vw, 2.15rem);
  font-weight: 600;
  letter-spacing: -.037em;
 }
 body.home .lpg-animations .la-end .la-link {
  min-height: 44px;
  box-sizing: border-box;
  font-size: 1.05rem;
  font-weight: 600;
 }
 body.home .lpg-footer :is(.lpg-footer-section a, .lpg-footer-section p) {
  font-size: 1.0625rem;
  line-height: 1.75rem;
 }
 body.home .lpg-footer .lpg-footer-contact a { overflow-wrap: anywhere; }
 body.home .lpg-footer .lpg-footer-bottom { font-size: .9rem; line-height: 1.4rem; }
 body.home .lpg-footer .lpg-top { font-weight: 600; }
 body.home .lpg-footer .lpg-footer-tab { font-size: .8rem; }
}

@media (orientation:landscape) and (max-width:960px) and (max-height:480px) {
 body.home .lpg-animations .is-live .la-plate img.lpg-photo { object-fit: cover; }
 body.home .lpg-animations .is-live .la-project img.lpg-photo { object-fit: cover; }
 body.home .lpg-animations .is-live .la-project:nth-child(1) img { object-position: 48% 51%; }
 body.home .lpg-animations .is-live .la-project:nth-child(2) img { object-position: 52% 56%; }
 body.home .lpg-animations .is-live .la-project:nth-child(3) img { object-position: 54% 46%; }
 body.home .lpg-animations .is-live .la-gallery-caption { font-weight: 600; }
}

@media (orientation:landscape) and (max-width:960px) and (max-height:480px) {
 body.home .lpg-animations .is-live .la-grain-words span:first-child {
  top: 27%;
  font-size: min(16.7vw, 36svh, 21cqi);
  text-align: left;
 }
 body.home .lpg-animations .is-live .la-grain-words span:nth-child(2) {
  top: 53.5%;
  font-size: min(10.55vw, 22.5svh, 13.4cqi);
  text-align: right;
 }
}
