:root {
  --night: #0b1018;
  --night-soft: #151b24;
  --ink: #241710;
  --paper: #e9dfcf;
  --paper-soft: #f0e8da;
  --gold: #c89a55;
  --gold-light: #e7c88e;
  --muted: #bdb2a2;
  --text-light: #f0e8db;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --script: "Parisienne", cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--night); color: var(--text-light); font-family: var(--sans); line-height: 1.65; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.skip-link { position: absolute; left: -9999px; top: 0; }
.skip-link:focus { left: 1rem; z-index: 1000; background: #fff; color: #111; padding: .7rem 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.mockup-hero {
  width: 100%;
  background: #080d13;
  overflow: hidden;
}
.mockup-frame {
  position: relative;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  line-height: 0;
}
.mockup-hero-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  /* Nasconde il filetto bianco di 3 px sul bordo destro del file sorgente. */
  clip-path: inset(0 0.1% 0 0);
}
.mockup-hotspot {
  position: absolute;
  display: block;
  z-index: 2;
  border: 0;
  background: transparent;
  line-height: normal;
}
.mockup-hotspot:focus-visible, .mockup-tiktok:focus-visible {
  outline: 2px solid #f4d08c;
  outline-offset: 2px;
  border-radius: 4px;
}
.hotspot-brand { left: 5.5%; top: 11.5%; width: 20%; height: 14%; }
.hotspot-home { left: 40.4%; top: 14.8%; width: 5.2%; height: 5%; }
.hotspot-book { left: 47.8%; top: 14.8%; width: 6.8%; height: 5%; }
.hotspot-author { left: 55.2%; top: 14.8%; width: 7.6%; height: 5%; }
.hotspot-lines { left: 63.8%; top: 14.8%; width: 8.5%; height: 5%; }
.hotspot-contact { left: 74.1%; top: 14.8%; width: 7%; height: 5%; }
.hotspot-cta { left: 7.7%; top: 76.6%; width: 19.5%; height: 9.1%; }
.hotspot-instagram { left: 86.5%; top: 14%; width: 3.1%; height: 6.5%; border-radius: 50%; }
.hotspot-facebook { left: 91.7%; top: 14%; width: 3.1%; height: 6.5%; border-radius: 50%; }
.mockup-tiktok {
  position: absolute;
  z-index: 4;
  /* Match the built-in social icons in the mockup: same row, diameter and visual weight. */
  top: 12.3%;
  right: 0.5%;
  width: 2.3%;
  aspect-ratio: 1;
  min-width: 36px;
  max-width: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #111318;
  background: #fff;
  text-decoration: none;
  line-height: 1;
  transition: transform .18s ease, background .18s ease;
}
.mockup-tiktok svg { display: block; width: 58%; height: 58%; fill: currentColor; }
.mockup-tiktok:hover { background: #f0d8ad; transform: scale(1.04); }

.section { padding: clamp(76px, 9vw, 126px) max(6vw, calc((100% - 1180px) / 2)); }
.section h1, .section h2 { margin: 8px 0 18px; font-family: var(--serif); font-size: clamp(2.5rem, 4.7vw, 4.3rem); font-weight: 500; line-height: 1.02; letter-spacing: -.025em; }
.section p { color: #c8beaf; }
.section-kicker { text-transform: uppercase; letter-spacing: .23em; color: var(--gold); font-size: .72rem; font-weight: 600; }
.book-intro {
  background: #efe6d7;
  color: #291b14;
}
.book-intro .section-kicker, .editions .section-kicker, .reviews .section-kicker, .author .section-kicker, .between-lines .section-kicker, .contact .section-kicker {
  color: #9a713d;
}
.intro-grid {
  display: grid;
  grid-template-columns: minmax(270px, .78fr) minmax(0, 1.22fr);
  gap: clamp(48px, 6vw, 86px);
  align-items: center;
}
.cover-pair {
  position: relative;
  min-height: 490px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cover-pair figure {
  margin: 0;
  overflow: hidden;
  background: #e2d4bd;
  box-shadow: 12px 18px 32px rgba(37,24,14,.20);
}
.cover-pair img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cover-front {
  position: relative;
  z-index: 2;
  width: min(232px, 66%);
  aspect-ratio: 2 / 3;
  transform: rotate(-2deg);
}
.cover-back {
  position: absolute;
  right: 1%;
  top: 9%;
  width: min(184px, 52%);
  aspect-ratio: 2 / 3;
  transform: rotate(3deg);
}
.intro-copy {
  max-width: 700px;
}
.intro-copy h1 {
  margin-top: 0;
  margin-bottom: 28px;
  color: #21150f;
  font-family: var(--serif);
  font-size: clamp(3.15rem, 4.5vw, 4.4rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.025em;
}
.intro-copy p {
  margin: 0 0 23px;
  color: #2b1b12;
  font-family: var(--serif);
  font-size: 1.28rem;
  font-weight: 500;
  line-height: 1.72;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  color: #8c642f;
  font-family: var(--serif);
  font-size: 1.22rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(138,98,46,.5);
  padding-bottom: 5px;
}
.text-link:hover { color: #493018; }
.editions { background: #121820; text-align: center; }
.editions h2, .reviews h2, .between-lines h2, .contact h2 { color: var(--text-light); }
.section-intro { max-width: 650px; margin: 0 auto 42px; font-family: var(--serif); font-size: 1.25rem; }
.edition-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 38px; }
.edition-card { padding: 27px 24px 30px; border: 1px solid rgba(203,163,98,.32); background: rgba(255,255,255,.025); }
.edition-visual { width: 142px; aspect-ratio: 2 / 3; margin: 0 auto 22px; overflow: hidden; box-shadow: 8px 12px 22px rgba(0,0,0,.35); }
.edition-visual img { width: 100%; height: 100%; object-fit: cover; }
.edition-hardcover { padding: 5px; border: 5px solid #9a7543; }
.edition-hardcover img { box-shadow: inset 3px 0 5px rgba(0,0,0,.2); }
.edition-device { width: 156px; aspect-ratio: 4 / 5; margin: 0 auto 22px; padding: 8px; overflow: hidden; background: #272a2e; border: 2px solid #656363; border-radius: 14px; box-shadow: 8px 12px 22px rgba(0,0,0,.35); }
.edition-device img { width: 100%; height: 100%; object-fit: cover; }
.edition-card h3 { margin: 0; color: #f0e4d1; font-family: var(--serif); font-size: 1.65rem; font-weight: 600; }
.edition-card p { min-height: 48px; margin: 8px 0 22px; font-size: .9rem; }
.button-muted { min-height: 44px; padding: 9px 15px; border: 1px solid rgba(196,154,88,.42); color: #e1c28e; font-size: 1rem; }
.button-muted[aria-disabled="true"] { opacity: .58; cursor: default; pointer-events: none; }
.edition-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 9px 15px;
  border: 1px solid rgba(196,154,88,.36);
  color: #c5b18f !important;
  font-family: var(--serif) !important;
  font-size: 1rem !important;
  font-weight: 500;
  letter-spacing: .02em;
  background: rgba(255,255,255,.025);
}
.fine-print { margin: 24px 0 0; font-size: .75rem; color: #8f8b83 !important; }

.reviews { background: #e8dfd0; color: var(--ink); text-align: center; }
.reviews h2 { color: var(--ink); }
.reviews .section-intro { color: #6b5c4c; }
.review-empty { max-width: 720px; margin: 0 auto; padding: 38px 30px; border-top: 1px solid rgba(127,94,54,.35); border-bottom: 1px solid rgba(127,94,54,.35); }
.review-mark { display: block; color: #b18a55; font-family: var(--serif); font-size: 5rem; line-height: .75; }
.review-empty p { color: #65564a; font-family: var(--serif); font-size: 1.25rem; }
.author { display: grid; grid-template-columns: 1.3fr .7fr; align-items: center; gap: 40px; background: #171e27; }
.author h2 { color: #f0e6d8; }
.author-copy { max-width: 680px; }
.author-copy p, .between-lines p, .contact p { max-width: 680px; font-family: var(--serif); font-size: 1.25rem; }
.author-symbol { display: grid; place-items: center; justify-self: center; width: min(260px, 80%); aspect-ratio: 1; border: 1px solid rgba(208,169,109,.48); border-radius: 50%; color: rgba(210,177,124,.75); font-family: var(--script); font-size: 6rem; }
.between-lines { background: #e8dfd0; color: var(--ink); text-align: center; }
.between-lines p { margin: 0 auto 28px; color: #5c4c40; }
.between-lines h2 { color: var(--ink); }
.between-lines .button { margin-top: 8px; background: #211a15; color: #e4c58d; }
.contact { background: #111820; text-align: center; }
.contact p { margin-left: auto; margin-right: auto; }
.contact .text-link { color: var(--gold-light); }
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 30px clamp(22px, 6vw, 88px); background: #080c11; color: #8f8a80; font-size: .78rem; }
.footer-brand { font-size: 2.2rem; text-decoration: none; }
.site-footer p { margin: 0; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { color: #b9ad9b; text-decoration: none; }
.footer-links a[aria-disabled="true"] { pointer-events: none; opacity: .6; }

@media (max-width: 1050px) {
}
@media (max-width: 760px) {
  html { scroll-padding-top: 72px; }
  .hero-copy { margin: 0 auto; padding: 0; max-width: 560px; }
  .hero-title { margin-bottom: 18px; }
  .section { padding: 72px 7vw; }
  .section h1, .section h2 { font-size: 2.8rem; }
  .intro-grid { grid-template-columns: 1fr; gap: 18px; }
  .cover-pair { min-height: 330px; max-width: 440px; width: 100%; margin: auto; }
  .cover-front { width: min(180px, 54%); }
  .cover-back { width: min(150px, 46%); right: 4%; }
  .intro-copy p {
    margin-bottom: 18px;
    font-size: 1.12rem;
    line-height: 1.68;
  }
  .edition-grid { grid-template-columns: 1fr; gap: 16px; }
  .edition-card { padding: 25px 20px; }
  .author { grid-template-columns: 1fr; text-align: center; }
  .author-copy { margin: 0 auto; }
  .site-footer { flex-direction: column; text-align: center; gap: 12px; padding: 30px 6vw; }
  .footer-links { justify-content: center; }
}
@media (max-width: 430px) {
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}