* { box-sizing: border-box; }
html { color-scheme: dark; }
body {
  margin: 0;
  background: #08090a;
  color: #efefef;
  font: 1rem/1.6 system-ui, sans-serif;
}
.scene {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(100vh - 4.25rem);
  min-height: calc(100svh - 4.25rem);
  padding: 4rem clamp(2rem, 10vw, 10rem);
  isolation: isolate;
  background: #08090a url("capannone.webp") 63% center / cover no-repeat;
}
.scene::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background:
    linear-gradient(0deg, #08090a 0%, transparent 26%),
    linear-gradient(90deg, #08090a80, transparent 66%);
}
.identity { margin-bottom: 7vh; }
h1 { margin: 0; line-height: 1; }
.payoff {
  text-align: center;
  margin: .7rem 0 0;
  color: #d3d5d8;
  font-size: .8125rem;
  letter-spacing: .06em;
}
h1 img { display: block; width: clamp(10rem, 22vw, 19rem); height: auto; }
footer {
  position: relative;
  margin-inline: clamp(1.25rem, 10vw, 10rem);
  border-top: 1px solid #2a2b2d;
  font-size: .8125rem;
}
summary {
  width: fit-content;
  display: flex;
  align-items: center;
  min-height: 4.1875rem;
  gap: .625rem;
  cursor: pointer;
  color: #bdc0c5;
  list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::before { content: "+"; width: .75rem; text-align: center; }
details[open] summary::before { content: "−"; }
.social-links {
  position: absolute;
  top: 0;
  right: 0;
  min-height: 4.1875rem;
  display: flex;
  align-items: center;
  gap: clamp(.7rem, 3vw, 1.75rem);
  color: #bdc0c5;
}
.social-links a { display: inline-flex; align-items: center; min-height: 44px; }
.company-data .social-links {
  position: static;
  min-height: 0;
  flex-direction: column;
  align-items: flex-start;
  justify-self: start;
  gap: 0;
}
.company-data .social-links a {
  min-height: 0;
}
.company-data {
  padding-bottom: clamp(2rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
footer p, address { margin: 0; font-style: normal; color: #b5b7ba; }
footer strong { color: #efefef; font-weight: 650; }
a { color: inherit; text-underline-offset: .24em; }
a:hover, summary:hover { color: white; }
a:focus-visible, summary:focus-visible { outline: 2px solid white; outline-offset: 4px; }
@media (max-width: 700px) {
  .scene { background-position: 64% center; }
  .identity { align-self: flex-start; margin-top: 19svh; }
  h1 img { width: clamp(13rem, 67vw, 19rem); }
  .company-data { grid-template-columns: 1fr; gap: 1rem; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .identity, details[open] .company-data { animation: appear 3.2s ease-out both; }
  @keyframes appear {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
  }
}
