.about .lead h2{font-size:clamp(3.25rem,7.2vw,8rem);margin:19px 0 24px;line-height:.94}
.about .lead h2 em{color:#dfca95}
.about-intro{background:transparent}
:root{--photo-fade:linear-gradient(to bottom,transparent,#000 26%,#000 69%,transparent)}
.about-intro .cover,.about-intro::before,.rail img,.real-photo img{
  -webkit-mask-image:var(--photo-fade);
  mask-image:var(--photo-fade);
}
.rail figure,.rail figcaption{background:transparent}
.rail figcaption{ text-shadow:0 1px 6px #12170f }
.work-intro h2 em{color:#493d26}
.works,.real,.works .label,.audience{color:#171d10}
.real .cta{border-color:#514f36}
.controls,.controls button{color:#f2e9d0}
.tracks i{background:#9b9e85}.tracks i.current{background:#efe8ce}
.services article{color:#f5f1df}
.services article:nth-last-child(-n+2){background:transparent;color:#f5f1df;padding:30px 0 0}
.sample:not(.flow) .work-copy{background:transparent}
.works .work-intro h2{font-size:clamp(3.9rem,8vw,8rem)}
@keyframes arrive{from{opacity:.12;transform:translateY(36px)}to{opacity:1;transform:translateY(0)}}
@keyframes arrive-photo{from{opacity:.35;transform:translateY(22px) scale(.96)}to{opacity:1;transform:none}}
.arrive{animation:arrive .78s cubic-bezier(.16,.74,.23,1) both}
.real-photo.arrive,#campaign.arrive,.console.arrive{animation-name:arrive-photo}
@media(prefers-reduced-motion:reduce){.arrive{animation:none}}
@media(max-width:540px){header{padding-inline:14px;gap:6px}header .brand{width:clamp(91px,24vw,126px)}header nav{gap:clamp(6px,1.7vw,10px);font-size:.77rem}header .contact{padding:7px 9px}}

/* Each service pairs a reading column with a moving orbital scene. */
#servizi article{
  display:grid;grid-template-columns:1fr 1fr;align-items:center;
  gap:clamp(1.5rem,6vw,7rem);margin:0;padding:clamp(2rem,4vw,5rem) 0;
  border:0;background:transparent;color:#fffbee;
}
#servizi article:nth-of-type(even) .service-visual{order:1}
#servizi .service-copy{position:relative;isolation:isolate}
.service-copy::before{
  content:"";position:absolute;z-index:-1;inset:-2rem -1rem;pointer-events:none;
  background:radial-gradient(ellipse,#18201070,transparent 72%);
}
#servizi h3{font-size:clamp(2.4rem,4.8vw,5.5rem);line-height:.99;text-wrap:balance}
#servizi details{margin-top:1rem}
#servizi summary{cursor:pointer;width:fit-content;color:#fff3cf;padding:.45rem 0;text-decoration:underline;text-underline-offset:.35em}
#servizi details p{border-left:1px solid #cfba82;padding-left:1rem;margin-top:.65rem}
.service-visual{position:relative;aspect-ratio:1.35;display:grid;place-items:center;isolation:isolate}
.service-window{position:absolute;inset:0;overflow:hidden;mask-image:radial-gradient(ellipse,#000 33%,#000d 51%,transparent 73%)}
.service-window img{width:100%;height:100%;object-fit:cover;transform:translateY(var(--drift,0px)) scale(1.14)}
.service-orbit{width:90%;height:58%;border:1px solid #decb9785;border-radius:50%;transform:rotate(var(--angle,-22deg));pointer-events:none;position:relative}
.service-orbit::after{content:"";position:absolute;top:49%;right:-3px;width:6px;height:6px;border-radius:50%;background:#fff0c3;box-shadow:0 0 12px 3px #e7ba6f}
@media(max-width:700px){
  #servizi article{grid-template-columns:1fr;gap:.75rem}
  #servizi article:nth-of-type(even) .service-visual{order:0}
  .service-visual{width:min(100%,26rem);justify-self:center;aspect-ratio:1.75}
}

#servizi .service-window{mask-image:radial-gradient(ellipse,#000 42%,#000e 60%,transparent 77%)}
.service-window .monitor-scene{
  position:absolute;inset:0;margin:auto;width:100%;height:auto;aspect-ratio:4/3;
  transform:translateY(var(--drift,0px)) scale(1.14)
}
.service-window .monitor-scene img{display:block;transform:none}
.monitor-display{position:absolute;left:20%;top:17%;width:60%;height:41%;overflow:hidden}
.monitor-display i{
  position:absolute;left:20%;top:29%;width:60%;height:46%;border:1px solid #f1cf7750;
  border-radius:50%;transform:rotate(-12deg)
}
.monitor-display i::after{
  content:"";position:absolute;width:5px;height:5px;background:#ffe6a2;border-radius:50%;
  box-shadow:0 0 7px #ffcc63;offset-path:ellipse(49% 48% at 50% 50%);
  animation:monitor-satellite 5s linear infinite
}
@keyframes monitor-satellite{to{offset-distance:100%}}
body:has(#motion[aria-pressed="false"]) .monitor-display i::after{animation-play-state:paused}
@media(prefers-reduced-motion:reduce){.monitor-display i::after{animation:none}}

.call-studio{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:clamp(2rem,6vw,6rem);padding:clamp(3rem,6vw,7rem) var(--edge);color:#151c10}
.call-studio h2 em{color:#30341c}
.call-studio p{margin:1.25rem 0}
.call-picture{mask-image:radial-gradient(ellipse,#000 40%,#000d 56%,transparent 75%);overflow:hidden}
.call-picture img{display:block;width:100%;height:auto;transform-origin:50% 78%;animation:telephone-ring 6s infinite}
.call-primary{display:inline-block;background:#202719;color:#fff1cd;border:1px solid #d0b57b;padding:.85rem 1.4rem}
@keyframes telephone-ring{0%,5%,10%,100%{transform:rotate(0)}2%,7%{transform:rotate(-1.4deg)}4%,9%{transform:rotate(1.3deg)}}
body:has(#motion[aria-pressed="false"]) .call-picture img{animation-play-state:paused}
@media(prefers-reduced-motion:reduce){.call-picture img{animation:none}}
@media(max-width:700px){.call-studio{grid-template-columns:1fr;gap:.75rem}}

@media (max-width:700px), (hover:none) and (pointer:coarse){
  .hero .scene canvas{display:none}
  .hero .scene .pilot{visibility:visible;position:absolute;inset:0;animation:none;background:transparent}
  .hero .pilot picture,.hero .pilot img{display:block;width:100%;height:100%}
  .hero .pilot img{object-fit:contain}
}
@media (max-width:700px){
  #contatto .cta{display:inline-flex;align-items:center;min-height:44px;margin:4px 2px}
  footer{flex-wrap:wrap;gap:.75rem 1.25rem}
}
