@font-face{font-family:Geist;src:url('./assets/geist-latin.woff2') format('woff2');font-weight:100 900;font-style:normal;font-display:swap}
@font-face{font-family:'Geist Mono';src:url('./assets/geist-mono-latin.woff2') format('woff2');font-weight:100 900;font-style:normal;font-display:swap}
:root{--ink:#191b18;--orange:#ff8a2b;--paper:#f7f7f2;--muted:#53574f;--line:#d1d3ca;--gutter:clamp(24px,5.2vw,90px);font-family:Geist,Arial,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none;scroll-behavior:smooth;scroll-padding-top:22px}
*{box-sizing:border-box}body{margin:0}img{max-width:100%;height:auto;display:block}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button{cursor:pointer}button,a{touch-action:manipulation}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #168bd6;outline-offset:4px}
.wrap{width:min(calc(100% - 2 * var(--gutter)),1500px);margin-inline:auto}
.btn{min-height:49px;display:inline-flex;align-items:center;justify-content:center;padding:0 24px;font-size:.94rem;line-height:1.2;font-weight:720;border:1px solid transparent;border-radius:2px;transition:background .16s,color .16s;cursor:pointer}
.btn-orange{background:var(--orange);color:#181a17}.btn-orange:hover{background:#ffa654}.btn-ink{background:var(--ink);color:white}.btn-ink:hover{background:#353932}
.skip{position:fixed;top:0;left:16px;z-index:100;transform:translateY(-130%);background:white;color:#111;padding:10px 14px}.skip:focus{transform:translateY(0)}
.topbar{position:relative;background:#181a18;color:#f7f7f2;border-bottom:1px solid #383b35;z-index:4}
.mast{height:80px;display:flex;align-items:center;justify-content:space-between;gap:28px}.brand{width:clamp(161px,13.1vw,206px)}.brand img{width:100%;height:auto}
#main-nav{display:flex;align-items:center;gap:clamp(24px,2.8vw,48px);font-size:.94rem;font-weight:640}
#main-nav>a:not(.btn){padding:14px 0}#main-nav>a:not(.btn):hover{color:var(--orange)}
#main-nav .head-cta{margin-left:8px;min-height:43px;padding:0 19px}
.burger{display:none;border:1px solid #71756b;background:transparent;color:white;width:46px;height:42px}.burger i{height:2px;width:21px;background:currentColor;display:block;margin:4px auto}
.hero{isolation:isolate;position:relative;overflow:hidden;background:#191c19;color:white}
.hero-photos,.hero-shade{position:absolute;inset:0;pointer-events:none}
.hero-photos{left:19%;background:#292e28;z-index:-3}.hero-photo{width:100%;height:100%;position:absolute;inset:0;object-fit:cover;object-position:50% 50%;opacity:0;transition:opacity .42s ease;filter:saturate(.7) contrast(1.08) sepia(.17)}.hero-photo.is-current{opacity:1}
.hero-shade{z-index:-2;background:linear-gradient(90deg,#171b18 1%,#171b18fc 18%,#171b18ec 28%,#171b18b8 40%,#171b1838 63%,#171b1807 83%),linear-gradient(0deg,#151815d4 0%,transparent 27%,transparent 86%,#1b201c14)}
.hero-inner{min-height:clamp(550px,44vw,718px);position:relative;display:flex;flex-direction:column;justify-content:center;padding-top:38px;padding-bottom:100px}
.hero-content{position:relative;max-width:720px}
.eyebrow{display:flex;align-items:center;gap:11px;text-transform:uppercase;font-size:.77rem;line-height:1.3;letter-spacing:.135em;font-weight:750}
.rule{width:29px;height:3px;display:block;background:var(--orange);flex:none}.hero-kicker{color:#e9eae4}.slash{color:var(--orange)}
h1,h2,h3,p{margin:0}
.hero h1{font-size:clamp(4.6rem,7.3vw,8.35rem);font-weight:865;letter-spacing:-.054em;line-height:.92;text-transform:uppercase;margin:25px 0 23px}
.hero h1 span{color:var(--orange)}
.hero-content>p{font-size:clamp(1.02rem,1.31vw,1.27rem);color:#f1f2ec;line-height:1.46;max-width:375px;letter-spacing:-.015em}
.hero-actions{display:flex;align-items:center;gap:29px;margin-top:29px}
.film-trigger{display:inline-flex;align-items:center;gap:10px;min-height:47px;font-size:.95rem;font-weight:680}.film-trigger>span+span{display:flex;gap:9px;align-items:center}.film-trigger small,.photo-note,.slide-nav button,.dialog-bar #gallery-counter{font-family:'Geist Mono',ui-monospace,monospace;font-weight:500}.film-trigger small{font-size:.72rem;color:#dadcd5}
.play-ring{border:1px solid #a8aaa1;border-radius:50%;display:grid;place-items:center;width:31px;height:31px}.play-ring:before{content:'';height:0;width:0;border-top:4px solid transparent;border-bottom:4px solid transparent;border-left:7px solid #fff;transform:translateX(1px)}.film-trigger:hover .play-ring{border-color:var(--orange)}
.hero-rail{display:flex;align-items:center;justify-content:space-between;gap:20px;position:absolute;bottom:0;left:0;right:0;border-top:1px solid #f2f4e535;min-height:64px}
.photo-note{display:flex;align-items:center;gap:10px;font-size:.75rem;color:#e7e9e3}.photo-line{height:7px;width:7px;border:1px solid var(--orange);display:inline-block}
.slide-nav{display:flex;align-items:center;gap:8px}.slide-nav button{font-size:.76rem;position:relative;min-width:41px;min-height:43px;color:#d7dad2;background:transparent;border:none;padding:0}
.slide-nav button:after{content:'';position:absolute;left:4px;right:4px;height:2px;background:#ffffff52;bottom:5px}.slide-nav [aria-pressed=true]{color:var(--orange)}.slide-nav [aria-pressed=true]:after{background:var(--orange)}
.section-light{background:var(--paper)}.services,.field,.company{padding:clamp(58px,6vw,103px) 0}
.section-heading{display:flex;justify-content:space-between;align-items:end;gap:36px;margin-bottom:clamp(26px,3vw,48px)}
.section-heading .eyebrow,.company .eyebrow{color:#53584f;margin-bottom:13px}
h2{font-size:clamp(2.35rem,4.2vw,4.8rem);font-weight:760;letter-spacing:-.065em;line-height:1.03}
.section-heading>p{font-size:1rem;line-height:1.55;max-width:355px;color:var(--muted);padding-bottom:3px}
.service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(18px,2.1vw,35px)}
.service-picture{position:relative;aspect-ratio:1.88;overflow:hidden;background:#d9d9d3}.service-picture:after{content:'';position:absolute;bottom:0;left:0;width:37px;height:4px;background:var(--orange)}.service-picture img,.gallery-photo img{width:100%;height:100%;object-fit:cover}.service:nth-child(1) img{object-position:center 43%}.service:nth-child(2) img{object-position:center 49%}
.service h3{font-size:clamp(1.27rem,1.76vw,1.92rem);font-weight:740;letter-spacing:-.045em;margin:20px 0 9px;line-height:1.15}
.service p,.company-copy p{font-size:1rem;line-height:1.6;color:var(--muted);max-width:46ch}
.field{background:#20231f;color:#f5f6f0}.field .eyebrow{color:#bfc4b8}.field .section-heading>p{color:#c6cbc1}
.gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(13px,1.4vw,25px)}
.gallery-photo{display:flex;flex-direction:column;gap:12px;font-weight:625;letter-spacing:-.012em;font-size:1rem}.gallery-photo img{aspect-ratio:4/4.5;height:auto;transition:filter .2s}.gallery-photo:hover img{filter:brightness(1.1)}.gallery-photo span{display:flex;align-items:center;justify-content:space-between;gap:8px}.gallery-photo span:after{content:'+';color:var(--orange);font-family:monospace;font-size:1.25rem}
.company{border-bottom:4px solid var(--orange)}.company-grid{display:grid;grid-template-columns:1fr 1fr;align-items:start;gap:30px}.company-copy p:first-child{font-size:clamp(1.18rem,1.65vw,1.6rem);letter-spacing:-.032em;color:var(--ink);font-weight:560;line-height:1.42;margin-bottom:15px}.company-copy .btn{margin-top:23px}
.footer{background:#181a18;color:#e6e9e0;padding:46px 0 22px;font-size:.93rem}.foot-top{display:grid;grid-template-columns:1.15fr .85fr 1fr;gap:34px;padding-bottom:32px;border-bottom:1px solid #383c35}.foot-brand img{width:189px}.foot-label{font-size:.76rem;letter-spacing:.07em;text-transform:uppercase;color:#b9beb2;margin-bottom:8px}.footer a{line-height:1.48}.footer a:hover{text-decoration:underline}.foot-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:23px;color:#c7ccc2;font-size:.8rem}.foot-legal{display:flex;gap:17px}.signature img{width:150px}
dialog{border:1px solid #555950;color:#f6f7f2;background:#1b1d1a;padding:0;box-shadow:0 20px 80px #0009}
dialog::backdrop{background:#090b08e8}.film-dialog,.gallery-dialog{width:min(92vw,1100px);max-width:calc(100vw - 26px);max-height:94dvh;overflow:auto}
.dialog-bar{padding:10px 16px;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:51px;font-size:.91rem}.flat-control{color:#fff;background:transparent;border:1px solid #64695f;padding:7px 12px;font-size:.87rem}.flat-control span{margin-left:4px}.flat-control:hover{border-color:var(--orange)}.film-dialog video{width:100%;max-height:77dvh;display:block;background:#111;aspect-ratio:16/9}.gallery-dialog #gallery-img{width:100%;height:65dvh;object-fit:contain;background:#10120f}
@media(min-width:1700px){.hero-photos{left:23%}}
@media(max-width:900px){.mast{height:72px}.hero-inner{min-height:540px}.hero-shade{background:linear-gradient(90deg,#151916fa 0%,#151916e8 25%,#1519168f 53%,#15191624 90%),linear-gradient(0deg,#121610c9,transparent 30%)}.hero h1{font-size:clamp(4.1rem,9.4vw,5.8rem)}.hero-content>p{max-width:335px}.section-heading>p{max-width:290px}.gallery{grid-template-columns:repeat(2,1fr)}.gallery-photo img{aspect-ratio:1.55}.foot-bottom{flex-wrap:wrap}}
@media(max-width:700px){:root{--gutter:22px}.mast{height:65px}.brand{width:154px}.burger{display:block}.topbar #main-nav{display:none;position:absolute;top:100%;left:0;right:0;padding:10px var(--gutter) 21px;background:#191b18;box-shadow:0 8px 14px #0003}#main-nav.is-open{display:flex;align-items:stretch;flex-direction:column;gap:0}#main-nav .head-cta{margin:8px 0 0}.hero-photos{left:0}.hero-photo{object-position:57% 48%}.hero-shade{background:linear-gradient(90deg,#121611bb,transparent 110%),linear-gradient(0deg,#111610ee 1%,#111610c9 29%,#1116107d 55%,#11161008 91%)}.hero-inner{min-height:clamp(515px,70svh,615px);justify-content:end;padding-top:92px;padding-bottom:89px}.hero-content{max-width:100%}.hero h1{font-size:clamp(3.4rem,12.8vw,5.3rem);line-height:.94;margin:18px 0 17px}.hero-kicker{font-size:.73rem}.hero-content>p{font-size:1.05rem;max-width:335px}.hero-actions{gap:18px;margin-top:22px}.hero-actions .btn{padding:0 16px;min-height:46px}.film-trigger{gap:7px;font-size:.88rem}.film-trigger>span+span{gap:5px}.play-ring{width:27px;height:27px}.film-trigger small{font-size:.68rem}.hero-rail{min-height:57px;gap:9px}.photo-note{font-size:.69rem;gap:5px;flex-wrap:wrap}.photo-line{display:none}.slide-nav{gap:2px}.slide-nav button{min-width:29px}.services,.field,.company{padding:48px 0}.section-heading{display:block}.section-heading>p{max-width:42ch;padding-top:14px}.section-heading .eyebrow,.company .eyebrow{margin-bottom:10px}.service-grid{grid-template-columns:1fr;gap:32px}.service-picture{aspect-ratio:1.98}.service h3{margin:14px 0 7px}.gallery{gap:23px 12px}.gallery-photo{font-size:.88rem;gap:7px}.gallery-photo img{aspect-ratio:4/4.6}.company-grid{grid-template-columns:1fr;gap:21px}.company-grid h2 br{display:none}.company-grid h2 br:after{content:' '}.company-copy p:first-child{margin-bottom:11px}.foot-top{grid-template-columns:1fr;gap:23px}.foot-bottom{align-items:flex-start;flex-direction:column;gap:16px}.signature img{width:144px}.footer{padding-top:35px}.dialog-bar{font-size:.8rem;padding:8px 10px}}
@media(max-width:375px){.hero-actions{gap:12px}.hero-actions .btn{padding-inline:12px}.photo-note{max-width:165px}.photo-note .slash{display:none}}
@media(prefers-reduced-motion:reduce){:root{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;transition:none!important}}
@media(max-width:460px){.hero-actions{gap:15px;flex-wrap:wrap}.hero-actions .btn,.film-trigger{white-space:nowrap}.hero-actions .btn{min-width:0;padding:0 15px;font-size:.9rem}}

/* Keep the section menu within reach after a scaffold transition. */
.topbar { position: sticky; top: 0; }
#servizi, #cantieri, #azienda { scroll-margin-top: 80px; }
#main-nav a[aria-current="location"] { color: var(--orange); }
@media (max-width: 900px) {
  #servizi, #cantieri, #azienda { scroll-margin-top: 72px; }
}
@media (max-width: 700px) {
  #servizi, #cantieri, #azienda { scroll-margin-top: 65px; }
}

html.works-open { overflow: hidden; }
.works-dialog {
  width: min(92vw, 72rem);
  max-width: calc(100vw - 16px);
  max-height: 96vh;
  max-height: 96dvh;
  overflow: auto;
  color: #f6f5ef;
  background: #111410;
  border: 1px solid #53574c;
}
.works-dialog::backdrop { background: #090b09ed; }
.works-dialog.works-portrait {
  width: min(94vw, calc((96vh - 4.25rem) * .5625));
  width: min(94vw, calc((96dvh - 4.25rem) * .5625));
}
.works-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .35rem .8rem .35rem 1rem;
  min-height: 3.5rem;
  border-bottom: 1px solid #3c4136;
  background: #1b1e1a;
}
.works-bar h2 {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  letter-spacing: -.025em;
}
.works-bar h2::before {
  content: '';
  width: 1.5rem;
  height: 3px;
  flex: none;
  background: var(--orange);
}
.works-bar button { min-height: 44px; }
.works-dialog video {
  display: block;
  width: 100%;
  max-height: calc(96vh - 3.65rem);
  max-height: calc(96dvh - 3.65rem);
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #10130f;
}
.works-dialog.works-portrait video { aspect-ratio: 9 / 16; }
.works-help { padding: .65rem 1rem; line-height: 1.4; }
.works-help:empty { display: none; }
.works-help a { text-decoration: underline; }

.cantieri-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, .9fr);
  align-items: center;
  gap: clamp(1.5rem, 5vw, 5rem);
}
.cantieri-intro__copy p {
  margin-top: 1rem;
  max-width: 40ch;
  color: #c6cbc1;
  font-size: 1rem;
  line-height: 1.55;
}
.cantiere-film {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: stretch;
  border: 1px solid #545950;
  background: #191b18;
  color: var(--paper);
}
.cantiere-film:is(:hover,:focus-visible) { border-color: var(--orange); }
.cantiere-film__picture {
  display: block;
  position: relative;
  isolation: isolate;
  min-height: clamp(10rem, 14vw, 13rem);
  background: #42453f;
  overflow: hidden;
}
.cantiere-film__poster, .cantiere-film__picture video {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: 50% 51%;
  pointer-events: none;
}
.cantiere-film__picture video { opacity: 0; }
.cantiere-film__picture video[data-teaser-active] { opacity: 1; }
.cantiere-film__logo {
  position: absolute;
  left: .45rem;
  top: .45rem;
  width: clamp(4.5rem, 7vw, 6.3rem);
  height: auto;
  padding: .15rem .22rem;
  background: #141612e6;
}
.cantiere-film__label {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: .8rem;
  padding: clamp(.9rem, 2vw, 2rem);
}
.cantiere-film__label strong {
  font-size: clamp(1.3rem, 2.3vw, 2.4rem);
  line-height: 1.06;
  font-weight: 680;
  letter-spacing: -.045em;
}
.cantiere-film__duration { display: inline-flex; align-items: center; gap: .65rem; font: 500 .9rem/1.2 'Geist Mono', monospace; }
.cantiere-film .play-ring { border-color: var(--orange); background: var(--orange); }
.cantiere-film .play-ring::before { border-left-color: var(--ink); }
@media (max-width: 760px) {
  .cantieri-intro { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
  .cantieri-intro__copy p { margin-top: .7rem; }
  .cantiere-film { grid-template-columns: minmax(6.25rem, .8fr) minmax(0, 1.2fr); }
  .cantiere-film__picture { min-height: 8.4rem; }
  .cantiere-film__label { padding: 1rem; }
}

.service-page-link { text-decoration: underline; text-decoration-color: #a84b16; text-decoration-thickness: 2px; text-underline-offset: .15em; }
.service-page-link:hover { text-decoration-color: currentColor; }
