/* ANIMA — Andrea Gentile / Valentina Bongiorno. Stili isolati della landing. */
:root {
  --black: #101010;
  --white: #f5f4f1;
  --muted: #b8b7b4;
  --red: #bd3327;
  --line: #353535;
  --serif: Didot, "Bodoni MT", "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
figure,
p,
h1,
h2 {
  margin: 0;
}
button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid #edb65e;
  outline-offset: 6px;
}
.skip {
  position: fixed;
  top: -100px;
  left: 20px;
  background: white;
  color: black;
  z-index: 100;
  padding: 15px;
}
.skip:focus {
  top: 10px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 0.19em;
  line-height: 1.6;
  font-weight: 500;
  text-transform: uppercase;
}
.nav {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 4.2%;
  border-bottom: 1px solid #ffffff38;
}
.brand {
  font-size: 22px;
  letter-spacing: -1px;
  line-height: 1;
  font-weight: 700;
  display: inline-flex;
  align-items: baseline;
}
.brand span {
  font-weight: 400;
}
.brand small {
  font-size: 8px;
  letter-spacing: 0.18em;
  margin-left: 18px;
  font-weight: 400;
}
.nav nav {
  display: flex;
  gap: 30px;
  align-items: center;
  font-size: 11px;
}
.nav-buy {
  border-bottom: 1px solid #ffffff80;
  padding-bottom: 6px;
}
.nav-buy span {
  margin-left: 20px;
}
.hero {
  position: relative;
  min-height: 850px;
  height: 96svh;
  max-height: 1150px;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 115px 4.2% 46px;
}
.hero-photo {
  position: absolute;
  inset: 0 0 0 auto;
  height: 100%;
  width: 77%;
  object-fit: cover;
  object-position: 72% 50%;
  z-index: -3;
}
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(
      90deg,
      #101010 0%,
      #101010d6 25%,
      #10101022 60%,
      #10101000 82%
    ),
    linear-gradient(0deg, #101010e8 0%, #10101000 35%);
}
.masthead p {
  font-size: 12px;
  letter-spacing: 0.26em;
  margin-left: 1.2%;
  margin-bottom: 5px;
}
.masthead h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(120px, 23.8vw, 390px);
  letter-spacing: -0.065em;
  line-height: 0.79;
  margin-left: -0.018em;
}
.hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px;
  margin-top: 60px;
}
.hero-copy {
  max-width: 520px;
}
.hero-copy .eyebrow {
  color: #dedbd7;
  margin-bottom: 22px;
}
.hero-copy h2 {
  font-family: var(--serif);
  font-size: clamp(30px, 3.2vw, 48px);
  font-weight: 400;
  line-height: 1.12;
  margin-bottom: 28px;
}
.button {
  min-height: 53px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 45px;
  padding: 17px 23px;
  font-size: 12px;
  letter-spacing: 0.025em;
  font-weight: 600;
  border: 1px solid transparent;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button:hover {
  transform: translateY(-2px);
}
.button-light {
  background: var(--white);
  color: var(--black);
}
.button-light:hover {
  background: #dedbd5;
}
.button-red {
  background: var(--red);
  color: #fff;
  width: 100%;
}
.button-red:hover {
  background: #9e281e;
}
.button[aria-disabled="true"] {
  background: #444;
  cursor: wait;
  pointer-events: none;
}
.text-link {
  display: block;
  margin-top: 18px;
  font-size: 10px;
  text-decoration: underline;
  text-underline-offset: 5px;
  background: none;
  border: 0;
  padding: 0;
}
.text-link span {
  margin-left: 12px;
}
.hero-signature {
  text-align: right;
  font-size: 10px;
  letter-spacing: 0.1em;
  line-height: 1.9;
}
.hero-signature p:first-child {
  letter-spacing: 0;
  color: #cecbc7;
  margin-bottom: 12px;
  font-family: var(--serif);
  font-size: 19px;
  font-style: italic;
}
.hero-signature small {
  font-size: 8px;
  letter-spacing: 0;
  color: #b6b3af;
  display: block;
  margin-top: 12px;
}
.numbers {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 25px 4.2%;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.numbers strong {
  font-weight: 400;
  font-size: 17px;
  margin-right: 7px;
  color: var(--white);
}
.section {
  padding: 100px 6.5%;
  scroll-margin-top: 30px;
}
.intro .section-index {
  margin-bottom: 42px;
  color: var(--muted);
}
.intro-body {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 10%;
}
.intro h2,
.section-heading h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 4.3vw, 65px);
  line-height: 1.04;
  letter-spacing: -0.035em;
}
.intro h2 em,
.section-heading h2 em {
  color: var(--muted);
  font-weight: 400;
}
.intro-text {
  font-size: 13px;
  line-height: 1.9;
  color: #cecdca;
  padding-top: 5px;
  max-width: 480px;
}
.intro-text p + p {
  margin-top: 20px;
}
.intro-text .signature {
  font-family: var(--serif);
  color: white;
  font-style: italic;
  font-size: 22px;
  margin-top: 30px;
}
.portrait-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  padding: 0 4.2%;
}
.portrait-pair figure:first-child {
  margin-top: 70px;
}
.portrait-pair figure:last-child {
  margin-bottom: 70px;
}
.portrait-pair img {
  width: 100%;
  aspect-ratio: 1.15;
  object-fit: cover;
}
.portrait-pair figcaption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 9px;
  line-height: 1.6;
  color: var(--muted);
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.portrait-pair figcaption span:first-child {
  max-width: 68%;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: flex-end;
  margin-bottom: 45px;
}
.section-heading .eyebrow {
  color: var(--muted);
  margin-bottom: 22px;
}
.section-heading > p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.9;
  flex-shrink: 0;
}
.chapter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px 23px;
}
.chapter {
  min-width: 0;
}
.chapter img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}
.chapter-bw img {
  object-position: center 30%;
}
.chapter figcaption {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-top: 13px;
}
.chapter figcaption span {
  font-family: var(--serif);
  font-size: 25px;
}
.chapter figcaption small {
  font-size: 8px;
  color: var(--muted);
}
.chapter-wide {
  grid-column: 1/-1;
}
.chapter-wide img {
  height: 450px;
  object-position: center 45%;
}
.preview {
  background: #e7e7e5;
  color: #171717;
}
.preview .section-heading .eyebrow,
.preview .section-heading em,
.preview .section-heading > p {
  color: #60605c;
}
.page-viewer {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 52px;
  gap: 28px;
  align-items: center;
}
.page-stage {
  display: flex;
  justify-content: center;
  padding: 30px;
  background: #d7d7d5;
  min-height: 500px;
}
.page-stage img {
  height: 600px;
  max-height: 75svh;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  box-shadow: 8px 16px 25px #00000022;
}
.page-arrow {
  border: 1px solid #aaa;
  background: transparent;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 22px;
  transition: background 0.2s;
}
.page-arrow:hover {
  background: #fff;
}
.preview-footer {
  display: flex;
  gap: 15px;
  justify-content: space-between;
  align-items: center;
  padding-top: 22px;
  font-size: 10px;
}
.preview-footer .text-link {
  margin: 0;
}
.preview-footer > p:nth-child(2) {
  color: #666;
}
.interlude {
  position: relative;
  isolation: isolate;
  height: 580px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
  padding: 50px 25px;
}
.interlude img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  object-position: center 50%;
}
.interlude:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #000c, #0000 80%);
  z-index: -1;
}
.interlude p {
  font-family: var(--serif);
  font-size: clamp(30px, 4.2vw, 62px);
  line-height: 1.06;
}
.interlude small {
  display: block;
  margin-top: 22px;
  font-size: 8px;
}
.purchase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12%;
  align-items: center;
  background: #f1f0ed;
  color: #151515;
}
.purchase-cover {
  padding: 0 20px;
}
.purchase-cover img {
  width: 100%;
  max-width: 410px;
  margin: auto;
  transform: rotate(-4deg);
  box-shadow: 16px 20px 35px #0004;
}
.purchase-cover span {
  display: block;
  text-align: center;
  font-size: 9px;
  letter-spacing: 0.2em;
  margin-top: 40px;
  color: #555;
}
.purchase-info {
  max-width: 460px;
}
.purchase-info > .eyebrow {
  color: #666;
  margin-bottom: 25px;
}
.purchase-info h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(68px, 8vw, 110px);
  letter-spacing: -0.06em;
  line-height: 0.9;
}
.purchase-subtitle {
  font-family: var(--serif);
  font-style: italic;
  font-size: 26px;
  margin-top: 10px;
}
.authors {
  font-size: 10px;
  margin: 18px 0 28px;
}
.purchase-info > p:not([class]) {
  font-size: 13px;
  color: #53534f;
  line-height: 1.8;
}
.includes {
  list-style: none;
  padding: 0;
  margin: 25px 0;
  font-size: 11px;
  line-height: 1.8;
}
.includes li {
  border-top: 1px solid #cecdc8;
  padding: 9px 0;
}
.includes li:before {
  content: "↗";
  margin-right: 14px;
  color: var(--red);
}
.price-area {
  border-top: 1px solid #cecdc8;
  padding: 20px 0;
}
.price-area .eyebrow {
  color: var(--red);
  font-weight: 700;
}
.price {
  font-family: var(--serif);
  font-size: 61px;
  letter-spacing: -0.045em;
  line-height: 1.2;
}
.price-area > p:last-child {
  font-size: 10px;
  line-height: 1.7;
  color: #5a5955;
}
.checkout-note {
  font-size: 9px;
  color: #666;
  margin-top: 13px;
  text-align: center;
  line-height: 1.6;
}
.help {
  font-size: 10px;
  margin-top: 24px;
  color: #666;
}
.help a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.faq {
  max-width: 1100px;
  margin: auto;
}
.faq > .eyebrow {
  color: var(--muted);
  margin-bottom: 18px;
}
.faq h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 46px;
  margin-bottom: 35px;
}
.faq details {
  border-top: 1px solid var(--line);
  padding: 22px 0;
}
.faq details:last-child {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  gap: 20px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary:after {
  content: "+";
  font-size: 20px;
  color: var(--muted);
}
.faq details[open] summary:after {
  content: "−";
}
.faq details p {
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
  max-width: 730px;
  padding-top: 17px;
}
.footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid var(--line);
  padding: 40px 4.2%;
  font-size: 9px;
  line-height: 1.8;
  color: var(--muted);
}
.footer .brand {
  color: white;
}
.footer > div {
  display: flex;
  gap: 20px;
}
.footer a:hover {
  text-decoration: underline;
}
dialog {
  border: 0;
  padding: 45px 20px 20px;
  background: #111;
  max-width: 95vw;
  max-height: 95svh;
  color: #fff;
}
dialog::backdrop {
  background: #000d;
}
dialog > button {
  position: absolute;
  top: 14px;
  right: 20px;
  background: none;
  border: 0;
  font-size: 12px;
}
dialog img {
  max-height: 82svh;
  width: auto;
  max-width: 85vw;
  object-fit: contain;
}
@media (min-width: 1600px) {
  .section {
    padding-left: max(6.5%, calc((100vw - 1400px) / 2));
    padding-right: max(6.5%, calc((100vw - 1400px) / 2));
  }
}
@media (max-width: 900px) {
  .hero {
    min-height: 730px;
    max-height: 950px;
  }
  .hero-photo {
    width: 100%;
    object-position: 68% center;
  }
  .hero-shade {
    background:
      linear-gradient(90deg, #101010bb, #10101000 80%),
      linear-gradient(0deg, #101010ee, #10101000 80%);
  }
  .hero-bottom {
    gap: 20px;
  }
  .hero-signature {
    max-width: 180px;
  }
  .intro-body {
    gap: 7%;
  }
  .section {
    padding: 75px 5%;
  }
  .chapter img {
    height: 200px;
  }
  .chapter figcaption span {
    font-size: 21px;
  }
  .chapter-wide img {
    height: 360px;
  }
  .section-heading > p {
    font-size: 10px;
  }
  .purchase {
    gap: 7%;
  }
  .purchase-cover {
    padding: 0 10px;
  }
  .footer > div {
    flex-direction: column;
    gap: 5px;
  }
}
@media (max-width: 600px) {
  .nav {
    padding: 22px 5%;
  }
  .nav nav {
    gap: 16px;
  }
  .nav nav > a:not(.nav-buy) {
    display: none;
  }
  .brand {
    font-size: 21px;
  }
  .brand small {
    font-size: 7px;
    margin-left: 10px;
  }
  .hero {
    height: 92svh;
    min-height: 730px;
    max-height: 1000px;
    padding: 116px 5% 30px;
  }
  .masthead p {
    font-size: 8px;
    letter-spacing: 0.25em;
  }
  .masthead h1 {
    font-size: 24vw;
    line-height: 0.9;
    letter-spacing: -0.055em;
  }
  .hero-photo {
    height: 76%;
    top: 40px;
    object-fit: cover;
    object-position: 71% center;
    opacity: 0.95;
  }
  .hero-shade {
    background:
      linear-gradient(0deg, #101010 4%, #101010e8 18%, #10101000 65%),
      linear-gradient(90deg, #10101088, #10101000 60%);
  }
  .hero-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
  .hero-copy h2 {
    font-size: 33px;
    margin-bottom: 22px;
  }
  .hero-copy .eyebrow {
    font-size: 8px;
    margin-bottom: 12px;
  }
  .hero-copy .button {
    min-height: 49px;
    padding: 15px 19px;
    font-size: 11px;
  }
  .hero-copy .text-link {
    font-size: 9px;
    margin-top: 15px;
  }
  .hero-signature {
    max-width: none;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    font-size: 8px;
    text-align: left;
    gap: 12px;
    line-height: 1.7;
  }
  .hero-signature p:first-child {
    font-size: 16px;
    max-width: 135px;
    margin: 0;
  }
  .hero-signature small {
    display: none;
  }
  .numbers {
    padding: 19px 5%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    font-size: 9px;
  }
  .numbers strong {
    font-size: 17px;
  }
  .numbers > span:last-child {
    grid-column: 1/-1;
    border-top: 1px solid var(--line);
    padding-top: 12px;
  }
  .section {
    padding: 60px 6%;
  }
  .intro .section-index {
    margin-bottom: 27px;
    font-size: 8px;
  }
  .intro-body {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .intro h2,
  .section-heading h2 {
    font-size: 40px;
  }
  .intro-text {
    font-size: 12px;
    line-height: 1.85;
  }
  .intro-text p + p {
    margin-top: 15px;
  }
  .intro-text .signature {
    font-size: 21px;
  }
  .portrait-pair {
    padding: 0 6%;
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .portrait-pair figure:first-child,
  .portrait-pair figure:last-child {
    margin: 0;
  }
  .portrait-pair img {
    aspect-ratio: 1.3;
  }
  .portrait-pair figcaption {
    font-size: 8px;
  }
  .section-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    margin-bottom: 30px;
  }
  .section-heading .eyebrow {
    font-size: 8px;
    margin-bottom: 18px;
  }
  .section-heading > p {
    font-size: 11px;
  }
  .section-heading > p br {
    display: none;
  }
  .chapter-grid {
    grid-template-columns: 1fr 1fr;
    gap: 25px 14px;
  }
  .chapter img {
    height: 170px;
  }
  .chapter figcaption span {
    font-size: 20px;
    line-height: 1.06;
  }
  .chapter figcaption small {
    font-size: 7px;
  }
  .chapter-wide img {
    height: 250px;
  }
  .page-viewer {
    grid-template-columns: 32px minmax(0, 1fr) 32px;
    gap: 8px;
  }
  .page-arrow {
    width: 30px;
    height: 30px;
    font-size: 16px;
  }
  .page-stage {
    padding: 12px;
    min-height: 0;
  }
  .page-stage img {
    height: auto;
    max-height: none;
    width: 100%;
    box-shadow: 4px 8px 15px #0002;
  }
  .preview-footer {
    flex-wrap: wrap;
    font-size: 9px;
    gap: 13px;
  }
  .preview-footer > p:nth-child(2) {
    order: 3;
    width: 100%;
  }
  .preview-footer .text-link {
    font-size: 9px;
  }
  .interlude {
    height: 400px;
    padding-bottom: 35px;
  }
  .interlude img {
    object-position: 50% center;
  }
  .interlude p {
    font-size: 34px;
  }
  .purchase {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .purchase-cover {
    padding: 0 30px;
    max-width: 360px;
    margin: auto;
  }
  .purchase-cover span {
    font-size: 8px;
    margin-top: 30px;
  }
  .purchase-info {
    max-width: none;
  }
  .purchase-info h2 {
    font-size: 91px;
  }
  .purchase-info > .eyebrow {
    font-size: 8px;
  }
  .purchase-subtitle {
    font-size: 27px;
  }
  .price {
    font-size: 61px;
  }
  .faq h2 {
    font-size: 40px;
  }
  .faq summary {
    font-size: 12px;
    line-height: 1.5;
  }
  .faq details p {
    font-size: 11px;
  }
  .footer {
    flex-wrap: wrap;
    padding: 30px 6%;
    gap: 25px;
  }
  .footer > p {
    max-width: 210px;
  }
  .footer > div {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
}
