:root {
  --ink: #111312;
  --ink-soft: #202421;
  --paper: #f3f1ec;
  --white: #ffffff;
  --muted: #676d68;
  --line: rgba(17, 19, 18, .14);
  --accent: #8a5a44;
  --accent-hover: #704737;
  --container: 1180px;
  --header-height: 72px;
  --radius: 18px;
  --shadow: 0 18px 60px rgba(0, 0, 0, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: "Manrope", system-ui, sans-serif;
  letter-spacing: -.035em;
  line-height: 1.05;
}

h2 {
  font-size: clamp(2.3rem, 5vw, 4.8rem);
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.narrow {
  max-width: 830px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  z-index: 1000;
  inset: 0 0 auto;
  height: var(--header-height);
  color: var(--white);
  transition: background-color .25s ease, box-shadow .25s ease, backdrop-filter .25s ease;
}

.site-header--scrolled {
  background: rgba(17, 19, 18, .92);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .16);
  backdrop-filter: blur(16px);
}

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: -.02em;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 40px;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 50%;
  font-size: .78rem;
}

.brand__text {
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: .94rem;
  font-weight: 600;
}

.site-nav a {
  transition: opacity .2s ease;
}

.site-nav a:hover {
  opacity: .68;
}

.site-nav__cta {
  padding: 11px 17px;
  border: 1px solid rgba(255, 255, 255, .52);
  border-radius: 999px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  color: inherit;
  border: 0;
}

.menu-toggle > span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: heroReveal 1.55s cubic-bezier(.22, 1, .36, 1) both;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 10, 9, .86) 0%, rgba(8, 10, 9, .52) 48%, rgba(8, 10, 9, .12) 100%),
    linear-gradient(0deg, rgba(8, 10, 9, .68) 0%, transparent 58%);
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-top: 150px;
  padding-bottom: clamp(72px, 11vh, 130px);
}

.hero__eyebrow,
.section-heading__eyebrow {
  margin-bottom: 20px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.hero__title {
  max-width: 900px;
  margin-bottom: 24px;
  font-size: clamp(4.2rem, 10vw, 9.5rem);
  line-height: .86;
}

.hero__description {
  max-width: 660px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, .78);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  color: var(--white);
  background: var(--accent);
}

.button--primary:hover {
  background: var(--accent-hover);
}

.button--ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, .58);
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(10px);
}

.hero__scroll {
  position: absolute;
  z-index: 2;
  right: 34px;
  bottom: 30px;
  width: 44px;
  height: 72px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
}

.hero__scroll span {
  position: absolute;
  top: 14px;
  left: 50%;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--white);
  animation: scrollDot 1.7s ease-in-out infinite;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  animation: contentReveal .8s cubic-bezier(.22, 1, .36, 1) .35s forwards;
}

.reveal--delay-1 { animation-delay: .5s; }
.reveal--delay-2 { animation-delay: .65s; }
.reveal--delay-3 { animation-delay: .8s; }

.section {
  padding: clamp(80px, 11vw, 150px) 0;
}

.section--light {
  background: var(--paper);
}

.section--dark {
  color: var(--white);
  background: var(--ink-soft);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, .8fr);
  gap: 24px 70px;
  align-items: end;
  margin-bottom: 64px;
}

.section-heading__eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 0;
  color: var(--accent);
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading > p:last-child {
  margin-bottom: 6px;
  color: var(--muted);
}

.section-heading--compact {
  grid-template-columns: 1fr;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.service-card {
  min-height: 310px;
  padding: 34px 32px;
  border-right: 1px solid var(--line);
}

.service-card:first-child {
  border-left: 1px solid var(--line);
}

.service-card__number {
  display: block;
  margin-bottom: 80px;
  color: var(--accent);
  font-size: .8rem;
  font-weight: 700;
}

.service-card h3 {
  margin-bottom: 16px;
  font-size: 1.7rem;
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.project-feature {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
}

.project-feature__copy p:not(.section-heading__eyebrow) {
  color: rgba(255, 255, 255, .65);
}

.project-placeholder {
  display: grid;
  place-items: center;
  min-height: 480px;
  border-radius: var(--radius);
  color: rgba(255, 255, 255, .55);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02)),
    #2d312f;
  box-shadow: var(--shadow);
}

.text-link {
  display: inline-block;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  font-weight: 700;
}

.process {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(50px, 8vw, 120px);
}

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

.process-list li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.process-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.process-list > li > span {
  color: var(--accent);
  font-weight: 700;
}

.process-list h3 {
  margin-bottom: 8px;
  font-size: 1.45rem;
}

.process-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.cta {
  padding: 70px 0;
  color: var(--white);
  background: #292e2a;
}

.cta__inner {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.cta h2 {
  max-width: 780px;
  margin-bottom: 0;
}

.page-main {
  padding-top: var(--header-height);
}

.page-hero {
  padding: clamp(90px, 12vw, 160px) 0 80px;
  color: var(--white);
  background: var(--ink);
}

.page-hero h1 {
  margin-bottom: 24px;
  font-size: clamp(3.6rem, 8vw, 7.5rem);
}

.page-hero p:last-child {
  max-width: 720px;
  color: rgba(255, 255, 255, .68);
  font-size: 1.15rem;
}

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

.project-card .project-placeholder {
  min-height: 380px;
  color: var(--muted);
  background: #dedbd3;
  box-shadow: none;
}

.project-card__body {
  padding-top: 20px;
}

.project-card__body p,
.project-card__body span {
  color: var(--muted);
  font-size: .85rem;
}

.project-card__body h2 {
  margin-bottom: 8px;
  font-size: 1.7rem;
}

.content-grid,
.contact-layout {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(50px, 8vw, 120px);
}

.contact-form {
  display: grid;
  gap: 20px;
}

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

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 600;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 15px;
  color: var(--ink);
  background: rgba(255, 255, 255, .48);
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(138, 90, 68, .12);
}

.checkbox {
  grid-template-columns: auto 1fr !important;
  align-items: start;
  font-weight: 400 !important;
}

.checkbox input {
  width: auto;
  margin-top: 5px;
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.notice {
  padding: 16px;
  border-radius: 10px;
}

.notice--success {
  grid-column: 2;
  background: #dce8dc;
}

.site-footer {
  padding: 70px 0 24px;
  color: rgba(255, 255, 255, .68);
  background: #0d0f0e;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr .6fr .8fr;
  gap: 50px;
  padding-bottom: 60px;
}

.brand--footer {
  margin-bottom: 20px;
  color: var(--white);
}

.site-footer h2 {
  margin-bottom: 18px;
  color: var(--white);
  font-size: .95rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.site-footer a:not(.brand) {
  display: block;
  margin-bottom: 10px;
}

.site-footer__bottom {
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

@keyframes heroReveal {
  from {
    opacity: 0;
    transform: scale(1.12);
    clip-path: inset(7% 7% 7% 7%);
  }
  to {
    opacity: 1;
    transform: scale(1);
    clip-path: inset(0);
  }
}

@keyframes contentReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollDot {
  0% { opacity: 0; transform: translateY(0); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translateY(34px); }
}

@media (max-width: 900px) {
  :root {
    --header-height: 62px;
  }

  .brand__text {
    font-size: .92rem;
  }

  .menu-toggle {
    display: block;
    position: relative;
    z-index: 1002;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 90px 24px 40px;
    color: var(--white);
    background: rgba(13, 15, 14, .98);
    transform: translateX(100%);
    transition: transform .3s cubic-bezier(.22, 1, .36, 1);
    font-size: 2rem;
  }

  .site-nav--open {
    transform: translateX(0);
  }

  .site-nav__cta {
    margin-top: 16px;
    padding: 12px 18px;
    font-size: 1rem;
  }

  .section-heading,
  .project-feature,
  .process,
  .content-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .service-card:first-child {
    min-height: auto;
    border-left: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .service-card__number {
    margin-bottom: 42px;
  }

  .notice--success {
    grid-column: auto;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .brand__mark {
    width: 36px;
  }

  .brand__text {
    max-width: 190px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero__overlay {
    background:
      linear-gradient(0deg, rgba(8, 10, 9, .94) 0%, rgba(8, 10, 9, .5) 68%, rgba(8, 10, 9, .18) 100%);
  }

  .hero__content {
    padding-top: 105px;
    padding-bottom: 54px;
  }

  .hero__title {
    font-size: clamp(3.4rem, 17vw, 5.1rem);
  }

  .hero__actions {
    display: grid;
  }

  .hero__actions .button {
    width: 100%;
  }

  .hero__scroll {
    display: none;
  }

  .project-placeholder {
    min-height: 340px;
  }

  .project-grid,
  .form-row,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .cta__inner {
    align-items: stretch;
    flex-direction: column;
  }

  .cta .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* Hero text revision */
.hero__title {
  max-width: 900px;
  margin-bottom: 18px;
  font-size: clamp(3.6rem, 8vw, 8rem);
  line-height: .9;
}

.hero__subtitle {
  max-width: 850px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, .92);
  font-size: clamp(1.7rem, 3.6vw, 3.6rem);
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -.035em;
}

.hero__subtitle span {
  color: var(--accent);
}

@media (max-width: 700px) {
  .hero__title {
    font-size: clamp(3rem, 14vw, 4.8rem);
    line-height: .92;
  }

  .hero__subtitle {
    font-size: clamp(1.5rem, 7vw, 2.3rem);
  }
}


/* PROMISE CARDS ENHANCED */

.promise-block {
  position: relative;
}

.promise-heading {
  margin-bottom: clamp(42px, 6vw, 70px);
}

.promise-heading h2 {
  max-width: 760px;
}

.promise-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  border-top: 0;
}

.promise-card,
.promise-card:first-child,
.promise-card:nth-child(3) {
  position: relative;
  min-height: 280px;
  padding: 34px 30px;
  overflow: hidden;
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(17, 19, 18, .11);
  border-radius: 14px;
  box-shadow: 0 16px 45px rgba(17, 19, 18, .055);
  transition:
    transform .45s cubic-bezier(.22, 1, .36, 1),
    box-shadow .45s ease,
    border-color .45s ease;
}

.promise-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s cubic-bezier(.22, 1, .36, 1);
}

.promise-card:hover {
  transform: translateY(-8px);
  border-color: rgba(138, 90, 68, .32);
  box-shadow: 0 24px 65px rgba(17, 19, 18, .11);
}

.promise-card:hover::before {
  transform: scaleX(1);
}

.promise-card__mark {
  position: relative;
  display: block;
  width: 42px;
  height: 42px;
  margin-bottom: 62px;
  background: rgba(138, 90, 68, .1);
  border-radius: 50%;
}

.promise-card__mark::before,
.promise-card__mark::after {
  content: "";
  position: absolute;
  background: var(--accent);
}

.promise-card__mark::before {
  width: 16px;
  height: 2px;
  top: 20px;
  left: 13px;
}

.promise-card__mark::after {
  width: 2px;
  height: 16px;
  top: 13px;
  left: 20px;
}

.promise-card h3 {
  max-width: 230px;
  margin-bottom: 16px;
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  line-height: 1.08;
}

.promise-card p {
  max-width: 260px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

/* Stato iniziale aggiunto tramite JavaScript */

.scroll-reveal {
  opacity: 0;
  transform: translateY(42px);
  transition:
    opacity .8s cubic-bezier(.22, 1, .36, 1),
    transform .8s cubic-bezier(.22, 1, .36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.promise-heading.scroll-reveal {
  transform: translateY(28px);
}

.promise-heading.scroll-reveal.is-visible {
  transform: translateY(0);
}

@media (max-width: 1050px) {
  .promise-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .promise-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .promise-card,
  .promise-card:first-child,
  .promise-card:nth-child(3) {
    min-height: 230px;
    padding: 28px 24px;
  }

  .promise-card__mark {
    margin-bottom: 42px;
  }

  .promise-card:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-reveal,
  .scroll-reveal.is-visible,
  .promise-card,
  .promise-card::before {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* END PROMISE CARDS ENHANCED */


/* SELECTED PROJECT IMAGE */

.project-feature__copy h2 {
  max-width: 650px;
}

.project-feature__copy > p:not(.section-heading__eyebrow) {
  max-width: 540px;
  line-height: 1.8;
}

.project-feature__media {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .24);
}

.project-feature__image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 1s cubic-bezier(.22, 1, .36, 1);
}

.project-feature__media:hover .project-feature__image {
  transform: scale(1.025);
}

@media (max-width: 900px) {
  .project-feature__media {
    margin-top: 10px;
  }
}

@media (max-width: 700px) {
  .project-feature__image {
    aspect-ratio: 4 / 3;
  }

  .project-feature__media:hover .project-feature__image {
    transform: none;
  }
}

/* END SELECTED PROJECT IMAGE */


/* CTA ENHANCED SECTION */

.cta {
  position: relative;
  overflow: hidden;
  padding: clamp(90px, 11vw, 155px) 0;
  color: var(--white);
  background:
    radial-gradient(
      circle at 85% 20%,
      rgba(138, 90, 68, .18),
      transparent 34%
    ),
    #202421;
}

.cta::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: rgba(255, 255, 255, .12);
}

.cta__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: clamp(40px, 7vw, 110px);
}

.cta__copy {
  max-width: 980px;
}

.cta .section-heading__eyebrow {
  margin-bottom: 28px;
}

.cta h2 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(3rem, 6.5vw, 6.6rem);
  line-height: .96;
  letter-spacing: -.055em;
}

.cta__text {
  max-width: 720px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, .66);
  font-size: clamp(1rem, 1.4vw, 1.17rem);
  line-height: 1.75;
}

.cta .button {
  flex-shrink: 0;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .cta__inner {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .cta .button {
    justify-self: start;
  }
}

@media (max-width: 700px) {
  .cta {
    padding: 85px 0;
  }

  .cta h2 {
    font-size: clamp(2.8rem, 13vw, 4.5rem);
    line-height: .98;
  }

  .cta__text {
    margin-top: 24px;
  }

  .cta .button {
    width: 100%;
    white-space: normal;
  }
}

/* END CTA ENHANCED SECTION */


/* MOBILE PROJECT AND MENU FIX */

@media (max-width: 900px) {

  /* Selected project image */

  .project-feature {
    gap: 36px;
  }

  .project-feature__media {
    width: min(100%, 520px);
    margin: 8px auto 0;
    border-radius: 12px;
  }

  .project-feature__image {
    display: block;
    width: 100%;
    height: auto !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: center;
  }

  /* Mobile menu */

  body.menu-open .site-header,
  body.menu-open .site-header.site-header--scrolled {
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: none;
  }

  .site-header__inner {
    position: relative;
  }

  .brand {
    position: relative;
    z-index: 1003;
  }

  .menu-toggle {
    position: relative;
    z-index: 1004;
  }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: auto;
    left: 0;

    width: 100vw;
    height: 100dvh;
    min-height: 100svh;

    padding:
      calc(var(--header-height) + 64px)
      max(24px, env(safe-area-inset-right))
      max(40px, env(safe-area-inset-bottom))
      max(24px, env(safe-area-inset-left));

    overflow-y: auto;
    overscroll-behavior: contain;

    background: #111312;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate3d(100%, 0, 0);

    transition:
      transform .35s cubic-bezier(.22, 1, .36, 1),
      opacity .2s ease,
      visibility 0s linear .35s;
  }

  .site-nav--open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate3d(0, 0, 0);
    transition-delay: 0s;
  }

  /* Hamburger to X */

  .menu-toggle[aria-expanded="true"] > span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] > span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] > span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

@media (max-width: 700px) {

  .project-feature__media {
    width: min(92vw, 480px);
  }

  .project-feature__copy h2 {
    font-size: clamp(2.7rem, 12vw, 4rem);
  }
}

/* END MOBILE PROJECT AND MENU FIX */


/* PROJECTS BEFORE AFTER PAGE */

.projects-hero {
  position: relative;
  overflow: hidden;
  padding:
    clamp(110px, 15vw, 190px)
    0
    clamp(80px, 10vw, 130px);
  color: var(--white);
  background:
    radial-gradient(
      circle at 88% 10%,
      rgba(138, 90, 68, .2),
      transparent 30%
    ),
    var(--ink);
}

.projects-hero__inner {
  max-width: 1180px;
}

.projects-hero h1 {
  max-width: 1000px;
  margin: 0;
  font-size: clamp(4rem, 9vw, 8.5rem);
  line-height: .88;
  letter-spacing: -.065em;
}

.projects-hero__description {
  max-width: 720px;
  margin: 36px 0 0;
  color: rgba(255, 255, 255, .68);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.8;
}

.projects-list {
  background: #efede7;
}

.transformation {
  padding: clamp(85px, 11vw, 150px) 0;
  border-bottom: 1px solid var(--line);
}

.transformation:nth-child(even) {
  background: rgba(255, 255, 255, .38);
}

.transformation__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 30px;
  margin-bottom: clamp(38px, 6vw, 70px);
}

.transformation__header h2 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(2.8rem, 6vw, 6rem);
  line-height: .95;
  letter-spacing: -.055em;
}

.transformation__location {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.before-after {
  --position: 50%;

  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #141615;
  border-radius: 16px;
  box-shadow: 0 30px 90px rgba(17, 19, 18, .14);
  isolation: isolate;
}

.before-after__image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  user-select: none;
  pointer-events: none;
}

.before-after__image--before {
  z-index: 2;
  clip-path:
    inset(
      0
      calc(100% - var(--position))
      0
      0
    );
}

.before-after__label {
  position: absolute;
  top: 20px;
  z-index: 5;
  padding: 9px 13px;
  color: var(--white);
  background: rgba(12, 14, 13, .72);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  pointer-events: none;
}

.before-after__label--before {
  left: 20px;
}

.before-after__label--after {
  right: 20px;
}

.before-after__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--position);
  z-index: 4;
  width: 3px;
  background: rgba(255, 255, 255, .95);
  transform: translateX(-50%);
  pointer-events: none;
}

.before-after__handle span {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  color: var(--ink);
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .26);
  transform: translate(-50%, -50%);
  font-size: 1.25rem;
  font-weight: 700;
}

.before-after__range {
  position: absolute;
  inset: 0;
  z-index: 6;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}

.before-after__range:focus-visible
  + .before-after__handle {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.transformation__description {
  display: flex;
  justify-content: flex-end;
  margin-top: 35px;
}

.transformation__description p {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  line-height: 1.85;
}

.project-video-section {
  margin-top: clamp(75px, 10vw, 130px);
}

.project-video-section__heading {
  margin-bottom: 35px;
}

.project-video-section__heading h3 {
  max-width: 750px;
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1;
}

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

.project-video-grid--single {
  grid-template-columns: minmax(0, 820px);
}

.project-video-card {
  margin: 0;
}

.project-video-card video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #111312;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(17, 19, 18, .12);
}

.project-video-card figcaption {
  padding-top: 14px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.projects-empty {
  max-width: 900px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.projects-empty h2 {
  margin-bottom: 28px;
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: .95;
}

.projects-empty > p:last-child {
  max-width: 650px;
  color: var(--muted);
  line-height: 1.8;
}

.projects-cta {
  padding: clamp(80px, 10vw, 130px) 0;
  color: var(--white);
  background: #202421;
}

.projects-cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 50px;
}

.projects-cta h2 {
  margin: 0;
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: .95;
}

@media (max-width: 900px) {
  .transformation__header,
  .projects-cta__inner {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .transformation__location {
    margin: 0;
  }

  .project-video-grid {
    grid-template-columns: 1fr;
  }

  .projects-cta .button {
    justify-self: start;
  }
}

@media (max-width: 700px) {
  .projects-hero {
    padding: 115px 0 80px;
  }

  .projects-hero h1 {
    font-size: clamp(3.6rem, 17vw, 5.4rem);
    line-height: .9;
  }

  .projects-hero__description {
    margin-top: 28px;
  }

  .transformation {
    padding: 80px 0;
  }

  .transformation__header {
    margin-bottom: 32px;
  }

  .transformation__header h2 {
    font-size: clamp(2.7rem, 13vw, 4.2rem);
  }

  .before-after {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 10px;
  }

  .before-after__label {
    top: 12px;
    padding: 7px 10px;
    font-size: .62rem;
  }

  .before-after__label--before {
    left: 12px;
  }

  .before-after__label--after {
    right: 12px;
  }

  .before-after__handle span {
    width: 48px;
    height: 48px;
  }

  .transformation__description {
    justify-content: flex-start;
    margin-top: 25px;
  }

  .project-video-card video {
    aspect-ratio: 16 / 9;
  }

  .projects-cta .button {
    width: 100%;
  }
}

/* END PROJECTS BEFORE AFTER PAGE */


/* MISMATCHED BEFORE AFTER CARDS */

.before-after--cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas: "before after";
  gap: 18px;

  aspect-ratio: auto;
  overflow: visible;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.before-after--cards .before-after__image {
  position: relative;
  inset: auto;

  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;

  object-fit: contain;
  object-position: center;

  background: #181a19;
  border-radius: 14px;
  box-shadow: 0 22px 65px rgba(17, 19, 18, .14);
}

.before-after--cards
.before-after__image--before {
  grid-area: before;
  clip-path: none;
  z-index: 1;
}

.before-after--cards
.before-after__image:not(.before-after__image--before) {
  grid-area: after;
  z-index: 1;
}

.before-after--cards
.before-after__label {
  position: relative;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;

  align-self: start;
  z-index: 3;
  margin: 16px;
}

.before-after--cards
.before-after__label--before {
  grid-area: before;
  justify-self: start;
}

.before-after--cards
.before-after__label--after {
  grid-area: after;
  justify-self: end;
}

.before-after--cards
.before-after__handle,
.before-after--cards
.before-after__range {
  display: none;
}

@media (max-width: 700px) {
  .before-after--cards {
    grid-template-columns: 1fr;
    grid-template-areas:
      "before"
      "after";
    gap: 16px;
  }

  .before-after--cards .before-after__image {
    border-radius: 10px;
  }

  .before-after--cards
  .before-after__label {
    margin: 12px;
  }
}

/* END MISMATCHED BEFORE AFTER CARDS */


/* CENTER PROJECT DESCRIPTION */

.transformation__description {
  display: flex;
  justify-content: center;
  margin-top: 42px;
  padding: 0 20px;
  text-align: center;
}

.transformation__description p {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  line-height: 1.8;
}

@media (max-width: 700px) {
  .transformation__description {
    justify-content: center;
    margin-top: 28px;
    padding: 0 8px;
    text-align: center;
  }
}

/* END CENTER PROJECT DESCRIPTION */


/* PROJECT VIDEOS SHOWCASE */

.project-videos-showcase {
  padding: clamp(90px, 12vw, 160px) 0;
  color: var(--white);
  background: #171a18;
}

.project-videos-showcase__heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  gap: 35px 80px;
  align-items: end;
  margin-bottom: clamp(50px, 8vw, 90px);
}

.project-videos-showcase__heading
.section-heading__eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.project-videos-showcase__heading h2 {
  margin: 0;
  font-size: clamp(3.2rem, 7vw, 7rem);
  line-height: .91;
  letter-spacing: -.06em;
}

.project-videos-showcase__heading > p:last-child {
  max-width: 560px;
  margin: 0 0 8px;
  color: rgba(255, 255, 255, .62);
  line-height: 1.8;
}

.project-videos-showcase__grid {
  display: grid;
  grid-template-columns:
    minmax(230px, .72fr)
    repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.work-video {
  overflow: hidden;
  background: #202421;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 15px;
  transition:
    transform .4s cubic-bezier(.22, 1, .36, 1),
    border-color .4s ease;
}

.work-video:hover {
  transform: translateY(-7px);
  border-color: rgba(255, 255, 255, .2);
}

.work-video__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0e100f;
}

.work-video--portrait .work-video__media {
  aspect-ratio: 9 / 16;
}

.work-video__media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0e100f;
}

.work-video__copy {
  padding: 26px 25px 30px;
}

.work-video__copy > span {
  display: block;
  margin-bottom: 15px;
  color: var(--accent);
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
}

.work-video__copy h3 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.08;
}

.work-video__copy p {
  margin: 0;
  color: rgba(255, 255, 255, .57);
  line-height: 1.7;
}

@media (max-width: 1000px) {
  .project-videos-showcase__heading {
    grid-template-columns: 1fr;
  }

  .project-videos-showcase__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .work-video--portrait {
    grid-column: 1 / -1;
    width: min(100%, 430px);
    justify-self: center;
  }
}

@media (max-width: 700px) {
  .project-videos-showcase {
    padding: 85px 0;
  }

  .project-videos-showcase__heading {
    margin-bottom: 45px;
  }

  .project-videos-showcase__heading h2 {
    font-size: clamp(3.2rem, 15vw, 5rem);
  }

  .project-videos-showcase__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .work-video--portrait {
    grid-column: auto;
    width: min(100%, 390px);
  }

  .work-video:hover {
    transform: none;
  }
}

/* END PROJECT VIDEOS SHOWCASE */


/* GROUPED PROJECT VIDEOS */

.video-project-group {
  padding-top: clamp(45px, 6vw, 75px);
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.video-project-group + .video-project-group {
  margin-top: clamp(80px, 11vw, 145px);
}

.video-project-group__heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
  gap: 30px 70px;
  align-items: end;
  margin-bottom: 42px;
}

.video-project-group__heading span {
  display: block;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
}

.video-project-group__heading h3 {
  margin: 0;
  color: var(--white);
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: .95;
  letter-spacing: -.05em;
}

.video-project-group__heading p {
  max-width: 520px;
  margin: 0 0 5px;
  color: rgba(255, 255, 255, .6);
  line-height: 1.8;
}

.project-videos-pair {
  display: grid;
  grid-template-columns:
    minmax(280px, .72fr)
    minmax(0, 1.28fr);
  gap: 20px;
  align-items: stretch;
}

.project-videos-pair .work-video {
  display: flex;
  flex-direction: column;
}

.project-videos-pair .work-video__media {
  height: clamp(420px, 43vw, 620px);
  aspect-ratio: auto;
}

.project-videos-pair .work-video__copy {
  flex: 1;
}

.work-video--wide {
  width: min(100%, 980px);
}

.work-video--wide .work-video__media {
  aspect-ratio: 16 / 9;
}

.video-project-group--separate
.work-video--wide {
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 900px) {
  .video-project-group__heading {
    grid-template-columns: 1fr;
  }

  .project-videos-pair {
    grid-template-columns: 1fr;
  }

  .project-videos-pair .work-video {
    width: 100%;
  }

  .project-videos-pair
  .work-video__media {
    height: auto;
  }

  .project-videos-pair
  .work-video--portrait {
    width: min(100%, 430px);
    justify-self: center;
  }

  .project-videos-pair
  .work-video--portrait
  .work-video__media {
    aspect-ratio: 9 / 16;
  }

  .project-videos-pair
  .work-video:not(.work-video--portrait)
  .work-video__media {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 700px) {
  .video-project-group + .video-project-group {
    margin-top: 90px;
  }

  .video-project-group__heading {
    margin-bottom: 30px;
  }

  .video-project-group__heading h3 {
    font-size: clamp(2.6rem, 12vw, 4rem);
  }
}

/* END GROUPED PROJECT VIDEOS */


/* ACROSS OUR PROJECTS GALLERY */

.across-projects {
  padding: clamp(90px, 12vw, 165px) 0;
  color: var(--ink);
  background: #efede7;
}

.across-projects__heading {
  display: grid;
  grid-template-columns:
    minmax(0, 1.25fr)
    minmax(280px, .75fr);
  gap: 40px 80px;
  align-items: end;
  margin-bottom: clamp(55px, 8vw, 95px);
}

.across-projects__heading h2 {
  max-width: 950px;
  margin: 0;
  font-size: clamp(3rem, 6.5vw, 6.5rem);
  line-height: .93;
  letter-spacing: -.058em;
}

.across-projects__heading > p {
  max-width: 520px;
  margin: 0 0 8px;
  color: var(--muted);
  line-height: 1.8;
}

.across-projects__gallery {
  columns: 2;
  column-gap: 22px;
}

.across-projects__item {
  display: inline-block;
  width: 100%;
  margin: 0 0 22px;
  break-inside: avoid;
}

.across-projects__media {
  position: relative;
  overflow: hidden;
  background: #d5d2cb;
  border-radius: 14px;
  box-shadow: 0 24px 65px rgba(17, 19, 18, .1);
}

.across-projects__media img {
  display: block;
  width: 100%;
  height: auto;
  transition:
    transform .9s cubic-bezier(.22, 1, .36, 1),
    filter .5s ease;
}

.across-projects__media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 40%;
  background:
    linear-gradient(
      to top,
      rgba(11, 13, 12, .74),
      transparent
    );
  pointer-events: none;
}

.across-projects__media figcaption {
  position: absolute;
  right: 22px;
  bottom: 20px;
  left: 22px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-size: .76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .11em;
}

.across-projects__media figcaption span {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .44);
  border-radius: 50%;
  font-size: .65rem;
}

.across-projects__item:hover
.across-projects__media img {
  transform: scale(1.025);
  filter: brightness(.96);
}

@media (max-width: 900px) {
  .across-projects__heading {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .across-projects {
    padding: 85px 0;
  }

  .across-projects__heading {
    margin-bottom: 45px;
  }

  .across-projects__heading h2 {
    font-size: clamp(2.9rem, 13.5vw, 4.5rem);
  }

  .across-projects__gallery {
    columns: 1;
  }

  .across-projects__item {
    margin-bottom: 16px;
  }

  .across-projects__media {
    border-radius: 10px;
  }

  .across-projects__media figcaption {
    right: 16px;
    bottom: 15px;
    left: 16px;
  }

  .across-projects__item:hover
  .across-projects__media img {
    transform: none;
    filter: none;
  }
}

/* END ACROSS OUR PROJECTS GALLERY */


/* GLOBAL RESPONSIVE TYPOGRAPHY FIX */

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

img,
video,
svg {
  max-width: 100%;
}

/*
 * Permette agli elementi contenuti nelle grid di restringersi
 * senza allargare la pagina.
 */

.hero__content,
.section-heading,
.project-feature__copy,
.transformation__header > *,
.projects-hero__inner,
.project-videos-showcase__heading > *,
.video-project-group__heading > *,
.across-projects__heading > *,
.selected-work__heading > *,
.cta__inner > *,
.projects-cta__inner > *,
.work-video__copy {
  min-width: 0;
}

/*
 * I titoli possono andare a capo senza uscire dal contenitore.
 */

h1,
h2,
h3,
.hero__title,
.hero__subtitle,
.projects-hero h1,
.transformation__header h2,
.project-videos-showcase__heading h2,
.video-project-group__heading h3,
.across-projects__heading h2,
.selected-work__heading h2,
.cta h2,
.projects-cta h2 {
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}

/*
 * Evita che lettere molto ravvicinate escano visivamente
 * dal lato destro del contenitore.
 */

.hero__title,
.projects-hero h1,
.transformation__header h2,
.project-videos-showcase__heading h2,
.video-project-group__heading h3,
.across-projects__heading h2,
.selected-work__heading h2,
.cta h2,
.projects-cta h2 {
  padding-right: .04em;
}

/* Tablet */

@media (max-width: 900px) {

  .projects-hero h1,
  .project-videos-showcase__heading h2,
  .across-projects__heading h2,
  .selected-work__heading h2,
  .cta h2,
  .projects-cta h2 {
    font-size: clamp(2.8rem, 10vw, 5.2rem);
    line-height: .96;
    letter-spacing: -.045em;
  }

  .transformation__header h2,
  .video-project-group__heading h3 {
    font-size: clamp(2.5rem, 9vw, 4.5rem);
    line-height: .98;
    letter-spacing: -.04em;
  }
}

/* Mobile */

@media (max-width: 700px) {

  .container {
    width: 100%;
    padding-left: max(20px, env(safe-area-inset-left));
    padding-right: max(20px, env(safe-area-inset-right));
  }

  .hero__title {
    font-size: clamp(2.8rem, 12vw, 4.4rem);
    line-height: .94;
    letter-spacing: -.045em;
  }

  .hero__subtitle {
    font-size: clamp(1.45rem, 6.5vw, 2.2rem);
    line-height: 1.08;
    letter-spacing: -.025em;
  }

  .projects-hero h1 {
    font-size: clamp(3rem, 13vw, 4.6rem);
    line-height: .92;
  }

  .transformation__header h2,
  .project-videos-showcase__heading h2,
  .video-project-group__heading h3,
  .across-projects__heading h2,
  .selected-work__heading h2,
  .cta h2,
  .projects-cta h2 {
    font-size: clamp(2.45rem, 10.5vw, 3.9rem);
    line-height: .98;
    letter-spacing: -.04em;
  }

  .promise-card h3,
  .work-video__copy h3,
  .selected-work__item figcaption h3 {
    font-size: clamp(1.25rem, 6vw, 1.7rem);
    overflow-wrap: break-word;
  }

  .button {
    max-width: 100%;
    white-space: normal;
    text-align: center;
    overflow-wrap: break-word;
  }

  .brand {
    min-width: 0;
    max-width: calc(100vw - 95px);
  }

  .brand span,
  .brand__text {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .site-nav a {
    max-width: 100%;
    overflow-wrap: break-word;
  }
}

/* Telefoni molto stretti */

@media (max-width: 390px) {

  .container {
    padding-left: 17px;
    padding-right: 17px;
  }

  .hero__title {
    font-size: clamp(2.55rem, 11.5vw, 3.5rem);
  }

  .projects-hero h1,
  .transformation__header h2,
  .project-videos-showcase__heading h2,
  .video-project-group__heading h3,
  .across-projects__heading h2,
  .selected-work__heading h2,
  .cta h2,
  .projects-cta h2 {
    font-size: clamp(2.25rem, 10vw, 3.2rem);
    letter-spacing: -.035em;
  }
}

/* END GLOBAL RESPONSIVE TYPOGRAPHY FIX */


/* HOME HERO CINEMATIC */

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #151816;
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter:
    brightness(1.1)
    contrast(1.02)
    saturate(.96);
  transform: scale(1.09);
  animation:
    heroImageOpen
    1.8s
    cubic-bezier(.22, 1, .36, 1)
    forwards;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      180deg,
      rgba(8, 10, 9, .30) 0%,
      rgba(8, 10, 9, .08) 40%,
      rgba(8, 10, 9, .46) 100%
    ),
    linear-gradient(
      90deg,
      rgba(8, 10, 9, .14) 0%,
      transparent 42%,
      rgba(8, 10, 9, .10) 100%
    );
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  width: 100%;
  max-width: 1120px;
  min-height: 100svh;
  padding-top:
    calc(var(--header-height, 72px) + 55px);
  padding-bottom: 65px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero__title {
  max-width: 1050px;
  margin: 0 0 20px;
  padding: 0 .03em;
  color: #fff;
  font-size: clamp(3.7rem, 8.5vw, 8rem);
  line-height: .89;
  letter-spacing: -.065em;
  text-shadow:
    0 8px 35px rgba(0, 0, 0, .28);
}

.hero__subtitle {
  max-width: 900px;
  margin: 0 0 25px;
  color: rgba(255, 255, 255, .92);
  font-size: clamp(1.65rem, 3.4vw, 3.4rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -.04em;
  text-shadow:
    0 5px 25px rgba(0, 0, 0, .25);
}

.hero__subtitle span {
  color: transparent;
  background:
    linear-gradient(
      90deg,
      #ffffff 0%,
      #d8d8d2 100%
    );
  background-clip: text;
  -webkit-background-clip: text;
}

.hero__description {
  max-width: 780px;
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.75;
  text-shadow:
    0 4px 20px rgba(0, 0, 0, .3);
}

.hero__actions {
  display: flex;
  margin-top: 34px;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* Entrata progressiva dei testi */

.hero .reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  animation:
    heroTextIn
    .8s
    cubic-bezier(.22, 1, .36, 1)
    forwards;
  animation-delay: .35s;
}

.hero .reveal--delay-1 {
  animation-delay: .62s;
}

.hero .reveal--delay-2 {
  animation-delay: .89s;
}

.hero .reveal--delay-3 {
  animation-delay: 1.16s;
}

@keyframes heroImageOpen {
  0% {
    opacity: .4;
    transform: scale(1.09);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes heroTextIn {
  0% {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* Tablet */

@media (max-width: 900px) {
  .hero__content {
    max-width: 780px;
    padding-top:
      calc(var(--header-height, 64px) + 45px);
    padding-bottom: 55px;
  }

  .hero__title {
    font-size: clamp(3.2rem, 11vw, 6rem);
  }

  .hero__subtitle {
    font-size: clamp(1.55rem, 5.4vw, 2.8rem);
  }
}

/* Mobile */

@media (max-width: 700px) {
  .hero {
    min-height: 100svh;
  }

  .hero__image {
    object-position: center;
    filter:
      brightness(1.07)
      contrast(1.02)
      saturate(.96);
  }

  .hero__overlay {
    background:
      linear-gradient(
        180deg,
        rgba(8, 10, 9, .24) 0%,
        rgba(8, 10, 9, .10) 32%,
        rgba(8, 10, 9, .58) 100%
      );
  }

  .hero__content {
    width: 100%;
    min-height: 100svh;
    padding:
      calc(var(--header-height, 62px) + 34px)
      20px
      42px;
  }

  .hero__title {
    margin-bottom: 15px;
    font-size: clamp(2.75rem, 13vw, 4.4rem);
    line-height: .92;
    letter-spacing: -.052em;
  }

  .hero__subtitle {
    margin-bottom: 19px;
    font-size: clamp(1.35rem, 6.5vw, 2.05rem);
    line-height: 1.07;
    letter-spacing: -.03em;
  }

  .hero__description {
    max-width: 560px;
    font-size: .96rem;
    line-height: 1.65;
  }

  .hero__actions {
    width: 100%;
    margin-top: 27px;
    gap: 10px;
  }

  .hero__actions .button {
    min-width: 145px;
    padding-right: 20px;
    padding-left: 20px;
  }
}

/* Telefoni molto stretti */

@media (max-width: 390px) {
  .hero__content {
    padding-right: 17px;
    padding-left: 17px;
  }

  .hero__title {
    font-size: clamp(2.55rem, 12vw, 3.5rem);
  }

  .hero__subtitle {
    font-size: clamp(1.25rem, 6vw, 1.75rem);
  }

  .hero__actions .button {
    width: 100%;
  }
}

/* Telefoni bassi */

@media
  (max-width: 700px)
  and (max-height: 720px) {

  .hero__content {
    padding-top:
      calc(var(--header-height, 62px) + 22px);
    padding-bottom: 26px;
  }

  .hero__title {
    font-size: clamp(2.45rem, 11vw, 3.4rem);
  }

  .hero__subtitle {
    margin-bottom: 14px;
    font-size: clamp(1.2rem, 5.5vw, 1.65rem);
  }

  .hero__description {
    font-size: .88rem;
    line-height: 1.5;
  }

  .hero__actions {
    margin-top: 20px;
  }
}

/* Accessibilità */

@media (prefers-reduced-motion: reduce) {
  .hero__image,
  .hero .reveal {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* END HOME HERO CINEMATIC */


/* CONTACT PAGE ENHANCED */

.contact-hero {
  padding-bottom: clamp(70px, 9vw, 115px);
}

.contact-hero h1 {
  max-width: 950px;
}

.contact-introduction {
  padding: clamp(85px, 11vw, 145px) 0;
  color: var(--white);
  background: #1b1e1c;
}

.contact-introduction__layout {
  display: grid;
  grid-template-columns:
    minmax(0, 1.15fr)
    minmax(350px, .85fr);
  gap: clamp(55px, 9vw, 130px);
  align-items: start;
}

.contact-introduction__copy {
  min-width: 0;
  max-width: 850px;
}

.contact-introduction__copy h2 {
  max-width: 800px;
  margin: 0 0 32px;
  color: var(--white);
  font-size: clamp(3rem, 6.5vw, 6.3rem);
  line-height: .94;
  letter-spacing: -.058em;
}

.contact-introduction__copy > p:last-child {
  max-width: 690px;
  margin: 0;
  color: rgba(255, 255, 255, .65);
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  line-height: 1.85;
}

.contact-phone-card {
  min-width: 0;
  padding: clamp(30px, 4vw, 48px);
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 16px;
}

.contact-phone-card__eyebrow {
  margin: 0 0 24px;
  color: var(--accent);
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .15em;
}

.contact-phone-card h2 {
  margin: 0 0 38px;
  color: var(--white);
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  line-height: 1;
  letter-spacing: -.045em;
}

.contact-phone-list {
  border-top: 1px solid rgba(255, 255, 255, .13);
}

.contact-phone {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 20px;
  align-items: center;
  padding: 24px 0;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, .13);
  text-decoration: none;
  transition:
    color .25s ease,
    padding-left .35s cubic-bezier(.22, 1, .36, 1);
}

.contact-phone:hover {
  padding-left: 8px;
  color: var(--accent);
}

.contact-phone__language {
  grid-column: 1;
  color: rgba(255, 255, 255, .5);
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
}

.contact-phone strong {
  grid-column: 1;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  font-weight: 600;
  letter-spacing: -.025em;
}

.contact-phone__arrow {
  grid-column: 2;
  grid-row: 1 / 3;
  font-size: 1.35rem;
}

.contact-form-section {
  padding-top: clamp(90px, 12vw, 155px);
  padding-bottom: clamp(90px, 12vw, 155px);
}

.contact-layout {
  display: grid;
  grid-template-columns:
    minmax(280px, .75fr)
    minmax(0, 1.25fr);
  gap: clamp(55px, 9vw, 130px);
  align-items: start;
}

.contact-form-heading {
  min-width: 0;
  position: sticky;
  top: calc(var(--header-height, 72px) + 40px);
}

.contact-form-heading h2 {
  max-width: 610px;
  margin: 0 0 27px;
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  line-height: .96;
  letter-spacing: -.052em;
}

.contact-form-heading > p:last-child {
  max-width: 470px;
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.contact-form-wrapper {
  min-width: 0;
}

.contact-form {
  padding: clamp(28px, 4vw, 48px);
  background: rgba(255, 255, 255, .65);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 24px 70px rgba(17, 19, 18, .07);
}

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

.contact-form textarea::placeholder {
  color: rgba(17, 19, 18, .42);
}

.contact-form .button {
  margin-top: 8px;
}

@media (max-width: 950px) {
  .contact-introduction__layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-phone-card {
    width: min(100%, 680px);
  }

  .contact-form-heading {
    position: static;
  }
}

@media (max-width: 700px) {
  .contact-introduction {
    padding: 80px 0;
  }

  .contact-introduction__copy h2 {
    font-size: clamp(2.7rem, 12vw, 4rem);
    line-height: .97;
  }

  .contact-phone-card {
    padding: 27px 22px;
    border-radius: 12px;
  }

  .contact-phone-card h2 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .contact-phone {
    padding: 21px 0;
  }

  .contact-phone strong {
    font-size: clamp(1.12rem, 5.5vw, 1.55rem);
    overflow-wrap: anywhere;
  }

  .contact-form-heading h2 {
    font-size: clamp(2.7rem, 12vw, 4rem);
  }

  .contact-form {
    padding: 25px 20px;
    border-radius: 12px;
  }

  .contact-form .button {
    width: 100%;
  }
}

/* END CONTACT PAGE ENHANCED */


/* ABOUT PAGE COMPLETE */

.about-hero {
  position: relative;
  display: flex;
  min-height: min(820px, 92svh);
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
  background: #151816;
}

.about-hero__image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(.84) saturate(.9);
  transform: scale(1.02);
}

.about-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      rgba(10, 12, 11, .8) 0%,
      rgba(10, 12, 11, .44) 48%,
      rgba(10, 12, 11, .12) 100%
    ),
    linear-gradient(
      0deg,
      rgba(10, 12, 11, .7) 0%,
      transparent 58%
    );
}

.about-hero__content {
  width: 100%;
  padding-top: 150px;
  padding-bottom: clamp(70px, 10vw, 125px);
}

.about-hero h1 {
  max-width: 1050px;
  margin: 0;
  color: var(--white);
  font-size: clamp(3.7rem, 8vw, 8rem);
  line-height: .9;
  letter-spacing: -.065em;
}

.about-hero__content > p:last-child {
  max-width: 660px;
  margin: 32px 0 0;
  color: rgba(255, 255, 255, .72);
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  line-height: 1.8;
}

.about-introduction {
  padding: clamp(90px, 12vw, 165px) 0;
  color: var(--ink);
  background: #efede7;
}

.about-introduction__layout {
  display: grid;
  grid-template-columns: minmax(180px, .35fr) minmax(0, 1fr);
  gap: clamp(45px, 9vw, 140px);
  align-items: start;
}

.about-introduction__year {
  display: flex;
  flex-direction: column;
  padding-top: 9px;
}

.about-introduction__year span {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .15em;
}

.about-introduction__year strong {
  font-size: clamp(4rem, 8vw, 8rem);
  font-weight: 500;
  line-height: .9;
  letter-spacing: -.065em;
}

.about-introduction__copy {
  min-width: 0;
  max-width: 930px;
}

.about-introduction__copy h2 {
  max-width: 900px;
  margin: 0 0 38px;
  font-size: clamp(3rem, 6.5vw, 6.4rem);
  line-height: .94;
  letter-spacing: -.06em;
}

.about-introduction__copy > p:not(.section-heading__eyebrow) {
  max-width: 750px;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.85;
}

.about-introduction__copy > p + p {
  margin-top: 20px;
}

.about-process {
  padding: clamp(90px, 12vw, 165px) 0;
  color: var(--white);
  background: #181b19;
}

.about-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  gap: 40px 80px;
  align-items: end;
  margin-bottom: clamp(55px, 8vw, 95px);
}

.about-section-heading > div {
  min-width: 0;
}

.about-section-heading h2 {
  max-width: 930px;
  margin: 0;
  color: var(--white);
  font-size: clamp(3rem, 6.5vw, 6.3rem);
  line-height: .94;
  letter-spacing: -.06em;
}

.about-section-heading > p {
  max-width: 520px;
  margin: 0 0 8px;
  color: rgba(255, 255, 255, .6);
  line-height: 1.8;
}

.about-process__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, .13);
}

.about-process__step {
  min-width: 0;
  min-height: 310px;
  padding: 30px 27px;
  border-right: 1px solid rgba(255, 255, 255, .13);
  border-bottom: 1px solid rgba(255, 255, 255, .13);
}

.about-process__step:first-child {
  border-left: 1px solid rgba(255, 255, 255, .13);
}

.about-process__step > span {
  display: block;
  margin-bottom: 85px;
  color: var(--accent);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
}

.about-process__step h3 {
  margin: 0 0 17px;
  color: var(--white);
  font-size: clamp(1.5rem, 2vw, 2rem);
}

.about-process__step p {
  margin: 0;
  color: rgba(255, 255, 255, .56);
  line-height: 1.75;
}

.about-values {
  padding: clamp(90px, 12vw, 165px) 0;
  color: var(--ink);
  background: #f7f5ef;
}

.about-values__heading {
  max-width: 950px;
  margin-bottom: clamp(50px, 8vw, 90px);
}

.about-values__heading h2 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(3rem, 6.5vw, 6.3rem);
  line-height: .94;
  letter-spacing: -.06em;
}

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

.about-value {
  min-width: 0;
  min-height: 260px;
  padding: 32px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.about-value > span {
  display: block;
  width: 42px;
  height: 3px;
  margin-bottom: 68px;
  background: var(--accent);
}

.about-value h3 {
  margin: 0 0 14px;
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  line-height: 1.05;
}

.about-value p {
  max-width: 470px;
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.about-cta {
  padding: clamp(90px, 11vw, 145px) 0;
  color: var(--white);
  background: #202421;
}

.about-cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 55px;
  align-items: end;
}

.about-cta__inner > div {
  min-width: 0;
}

.about-cta h2 {
  max-width: 930px;
  margin: 0;
  color: var(--white);
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: .94;
  letter-spacing: -.058em;
}

.about-cta__inner > div > p:last-child {
  max-width: 590px;
  margin: 27px 0 0;
  color: rgba(255, 255, 255, .62);
  line-height: 1.8;
}

@media (max-width: 1000px) {
  .about-section-heading,
  .about-cta__inner {
    grid-template-columns: 1fr;
  }

  .about-process__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-process__step:nth-child(3) {
    border-left: 1px solid rgba(255, 255, 255, .13);
  }

  .about-cta .button {
    justify-self: start;
  }
}

@media (max-width: 750px) {
  .about-hero {
    min-height: 85svh;
  }

  .about-hero__overlay {
    background:
      linear-gradient(
        0deg,
        rgba(10, 12, 11, .82) 0%,
        rgba(10, 12, 11, .34) 72%,
        rgba(10, 12, 11, .2) 100%
      );
  }

  .about-hero__content {
    padding-top: 125px;
    padding-bottom: 55px;
  }

  .about-hero h1 {
    font-size: clamp(3rem, 13vw, 4.8rem);
    line-height: .92;
  }

  .about-introduction__layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .about-introduction__year {
    flex-direction: row;
    align-items: baseline;
    gap: 14px;
  }

  .about-introduction__year strong {
    font-size: clamp(4rem, 18vw, 6rem);
  }

  .about-introduction__copy h2,
  .about-section-heading h2,
  .about-values__heading h2,
  .about-cta h2 {
    font-size: clamp(2.7rem, 11vw, 4rem);
    line-height: .98;
    overflow-wrap: break-word;
  }

  .about-process__grid,
  .about-values__grid {
    grid-template-columns: 1fr;
  }

  .about-process__step,
  .about-process__step:first-child,
  .about-process__step:nth-child(3) {
    min-height: auto;
    border-left: 1px solid rgba(255, 255, 255, .13);
  }

  .about-process__step > span {
    margin-bottom: 45px;
  }

  .about-value {
    min-height: 230px;
    padding: 27px 23px;
  }

  .about-value > span {
    margin-bottom: 48px;
  }

  .about-cta .button {
    width: 100%;
  }
}

/* END ABOUT PAGE COMPLETE */


/* LANGUAGE SWITCHER */

.language-switcher {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-left: 10px;
  padding-left: 14px;
  border-left: 1px solid rgba(255, 255, 255, .2);
}

.language-switcher__link {
  display: inline-flex;
  min-height: 38px;
  padding: 7px 9px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: rgba(255, 255, 255, .68);
  background: rgba(255, 255, 255, .04);
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  transition:
    color .25s ease,
    background .25s ease,
    border-color .25s ease,
    transform .25s ease;
}

.language-switcher__link:hover {
  color: #fff;
  background: rgba(255, 255, 255, .1);
  transform: translateY(-1px);
}

.language-switcher__link.is-active {
  color: #fff;
  background: rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .2);
}

.language-switcher__flag {
  display: block;
  width: 23px;
  height: 16px;
  object-fit: cover;
  border-radius: 3px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .16),
    0 3px 8px rgba(0, 0, 0, .2);
}

.language-switcher__code {
  font-size: .68rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .07em;
}

.language-switcher__name {
  display: none;
}

/* Mobile menu */

@media (max-width: 900px) {
  .language-switcher {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 30px 0 0;
    padding: 24px 0 0;
    border-top: 1px solid rgba(255, 255, 255, .15);
    border-left: 0;
  }

  .language-switcher__link {
    display: grid;
    min-width: 0;
    min-height: 86px;
    padding: 12px 7px 10px;
    grid-template-columns: 1fr;
    justify-items: center;
    align-content: center;
    gap: 5px;
    color: rgba(255, 255, 255, .74);
    background: rgba(255, 255, 255, .055);
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 12px;
    text-align: center;
  }

  .language-switcher__link.is-active {
    background: rgba(255, 255, 255, .16);
    border-color: rgba(255, 255, 255, .35);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05);
  }

  .language-switcher__flag {
    width: 31px;
    height: 21px;
    border-radius: 4px;
  }

  .language-switcher__code {
    font-size: .8rem;
  }

  .language-switcher__name {
    display: block;
    max-width: 100%;
    overflow: hidden;
    color: rgba(255, 255, 255, .58);
    font-size: .62rem;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

@media (max-width: 360px) {
  .language-switcher {
    gap: 7px;
  }

  .language-switcher__link {
    min-height: 80px;
    padding-right: 4px;
    padding-left: 4px;
  }

  .language-switcher__name {
    font-size: .57rem;
  }
}

/* END LANGUAGE SWITCHER */
