*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --oro: #c9a84c;
  --nero: #0a0a0a;
  --grigio-scuro: #1a1a1a;
  --grigio-bordo: #2a2a2a;
  --testo: #e8e0d0;
  --testo-muted: #999;
  --testo-dim: #555;
}
html { scroll-behavior: smooth; }
body { background: var(--nero); color: var(--testo); font-family: 'Montserrat', sans-serif; font-weight: 300; line-height: 1.6; overflow-x: hidden; }
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; justify-content: space-between; align-items: center; padding: 1.4rem 4rem; background: rgba(10,10,10,0.92); backdrop-filter: blur(8px); border-bottom: 0.5px solid var(--grigio-bordo); }
.nav-logo { font-family: 'Cormorant Garamond', serif; font-size: 1rem; font-weight: 300; letter-spacing: 0.28em; color: var(--oro); text-transform: uppercase; text-decoration: none; }
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a { font-size: 0.6rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--testo-muted); text-decoration: none; transition: color 0.3s; }
.nav-links a:hover { color: var(--oro); }
.book-hero { display: grid; grid-template-columns: 1fr 2fr; align-items: center; gap: 5rem; padding: 10rem 6rem 6rem; border-bottom: 0.5px solid var(--grigio-scuro); max-width: 1100px; margin: 0 auto; }
.book-cover-wrap { width: 100%; max-width: 280px; aspect-ratio: 2/3; overflow: hidden; border: 0.5px solid var(--grigio-bordo); opacity: 0; animation: fadeUp 1s 0.3s forwards; }
.book-cover-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.book-info { opacity: 0; animation: fadeUp 1s 0.5s forwards; }
.book-series { font-size: 0.58rem; letter-spacing: 0.35em; text-transform: uppercase; color: var(--oro); display: block; margin-bottom: 1.2rem; }
.book-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 300; letter-spacing: 0.05em; color: #f0e8d8; line-height: 1.05; margin-bottom: 0.5rem; }
.book-subtitle { font-family: 'Cormorant Garamond', serif; font-size: 1rem; font-style: italic; color: var(--testo-muted); margin-bottom: 2.5rem; }
.book-meta { display: flex; gap: 2.5rem; margin-bottom: 2.5rem; }
.book-meta-item { display: flex; flex-direction: column; gap: 0.3rem; }
.book-meta-label { font-size: 0.5rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--testo-dim); }
.book-meta-value { font-family: 'Cormorant Garamond', serif; font-size: 0.95rem; color: var(--testo-muted); }
.book-cta { display: inline-block; border: 0.5px solid var(--oro); color: var(--oro); font-size: 0.58rem; letter-spacing: 0.32em; text-transform: uppercase; padding: 0.9rem 2.5rem; text-decoration: none; transition: background 0.3s, color 0.3s; }
.book-cta:hover { background: var(--oro); color: var(--nero); }
.chapter-section { max-width: 680px; margin: 0 auto; padding: 6rem 2rem 4rem; }
.chapter-header { text-align: center; margin-bottom: 4rem; padding-bottom: 3rem; border-bottom: 0.5px solid var(--grigio-scuro); }
.chapter-label { font-size: 0.55rem; letter-spacing: 0.38em; text-transform: uppercase; color: var(--oro); display: block; margin-bottom: 1.2rem; }
.chapter-title { font-family: 'Cormorant Garamond', serif; font-size: 2.2rem; font-weight: 300; letter-spacing: 0.05em; color: #f0e8d8; }
.chapter-rule { width: 40px; height: 0.5px; background: var(--oro); margin: 1.5rem auto 0; }
.chapter-divider { text-align: center; margin: 4rem 0 3rem; padding-top: 3rem; border-top: 0.5px solid var(--grigio-scuro); }
.chapter-divider-label { font-size: 0.55rem; letter-spacing: 0.38em; text-transform: uppercase; color: var(--oro); display: block; margin-bottom: 1rem; }
.chapter-divider-title { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 300; color: #f0e8d8; }
.chapter-body { font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; font-weight: 300; line-height: 1.95; color: #c8c0b0; }
.chapter-body p { margin-bottom: 1.6em; }
.chapter-body p:first-child::first-letter { font-size: 3.5rem; font-weight: 400; line-height: 0.8; float: left; margin-right: 0.08em; margin-top: 0.12em; color: var(--oro); font-family: 'Cormorant Garamond', serif; }
.chapter-ellipsis { font-size: 2rem; letter-spacing: 0.5em; color: var(--oro); text-align: center; margin: 2rem 0 !important; }
.chapter-ellipsis::first-letter { font-size: 2rem; float: none; margin: 0; color: var(--oro); }
.chapter-end { text-align: center; padding: 4rem 2rem 6rem; border-top: 0.5px solid var(--grigio-scuro); max-width: 680px; margin: 0 auto; }
.chapter-end-rule { width: 40px; height: 0.5px; background: var(--oro); margin: 0 auto 2rem; }
.chapter-end-text { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; font-style: italic; color: var(--testo-muted); margin-bottom: 2.5rem; line-height: 1.8; }
.chapter-end-cta { display: inline-block; border: 0.5px solid var(--oro); color: var(--oro); font-size: 0.58rem; letter-spacing: 0.32em; text-transform: uppercase; padding: 1rem 3rem; text-decoration: none; transition: background 0.3s, color 0.3s; }
.chapter-end-cta:hover { background: var(--oro); color: var(--nero); }
footer { padding: 2rem 4rem; display: flex; justify-content: space-between; align-items: center; border-top: 0.5px solid var(--grigio-scuro); }
.footer-logo { font-family: 'Cormorant Garamond', serif; font-size: 0.72rem; letter-spacing: 0.22em; color: var(--testo-dim); text-transform: uppercase; }
.footer-links { display: flex; gap: 2rem; list-style: none; }
.footer-links a { font-size: 0.52rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--testo-dim); text-decoration: none; transition: color 0.3s; }
.footer-links a:hover { color: var(--oro); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 768px) {
  nav { padding: 1.2rem 1.5rem; }
  .book-hero { grid-template-columns: 1fr; padding: 8rem 1.5rem 4rem; gap: 2.5rem; }
  .book-cover-wrap { max-width: 180px; }
  .chapter-section { padding: 4rem 1.5rem 4rem; }
  footer { padding: 1.5rem; flex-direction: column; gap: 1rem; }
}
