:root{color-scheme:dark;--bg:#101c29;--ink:#f7f4ed;--gold:#d5b67b;--muted:#b5bdc6;--line:#ffffff26}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:2rem}body{margin:0;background:var(--bg);color:var(--ink);font-family:Arial,Helvetica,sans-serif;font-size:1rem;line-height:1.65}a{color:inherit;text-decoration:none}a:focus-visible{outline:3px solid var(--gold);outline-offset:6px}header,main,footer{max-width:1500px;margin:auto}header{display:flex;align-items:center;justify-content:space-between;padding:2rem 5%;gap:2rem}.wordmark{font-family:Georgia,serif;font-size:1.6rem;letter-spacing:.1em;line-height:1.3}.wordmark span{display:block;font-family:Arial,sans-serif;font-size:.75rem;letter-spacing:.16em;margin-top:.4rem;color:var(--muted)}nav{display:flex;gap:2.3rem;font-size:.9rem}nav a:hover,footer a:hover{color:var(--gold)}.hero{margin:0 5%;border-top:1px solid var(--line);min-height:720px;display:flex;flex-direction:column}.hero-top,.hero-bottom{display:flex;justify-content:space-between;gap:1rem;padding:1.5rem 0;font-size:.75rem;letter-spacing:.16em;color:var(--muted)}.hero-top .edition{color:var(--gold)}.hero-body{position:relative;flex:1;padding:2.5rem 0 4rem}.eyebrow{font-size:.8rem;letter-spacing:.15em;color:var(--gold);margin:0 0 2rem}h1,h2,p{margin-top:0}h1{font-family:Georgia,'Times New Roman',serif;font-size:clamp(6rem,13vw,12.5rem);font-weight:400;letter-spacing:-.055em;line-height:.96;margin-bottom:0}em{font-weight:400;color:var(--gold)}.intro{position:absolute;right:0;bottom:4.8rem;width:39%;font-size:1.15rem;color:#d1d5da}.button{display:inline-flex;align-items:center;justify-content:space-between;gap:1.5rem;padding:1rem 1.4rem;margin-top:1.3rem;background:var(--gold);color:#101c29;font-size:.95rem}.button:hover{background:#e8cb95}.hero-bottom{border-top:1px solid var(--line);align-items:center}.hero-bottom a{letter-spacing:0;font-size:.9rem;color:var(--ink)}.hero-bottom a span{margin-left:1.5rem}.section{padding:6.5rem 5%;scroll-margin-top:1rem}.author{display:grid;grid-template-columns:1fr 1fr;gap:8%;background:#162635;margin-top:4rem}h2{font-family:Georgia,serif;font-weight:400;font-size:clamp(2.7rem,5vw,5rem);line-height:1.1;letter-spacing:-.035em;margin-bottom:0}.prose{max-width:480px;color:#c5cdd4}.prose p:last-child{margin-bottom:0}.prose .lead{font-family:Georgia,serif;font-size:1.65rem;line-height:1.5;color:var(--ink)}.saga{margin:4rem 5% 0;padding:3rem;background:#0b1520;border:1px solid #d5b67b55}.saga-heading{display:flex;justify-content:space-between;gap:1rem;align-items:start}.status{font-size:.75rem;letter-spacing:.1em;color:var(--muted)}.saga-content{display:grid;grid-template-columns:1.2fr 1fr;gap:8%;padding:2rem 0 4rem}.saga h2{font-size:clamp(3rem,6vw,6rem)}.saga-foot{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding-top:1.5rem;gap:1rem;font-size:.75rem;letter-spacing:.12em;color:var(--muted)}footer{display:flex;align-items:center;justify-content:space-between;gap:2rem;padding:4rem 5%;color:var(--muted);font-size:.9rem}footer p{margin:0}.skip{position:fixed;left:1rem;top:-100px;background:var(--gold);color:var(--bg);padding:.7rem 1rem;z-index:10}.skip:focus{top:1rem}@media(max-width:760px){header{align-items:flex-start;padding-top:1.5rem}nav{gap:.65rem;flex-direction:column;font-size:.85rem}.wordmark{font-size:1.25rem}.wordmark span{font-size:.75rem;letter-spacing:.05em}.edition{display:none}.hero{min-height:0}.hero-top{font-size:.75rem;letter-spacing:.05em}.hero-body{padding:2rem 0 3rem}h1{font-size:clamp(5rem,23vw,10rem)}.intro{position:static;width:100%;margin-top:2.5rem;font-size:1rem}.eyebrow{font-size:.75rem}.hero-bottom{align-items:flex-start;flex-direction:column;letter-spacing:.08em}.section{padding:3.5rem 6%}.author{grid-template-columns:1fr;gap:2rem;margin-top:2rem}.prose .lead{font-size:1.4rem}.saga{padding:2rem 6%;margin-top:2rem}.saga-heading{flex-direction:column;gap:0}.saga-heading .eyebrow{margin-bottom:.5rem}.saga-content{grid-template-columns:1fr;gap:2rem;padding:2rem 0}.saga-foot{flex-direction:column}footer{align-items:flex-start;flex-direction:column;gap:1rem;padding:3rem 5%}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Emblemi originali di Leo Ardeni */
.hero-body{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);align-items:center;gap:clamp(2rem,5vw,5rem);padding:2.5rem 0 4rem}
.hero-title,.intro{min-width:0}
.hero-title h1{font-size:clamp(5rem,11.8vw,11rem)}
.intro{position:static;width:100%;font-size:1.1rem}
.hero-emblem{display:block;width:100%;max-width:440px;height:auto;margin:0 auto 1.75rem}
.intro p{margin-bottom:0}
.footer-brand{display:block;flex:0 0 auto;width:220px;max-width:100%;line-height:0}
.footer-brand img{display:block;width:100%;height:auto}
@media(max-width:760px){
 .hero-body{grid-template-columns:minmax(0,1fr);gap:2rem;padding:2rem 0 3rem}
 .hero-title h1{font-size:clamp(4rem,21vw,10rem)}
 .intro{margin-top:0;font-size:1rem}
 .hero-emblem{max-width:380px;margin-bottom:1.5rem}
 .footer-brand{width:200px;align-self:center}
}

.contact{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:8%;margin:4rem 5% 0;padding:4rem 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.contact .prose{min-width:0}
.contact-email{display:inline-block;max-width:100%;color:var(--gold);font-size:1.2rem;overflow-wrap:anywhere;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.35em;padding:.5rem 0}
.contact-email:hover{color:var(--ink)}
@media(max-width:760px){.contact{grid-template-columns:minmax(0,1fr);gap:2rem;margin-top:3rem;padding:3rem 0}.contact-email{font-size:1.05rem}}

/* Libri pubblicati */
.books{border-bottom:1px solid var(--line)}
.books-heading{margin-bottom:3.5rem}
.books-heading .eyebrow{margin-bottom:1rem}
.book{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8%;align-items:center}
.book-cover{display:block;width:100%;max-width:340px;height:auto;margin-inline:auto;box-shadow:0 18px 48px #0006}
.book-copy{min-width:0}
.book-copy .eyebrow{font-size:.875rem;letter-spacing:.1em;margin-bottom:1rem}
.book-copy h3{font:400 clamp(3rem,6vw,5rem)/1.1 Georgia,serif;color:var(--gold);margin:0 0 1rem}
.book-italian-only .book-copy>p:not(.eyebrow),.book-italian-only .book-copy>p:not(.eyebrow) *{color:var(--ink)!important}
.book-english-only .book-copy>p:not(.eyebrow),.book-english-only .book-copy>p:not(.eyebrow) *{color:var(--ink)!important}
.book-formats{font-size:1rem;color:var(--muted);margin-top:1.5rem}
.book .button{max-width:100%;white-space:normal}
.book-upcoming{min-height:510px}
.book-cover-slot{aspect-ratio:985/1388;background:#0b1520;border:1px solid #d5b67b66;box-shadow:0 18px 48px #0006}
.book-amazon-slot{display:flex;align-items:center;justify-content:center;width:min(100%,270px);height:3.7rem;margin-top:2.6rem;background:var(--gold);color:#101c29;font-size:.95rem}
html[lang="en"] .book-italian-only{display:none}
html[lang="it"] .book-english-only{display:none}
.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}
@media(max-width:760px){.book{grid-template-columns:minmax(0,1fr);gap:2.5rem}.book-upcoming{min-height:0}.books-heading{margin-bottom:2.5rem}.book-cover{max-width:300px}.book-copy{max-width:none}}

.language-switch{display:flex;align-items:center;gap:.45rem;white-space:nowrap;font-size:.8rem;letter-spacing:.06em;color:var(--muted)}.language-option{border:0;background:transparent;color:inherit;padding:.25rem 0;font:inherit;cursor:pointer}.language-option:hover,.language-option.is-active{color:var(--gold)}.language-option.is-active{text-decoration:underline;text-underline-offset:.35em;text-decoration-thickness:1px}@media(max-width:760px){header{flex-wrap:wrap;gap:1rem}.language-switch{margin-left:auto;order:3;width:100%;justify-content:flex-end}nav{order:2}}
.language-switch{display:flex !important;visibility:visible;opacity:1;flex:0 0 auto;margin-left:1.5rem;position:relative;z-index:2}nav{flex-wrap:wrap;align-items:center;line-height:1.35}html,body{max-width:100%;overflow-x:hidden}img{max-width:100%}
/* Ritratto editoriale: titolo sopra e immagine ampia accanto alla biografia. */
.author{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);align-items:start;gap:3rem clamp(2rem,5vw,5rem)}
.author>div:first-child{grid-column:1/-1}
.author>div:first-child .eyebrow{margin-bottom:1rem}
.author h2 br{display:none}
.author h2 em::before{content:" "}
.author-portrait{margin:0;width:100%;max-width:620px;justify-self:center;min-width:0}
.author-portrait img{display:block;width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;object-position:center 48%;border:1px solid #d5b67b66;box-shadow:0 18px 48px #0006}
.author-portrait figcaption{margin-top:.8rem;color:var(--gold);font-family:Georgia,serif;font-size:.95rem;letter-spacing:.08em;text-align:center}
.author>.prose{max-width:520px;min-width:0;align-self:center}
@media(max-width:760px){.author{grid-template-columns:minmax(0,1fr);gap:2rem}.author-portrait{max-width:520px}.author>.prose{max-width:none}}

/* Prova cromatica Home: bianco caldo luminoso e contrasto pieno nelle sezioni blu notte. */
:root{--paper:#fffefa;--paper-soft:#fbfaf7;--paper-heading:#071a2c;--paper-ink:#11283a;--paper-muted:#2c3b47;--paper-gold:#7a5419;--paper-line:#7a54192b;--action-gold:#c89a4b;--action-gold-hover:#dbb86b;--night-ink:#fffefa;--night-muted:#f1eee7;--night-gold:#e3c582}
.author{background:var(--paper-soft);color:var(--paper-ink)}
.books{background:var(--paper);color:var(--paper-ink);border-bottom-color:var(--paper-line)}
.author .prose,.books .prose{color:var(--paper-muted)}
.author .prose .lead,.books .prose .lead{color:var(--paper-ink)}
.author h2,.books h2,.books .book-copy h3{color:var(--paper-heading)}
.author .eyebrow,.books .eyebrow,.author h2 em,.books h2 em,.author-portrait figcaption{color:var(--paper-gold)}
.books .book-formats{color:var(--paper-muted)}
.books .book-italian-only .book-copy>p:not(.eyebrow),.books .book-italian-only .book-copy>p:not(.eyebrow) *{color:var(--paper-muted)!important}
.books .book-english-only .book-copy>p:not(.eyebrow),.books .book-english-only .book-copy>p:not(.eyebrow) *{color:var(--paper-muted)!important}
.books .book-italian-only .book-copy>.lead,.books .book-italian-only .book-copy>.lead *,.books .book-english-only .book-copy>.lead,.books .book-english-only .book-copy>.lead *{color:var(--paper-ink)!important}
.button,.book-amazon-slot{background:var(--action-gold);color:#0b1825}
.button:hover,.book-amazon-slot:hover{background:var(--action-gold-hover);color:#0b1825}
header,.hero,.saga,.contact,footer,
header *,.hero *,.saga *,.contact *,footer *{color:var(--night-ink)!important}
.wordmark span,
header .language-switch,
header .language-switch span,
header .language-option:not(.is-active),
.hero-top span:not(.edition),
.hero-bottom>span,
.saga .status,
.saga .prose p:not(.lead),
.saga .prose p:not(.lead) *,
.saga-foot,.saga-foot *,
.contact .prose p,.contact .prose p *,
footer p,footer a{color:var(--night-muted)!important}
header .language-option.is-active,
header nav a:hover,
.hero .eyebrow,
.hero h1 em,
.hero-top .edition,
.saga .eyebrow,
.saga h2 em,
.contact .eyebrow,
.contact h2 em,
.contact-email,
footer a:hover{color:var(--night-gold)!important}
.hero .button,.hero .button *{color:#0b1825!important}
.contact-email:hover{color:var(--night-ink)!important}

/* Pagina Progetti in corso */
.projects-page{background:var(--bg);color:var(--night-ink)}
.projects-page .projects-site-header,.projects-page footer{background:var(--bg)}
.projects-page .projects-site-header{max-width:1500px}
.projects-page .projects-site-header nav a.is-current{color:var(--night-gold)!important;text-decoration:underline;text-underline-offset:.45em;text-decoration-thickness:1px}
.projects-page main{max-width:1500px;background:var(--paper)}
.projects-hero{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);align-items:end;gap:clamp(3rem,8vw,8rem);padding:7.5rem 5% 8rem;background:var(--bg);color:var(--night-ink);border-top:1px solid var(--line)}
.projects-hero h1{font-size:clamp(4.8rem,9vw,9rem);color:var(--night-ink);margin:0}
.projects-hero h1 em{color:var(--night-gold)}
.projects-intro{max-width:590px;color:var(--night-muted);font-size:1.08rem}
.projects-intro p{margin-bottom:1.35rem}
.projects-intro p:last-child{margin-bottom:0}
.projects-lead{font-family:Georgia,serif;font-size:clamp(1.75rem,2.8vw,2.45rem);line-height:1.35;color:var(--night-ink)}
.projects-list{padding:8rem 6%;background:var(--paper)}
.project-feature{max-width:1230px;margin:0 auto;color:var(--paper-ink)}
.project-feature-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:2.5rem;padding-bottom:2.3rem;border-bottom:1px solid var(--paper-line)}
.project-feature-heading h2{margin:0;color:var(--paper-heading);font-size:clamp(3.5rem,7vw,7rem);line-height:.96;letter-spacing:-.045em}
.project-status{flex:0 0 auto;margin:0 0 .55rem;color:var(--paper-gold);font-size:.78rem;letter-spacing:.14em;text-transform:uppercase}
.project-feature-body{display:grid;grid-template-columns:minmax(280px,.84fr) minmax(0,1.16fr);align-items:center;gap:clamp(4rem,9vw,9rem);padding:5.5rem 0 6rem}
.project-trailer{display:flex;justify-content:center;min-width:0}
.project-trailer-video{display:block;width:min(100%,390px);height:auto;aspect-ratio:9/16;object-fit:contain;background:#0a1420;border:1px solid #c89a4b73;box-shadow:0 26px 70px #071a2c33}
.project-teaser{max-width:620px;color:var(--paper-muted);font-family:Georgia,serif;font-size:clamp(1.42rem,2.3vw,2rem);line-height:1.5}
.project-teaser p{margin:0 0 2.5rem}
.project-teaser p:last-child{margin-bottom:0}
.project-teaser strong{color:var(--paper-ink);font-weight:700}
.project-feature-footer{display:flex;align-items:center;gap:1.4rem;padding-top:2.2rem;border-top:1px solid var(--paper-line)}
.project-feature-footer>span{display:block;width:72px;height:2px;background:var(--action-gold)}
.project-feature-footer p{margin:0;color:var(--paper-gold);font-family:Georgia,serif;font-size:1.05rem;font-style:italic}
@media(max-width:900px){.projects-hero{grid-template-columns:minmax(0,1fr);align-items:start}.project-feature-body{grid-template-columns:minmax(0,1fr);gap:4.5rem}.project-trailer-video{max-width:350px}.project-teaser{max-width:760px;margin-inline:auto}.project-feature-heading{align-items:flex-start;flex-direction:column;gap:1rem}.project-status{margin:0}}
@media(max-width:760px){.projects-hero{padding:4.5rem 6% 5rem;gap:2.8rem}.projects-hero h1{font-size:clamp(4rem,20vw,7rem)}.projects-intro{font-size:1rem}.projects-list{padding:5rem 6%}.project-feature-heading h2{font-size:clamp(2.8rem,14vw,4.8rem)}.project-feature-body{padding:4rem 0;gap:3.5rem}.project-trailer-video{max-width:300px}.project-teaser{font-size:clamp(1.25rem,6vw,1.65rem)}.project-feature-footer{align-items:flex-start;flex-direction:column;gap:1rem}.project-feature-footer>span{width:54px}}
