:root {
  --ink: #292929;
  --paper: #f7f7f7;
  --paper-deep: #e5e5e5;
  --copper: #a21b27;
  --sage: #6e6e6e;
  --line: rgba(16, 26, 43, 0.18);
  --white-line: rgba(242, 239, 231, 0.2);
  --max: 1320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 50%;
  width: min(calc(100% - 80px), var(--max));
  height: 104px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand { display: inline-flex; align-items: center; gap: 13px; font-family: "Manrope", sans-serif; }
.brand-logo { display: block; width: 94px; height: auto; object-fit: contain; }
.logo-frame { display: flex; align-items: center; justify-content: center; padding: 28px; background: #f7f7f7 !important; border: 1px solid var(--line); }
.logo-frame::before, .logo-frame::after { display: none; }
.logo-frame img { display: block; width: 100%; height: auto; object-fit: contain; }
.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  background: var(--ink);
  color: var(--paper);
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
}
.brand-name { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; }
.site-header nav { display: flex; align-items: center; gap: 38px; font-size: 13px; font-weight: 600; }
.site-header nav a { transition: opacity 180ms ease; }
.site-header nav a:hover { opacity: 0.55; }
.nav-cta { padding: 11px 17px; border: 1px solid var(--ink); border-radius: 999px; }

body.menu-open { overflow: hidden; }
.menu-toggle {
  min-width: 112px;
  height: 48px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: 600 13px/1 "DM Sans", sans-serif;
  cursor: pointer;
}
.menu-toggle:focus-visible, .menu-close:focus-visible { outline: 3px solid var(--copper); outline-offset: 3px; }
.menu-icon { width: 25px; display: grid; gap: 6px; }
.menu-icon > span { display: block; width: 100%; height: 2px; background: currentColor; transition: transform 180ms ease, width 180ms ease; }
.menu-icon > span:last-child { width: 16px; justify-self: end; }
.menu-toggle:hover .menu-icon > span:last-child { width: 25px; }
.menu-backdrop {
  position: fixed;
  z-index: 40;
  inset: 0;
  background: rgba(20, 20, 20, 0.58);
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms ease;
}
.menu-backdrop.is-open { opacity: 1; pointer-events: auto; }
.menu-panel {
  position: fixed;
  z-index: 50;
  top: 0;
  right: 0;
  width: min(520px, 92vw);
  height: 100dvh;
  padding: 30px 34px;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  box-shadow: -28px 0 80px rgba(0, 0, 0, 0.18);
  transform: translateX(105%);
  visibility: hidden;
  transition: transform 300ms ease, visibility 300ms ease;
}
.menu-panel.is-open { transform: translateX(0); visibility: visible; }
.menu-panel-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.menu-panel-header p { margin: 0; color: var(--copper); font-size: 13px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; }
.menu-close { position: relative; width: 48px; height: 48px; border: 1px solid var(--ink); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; }
.menu-close span { position: absolute; left: 13px; top: 22px; width: 20px; height: 2px; background: currentColor; }
.menu-close span:first-child { transform: rotate(45deg); }
.menu-close span:last-child { transform: rotate(-45deg); }
.menu-nav { display: grid; margin-top: 22px; }
.menu-nav a {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 14px;
  min-height: 74px;
  border-bottom: 1px solid var(--line);
  transition: color 180ms ease, padding 180ms ease;
}
.menu-nav a:hover { padding-left: 8px; color: var(--copper); opacity: 1; }
.menu-nav a:focus-visible { outline: 3px solid var(--copper); outline-offset: -3px; }
.menu-nav a[aria-current="page"] { color: var(--copper); }
.menu-nav a > span { color: var(--copper); font-size: 12px; font-weight: 700; }
.menu-nav a > strong { font-family: "Manrope", sans-serif; font-size: clamp(24px, 4vw, 34px); font-weight: 600; letter-spacing: -0.035em; }
.menu-nav a > b { font-size: 20px; font-weight: 400; }
.menu-panel-contact { display: grid; gap: 8px; margin-top: auto; padding-top: 28px; color: rgba(41, 41, 41, 0.62); font-size: 13px; }
.menu-panel-contact a { width: fit-content; font-weight: 600; }

.hero {
  position: relative;
  min-height: 810px;
  padding: 180px max(40px, calc((100vw - var(--max)) / 2)) 90px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 8vw;
  overflow: hidden;
}
.eyebrow {
  margin: 0 0 30px;
  color: var(--copper);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
h1, h2, h3 { font-family: "Manrope", sans-serif; margin: 0; font-weight: 600; letter-spacing: -0.045em; }
h1 { max-width: 760px; font-size: clamp(54px, 6.3vw, 98px); line-height: 0.98; }
h1 em, h2 em { color: var(--copper); font-family: Georgia, serif; font-weight: 400; }
.hero-intro { max-width: 530px; margin: 34px 0 0; color: rgba(16, 26, 43, 0.68); font-size: 18px; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; gap: 32px; margin-top: 42px; }
.button {
  display: inline-flex;
  min-height: 54px;
  padding: 0 23px;
  align-items: center;
  justify-content: center;
  gap: 42px;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 600;
  transition: transform 180ms ease, background 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--copper); color: #fff9f1; }
.text-link { padding-bottom: 5px; border-bottom: 1px solid var(--ink); font-size: 13px; font-weight: 600; }

.hero-visual { position: relative; justify-self: end; width: min(40vw, 500px); aspect-ratio: 0.86; }
.visual-frame { position: relative; width: 100%; height: 100%; overflow: hidden; background: var(--ink); }
.visual-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0 42%, rgba(202, 108, 67, 0.9) 42% 59%, transparent 59%);
}
.visual-frame::after {
  content: "";
  position: absolute;
  inset: 11%;
  border: 1px solid rgba(242, 239, 231, 0.25);
}
.monogram { position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%); color: var(--paper); font: 500 clamp(110px, 15vw, 220px)/1 "Manrope", sans-serif; }
.orbit { position: absolute; z-index: 3; border: 1px solid rgba(242, 239, 231, 0.7); border-radius: 50%; }
.orbit-one { width: 72%; aspect-ratio: 1; top: 14%; right: -35%; }
.orbit-two { width: 38%; aspect-ratio: 1; bottom: -14%; left: 5%; }
.visual-tag { position: absolute; z-index: 4; right: 8%; bottom: 7%; color: var(--paper); font-size: 10px; letter-spacing: 0.16em; line-height: 1.6; text-align: right; text-transform: uppercase; }
.hero-index { position: absolute; right: 18px; top: 50%; display: flex; align-items: center; gap: 12px; transform: rotate(90deg); color: rgba(16, 26, 43, 0.4); font-size: 9px; letter-spacing: 0.2em; }
.hero-index div { width: 80px; height: 1px; background: var(--line); }

.company, .contact { padding: 120px max(40px, calc((100vw - var(--max)) / 2)); }
.section-label { display: flex; align-items: center; gap: 18px; margin-bottom: 74px; }
.section-label span { color: var(--copper); font-size: 11px; font-weight: 700; }
.section-label p { margin: 0; font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; }
.section-label::after { content: ""; flex: 1; height: 1px; margin-left: 18px; background: var(--line); }
.company-content { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 11vw; }
.company h2 { max-width: 720px; font-size: clamp(42px, 5vw, 74px); line-height: 1.08; }
.company-detail { align-self: end; }
.company-detail > p { margin: 0; color: rgba(16, 26, 43, 0.69); font-size: 17px; line-height: 1.8; }
.company-detail strong { color: var(--ink); font-weight: 600; }
.principles { display: grid; margin-top: 42px; border-top: 1px solid var(--line); }
.principles span { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 11px; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase; }

.works { padding: 120px max(40px, calc((100vw - var(--max)) / 2)) 140px; background: var(--ink); color: var(--paper); }
.section-label-light::after { background: var(--white-line); }
.works-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 74px; }
.works-heading h2 { font-size: clamp(42px, 5vw, 74px); line-height: 1.06; }
.works-heading p { max-width: 340px; margin: 0 0 7px; color: rgba(242, 239, 231, 0.59); line-height: 1.7; }
.projects { display: grid; grid-template-columns: repeat(2, 1fr); gap: 70px 24px; }
.project-large { grid-column: 1 / -1; }
.project-art { position: relative; min-height: 390px; overflow: hidden; }
.project-large .project-art { min-height: min(53vw, 640px); }
.project-art > span { position: absolute; z-index: 2; left: 22px; top: 19px; font-size: 10px; font-weight: 700; letter-spacing: 0.12em; }
.art-one { background: #a8af9d; }
.art-one::before { content: ""; position: absolute; inset: 15% 7% 0 42%; background: var(--paper); }
.art-one::after { content: ""; position: absolute; width: 50%; aspect-ratio: 1; left: 8%; bottom: -22%; border: 1px solid var(--ink); border-radius: 50%; }
.art-shape { position: absolute; width: 22%; aspect-ratio: 0.6; left: 25%; top: 14%; background: var(--copper); transform: rotate(19deg); }
.art-two { background: var(--copper); }
.art-grid { position: absolute; inset: 12%; background-image: linear-gradient(rgba(16,26,43,.25) 1px, transparent 1px), linear-gradient(90deg, rgba(16,26,43,.25) 1px, transparent 1px); background-size: 48px 48px; transform: rotate(-8deg) scale(1.1); }
.art-two::after { content: "S"; position: absolute; right: 8%; bottom: -16%; color: var(--ink); font: 600 260px/1 "Manrope", sans-serif; }
.art-three { background: var(--paper-deep); color: var(--ink); }
.art-ring { position: absolute; width: 56%; aspect-ratio: 1; left: 50%; top: 50%; border: 38px solid var(--ink); border-right-color: var(--copper); border-radius: 50%; transform: translate(-50%, -50%) rotate(-25deg); }
.project-meta { display: flex; justify-content: space-between; gap: 24px; margin-top: 22px; }
.project-meta p { margin: 0 0 7px; color: var(--copper); font-size: 9px; font-weight: 700; letter-spacing: 0.17em; }
.project-meta h3 { font-size: 22px; letter-spacing: -0.025em; }
.project-year { color: rgba(242, 239, 231, 0.48); font-size: 11px; }

.sectors {
  padding: 120px max(40px, calc((100vw - var(--max)) / 2)) 140px;
  background: var(--ink);
  color: var(--paper);
}
.sectors-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 74px;
}
.sectors-heading h2 { font-size: clamp(42px, 5vw, 74px); line-height: 1.06; }
.sectors-heading p { max-width: 390px; margin: 0 0 7px; color: rgba(247, 247, 247, 0.62); font-size: 17px; line-height: 1.7; }
.sector-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.sector-card {
  position: relative;
  min-height: 560px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.sector-card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22); }
.sector-card:focus-visible { outline: 3px solid var(--paper); outline-offset: 5px; }
.sector-card-building { background: var(--paper); color: var(--ink); }
.sector-card-systems { background: var(--copper); color: #fff; }
.sector-topline { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 13px; font-weight: 700; letter-spacing: 0.14em; }
.sector-arrow { display: grid; width: 46px; height: 46px; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-size: 18px; }
.sector-mark { position: absolute; right: -3%; top: 5%; color: currentColor; font: 600 clamp(220px, 30vw, 410px)/1 "Manrope", sans-serif; opacity: 0.08; }
.sector-copy { position: relative; z-index: 2; max-width: 470px; }
.sector-copy h3 { font-size: clamp(48px, 6vw, 82px); line-height: 0.95; }
.sector-copy p { max-width: 390px; margin: 24px 0 36px; font-size: 17px; line-height: 1.7; opacity: 0.72; }
.sector-link { display: inline-flex; align-items: center; gap: 18px; padding-bottom: 6px; border-bottom: 1px solid currentColor; font-size: 14px; font-weight: 700; }

.detail-page .site-header { border-bottom-color: var(--line); }
.division-hero {
  position: relative;
  min-height: 800px;
  padding: 180px max(40px, calc((100vw - var(--max)) / 2)) 100px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 8vw;
  overflow: hidden;
}
.division-copy { position: relative; z-index: 2; }
.division-copy h1 { font-size: clamp(72px, 9vw, 136px); }
.division-copy .hero-intro { max-width: 600px; }
.division-mark {
  position: relative;
  min-height: 510px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.division-mark > span { font: 600 clamp(210px, 27vw, 390px)/1 "Manrope", sans-serif; }
.division-mark > p { position: absolute; right: 30px; bottom: 26px; margin: 0; font-size: 13px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; }
.division-hero-building .division-mark { background: var(--ink); color: var(--paper); }
.division-hero-building .division-mark::after { content: ""; position: absolute; width: 62%; aspect-ratio: 1; right: -28%; top: -18%; border: 1px solid rgba(247, 247, 247, 0.35); border-radius: 50%; }
.division-hero-systems .division-mark { background: var(--copper); color: #fff; }
.division-hero-systems .division-mark::after { content: ""; position: absolute; inset: 12%; border: 1px solid rgba(255, 255, 255, 0.35); transform: rotate(12deg); }
.button-outline { border: 1px solid var(--ink); color: var(--ink); }
.division-overview { padding: 120px max(40px, calc((100vw - var(--max)) / 2)); border-top: 1px solid var(--line); }
.division-overview-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 10vw; }
.division-overview h2 { max-width: 720px; font-size: clamp(44px, 5vw, 76px); line-height: 1.06; }
.division-overview-copy { align-self: end; }
.division-overview-copy p { margin: 0; color: rgba(41, 41, 41, 0.7); font-size: 18px; line-height: 1.8; }
.division-choices { display: grid; margin-top: 42px; border-top: 1px solid var(--line); }
.division-choices a { display: flex; justify-content: space-between; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 700; }
.division-contact { padding: 105px max(40px, calc((100vw - var(--max)) / 2)); background: var(--ink); color: var(--paper); }
.division-contact-inner { display: flex; align-items: end; justify-content: space-between; gap: 60px; }
.division-contact h2 { max-width: 780px; font-size: clamp(46px, 6vw, 88px); line-height: 1.02; }
.division-contact .button { flex: 0 0 auto; }
.division-footer { padding: 20px max(40px, calc((100vw - var(--max)) / 2)); background: var(--ink); color: var(--paper); }
.division-footer footer { border-top-color: rgba(247, 247, 247, 0.18); }
.division-footer footer p { color: rgba(247, 247, 247, 0.56); }

.contact { padding-bottom: 36px; }
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 10vw; align-items: center; padding-bottom: 110px; }
.contact-title h2 { font-size: clamp(52px, 6vw, 90px); line-height: 1; }
.contact-card { padding-left: 10%; border-left: 1px solid var(--line); }
.contact-card > p { max-width: 440px; margin: 0 0 30px; color: rgba(16, 26, 43, 0.64); font-size: 17px; line-height: 1.7; }
.contact-card .button { width: 100%; justify-content: space-between; }
.contact-details { display: flex; justify-content: space-between; gap: 20px; margin-top: 28px; color: rgba(16, 26, 43, 0.55); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; }
footer { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 30px; border-top: 1px solid var(--line); font-size: 10px; letter-spacing: 0.08em; }
footer p { margin: 0; color: rgba(16, 26, 43, 0.53); }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity 700ms ease, transform 700ms ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .site-header { width: calc(100% - 40px); }
  .site-header nav a:not(.nav-cta) { display: none; }
  .hero { min-height: auto; padding: 150px 20px 80px; grid-template-columns: 1fr; gap: 65px; }
  .hero-visual { width: min(88vw, 500px); justify-self: center; }
  .hero-index { display: none; }
  .company, .contact, .works, .sectors, .division-overview, .division-contact { padding-left: 20px; padding-right: 20px; }
  .company-content, .contact-grid, .division-overview-grid { grid-template-columns: 1fr; gap: 56px; }
  .company-detail { max-width: 640px; }
  .works-heading { display: block; }
  .works-heading p { margin-top: 24px; }
  .sectors-heading { display: block; }
  .sectors-heading p { margin-top: 24px; }
  .sector-grid { grid-template-columns: 1fr; }
  .sector-card { min-height: 500px; }
  .project-art { min-height: 300px; }
  .contact-card { padding: 40px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .division-hero { min-height: auto; padding: 150px 20px 80px; grid-template-columns: 1fr; gap: 64px; }
  .division-mark { min-height: 430px; }
  .division-contact-inner { display: block; }
  .division-contact .button { margin-top: 38px; }
}

@media (max-width: 620px) {
  .site-header { height: 82px; }
  .menu-toggle { min-width: 98px; height: 44px; padding: 0 14px; gap: 14px; }
  .menu-panel { width: 100%; padding: 22px 20px; }
  .menu-nav a { min-height: 68px; }
  .menu-nav a > strong { font-size: 27px; }
  .brand-name { max-width: 130px; overflow: hidden; white-space: nowrap; }
  .hero { padding-top: 124px; }
  h1 { font-size: 50px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 22px; }
  .company, .works, .sectors, .contact, .division-overview, .division-contact { padding-top: 88px; padding-bottom: 88px; }
  .section-label { margin-bottom: 52px; }
  .projects { grid-template-columns: 1fr; }
  .project-large { grid-column: auto; }
  .project-large .project-art, .project-art { min-height: 360px; }
  .project-meta h3 { font-size: 18px; }
  .contact-details { flex-direction: column; }
  .sector-card { min-height: 430px; padding: 26px; }
  .sector-copy h3 { font-size: 52px; }
  .division-copy h1 { font-size: 66px; }
  .division-mark { min-height: 360px; }
  footer { padding-top: 28px; align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Named contacts */
.contact-people { display: grid; gap: 16px; margin-bottom: 30px; }
.contact-person { display: grid; gap: 6px; padding: 18px 20px; border: 1px solid var(--line); font-size: 16px; }
.contact-person strong { font-size: 18px; }
.contact-person span { color: var(--copper); }
.contact-person:hover { border-color: var(--copper); }
.contact-person:focus-visible { outline: 3px solid var(--copper); outline-offset: 3px; }
.menu-panel { overflow-y: auto; }
.menu-panel-contact { font-size: 14px; }

/* Original logo and founders, centered above the contact details. */
.contact-identity { display: flex; flex-direction: column; align-items: center; margin: 0 auto 80px; text-align: center; }
.contact-logo { display: block; width: min(100%, 350px); height: auto; }
.contact-founders { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: min(100%, 640px); gap: 24px; margin-top: 28px; }
.founder { display: grid; justify-items: center; align-content: start; gap: 8px; min-width: 0; padding: 8px 0; text-align: center; }
.founder-name { font-family: "Manrope", sans-serif; font-size: clamp(24px, 3vw, 32px); font-weight: 500; }
.founder-name strong { color: var(--copper); font-weight: 800; }
.founder-phone { font-size: 16px; }
.founder:hover .founder-phone { color: var(--copper); text-decoration: underline; }
.founder:focus-visible { outline: 3px solid var(--copper); outline-offset: 4px; }
@media (max-width: 620px) {
  .contact-identity { margin-bottom: 56px; }
  .contact-logo { width: min(100%, 280px); }
  .contact-founders { gap: 12px; }
  .founder-name { font-size: clamp(1rem, 4vw, 1.5rem); }
}

/* Informative e dati societari */
.legal-footer{padding:28px 6%;background:#101a2b;color:#fff;font-size:14px;line-height:1.7;display:flex;gap:24px;justify-content:space-between;flex-wrap:wrap}.legal-footer p{margin:0}.legal-footer nav{display:flex;gap:24px;align-items:center}.legal-footer a{color:inherit;text-decoration:underline;text-underline-offset:4px}.legal-content{max-width:850px;margin:0 auto;padding:150px 24px 64px;font-size:16px;line-height:1.8;overflow-wrap:anywhere}.legal-content h1{font-size:clamp(2.5rem,7vw,4rem);line-height:1.1;margin:12px 0 36px}.legal-content h2{font-size:1.4rem;line-height:1.4;margin:32px 0 12px;letter-spacing:normal}.legal-content p,.legal-content li{margin-bottom:16px}.legal-content ul{padding-left:24px}.legal-content a{text-decoration:underline;text-underline-offset:3px}.legal-updated{font-size:14px;margin-top:36px}.legal-page .site-header>a:last-child{font-size:16px}.legal-content .eyebrow{letter-spacing:.06em;font-size:14px}a:focus-visible{outline:3px solid #bd843e;outline-offset:5px}
