.page-hero {
  position: relative;
  display: grid;
  min-height: min(900px, 96vh);
  padding: calc(var(--header-height) + 80px) 0 80px;
  overflow: hidden;
  align-items: end;
  background: var(--night);
}

.page-hero--compact {
  min-height: 610px;
}

.page-hero__media,
.page-hero__media::after {
  position: absolute;
  inset: 0;
}

.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.65) contrast(1.05) brightness(0.62);
}

.page-hero__media::after {
  background:
    linear-gradient(90deg, rgba(2, 8, 18, 0.98) 0%, rgba(2, 8, 18, 0.78) 46%, rgba(2, 8, 18, 0.35) 100%),
    linear-gradient(0deg, rgba(2, 8, 18, 0.9), transparent 55%);
  content: "";
}

.page-hero__grid {
  position: absolute;
  inset: 0;
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(168, 225, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 225, 255, 0.09) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, #000, transparent 70%);
}

.page-hero__content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(310px, 0.55fr);
  gap: clamp(60px, 10vw, 180px);
  align-items: end;
}

.page-hero h1 {
  max-width: 11ch;
  margin-bottom: 0;
}

.page-hero__aside {
  padding-left: 26px;
  border-left: 1px solid var(--electric);
  color: var(--ink-soft);
}

.page-hero__aside p:last-child {
  margin-bottom: 0;
}

.page-index {
  position: absolute;
  top: calc(var(--header-height) + 54px);
  right: 3.1%;
  color: rgba(168, 225, 255, 0.7);
  font-family: monospace;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  writing-mode: vertical-rl;
}

/* Storia */
.history-intro {
  background: #eff3f6;
  color: var(--night);
}

.history-intro-grid {
  display: grid;
  grid-template-columns: minmax(340px, 0.76fr) minmax(0, 1.24fr);
  gap: clamp(70px, 11vw, 190px);
  align-items: start;
}

.history-intro h2 {
  max-width: 9ch;
  position: sticky;
  top: 130px;
}

.history-intro-copy {
  padding-top: 12px;
}

.history-intro-copy p:first-child {
  color: var(--industrial);
  font-size: clamp(1.4rem, 2.15vw, 2.5rem);
  font-weight: 650;
  line-height: 1.25;
}

.history-intro-copy p {
  max-width: 70ch;
  color: #3f5065;
}

.history-timeline {
  position: relative;
  background: var(--technical);
}

.history-timeline__label {
  padding-top: 90px;
}

.history-track {
  display: grid;
  gap: 1px;
  background: var(--line);
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.history-panel {
  position: relative;
  display: flex;
  min-height: 720px;
  padding: clamp(36px, 4vw, 68px);
  overflow: hidden;
  flex-direction: column;
  justify-content: space-between;
  background: var(--night);
}

.history-panel--image {
  background: #071933;
}

.history-panel__image {
  position: absolute;
  inset: 0;
}

.history-panel__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.6) contrast(1.05) brightness(0.58);
}

.history-panel__image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 8, 18, 0.95), rgba(2, 8, 18, 0.2) 72%);
  content: "";
}

.history-panel__top,
.history-panel__body {
  position: relative;
  z-index: 2;
}

.history-date {
  color: var(--electric);
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 7vw, 8.5rem);
  font-weight: 760;
  letter-spacing: -0.06em;
  line-height: 0.85;
}

.history-date--word {
  max-width: 9ch;
  font-size: clamp(3.6rem, 6vw, 7rem);
  line-height: 0.9;
  overflow-wrap: normal;
  word-break: keep-all;
}

.history-panel__marker {
  display: flex;
  gap: 14px;
  align-items: center;
  color: var(--ice);
  font-family: monospace;
  font-size: 0.69rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.history-panel__marker::before {
  width: 9px;
  height: 9px;
  border: 2px solid var(--electric);
  border-radius: 50%;
  content: "";
}

.history-panel h3 {
  max-width: 14ch;
  margin-bottom: 18px;
}

.history-panel p {
  max-width: 44ch;
  margin-bottom: 0;
  color: var(--metal);
}

.js .history-timeline {
  height: 520vh;
}

.js .history-timeline__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
}

.js .history-timeline__label {
  position: absolute;
  z-index: 4;
  top: 0;
  left: 3.1%;
  padding-top: 34px;
}

.history-progress {
  position: absolute;
  z-index: 6;
  right: 4vw;
  bottom: 30px;
  left: 4vw;
  height: 2px;
  overflow: hidden;
  background: rgba(168, 225, 255, 0.18);
}

.history-progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--electric);
  will-change: transform;
}

.js .history-track {
  width: 468vw;
  height: 100%;
  grid-template-columns: repeat(6, 78vw);
  will-change: transform;
}

.js .history-panel {
  min-height: 100vh;
  padding-top: 130px;
}

.legacy-section {
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(10, 61, 120, 0.08), transparent 46%),
    #e9eef2;
  color: var(--night);
}

.legacy-layout {
  display: grid;
  grid-template-columns: minmax(340px, 0.62fr) minmax(0, 1.38fr);
  gap: clamp(36px, 5vw, 78px);
  align-items: stretch;
}

.legacy-visual {
  position: relative;
  min-height: 760px;
  margin: 0;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(6, 21, 46, 0.18);
}

.legacy-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 48%;
  filter: saturate(0.72) contrast(1.04);
}

.legacy-visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 8, 18, 0.92), transparent 58%);
  content: "";
}

.legacy-visual figcaption {
  position: absolute;
  z-index: 2;
  right: 34px;
  bottom: 36px;
  left: 34px;
  display: grid;
  color: var(--white);
  gap: 8px;
}

.legacy-visual figcaption strong {
  color: var(--electric);
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 5rem);
  letter-spacing: -0.05em;
  line-height: 0.9;
}

.legacy-visual figcaption span {
  color: var(--ice);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.legacy-grid {
  display: grid;
  border-top: 1px solid rgba(6, 21, 46, 0.2);
  grid-template-columns: 1fr;
}

.legacy-card {
  display: grid;
  min-height: 240px;
  padding: clamp(28px, 3.4vw, 52px);
  border-right: 1px solid rgba(6, 21, 46, 0.2);
  border-bottom: 1px solid rgba(6, 21, 46, 0.2);
  border-left: 1px solid rgba(6, 21, 46, 0.2);
  background: rgba(255, 255, 255, 0.56);
  grid-template-columns: 72px 1fr;
  column-gap: 30px;
  align-content: center;
  transition: background-color 260ms var(--ease), transform 260ms var(--ease);
}

.legacy-card:hover {
  z-index: 2;
  transform: translateX(-6px);
  background: var(--white);
}

.legacy-card svg {
  width: 64px;
  height: 64px;
  grid-row: 1 / span 4;
  fill: none;
  stroke: var(--industrial);
  stroke-width: 2;
}

.legacy-ref,
.legacy-card h3,
.legacy-card p,
.legacy-card .text-link {
  grid-column: 2;
}

.legacy-ref {
  margin-bottom: 12px;
  color: var(--industrial);
  font-family: monospace;
  font-size: 0.67rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.legacy-card h3 {
  margin-bottom: 14px;
}

.legacy-card p {
  max-width: 58ch;
  margin-bottom: 0;
  color: #3f5065;
}

.legacy-card .text-link {
  margin-top: 18px;
  color: var(--industrial);
}

/* Lavorazioni */
.work-hero .page-hero__media img {
  object-position: 50% 45%;
}

.process-section {
  background: #f1f4f7;
  color: var(--night);
}

.process-layout {
  display: grid;
  grid-template-columns: minmax(380px, 0.68fr) minmax(0, 1.32fr);
  gap: clamp(70px, 10vw, 180px);
}

.process-nav {
  position: sticky;
  top: 128px;
  align-self: start;
}

.process-nav h2 {
  max-width: 10ch;
}

.process-nav p {
  max-width: 45ch;
  color: #3f5065;
}

.process-scenes {
  border-top: 1px solid rgba(6, 21, 46, 0.24);
}

.process-scene {
  display: grid;
  min-height: 590px;
  padding-block: clamp(64px, 7vw, 110px);
  border-bottom: 1px solid rgba(6, 21, 46, 0.24);
  grid-template-columns: 0.34fr 1fr;
  gap: 50px;
  align-items: start;
}

.process-scene__number {
  color: var(--industrial);
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 7vw, 8rem);
  font-weight: 760;
  letter-spacing: -0.06em;
  line-height: 0.82;
}

.process-scene h3 {
  font-size: clamp(2rem, 3.2vw, 4.4rem);
}

.process-scene p {
  max-width: 62ch;
  color: #3f5065;
}

.process-spec-list {
  display: grid;
  margin: 34px 0 0;
  padding: 0;
  border-top: 1px solid rgba(6, 21, 46, 0.22);
  grid-template-columns: repeat(2, 1fr);
  list-style: none;
}

.process-spec-list li {
  min-height: 90px;
  padding: 18px 18px 18px 0;
  border-bottom: 1px solid rgba(6, 21, 46, 0.22);
  color: var(--night);
  font-size: 0.93rem;
}

.process-spec-list li:nth-child(even) {
  padding-left: 18px;
  border-left: 1px solid rgba(6, 21, 46, 0.22);
}

.material-groups {
  display: grid;
  margin-top: 40px;
  border-top: 1px solid rgba(6, 21, 46, 0.22);
  border-left: 1px solid rgba(6, 21, 46, 0.22);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.material-group {
  position: relative;
  min-height: 220px;
  padding: 28px;
  border-right: 1px solid rgba(6, 21, 46, 0.22);
  border-bottom: 1px solid rgba(6, 21, 46, 0.22);
  background: rgba(255, 255, 255, 0.34);
  transition: background-color 240ms var(--ease), transform 240ms var(--ease);
}

.material-group:hover {
  z-index: 2;
  transform: translateY(-4px);
  background: var(--white);
}

.material-group > span {
  color: var(--industrial);
  font-family: monospace;
  font-size: 0.68rem;
}

.material-group h4 {
  margin: 30px 0 18px;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 2rem);
  letter-spacing: -0.02em;
}

.material-group ul {
  display: flex;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  gap: 7px 16px;
  list-style: none;
}

.material-group li {
  color: #3f5065;
  font-size: 0.85rem;
}

.material-group li::before {
  margin-right: 7px;
  color: var(--electric);
  content: "+";
}

.range-section {
  background: var(--night);
}

.range-grid {
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  gap: clamp(60px, 9vw, 150px);
  align-items: center;
}

.range-copy h2 {
  max-width: 8ch;
}

.range-board {
  padding: clamp(34px, 4vw, 70px);
  border: 1px solid var(--line);
  background:
    linear-gradient(rgba(168, 225, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 225, 255, 0.06) 1px, transparent 1px),
    rgba(2, 8, 18, 0.45);
  background-size: 38px 38px;
}

.range-axis {
  position: relative;
  display: grid;
  min-height: 500px;
  padding: 60px 20px 20px 76px;
  align-content: space-around;
}

.range-axis::before,
.range-axis::after {
  position: absolute;
  background: var(--ice);
  content: "";
}

.range-axis::before {
  bottom: 40px;
  left: 55px;
  width: calc(100% - 75px);
  height: 1px;
}

.range-axis::after {
  top: 40px;
  bottom: 40px;
  left: 55px;
  width: 1px;
}

.range-bar {
  position: relative;
  display: flex;
  width: var(--bar-width);
  min-width: 170px;
  height: 58px;
  padding: 0 16px;
  align-items: center;
  background: linear-gradient(90deg, var(--industrial), var(--electric));
  color: var(--white);
  font-family: monospace;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
}

.range-bar:nth-child(1) { --bar-width: 28%; }
.range-bar:nth-child(2) { --bar-width: 43%; }
.range-bar:nth-child(3) { --bar-width: 54%; }
.range-bar:nth-child(4) { --bar-width: 92%; }

.range-bar--max {
  background: linear-gradient(90deg, var(--electric), var(--ice));
  color: var(--technical);
}

.range-bar span {
  position: absolute;
  left: calc(100% + 16px);
  width: 150px;
  color: var(--ice);
  white-space: nowrap;
}

.technology-section {
  overflow: visible;
  background:
    radial-gradient(circle at 10% 20%, rgba(33, 182, 255, 0.12), transparent 26rem),
    var(--technical);
  color: var(--white);
}

.technology-section .section-head {
  align-items: start;
}

.technology-intro {
  margin-bottom: clamp(48px, 5vw, 76px);
}

.technology-intro h2 {
  max-width: 12ch;
}

.technology-section .eyebrow { color: var(--ice); }
.technology-section .lede { color: var(--metal); }

.machine-browser {
  scroll-margin-top: 96px;
  border-top: 1px solid rgba(168, 225, 255, 0.22);
}

.machine-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.48fr) minmax(0, 1.52fr);
  gap: clamp(36px, 5vw, 84px);
  align-items: start;
}

.machine-summary {
  position: sticky;
  top: 118px;
  min-height: 430px;
  padding: clamp(30px, 3vw, 50px);
  border: 1px solid rgba(168, 225, 255, 0.2);
  background:
    linear-gradient(rgba(168, 225, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 225, 255, 0.06) 1px, transparent 1px),
    rgba(6, 21, 46, 0.82);
  background-size: 38px 38px;
}

.machine-summary__eyebrow {
  margin-bottom: 42px;
  color: var(--ice);
  font-family: monospace;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.machine-summary h3 {
  max-width: 10ch;
  margin-bottom: 32px;
  font-size: clamp(2rem, 3vw, 3.7rem);
}

.machine-summary__metrics {
  display: grid;
  margin: 0 0 30px;
  border-top: 1px solid rgba(168, 225, 255, 0.22);
  border-left: 1px solid rgba(168, 225, 255, 0.22);
  grid-template-columns: repeat(2, 1fr);
}

.machine-summary__metrics p {
  display: grid;
  margin: 0;
  padding: 20px;
  border-right: 1px solid rgba(168, 225, 255, 0.22);
  border-bottom: 1px solid rgba(168, 225, 255, 0.22);
}

.machine-summary__metrics strong {
  color: var(--electric);
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 3.5vw, 4.6rem);
  letter-spacing: -0.05em;
  line-height: 0.9;
}

.machine-summary__metrics span {
  margin-top: 8px;
  color: var(--metal);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.machine-summary > p:last-child {
  color: var(--metal);
  font-size: 0.88rem;
}

.machine-results { min-width: 0; }

.machine-toolbar {
  position: sticky;
  z-index: 5;
  top: 76px;
  display: flex;
  padding: 20px 0;
  border-bottom: 1px solid rgba(168, 225, 255, 0.22);
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  background: rgba(2, 8, 18, 0.96);
  backdrop-filter: blur(14px);
}

.filter-button {
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid rgba(168, 225, 255, 0.24);
  background: transparent;
  color: var(--metal);
  cursor: pointer;
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: background-color 180ms var(--ease), border-color 180ms var(--ease), color 180ms var(--ease);
}

.filter-button:hover {
  border-color: rgba(33, 182, 255, 0.72);
  color: var(--white);
}

.filter-button[aria-pressed="true"] {
  border-color: var(--electric);
  background: var(--electric);
  color: var(--technical);
}

.machine-count {
  margin-left: auto;
  color: var(--ice);
  font-family: monospace;
  font-size: 0.72rem;
}

.machine-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.machine-item {
  position: relative;
  display: grid;
  min-height: 118px;
  padding: 24px 18px;
  border-bottom: 1px solid rgba(168, 225, 255, 0.16);
  grid-template-columns: 54px minmax(0, 1fr) minmax(150px, 0.35fr) 70px;
  gap: 20px;
  align-items: center;
  transition: background-color 220ms var(--ease), padding-left 220ms var(--ease);
}

.machine-item::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  transform: scaleY(0);
  background: var(--electric);
  content: "";
  transition: transform 220ms var(--ease);
}

.machine-item:hover {
  padding-left: 26px;
  background: rgba(33, 182, 255, 0.07);
}

.machine-item:hover::before { transform: scaleY(1); }

.machine-index {
  color: var(--electric);
  font-family: monospace;
  font-size: 0.68rem;
}

.machine-name { display: grid; gap: 4px; }

.machine-brand {
  color: var(--ice);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.machine-model,
.machine-item > .machine-model {
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(1.18rem, 1.65vw, 1.85rem);
  font-weight: 720;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.machine-category {
  color: var(--metal);
  font-size: 0.8rem;
}

.machine-quantity {
  justify-self: end;
  color: var(--electric);
  font-family: monospace;
  font-weight: 700;
}

.machine-actions {
  display: flex;
  padding-top: 34px;
  justify-content: center;
}

.machine-actions .button[hidden] { display: none; }

/* Progetti */
.project-hero .page-hero__media img {
  object-position: center 50%;
}

.project-summary {
  background: #edf2f5;
  color: var(--night);
}

.project-summary-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(330px, 0.58fr);
  gap: clamp(70px, 10vw, 180px);
}

.project-summary h2 {
  max-width: 10ch;
}

.project-summary .lede {
  color: var(--industrial);
  font-size: clamp(1.35rem, 2vw, 2.25rem);
  font-weight: 650;
  line-height: 1.3;
}

.project-facts {
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(6, 21, 46, 0.22);
  list-style: none;
}

.project-facts li {
  display: grid;
  padding: 18px 0;
  border-bottom: 1px solid rgba(6, 21, 46, 0.22);
  grid-template-columns: 70px 1fr;
  gap: 20px;
  color: #3f5065;
}

.project-facts span {
  color: var(--industrial);
  font-family: monospace;
}

.project-story {
  background: var(--technical);
}

.story-progress {
  position: sticky;
  z-index: 5;
  top: 76px;
  display: grid;
  height: 4px;
  background: rgba(168, 225, 255, 0.14);
}

.story-progress span {
  width: 0;
  background: var(--electric);
  transition: width 120ms linear;
}

.story-phase {
  display: grid;
  min-height: 96vh;
  padding-block: clamp(90px, 10vw, 170px);
  border-bottom: 1px solid var(--line);
  grid-template-columns: 0.36fr minmax(390px, 0.7fr) minmax(460px, 0.94fr);
  gap: clamp(44px, 6vw, 100px);
  align-items: center;
}

.story-phase:nth-child(even) .story-phase__media {
  order: -1;
}

.story-phase__number {
  align-self: start;
  color: rgba(33, 182, 255, 0.72);
  font-family: var(--font-display);
  font-size: clamp(5.5rem, 9vw, 12rem);
  font-weight: 760;
  letter-spacing: -0.07em;
  line-height: 0.7;
}

.story-phase__copy h2 {
  max-width: 9ch;
  font-size: clamp(2.8rem, 4.6vw, 6rem);
}

.story-phase__copy p {
  max-width: 52ch;
  color: var(--metal);
}

.story-phase__tag {
  color: var(--ice);
  font-family: monospace;
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.story-phase__media {
  position: relative;
  min-height: 540px;
  border: 1px solid var(--line);
  background:
    linear-gradient(rgba(168, 225, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 225, 255, 0.06) 1px, transparent 1px),
    var(--night);
  background-size: 38px 38px;
}

.story-phase__media img {
  width: 100%;
  height: 100%;
  min-height: 540px;
  object-fit: contain;
}

.story-phase__media--diagram {
  display: grid;
  place-items: center;
}

.story-phase__media--diagram svg {
  width: 82%;
  max-height: 480px;
}

.video-section {
  background: #eaf0f4;
  color: var(--night);
}

.video-layout {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  gap: clamp(60px, 9vw, 150px);
  align-items: center;
}

.video-layout h2 {
  max-width: 8ch;
}

.video-layout p {
  color: #3f5065;
}

.video-placeholder {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(6, 21, 46, 0.2);
  background: var(--night);
  box-shadow: 0 32px 70px rgba(6, 21, 46, 0.2);
}

.video-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-placeholder__label {
  position: absolute;
  inset: 0;
  display: grid;
  background: rgba(2, 8, 18, 0.34);
  color: var(--white);
  place-items: center;
  text-align: center;
}

.video-placeholder__label span {
  display: grid;
  width: 94px;
  height: 94px;
  margin: 0 auto 18px;
  border: 1px solid var(--ice);
  border-radius: 50%;
  place-items: center;
  font-size: 2rem;
}

.careers-band {
  background: var(--industrial);
}

.careers-grid {
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: 70px;
  align-items: end;
}

.careers-grid h2 {
  max-width: 13ch;
}

.careers-grid p {
  max-width: 66ch;
  margin-bottom: 0;
  color: var(--ice);
}

/* Contatti */
.contact-hero .page-hero__media img {
  object-position: center 48%;
}

.contact-hero h1 {
  max-width: 16ch;
  font-size: clamp(3.2rem, 5.8vw, 7.6rem);
}

.contact-section {
  background: #edf2f5;
  color: var(--night);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.72fr) minmax(640px, 1.28fr);
  gap: clamp(70px, 10vw, 180px);
  align-items: start;
}

.contact-sidebar {
  position: sticky;
  top: 120px;
}

.contact-sidebar h2 {
  max-width: 9ch;
}

.contact-details {
  margin: 42px 0 0;
  padding: 0;
  border-top: 1px solid rgba(6, 21, 46, 0.22);
  list-style: none;
}

.contact-details li {
  display: grid;
  padding: 18px 0;
  border-bottom: 1px solid rgba(6, 21, 46, 0.22);
  grid-template-columns: 108px 1fr;
  gap: 18px;
}

.contact-details strong {
  color: var(--industrial);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-details a {
  color: var(--night);
}

.contact-form {
  padding: clamp(36px, 5vw, 76px);
  background: var(--white);
  box-shadow: 0 30px 80px rgba(6, 21, 46, 0.12);
}

.contact-form h2 {
  font-size: clamp(2rem, 3vw, 4rem);
}

.form-note {
  margin-bottom: 36px;
  color: #53657a;
  font-size: 0.9rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field--wide {
  grid-column: 1 / -1;
}

.form-field label,
.privacy-field label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.form-field input,
.form-field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 14px;
  border: 1px solid #aeb8c5;
  border-radius: 0;
  background: #f8fafb;
  color: var(--night);
}

.form-field textarea {
  min-height: 180px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--industrial);
  outline: 3px solid rgba(33, 182, 255, 0.25);
}

.file-drop {
  position: relative;
  display: grid;
  min-height: 150px;
  padding: 26px;
  border: 1px dashed #7e8d9d;
  background: #f6f8fa;
  place-items: center;
  text-align: center;
}

.file-drop input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  opacity: 0;
}

.file-drop strong {
  display: block;
  color: var(--industrial);
}

.file-drop small {
  color: #53657a;
}

.file-name {
  display: block;
  margin-top: 8px;
  color: var(--industrial);
  font-size: 0.82rem;
}

.privacy-field {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
}

.privacy-field input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--industrial);
}

.privacy-field label {
  color: #3f5065;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.5;
  text-transform: none;
}

.form-actions {
  display: flex;
  margin-top: 32px;
  gap: 20px;
  align-items: center;
}

.form-status {
  margin: 0;
  color: #176b3b;
  font-weight: 700;
}

.location-section {
  background: var(--night);
}

.location-grid {
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  gap: clamp(60px, 9vw, 150px);
  align-items: stretch;
}

.location-copy {
  align-self: center;
}

.location-placeholder {
  position: relative;
  display: grid;
  min-height: 520px;
  padding: clamp(40px, 6vw, 100px);
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 66% 43%, rgba(33, 182, 255, 0.2), transparent 16rem),
    linear-gradient(rgba(168, 225, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 225, 255, 0.08) 1px, transparent 1px),
    var(--technical);
  background-size: auto, 52px 52px, 52px 52px, auto;
  place-items: center;
  text-align: center;
}

.map-pin {
  display: grid;
  width: 100px;
  height: 100px;
  margin: 0 auto 28px;
  border: 1px solid var(--electric);
  border-radius: 50% 50% 50% 8px;
  color: var(--electric);
  place-items: center;
  transform: rotate(-45deg);
  font-size: 2.4rem;
}

.map-pin span {
  transform: rotate(45deg);
}

/* Privacy e cookie */
.legal-page {
  background: #edf2f5;
  color: var(--night);
}

.legal-hero {
  padding: calc(var(--header-height) + 100px) 0 90px;
  background:
    linear-gradient(rgba(168, 225, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 225, 255, 0.07) 1px, transparent 1px),
    var(--night);
  background-size: 60px 60px;
  color: var(--white);
}

.legal-hero h1 {
  max-width: 12ch;
  margin-bottom: 28px;
}

.legal-hero .lede {
  max-width: 65ch;
}

.legal-content {
  display: grid;
  grid-template-columns: minmax(250px, 0.45fr) minmax(0, 1.25fr);
  gap: clamp(60px, 10vw, 170px);
  align-items: start;
}

.legal-nav {
  position: sticky;
  top: 118px;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(6, 21, 46, 0.2);
  list-style: none;
}

.legal-nav li {
  border-bottom: 1px solid rgba(6, 21, 46, 0.2);
}

.legal-nav a {
  display: block;
  padding: 14px 0;
  color: var(--industrial);
  font-size: 0.83rem;
  font-weight: 700;
  text-decoration: none;
}

.legal-copy {
  max-width: 82ch;
}

.legal-copy section {
  padding-bottom: 52px;
  scroll-margin-top: 110px;
}

.legal-copy h2 {
  font-size: clamp(1.8rem, 2.7vw, 3.3rem);
}

.legal-copy p,
.legal-copy li {
  color: #3f5065;
}

.legal-notice {
  margin-bottom: 48px;
  padding: 24px;
  border-left: 4px solid var(--industrial);
  background: var(--white);
  color: #3f5065;
}

/* Aggiornamento contenuti 2026 */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.operation-item {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.materials-copy h3 {
  margin-top: 0;
}

.values-section {
  overflow: hidden;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 14% 24%, rgba(33, 182, 255, 0.13), transparent 30rem),
    var(--night);
}

.values-layout {
  display: grid;
  grid-template-columns: minmax(340px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(60px, 9vw, 150px);
  align-items: start;
}

.values-intro {
  position: sticky;
  top: 130px;
}

.values-intro h2 {
  max-width: 11ch;
}

.values-intro .text-link {
  margin-top: 18px;
}

.values-grid {
  display: grid;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.value-card {
  min-height: 320px;
  padding: clamp(30px, 3vw, 52px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.value-card h3 {
  max-width: 12ch;
  margin-bottom: 22px;
  color: var(--white);
}

.value-card p {
  max-width: 38ch;
  margin-bottom: 0;
  color: var(--metal);
}

.process-scene {
  min-height: 0;
  grid-template-columns: 1fr;
}

.process-scene--with-media {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.82fr);
  gap: clamp(36px, 5vw, 76px);
  align-items: stretch;
}

.process-scene__media {
  position: relative;
  min-height: 460px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(6, 21, 46, 0.2);
  background: var(--night);
  box-shadow: 0 24px 58px rgba(6, 21, 46, 0.14);
}

.process-scene__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.material-group h4 {
  margin-top: 0;
}

.workshop-gallery-section {
  background:
    linear-gradient(rgba(168, 225, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 225, 255, 0.035) 1px, transparent 1px),
    var(--night);
  background-size: 64px 64px;
}

.workshop-gallery-section .section-head .lede {
  color: var(--metal);
}

.workshop-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  grid-template-rows: repeat(2, minmax(320px, 38vw));
  gap: 22px;
}

.workshop-shot {
  position: relative;
  min-height: 320px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--technical);
  box-shadow: var(--shadow);
}

.workshop-shot--wide {
  grid-row: 1 / span 2;
}

.workshop-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease);
}

.workshop-shot:hover img {
  transform: scale(1.025);
}

.workshop-shot figcaption {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  gap: 5px;
  padding: 26px;
  background: linear-gradient(0deg, rgba(2, 8, 18, 0.96), rgba(2, 8, 18, 0.18));
}

.workshop-shot figcaption strong {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.8vw, 2rem);
}

.workshop-shot figcaption span {
  color: var(--ice);
  font-size: 0.82rem;
}

.machine-item {
  grid-template-columns: minmax(0, 1fr) minmax(150px, 0.35fr) 70px;
}

.project-summary-photo {
  position: relative;
  min-height: 600px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(6, 21, 46, 0.2);
  box-shadow: 0 28px 70px rgba(6, 21, 46, 0.15);
}

.project-summary-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-phase {
  grid-template-columns: minmax(330px, 0.72fr) minmax(420px, 1.08fr);
}

.story-phase__media img {
  object-fit: cover;
}

.story-phase__media--contain img {
  object-fit: contain;
}

.video-link-panel {
  display: grid;
  min-height: 360px;
  padding: clamp(40px, 6vw, 92px);
  border: 1px solid rgba(6, 21, 46, 0.22);
  background:
    radial-gradient(circle at 78% 28%, rgba(33, 182, 255, 0.2), transparent 18rem),
    linear-gradient(rgba(168, 225, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 225, 255, 0.06) 1px, transparent 1px),
    var(--night);
  background-size: auto, 48px 48px, 48px 48px, auto;
  align-content: center;
  justify-items: start;
}

.video-link-panel p {
  max-width: 32ch;
  color: var(--ice);
  font-size: clamp(1.3rem, 2vw, 2rem);
}

.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.contact-form[aria-busy="true"] {
  cursor: progress;
}

.contact-form button:disabled {
  cursor: not-allowed;
  opacity: 0.64;
}

.form-status[data-status="success"] {
  color: #176b3b;
}

.form-status[data-status="error"] {
  color: #a12622;
}

.form-status[data-status="info"] {
  color: var(--industrial);
}

.location-photo {
  position: relative;
  min-height: 560px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--technical);
  box-shadow: var(--shadow);
}

.location-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.location-photo figcaption {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  gap: 4px;
  padding: 28px;
  background: linear-gradient(0deg, rgba(2, 8, 18, 0.98), rgba(2, 8, 18, 0));
}

.location-photo figcaption span {
  color: var(--ice);
  font-size: 0.86rem;
}

.location-copy .button {
  margin-top: 18px;
}

.cookie-table-wrap {
  margin: 28px 0;
  overflow-x: auto;
}

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: 0.9rem;
}

.cookie-table th,
.cookie-table td {
  padding: 14px;
  border: 1px solid rgba(6, 21, 46, 0.2);
  text-align: left;
  vertical-align: top;
}

.cookie-table th {
  background: var(--night);
  color: var(--white);
}
