/* Sala consegne: one photographic entrance, then an open service directory. */
.an-services-page{--an-service-index-height:76px;background:var(--an-paper);overflow:clip}
.an-services-hero{position:relative;background:var(--an-night);isolation:isolate}
.an-services-hero__stage{position:relative;display:grid;grid-template-columns:minmax(0,.45fr) minmax(0,.55fr);min-height:calc(100svh - 80px);overflow:hidden}
.an-services-hero__photo{position:absolute;inset:0;margin:0;clip-path:inset(0 55% 0 0)}
.an-services-hero__photo img{width:100%;height:100%;display:block;object-fit:cover;object-position:44% 65%;transform:translate3d(var(--an-services-photo-pan,-25%),0,0)}
.an-services-hero__copy{position:relative;grid-column:2;padding:clamp(48px,6vw,100px) var(--an-gutter);align-self:center;min-width:0}
.an-site .an-services-hero h1{font-size:clamp(96px,11vw,200px);line-height:.9;letter-spacing:-.02em;margin:0 0 30px}
.an-services-hero__lead p{font-size:clamp(28px,2.35vw,42px);line-height:1.18;margin:0;max-width:26ch;text-wrap:balance;color:var(--an-ink)}
.an-services-hero__intro{margin-top:28px;color:var(--an-muted);font-size:clamp(19px,1.3vw,23px);line-height:1.55}
.an-services-hero__intro p{max-width:43ch;margin:0}
.an-services-hero__intro .wp-block-group__inner-container{display:contents}
.an-services-hero__intro .wp-block-buttons{display:flex!important;gap:14px;margin-top:30px}
.an-services-hero__intro .wp-block-button{display:block!important;visibility:visible!important;width:auto!important;height:auto!important}
.an-services-hero__intro .wp-block-button__link{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:13px 24px;border:1px solid #66717c;border-radius:0;background:transparent;color:#fff;white-space:nowrap;font:600 16px/1.3 var(--an-body);text-decoration:none;transition:background-color .22s,border-color .22s}
.an-services-hero__intro .wp-block-button__link:hover{background:var(--an-red);border-color:var(--an-red)}
.an-services-hero.has-no-photo .an-services-hero__stage{grid-template-columns:minmax(0,1fr)}
.an-services-hero.has-no-photo .an-services-hero__copy{grid-column:1;max-width:1100px}
.an-services-index{position:sticky;top:calc(var(--an-header-height,80px) + var(--wp-admin--admin-bar--height,0px));z-index:500;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch;min-height:76px;background:#111519;border-block:1px solid #343b43}
.an-services-index a{min-height:76px;display:flex;align-items:center;justify-content:center;padding:16px 10px;font-size:16px;font-weight:600;text-align:center;line-height:1.3;text-decoration:underline;text-decoration-color:transparent;text-decoration-thickness:1px;text-underline-offset:7px;transition:color .2s,text-decoration-color .2s}
.an-services-index a:first-child{justify-content:flex-start;padding-left:0;text-align:left}.an-services-index a:last-child{justify-content:flex-end;padding-right:0;text-align:right}
.an-services-index a:hover,.an-services-index a[aria-current]{color:var(--an-accent);text-decoration-color:currentColor}
.an-service-chapter,.an-services-collection{scroll-margin-top:calc(var(--an-service-index-height) + var(--wp-admin--admin-bar--height,0px))}
.an-service-chapter{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:8vw;row-gap:30px;padding-block:110px;align-items:start;border-bottom:1px solid #343b43}
.an-site .an-service-chapter h2{grid-column:2;grid-row:1;font-size:clamp(48px,4.6vw,84px);line-height:1.04;letter-spacing:-.015em;max-width:none;margin:0;text-wrap:balance}
.an-service-chapter__photo{grid-column:1;grid-row:1/span 2;margin:0;aspect-ratio:16/10;overflow:hidden;background:var(--an-surface);position:sticky;top:calc(110px + var(--an-service-index-height) + var(--wp-admin--admin-bar--height,0px))}
.an-service-chapter__photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 30%}
.an-service-chapter__body{grid-column:2;grid-row:2;min-width:0;font-size:clamp(18px,1.2vw,21px);line-height:1.6;color:var(--an-muted)}
.an-service-chapter__body p{max-width:52ch;margin:0 0 24px}
.an-service-chapter__body p:first-child{font-size:clamp(22px,1.65vw,28px);line-height:1.35;color:var(--an-ink);max-width:38ch;margin-bottom:28px}
.an-service-chapter__body ul{list-style:none;padding:0;margin:30px 0 34px;max-width:52ch}
.an-service-chapter__body li{padding:12px 0;border-top:1px solid #343b43;line-height:1.4}
.an-service-chapter__body li:last-child{border-bottom:1px solid #343b43}
.an-service-chapter__body .an-link{margin-top:8px}
.an-service-chapter:nth-child(even){background:#12161a}
.an-service-chapter:nth-child(even) h2,.an-service-chapter:nth-child(even) .an-service-chapter__body{grid-column:1}
.an-service-chapter:nth-child(even) .an-service-chapter__photo{grid-column:2}
.an-service-chapter.is-text-only{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;padding-block:100px}
.an-site .an-service-chapter.is-text-only h2{grid-column:1;grid-row:1;font-size:clamp(72px,10vw,172px);line-height:.95}
.an-service-chapter.is-text-only .an-service-chapter__body{grid-column:2;grid-row:1;padding-top:8px}
.an-services-empty{padding-block:90px}.an-services-empty p{font-size:24px}
/* A single opening. Copy exits beyond the photographic edge. */
.an-services-motion .an-services-hero{height:calc(var(--an-services-height) + var(--an-services-range))}
.an-services-motion .an-services-hero__stage{position:sticky;top:var(--an-services-top);height:var(--an-services-height);min-height:0}
.an-services-motion .an-services-hero__photo{clip-path:inset(0 var(--an-services-edge,55%) 0 0)}
.an-services-motion .an-services-hero__copy{transform:translate3d(var(--an-services-copy-x,0px),0,0);opacity:var(--an-services-copy-opacity,1)}
@media(max-width:1100px){
 .an-services-hero__stage{grid-template-columns:minmax(0,.42fr) minmax(0,.58fr)}.an-services-hero__photo{clip-path:inset(0 58% 0 0)}
 .an-services-hero__copy{padding-block:65px}.an-site .an-services-hero h1{font-size:clamp(96px,12vw,145px)}
 .an-service-chapter{column-gap:6vw;padding-block:80px}.an-service-chapter__photo{position:static}.an-services-index a{font-size:14px}
}
@media(max-width:700px){
 .an-services-page{--an-service-index-height:88px}.an-services-hero__stage{display:flex;flex-direction:column;min-height:0}
 .an-services-hero__copy{order:1;padding:42px var(--an-gutter) 40px}.an-site .an-services-hero h1{font-size:clamp(90px,20vw,140px);margin-bottom:26px}
 .an-services-hero__lead p{font-size:29px;max-width:25ch}.an-services-hero__intro{margin-top:23px;font-size:18px}
 .an-services-hero__photo{order:2;position:relative;inset:auto;width:100%;aspect-ratio:16/10;clip-path:none}
 .an-services-hero__photo img{object-position:44% 60%;transform:none}
 .an-services-index{grid-template-columns:repeat(2,minmax(0,1fr));min-height:88px;padding-block:4px}
 .an-services-index a{min-height:44px;padding:10px 5px;font-size:12px;justify-content:flex-start;text-align:left}
 .an-services-index a:first-child,.an-services-index a:last-child{justify-content:flex-start;padding-inline:5px;text-align:left}
 .an-service-chapter,.an-service-chapter.is-text-only{grid-template-columns:minmax(0,1fr);row-gap:28px;padding-block:60px}
 .an-site .an-service-chapter h2,.an-site .an-service-chapter.is-text-only h2{grid-column:1;grid-row:1;font-size:clamp(46px,12vw,62px);max-width:none}
 .an-service-chapter__photo,.an-service-chapter:nth-child(even) .an-service-chapter__photo{grid-column:1;grid-row:2;position:static}
 .an-service-chapter__body,.an-service-chapter:nth-child(even) .an-service-chapter__body,.an-service-chapter.is-text-only .an-service-chapter__body{grid-column:1;grid-row:3;padding-top:0;font-size:18px}
 .an-service-chapter__body p:first-child{font-size:23px}.an-service-chapter__body li{padding-block:11px}
 .an-service-chapter.is-text-only .an-service-chapter__body{grid-row:2}
}
@media(prefers-reduced-motion:reduce){.an-services-hero__intro .wp-block-button__link,.an-services-index a{transition:none}.an-service-chapter__photo{position:static}}
html:not(.an-js) .an-services-index{position:relative;top:auto}
