:root{
  --dna-bg: #e9e7e4;
  --dna-text: #1f1f1c;
  --dna-muted: rgba(31,31,28,.68);
  --dna-line: rgba(31,31,28,.35);
  --dna-pad-x: clamp(20px, 4vw, 64px);
  --dna-pad-y: clamp(28px, 4vw, 56px);
}

body{
  /*overflow-x: hidden;*/
}

.dna-sequence{
  position: relative;
  background: var(--dna-bg);
}

.dna-card{
  position: sticky;
  top: 0;
  min-height: 100svh;
  min-height: 100vh;
  background: var(--dna-bg);
  overflow: visible;
}

.dna-card:nth-child(1){ z-index: 1; }
.dna-card:nth-child(2){ z-index: 2; }
.dna-card:nth-child(3){ z-index: 3; }
.dna-card:nth-child(4){ z-index: 4; }
.dna-card:nth-child(5){ z-index: 5; }
.dna-card:nth-child(6){ z-index: 6; }
.dna-card:nth-child(7){ z-index: 7; }
.dna-card:nth-child(8){ z-index: 8; }
.dna-card:nth-child(9){ z-index: 9; }
.dna-card:nth-child(10){ z-index: 10; }

.dna-card__inner{
  min-height: 100svh;
  min-height: 100vh;
  padding: var(--dna-pad-y) var(--dna-pad-x);
  display: flex;
  align-items: center;
  overflow: visible;
}

.dna-card__inner--center{
  justify-content: center;
  text-align: center;
}

/* INTRO */
.dna-intro{
  max-width: 980px;
  margin: 0 auto;
}

.dna-intro__kicker{
  font-size: 17px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--dna-muted);
  margin-bottom: 34px;
}

.dna-intro__kicker::before,
.dna-intro__kicker::after{
  content: "";
  display: inline-block;
  width: 56px;
  height: 1px;
  background: currentColor;
  opacity: .45;
  vertical-align: middle;
  margin: 0 14px;
}

.dna-intro__title{
  margin: 0;
  font-family: var(--pgk-font-serif);
  font-size: clamp(28px, 3.1vw, 46px);
  line-height: 1.32;
  color: var(--dna-text);
  font-weight: 400;
}

/* CARD 1 e 3 : testo sinistra / immagine destra */
.dna-split{
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: stretch;
  min-height: calc(100svh - (var(--dna-pad-y) * 2));
  min-height: calc(100vh - (var(--dna-pad-y) * 2));
  overflow: visible;
}

.dna-split__text{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  z-index: 3;
  overflow: visible;
}

.dna-split__media{
  min-height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  z-index: 1;
}

.dna-split__box{
  position: relative;
  z-index: 4;
  background: var(--dna-bg);
  padding: clamp(32px, 5vw, 72px);
  width: calc(100% + 120px);
  max-width: 820px;
}

.dna-split__box--right{
  margin-right: -120px;
}

.dna-split__kicker{
  font-size: 12px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--dna-muted);
  margin-bottom: 18px;
}

.dna-split__title{
  margin: 0 0 22px 0;
  font-family: var(--pgk-font-serif);
  font-size: clamp(34px, 3.4vw, 56px);
  line-height: 1.04;
  letter-spacing: .02em;
  color: var(--dna-text);
  font-weight: 400;
}

.dna-split__excerpt{
  margin: 0;
  max-width: 46ch;
  font-size: 15px;
  line-height: 1.9;
  color: var(--dna-muted);
}
.dna-split__excerpt-room{
  margin: 0;
  max-width: 70ch;
  font-size: 19px;
  line-height: 1.9;
  color: var(--dna-muted);
}
/* CARD 2 e 4 : immagine grande sinistra / testo + thumb destra */
.dna-editorial{
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  min-height: calc(100svh - (var(--dna-pad-y) * 2));
  min-height: calc(100vh - (var(--dna-pad-y) * 2));
}

.dna-editorial__main{
  min-height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.dna-editorial__side{
  display: flex;
  background: var(--dna-bg);
}

.dna-editorial__inner{
  width: 100%;
  padding: clamp(32px, 5vw, 72px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
}

.dna-editorial__kicker{
  font-size: 12px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--dna-muted);
  margin-bottom: 18px;
}

.dna-editorial__title{
  margin: 0 0 22px 0;
  font-family: var(--pgk-font-serif);
  font-size: clamp(34px, 3.4vw, 56px);
  line-height: 1.04;
  letter-spacing: .02em;
  color: var(--dna-text);
  font-weight: 400;
}

.dna-editorial__excerpt{
  margin: 0;
  max-width: 46ch;
  font-size: 19px;
  line-height: 1.9;
  color: var(--dna-muted);
}

.dna-editorial__thumb{
  width: min(360px, 100%);
}

.dna-editorial__thumb img{
  display: block;
  width: 100%;
  height: auto;
}

/* LINK */
.dna-link{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 17px;
  color: var(--dna-text);
  border-bottom: 1px solid var(--dna-line);
  padding-bottom: 4px;
}

.dna-link:hover{
  opacity: .75;
  color: var(--dna-text);
  text-decoration: none;
}

/* TABLET */
@media (max-width: 1199.98px){
  .dna-split__box{
    width: calc(100% + 130px);
    max-width: 760px;
  }

  .dna-split__box--right{
    margin-right: -130px;
  }
}

/* MOBILE */
@media (max-width: 991.98px){
  .dna-sequence--room .dna-card{
    position: relative;
    top: auto;
    min-height: auto;
    height: auto;
    z-index: auto;
  }

  .dna-card__inner{
    min-height: auto;
    padding: 0;
    display: block;
  }

  .dna-card--intro .dna-card__inner{
    padding: 72px 20px 56px;
  }

  .dna-intro__kicker{
    margin-bottom: 20px;
  }

   /* spazio tra le card su mobile */
  .dna-card + .dna-card{
    margin-top: 40px;
  }

  .dna-split,
  .dna-editorial{
    display: block;
  }

  .dna-intro__kicker::before,
  .dna-intro__kicker::after{
    width: 30px;
    margin: 0 8px;
  }

  .dna-intro__title{
    font-size: clamp(24px, 7vw, 34px);
    line-height: 1.36;
  }

  .dna-split,
  .dna-editorial{
    display: block;
    min-height: auto;
  }

  .dna-split__media,
  .dna-editorial__main{
    min-height: 56vh;
  }

  .dna-split__box{
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 42px 20px 48px;
  }

  .dna-editorial__inner{
    padding: 42px 20px 48px;
  }

  .dna-split__title,
  .dna-editorial__title{
    font-size: clamp(28px, 8vw, 40px);
    margin-bottom: 18px;
  }

  .dna-split__excerpt,
  .dna-editorial__excerpt{
    max-width: none;
  }
  .dna-split__excerpt-room,
  .dna-editorial__excerpt{
    max-width: none;
  }

  .dna-editorial__thumb{
    display: none;
  }
}