{# Font Hardcoded Temporaneo #}
body .de-hero *:not(.de-hero__title-accent) {
  font-family: "Poppins", sans-serif !important;
}

body .de-hero .de-hero-title-subtext {
  font-family: Playfair Display, serif !important;
  font-style: italic;
}

.text-display {
  letter-spacing: -0.04em;
  line-height: 1.05;
}

{# Accessibilità #}

.de-skip-link {
  position: absolute;
  left: 16px;
  top: 16px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #ffffff;
  color: #111827;
  font-size: 14px;
  text-decoration: none;
  z-index: 10000;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.de-skip-link:focus {
  transform: translateY(0);
  outline: 2px solid #111827;
  outline-offset: 2px;
}

.de-hero a:focus-visible,
.de-hero button:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

.de-hero .de-button--primary:focus-visible {
  outline: 3px solid #0b1220;
  outline-offset: 3px;
}

.de-hero .de-button--glass:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 4px;
}

.de-hero__background {
  pointer-events: none;
}

.de-hero__content,
.de-hero__actions,
.de-hero__actions a,
.de-hero__actions button {
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }

  .de-fade-up {
    opacity: 1 !important;
    animation: none !important;
    transform: none !important;
  }

  .de-hero__video {
    animation: none !important;
    transform: none !important;
  }

  .de-hero__background video {
    display: none;
  }
}

@media (prefers-contrast: more) {
  .de-hero__overlay {
    background: rgba(0, 0, 0, 0.60);
  }
}

@media (forced-colors: active) {
  .de-hero__overlay,
  .de-hero__orbit {
    display: none !important;
  }

  .de-skip-link {
    forced-color-adjust: none;
    border: 2px solid CanvasText;
    background: Canvas;
    color: CanvasText;
  }

  .de-hero a:focus-visible,
  .de-hero button:focus-visible {
    outline: 2px solid CanvasText;
    outline-offset: 2px;
  }
}

{# Animazioni #}
@keyframes deFadeUp {
  0%   { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

.de-fade-up {
  opacity: 0;
  animation: deFadeUp 0.8s ease-out forwards;
}

.de-delay-2 { animation-delay: 0.10s; }
.de-delay-3 { animation-delay: 0.20s; }
.de-delay-4 { animation-delay: 0.30s; }

{# Layout #}

.de-hero {
  position: relative;
  min-height: 100vh;
  padding-top: 80px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.de-hero__background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.de-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  filter: saturate(1.05) contrast(1.05);
}

.de-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.de-hero__orbit {
  position: absolute;
  right: -450px;
  top: -380px;
  z-index: 3;
  rotate: -58deg;
}

.de-hero__orbit img {
  display: block;
  width: 1000px;
  height: auto;
  opacity: 0.95;
}

.de-hero__content {
  position: relative;
  z-index: 4;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 24px 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

.de-hero__column { min-width: 0; }

@media (min-width: 1024px) {
  .de-hero__content {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }
  .de-hero__column--main { grid-column: span 8; }
}

@media (max-width: 1024px) {
  .de-hero__orbit {
    display: none;
  }

  .de-hero__content {
    padding: 0px 20px;
  }

  .de-hero__overlay {
    background: rgba(0, 0, 0, 0.6);
  }

  .de-hero {
    padding: 0;
  }
}

{# Testi #}

.de-hero__title {
  margin: 0 0 32px;
  font-weight: 700;
  color: #FFFFFF;
  text-shadow: 0 18px 40px #00000029;
  font-size: clamp(30px, 5vw, 72px) !important;
}

.de-hero__title-accent {
  font-size: clamp(25px, 5vw, 65px) !important;
  font-family: "Playfair Display", serif !important;
  font-style: italic;
}

.de-hero__lead {
  margin: 0 0 40px;
  max-width: 48rem;
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.7;
  font-weight: 300;
  color: #FFFFFF;
  text-shadow: 0 14px 28px #00000029;
}

{# CTA #}

.de-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.de-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  text-decoration: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
}

.de-button--primary {
  background: #ffffff;
  color: #0b1220;
  border-color: transparent;
}

.de-button--glass {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  backdrop-filter: blur(8px);
}