
:root{
  --paper:#f3ecdd; --paper-light:#fbf7ee; --ink:#27231f; --navy:#15243b;
  --navy-light:#243958; --gold:#b28b4b; --gold-light:#d7bd86; --line:rgba(178,139,75,.32);
  --shadow:0 24px 70px rgba(23,28,36,.12);
}

/* Profili degli autori */
.author-origin{text-align:center;margin:-18px auto 28px;color:#6f6252;font-family:"Cormorant Garamond",serif;font-size:1.15rem;font-style:italic}
.author-profile{margin:42px auto 46px;padding:30px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);text-align:left}
.author-profile .eyebrow{text-align:center;margin:0 0 15px}
.author-profile>p:last-child{margin:0;font-size:1.13rem;line-height:1.75}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font-family:"Source Serif 4",Georgia,serif;line-height:1.75}
body:before{content:"";position:fixed;inset:0;pointer-events:none;opacity:.24;background-image:radial-gradient(rgba(35,31,25,.16) .55px,transparent .75px);background-size:5px 5px;mix-blend-mode:multiply;z-index:10}
img{max-width:100%;height:auto;display:block}
a{color:inherit}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--gold);outline-offset:4px}
.skip-link{position:fixed;left:12px;top:-80px;z-index:2000;background:var(--navy);color:white;padding:12px 18px}.skip-link:focus{top:12px}
.container{width:min(1180px,calc(100% - 40px));margin:auto}
.narrow{max-width:850px}
.site-header{position:sticky;top:0;z-index:100;background:rgba(243,236,221,.91);backdrop-filter:blur(15px);border-bottom:1px solid var(--line)}
.nav{min-height:84px;display:flex;align-items:center;justify-content:space-between;gap:28px}
.brand{display:flex;align-items:center;gap:13px;text-decoration:none;font-family:"Cormorant Garamond",serif;font-size:1.45rem;font-weight:700;color:var(--navy)}
.brand img{width:52px;height:52px;object-fit:contain}
.menu{display:flex;align-items:center;gap:24px;list-style:none;padding:0;margin:0}
.menu a{text-decoration:none;font-size:.92rem;letter-spacing:.04em;position:relative}
.menu a:after{content:"";position:absolute;left:0;right:100%;bottom:-8px;height:1px;background:var(--gold);transition:.3s}
.menu a:hover:after{right:0}
.menu-toggle{display:none;border:1px solid var(--line);background:transparent;padding:10px 14px;font:inherit;color:var(--navy)}
.hero{min-height:calc(100vh - 84px);position:relative;display:grid;place-items:center;overflow:hidden;padding:100px 0}
.hero:before,.page-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(115deg,rgba(255,255,255,.45),transparent 55%),radial-gradient(circle at 80% 25%,rgba(178,139,75,.16),transparent 25%)}
.hero-glow{position:absolute;width:650px;height:650px;border:1px solid var(--line);border-radius:50%;right:-180px;top:5%;box-shadow:0 0 0 55px rgba(178,139,75,.035),0 0 0 110px rgba(178,139,75,.022)}
.hero-grid{position:relative;display:grid;grid-template-columns:1.15fr .85fr;align-items:center;gap:50px}
.eyebrow{text-transform:uppercase;letter-spacing:.22em;font-size:.78rem;color:var(--gold);font-weight:600}
.hero h1,.page-hero h1{font-family:"Cormorant Garamond",serif;color:var(--navy);font-weight:700;line-height:.88;margin:20px 0;font-size:clamp(4rem,9vw,7.4rem);letter-spacing:-.035em}
.motto{font-family:"Cormorant Garamond",serif;font-size:1.65rem;font-style:italic;color:var(--gold);letter-spacing:.08em}
.lead{font-size:1.23rem;max-width:690px;margin:30px 0;color:#443d35}
.actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:38px}
.button{display:inline-block;border:1px solid var(--navy);padding:14px 23px;text-decoration:none;text-transform:uppercase;letter-spacing:.12em;font-size:.76rem;font-weight:600;cursor:pointer;font-family:inherit}
.button.primary{background:var(--navy);color:white}
.button.primary:hover{background:var(--gold);border-color:var(--gold)}
.button.secondary:hover{background:rgba(21,36,59,.07)}
.hero-emblem{display:flex;justify-content:center}
.emblem-ring{width:min(470px,90vw);aspect-ratio:1;border-radius:50%;display:grid;place-items:center;border:1px solid var(--line);padding:28px;box-shadow:var(--shadow);background:rgba(251,247,238,.56)}
.emblem-ring img{width:100%;height:auto;object-fit:contain;filter:drop-shadow(0 16px 18px rgba(21,36,59,.16))}
.scroll-cue{position:absolute;bottom:25px;left:50%;text-decoration:none;color:var(--gold);font-size:1.7rem;animation:bob 2s infinite}
@keyframes bob{50%{transform:translateY(7px)}}
.section{padding:120px 0;position:relative}
.page-hero + .section{scroll-margin-top:84px}
.paper-section{background:rgba(251,247,238,.62);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.section-number{text-align:center;font-family:"Cormorant Garamond";font-size:2rem;color:var(--gold)}
.section h2{font-family:"Cormorant Garamond",serif;color:var(--navy);font-size:clamp(2.5rem,6vw,4.8rem);line-height:1.02;margin:12px 0 35px;text-align:center}
.large-text{font-size:1.45rem;line-height:1.65}
.dark-section{background:var(--navy);color:#f5efe4}
.dark-section h2{color:white}
.section-heading{text-align:center;max-width:760px;margin:0 auto 60px}
.values{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.value-card{padding:44px 34px;border:1px solid rgba(215,189,134,.32);background:rgba(255,255,255,.035)}
.value-card span{font-size:2rem}
.value-card h3{font-family:"Cormorant Garamond";font-size:2.15rem;color:var(--gold-light);margin:18px 0 12px}
.quote-section{text-align:center}
.star-rule{color:var(--gold);font-size:1.6rem;margin-bottom:24px}
blockquote{font-family:"Cormorant Garamond";font-size:clamp(2rem,5vw,3.8rem);line-height:1.2;color:var(--navy);margin:0 0 35px;font-style:italic}
.text-link{color:var(--gold);text-transform:uppercase;letter-spacing:.15em;font-size:.78rem}
.collection-section{background:linear-gradient(to bottom,rgba(21,36,59,.04),transparent)}
.book-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:32px}
.book-card{color:inherit;text-decoration:none}
.book-card p{text-align:center}
.book-card .book-cover{transition:transform .25s ease,border-color .25s ease}
.book-card:hover .book-cover,.book-card:focus-visible .book-cover{transform:translateY(-5px);border-color:var(--gold-light)}
.book-cover{min-height:390px;background:var(--navy);color:white;padding:40px 32px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;border:1px solid var(--gold);box-shadow:var(--shadow);position:relative}
.book-cover:before{content:"";position:absolute;inset:13px;border:1px solid rgba(215,189,134,.42)}
.book-cover span,.book-cover small{position:relative;text-transform:uppercase;letter-spacing:.18em;color:var(--gold-light)}
.book-cover strong{position:relative;font-family:"Cormorant Garamond";font-size:2.3rem;line-height:1.05;margin:40px 0}
.site-footer{padding:70px 0;background:#0d1829;color:#eee5d7;border-top:3px double var(--gold)}
.footer-inner{display:flex;align-items:center;justify-content:center;gap:24px;text-align:left}
.footer-inner img{width:100px;height:auto;object-fit:contain}
.footer-inner strong{font-family:"Cormorant Garamond";font-size:2rem;color:white}
.footer-inner p{color:var(--gold-light);margin:3px 0}
.footer-email{display:inline-block;color:#f5efe4;text-decoration:none;margin:5px 0 8px;border-bottom:1px solid rgba(215,189,134,.55)}
.footer-email:hover{color:var(--gold-light)}
.page-hero{padding:150px 0 95px;position:relative;text-align:center}
.page-hero > .container{transition:opacity .65s ease,transform .8s ease,filter .65s ease}
.page-hero.auto-fade-out > .container{opacity:0;transform:translateY(-18px);filter:blur(2px)}
.page-hero h1{font-size:clamp(4rem,9vw,7rem)}
.gold-rule{height:1px;width:120px;background:var(--gold);margin:32px auto 0}
.prose{max-width:780px}
.prose h2{text-align:left;font-size:3rem;margin-top:60px}
.prose p{font-size:1.18rem}
.dropcap:first-letter{font-family:"Cormorant Garamond",serif;color:var(--gold);-webkit-initial-letter:3;initial-letter:3;margin-right:.12em}
.seal-note{border:1px solid var(--line);padding:25px;text-align:center;color:var(--navy);font-family:"Cormorant Garamond";font-size:1.55rem;margin-top:60px}
.society-library-cta{text-align:center;background:linear-gradient(125deg,#15243b,#243958);color:#f5efe4;border-top:1px solid var(--gold);border-bottom:1px solid var(--gold)}
.society-library-cta h2{color:#fff;max-width:760px;margin-left:auto;margin-right:auto}
.society-library-cta>div>p:not(.eyebrow){max-width:650px;margin:0 auto 30px;font-size:1.1rem;color:#eee5d7}
.society-library-cta .button{border-color:var(--gold-light);background:var(--gold);color:#111827}
.society-library-cta .button:hover{background:var(--paper-light);border-color:var(--paper-light)}
.manifesto{counter-reset:item}
.article{padding:55px 0;border-bottom:1px solid var(--line);text-align:center}
.article span{font-family:"Cormorant Garamond";font-size:1.6rem;color:var(--gold)}
.article h2{font-size:3.4rem;margin:12px 0}
.article p{font-size:1.2rem}
.notice{border-left:3px solid var(--gold);padding:20px 24px;background:rgba(255,255,255,.4);margin-bottom:50px}
.member-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:25px}
.associates-grid{grid-template-columns:repeat(2,minmax(0,410px));justify-content:center}
.founders-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-width:820px;margin:0 auto}
.member-card{text-align:center;padding:42px 30px;border:1px solid var(--line);background:rgba(255,255,255,.45);display:flex;flex-direction:column}
.monogram{width:110px;height:110px;border-radius:50%;background:var(--navy);color:var(--gold-light);display:grid;place-items:center;margin:0 auto 23px;font-family:"Cormorant Garamond";font-size:3.8rem}
.member-photo{width:132px;height:132px;border-radius:50%;overflow:hidden;margin:0 auto 23px;border:2px solid var(--gold);box-shadow:0 10px 24px rgba(21,36,59,.18);background:var(--navy)}
.member-photo img{width:100%;height:100%;object-fit:cover;display:block}
.paper-section>.container.narrow>.member-photo{width:154px;height:154px}
.claudia-photo img{object-position:58% 38%}
.sullivan-photo img{object-position:50% 36%}
.glenda-photo img{object-position:50% 42%}
.amal-photo img{object-position:50% 36%}
.member-card h2{font-size:2rem;margin-bottom:5px}
.member-detail{margin:2px 0 0;color:var(--gold);font-size:.72rem;font-weight:600;letter-spacing:.16em;text-transform:uppercase}
.membership-number{margin:8px 0 0;color:#756b5d;font-size:.68rem;letter-spacing:.12em;text-transform:uppercase}

/* V36 — Home più compatta */
.home-page .hero{padding:72px 0;min-height:calc(100vh - 84px)}
.home-page .hero h1{font-size:clamp(3.7rem,7.5vw,6.35rem)}
.home-page .motto{font-size:1.48rem}
.home-page .lead{font-size:1.1rem;line-height:1.62;margin:24px 0}
.home-page .actions{margin-top:28px}
.home-page .section{padding:92px 0}
.home-page .section h2{font-size:clamp(2.35rem,5vw,4rem);margin-bottom:28px}
.home-page #chi-siamo h2{font-size:clamp(2.2rem,4.4vw,3.65rem)}
.home-page .large-text{font-size:1.27rem;line-height:1.58}
.home-page .section p{font-size:.98rem}
.home-page .section-heading{margin-bottom:44px}
.home-page .value-card{padding:34px 28px}
.home-page .value-card h3{font-size:1.9rem;margin:14px 0 9px}
.home-page .book-cover{min-height:335px;padding:32px 26px}
.home-page .book-cover strong{font-size:2rem;margin:32px 0}
.home-page .book-cover span,.home-page .book-cover small{font-size:.72rem}
.home-page .book-card>p{font-size:.86rem}
.home-page .quote-section blockquote{font-size:clamp(1.8rem,4.2vw,3.15rem)}

@media(max-width:900px){
  .home-page .hero{padding:38px 0 58px;min-height:auto}
  .home-page .hero-grid{gap:20px}
  .home-page .emblem-ring{width:min(230px,58vw);padding:15px}
  .home-page .hero h1{font-size:clamp(2.8rem,12vw,3.85rem);margin:12px 0}
  .home-page .eyebrow{font-size:.68rem;letter-spacing:.17em}
  .home-page .motto{font-size:1.18rem}
  .home-page .lead{font-size:1rem;line-height:1.5;margin:16px auto}
  .home-page .actions{margin-top:19px}
  .home-page .button{padding:11px 16px;font-size:.69rem}
  .home-page .scroll-cue{display:none}
  .home-page .section{padding:58px 0}
  .home-page .section h2{font-size:clamp(2rem,9vw,2.75rem);margin:9px 0 22px}
  .home-page #chi-siamo h2{font-size:clamp(1.9rem,8.4vw,2.5rem)}
  .home-page .large-text{font-size:1.08rem;line-height:1.55}
  .home-page .section p{font-size:.94rem;line-height:1.58}
  .home-page .section-heading{margin-bottom:30px}
  .home-page .book-grid{gap:22px}
  .home-page .book-cover{min-height:285px;padding:28px 23px}
  .home-page .book-cover strong{font-size:1.8rem;margin:27px 0}
  .home-page .value-card{padding:27px 22px}
  .home-page .value-card h3{font-size:1.72rem}
  .home-page .quote-section blockquote{font-size:1.72rem;line-height:1.22}
}

@media(max-width:560px){
  .member-photo{width:124px;height:124px}
  .paper-section>.container.narrow>.member-photo{width:142px;height:142px}
  .home-page .hero{padding-top:26px}
  .home-page .emblem-ring{width:min(205px,56vw)}
  .home-page .actions{gap:8px}
}
.profile-detail{text-align:center;margin:18px auto 28px}
.member-card blockquote{font-size:clamp(1.18rem,1.6vw,1.35rem);line-height:1.35;text-align:center;margin:24px 0 0;padding-top:24px;border-top:1px solid var(--line)}
.paper-section>.container.narrow>blockquote{max-width:760px;margin:0 auto 35px;font-size:clamp(1.35rem,2.4vw,1.8rem);line-height:1.4;text-align:center}
.event-card{display:grid;grid-template-columns:180px 1fr;gap:35px;padding:40px 0;border-bottom:1px solid var(--line)}
.event-card time{font-family:"Cormorant Garamond";font-size:1.4rem;color:var(--gold)}
.event-card h2{text-align:left;font-size:2.7rem;margin:5px 0 15px}
.contact-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:70px;align-items:start}
.contact-grid h2{text-align:left}
.contact-form{display:grid;gap:18px;background:rgba(255,255,255,.48);border:1px solid var(--line);padding:35px}
.contact-form label{display:grid;gap:8px;font-weight:600;color:var(--navy)}
.contact-form input,.contact-form select,.contact-form textarea{width:100%;border:1px solid var(--line);background:var(--paper-light);padding:13px;font:inherit;color:var(--ink)}
.official-email{display:grid;gap:4px;margin:28px 0}
.official-email span{text-transform:uppercase;letter-spacing:.16em;font-size:.72rem;color:var(--gold);font-weight:600}
.official-email a{font-family:"Cormorant Garamond";font-size:clamp(1.45rem,3vw,2.15rem);color:var(--navy);overflow-wrap:anywhere}
.contact-card{background:var(--navy);color:#f5efe4;border:1px solid var(--gold);padding:45px}
.contact-card h2{color:white;font-size:clamp(2.4rem,5vw,3.8rem);text-align:left;margin-top:8px}
.contact-card .button{margin-top:18px;border-color:var(--gold);background:var(--gold);color:#111827}
.contact-card .button:hover{background:var(--paper-light);border-color:var(--paper-light)}
.manifesto-contact{margin:65px auto 0;padding:32px;text-align:center;border:1px solid var(--line);background:rgba(255,255,255,.4)}
.manifesto-contact p{margin:0 0 8px}
.manifesto-contact a{font-family:"Cormorant Garamond";font-size:1.65rem;color:var(--navy);overflow-wrap:anywhere}
.intro{position:fixed;inset:0;z-index:1000;background:var(--paper);display:flex;flex-direction:column;justify-content:center;align-items:center;transition:opacity 1.1s,visibility 1.1s}
.intro img{width:min(350px,72vw);height:auto;object-fit:contain;animation:sealIn 1.3s ease both}
.intro p{font-family:"Cormorant Garamond";font-style:italic;font-size:1.5rem;color:var(--gold);letter-spacing:.15em}
.intro-star{font-size:1.8rem;color:var(--gold);margin-bottom:12px;animation:pulse 1.8s infinite}
.intro.hidden{opacity:0;visibility:hidden}
@keyframes sealIn{from{opacity:0;transform:scale(.93)}to{opacity:1;transform:scale(1)}}
@keyframes pulse{50%{opacity:.35}}
.reveal{opacity:0;transform:translateY(25px);transition:.8s ease}
.reveal.visible{opacity:1;transform:none}
@media(max-width:900px){
  .menu-toggle{display:block}
  .menu{position:absolute;top:84px;left:0;right:0;background:var(--paper-light);padding:25px;display:none;flex-direction:column;border-bottom:1px solid var(--line)}
  .menu.open{display:flex}
  .hero-grid,.contact-grid{grid-template-columns:1fr}
  .hero-copy{text-align:center}
  .lead{margin-left:auto;margin-right:auto}
  .actions{justify-content:center}
  .hero-emblem{order:-1}
  .emblem-ring{width:min(330px,80vw)}
  .values,.book-grid,.member-grid,.founders-grid{grid-template-columns:1fr}
  .event-card{grid-template-columns:1fr;gap:8px}
  .footer-inner{flex-direction:column;text-align:center}
}

@media(prefers-reduced-motion:reduce){
  .page-hero > .container{transition:none}
}
@media(max-width:560px){
  .container{width:min(100% - 26px,1180px)}
  .brand span{font-size:1.1rem}
  .brand img{width:42px;height:42px}
  .hero{padding:65px 0 90px}
  .hero h1{font-size:3.8rem}
  .section{padding:85px 0}
  .page-hero{padding:100px 0 60px}
}
@media(prefers-reduced-motion:reduce){
  *,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}
  .reveal{opacity:1;transform:none}
  .intro{display:none}
}


/* ===========================
   BIBLIOTECA — SALA E SCAFFALI
=========================== */
.centered{text-align:center;margin-left:auto;margin-right:auto}
.library-hero{background:linear-gradient(rgba(21,36,59,.94),rgba(21,36,59,.88)),radial-gradient(circle at center,rgba(178,139,75,.3),transparent 55%)}
.library-hero h1,.library-hero .lead{color:#fff}
.library-room{background:linear-gradient(180deg,#2b211a 0%,#3b2b20 35%,#241b16 100%);color:#f4ead8;min-height:680px}
.shelf-heading{text-align:center;margin-bottom:45px}
.shelf-heading-secondary{margin-top:110px}
.shelf-heading span{text-transform:uppercase;letter-spacing:.24em;color:var(--gold-light);font-size:.78rem}
.shelf-heading h2{color:#fff;margin-top:12px}
.shelf{display:flex;align-items:flex-end;justify-content:center;gap:28px;min-height:430px;padding:35px 45px 0;background:linear-gradient(90deg,rgba(0,0,0,.22),transparent 15%,transparent 85%,rgba(0,0,0,.22));border-left:10px solid #1d1510;border-right:10px solid #1d1510}
.shelf-book{width:210px;height:360px;text-decoration:none;perspective:900px}
.book-spine{height:100%;padding:34px 24px;background:linear-gradient(90deg,#0b1729,#18304f 18%,#142743 75%,#07111e);border:1px solid #c6a562;box-shadow:12px 14px 25px rgba(0,0,0,.34),inset 0 0 0 6px rgba(215,189,134,.08);display:flex;flex-direction:column;align-items:center;justify-content:space-between;text-align:center;transition:transform .35s ease,box-shadow .35s ease;transform-origin:bottom}
.book-spine.alternate{background:linear-gradient(90deg,#4b1f27,#7a3440 18%,#5f2832 75%,#32131a)}
.book-spine.memory-spine{background:linear-gradient(90deg,#403419,#75612f 18%,#5d4c24 75%,#2b230f)}
.book-spine.spring-spine{background:linear-gradient(90deg,#17352b,#2f6652 18%,#275643 75%,#10271f)}
.book-spine.prose-spine{background:linear-gradient(90deg,#283324,#46533d 18%,#394733 75%,#1b2419)}
.book-spine.alternate-prose{background:linear-gradient(90deg,#35283f,#594568 18%,#493754 75%,#211827)}
.book-spine.diary-spine{background:linear-gradient(90deg,#34261b,#66472f 18%,#533923 75%,#23170f)}
.book-spine.long-title strong{font-size:1.82rem}
.shelf-book:hover .book-spine{transform:translateY(-16px) rotateY(-5deg);box-shadow:20px 28px 35px rgba(0,0,0,.42)}
.book-spine .genre,.book-spine small{text-transform:uppercase;letter-spacing:.17em;color:var(--gold-light);font-size:.72rem}
.book-spine strong{font-family:"Cormorant Garamond";font-size:2.2rem;line-height:1.05;color:#fff}
.shelf-placeholder{width:150px;height:300px;border:1px dashed rgba(215,189,134,.5);display:flex;flex-direction:column;justify-content:center;align-items:center;text-transform:uppercase;letter-spacing:.12em;color:rgba(244,234,216,.55);text-align:center}
.wood-shelf{height:32px;background:linear-gradient(#7a4d2b,#4b2d1a 55%,#27170d);border-top:3px solid #a87545;box-shadow:0 18px 28px rgba(0,0,0,.52)}
.library-note{text-align:center;color:var(--gold-light);margin-top:35px;font-style:italic}
.library-tools{max-width:760px;margin:0 auto 80px;padding:28px;border:1px solid rgba(215,189,134,.5);background:rgba(13,24,41,.48);text-align:center}
.library-tools label{display:block;color:white;font-family:"Cormorant Garamond";font-size:1.6rem;margin-bottom:12px}
.library-tools input{width:100%;padding:13px 15px;border:1px solid var(--gold-light);background:#f8f1e5;color:var(--ink);font:inherit}
.library-filters{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;margin-top:18px}
.filter-button{border:1px solid var(--gold-light);background:transparent;color:white;padding:9px 16px;font:inherit;cursor:pointer}.filter-button.active{background:var(--gold);color:#172033}
.library-selectors{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:20px;text-align:left}
.library-selectors label{font-family:"Source Serif 4",Georgia,serif;font-size:.74rem;text-transform:uppercase;letter-spacing:.12em;color:var(--gold-light);margin:0}
.library-selectors select{display:block;width:100%;margin-top:7px;padding:11px 38px 11px 12px;border:1px solid var(--gold-light);border-radius:0;background:#f8f1e5;color:var(--ink);font:inherit;text-transform:none;letter-spacing:0}
.library-count{color:var(--gold-light);margin:15px 0 0}.shelf-book[hidden]{display:none}

/* V40 — navigazione degli scaffali su browser desktop */
.shelf-navigator{position:relative}
.shelf{justify-content:flex-start;overflow-x:auto;overflow-y:hidden;scroll-behavior:smooth;scroll-snap-type:x proximity;scrollbar-width:auto;scrollbar-color:var(--gold) #1d1510;padding-bottom:14px}
.shelf::-webkit-scrollbar{height:12px}
.shelf::-webkit-scrollbar-track{background:#1d1510;border-top:1px solid #6f4528}
.shelf::-webkit-scrollbar-thumb{background:var(--gold);border:3px solid #1d1510;border-radius:999px}
.shelf-book{flex:0 0 190px;scroll-snap-align:start}
.shelf-scroll-button{position:absolute;top:48%;z-index:4;width:48px;height:48px;border:1px solid var(--gold-light);border-radius:50%;background:rgba(13,24,41,.94);color:#fff;font-family:inherit;font-size:1.45rem;line-height:1;cursor:pointer;box-shadow:0 8px 22px rgba(0,0,0,.3);transition:background .2s ease,opacity .2s ease,transform .2s ease}
.shelf-scroll-button:hover:not(:disabled){background:var(--gold);color:var(--navy);transform:scale(1.06)}
.shelf-scroll-button:disabled{opacity:.28;cursor:default}
.shelf-scroll-button.previous{left:-18px}
.shelf-scroll-button.next{right:-18px}
.shelf-scroll-button[hidden]{display:none}
.library-submissions{max-width:760px;margin:90px auto 0;padding:48px;text-align:center;border:1px solid rgba(215,189,134,.55);background:rgba(13,24,41,.45)}
.library-submissions h2{color:white;font-size:clamp(2.4rem,5vw,4rem)}
.library-submissions p{font-size:1.08rem}
.library-mail{margin-top:18px;border-color:var(--gold-light);color:white}
.library-mail:hover{background:var(--gold);border-color:var(--gold)}

/* ===========================
   PAGINE DELLE OPERE
=========================== */
.poem-page{min-height:100vh;padding:110px 20px 130px;background:linear-gradient(rgba(243,236,221,.94),rgba(243,236,221,.94)),radial-gradient(circle at 50% 15%,rgba(178,139,75,.18),transparent 35%)}
.poem-ornament{text-align:center;color:var(--gold);font-size:1.7rem}
.poem-header{text-align:center;max-width:850px;margin:0 auto 55px}
.poem-header h1{font-family:"Cormorant Garamond";font-size:clamp(3.8rem,9vw,7rem);line-height:.95;color:var(--navy);margin:18px 0}
.poem-author{font-family:"Cormorant Garamond";font-size:1.7rem;color:var(--gold);font-style:italic}
.poem-sheet{max-width:790px;margin:auto;background:rgba(251,247,238,.88);border:1px solid var(--line);padding:70px clamp(28px,7vw,85px);box-shadow:var(--shadow);position:relative}
.poem-sheet:before,.poem-sheet:after{content:"";position:absolute;left:22px;right:22px;height:1px;background:var(--line)}
.poem-sheet:before{top:22px}.poem-sheet:after{bottom:22px}
.poem-text{font-family:"Cormorant Garamond";font-size:clamp(1.55rem,3vw,2.15rem);line-height:1.65;color:#2c2925}
.poem-text p{margin:0 0 1.65em}
.prose-text{font-family:"Source Serif 4",Georgia,serif;font-size:clamp(1.08rem,2vw,1.25rem);line-height:1.9;color:#2c2925}
.prose-text p{margin:0 0 1.55em}
.prose-text .prose-quotation{margin:2em 0 .5em;padding:1.25em 1.4em;border-left:3px solid var(--gold);background:rgba(179,146,90,.08);font-family:"Cormorant Garamond",Georgia,serif;font-size:1.18em;font-style:italic;line-height:1.65}
.prose-text p:first-child:first-letter{float:left;font-family:"Cormorant Garamond";font-size:5rem;line-height:.76;color:var(--gold);padding:13px 10px 0 0}
.prose-text .dialogue{margin-bottom:.35em;padding-left:1.25em;text-indent:-1.25em}
.diary-entry{padding:0 0 2.2rem;margin:0 0 2.2rem;border-bottom:1px solid var(--line)}
.diary-entry:last-child{border-bottom:0;margin-bottom:0;padding-bottom:0}
.diary-entry h2{font-family:"Cormorant Garamond";font-size:2rem;line-height:1.1;color:var(--navy);margin:0 0 1rem}
.diary-text .diary-entry:first-child p:first-of-type:first-letter{float:none;font-family:inherit;font-size:inherit;line-height:inherit;color:inherit;padding:0}
.poem-credit{margin-top:60px;padding-top:25px;border-top:1px solid var(--line);font-size:.78rem;letter-spacing:.07em;color:#6f6252;text-transform:uppercase}
.back-to-library{display:block;width:max-content;margin:50px auto 0;color:var(--gold);text-transform:uppercase;letter-spacing:.14em;font-size:.78rem}
.work-navigation{max-width:900px;margin:55px auto 15px;display:flex;align-items:center;justify-content:center;gap:16px;flex-wrap:wrap}.work-navigation a,.share-work{border:1px solid var(--line);padding:10px 14px;background:rgba(255,255,255,.35);color:var(--navy);font:inherit;text-decoration:none;cursor:pointer}.work-navigation a:hover,.share-work:hover{border-color:var(--gold)}
.work-author-card{width:min(430px,calc(100% - 28px));margin:55px auto 0;padding:16px 20px;display:flex;align-items:center;gap:17px;border:1px solid var(--line);background:rgba(251,247,238,.78);color:var(--ink);text-decoration:none;box-shadow:0 10px 28px rgba(23,28,36,.08);transition:transform .25s ease,border-color .25s ease}.work-author-card:hover{transform:translateY(-3px);border-color:var(--gold)}.work-author-card img{width:72px;height:72px;border-radius:50%;object-fit:cover;border:1px solid var(--gold)}.work-author-card span{display:grid;text-align:left}.work-author-card small{color:var(--gold);text-transform:uppercase;letter-spacing:.14em;font-size:.65rem}.work-author-card strong{font-family:"Cormorant Garamond";font-size:1.65rem;color:var(--navy);line-height:1.1}.work-author-card em{font-size:.76rem;color:#6f6252;margin-top:3px}
.author-works{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:38px}.author-work{padding:22px;border:1px solid var(--line);text-decoration:none;background:rgba(255,255,255,.4)}.author-work strong{display:block;font-family:"Cormorant Garamond";font-size:1.6rem;color:var(--navy)}
.author-library-summary{text-align:center;margin:34px 0 16px;color:#6f6252;font-size:.92rem;letter-spacing:.05em}
.author-work-group{margin-top:40px}.author-work-group h2{font-family:"Cormorant Garamond";font-size:2rem;color:var(--navy);padding-bottom:10px;border-bottom:1px solid var(--line)}
.author-work-group .author-works{margin-top:20px}
.reading-meta{display:flex;align-items:center;justify-content:center;gap:9px;margin:13px 0 0;color:#6f6252;font-size:.78rem;text-transform:uppercase;letter-spacing:.09em}
.reading-progress{position:fixed;top:0;left:0;z-index:1100;width:100%;height:3px;background:transparent;pointer-events:none}.reading-progress span{display:block;width:0;height:100%;background:var(--gold);transition:width .08s linear}
.back-to-top{position:fixed;right:18px;bottom:18px;z-index:20;width:44px;height:44px;border:1px solid var(--gold);border-radius:50%;background:rgba(21,36,59,.94);color:#fff;font:1.1rem inherit;cursor:pointer;opacity:0;visibility:hidden;transform:translateY(8px);transition:opacity .2s ease,transform .2s ease,visibility .2s}.back-to-top.visible{opacity:1;visibility:visible;transform:none}
.recent-section{background:#ece3d2}.recent-works{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.recent-work{display:flex;min-height:180px;flex-direction:column;justify-content:space-between;padding:28px;border:1px solid var(--line);background:rgba(251,247,238,.8);color:var(--ink);text-decoration:none;transition:transform .25s ease,border-color .25s ease}.recent-work:hover{transform:translateY(-4px);border-color:var(--gold)}.recent-work span,.recent-work small{font-size:.72rem;text-transform:uppercase;letter-spacing:.1em;color:#76664e}.recent-work strong{font-family:"Cormorant Garamond";font-size:2rem;line-height:1.05;color:var(--navy);margin:14px 0}.recent-all{text-align:center;margin-top:34px}
.honeypot{position:absolute!important;left:-9999px!important}
.member-card>.text-link{margin-top:22px}.not-found{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:35px}.not-found img{width:min(260px,55vw);height:auto}.not-found h1{font-family:"Cormorant Garamond";font-size:clamp(3rem,8vw,6rem);line-height:1;color:var(--navy);margin:15px 0}
.members-section-title{text-align:center;margin:90px 0 38px}.members-section-title h2{margin-top:8px}.associates-grid{grid-template-columns:repeat(2,minmax(0,410px));justify-content:center}.book-spine.lucine-spine{background:linear-gradient(90deg,#27243b,#50496f 18%,#403b5b 75%,#1b182b)}

@media(max-width:760px){
  body:before{display:none}
  .site-header{backdrop-filter:none;-webkit-backdrop-filter:none;background:rgba(243,236,221,.98)}
  .emblem-ring img{filter:none}
  .reveal{transition-duration:.42s;transform:translateY(14px)}
  main>.section{content-visibility:auto;contain-intrinsic-size:auto 700px}
  .shelf{gap:14px;padding:25px 12px 0;overflow-x:auto;justify-content:flex-start}
  .shelf-book{min-width:170px;height:320px}
  .shelf-placeholder{min-width:120px;height:270px}
  .poem-sheet{padding-top:55px;padding-bottom:55px}
}

/* ===========================
   V6 — OTTIMIZZAZIONE MOBILE
=========================== */
body{overflow-x:hidden}
button,a{touch-action:manipulation}

@media(max-width:900px){
  .nav{min-height:72px;gap:14px}
  .brand{min-width:0;gap:10px}
  .brand span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .menu-toggle{min-width:72px;min-height:44px;border-radius:2px;text-transform:uppercase;letter-spacing:.1em;font-size:.74rem;font-weight:600}
  .menu{top:72px;gap:0;padding:8px 20px 18px;max-height:calc(100vh - 72px);overflow-y:auto;box-shadow:0 18px 35px rgba(21,36,59,.15)}
  .menu li{width:100%;border-bottom:1px solid var(--line)}
  .menu a{display:block;width:100%;padding:14px 4px;font-size:1rem}
  .menu a:after{display:none}
  .hero{min-height:auto;padding:70px 0 105px}
  .hero-grid{gap:32px}
  .hero h1{font-size:clamp(3.3rem,14vw,5rem);line-height:.94}
  .hero-glow{width:430px;height:430px;right:-250px}
  .motto{font-size:1.35rem}
  .lead{font-size:1.12rem;line-height:1.65}
  .section-heading{margin-bottom:42px}
  .value-card,.member-card{padding:34px 24px}
  .contact-grid{gap:38px}
  .page-hero h1,.poem-header h1{font-size:clamp(3rem,14vw,5rem);overflow-wrap:anywhere}
  .page-hero{padding:105px 0 70px}
  .shelf-scroll-button{display:none}
  .shelf-book{flex-basis:170px}
}

@media(max-width:760px){
  .library-room{padding-left:0;padding-right:0}
  .library-room>.container{width:100%}
  .shelf-heading{padding:0 18px;margin-bottom:28px}
  .shelf-heading-secondary{margin-top:82px}
  .shelf{min-height:350px;gap:16px;padding:24px 20px 0;border-left:0;border-right:0;scroll-snap-type:x mandatory;scroll-padding-inline:20px;-webkit-overflow-scrolling:touch}
  .shelf-book{min-width:164px;width:164px;height:310px;scroll-snap-align:center}
  .shelf-book{flex-basis:164px}
  .book-spine{padding:28px 18px}
  .book-spine strong{font-size:1.85rem}
  .book-spine.long-title strong{font-size:1.56rem}
  .shelf-placeholder{min-width:120px;height:260px;scroll-snap-align:center}
  .wood-shelf{height:26px}
  .library-note{padding:0 20px;font-size:.95rem}
  .poem-page{padding:76px 12px 90px}
  .poem-header{margin-bottom:36px}
  .poem-author{font-size:1.4rem}
  .poem-sheet{padding:48px 22px;border-left:0;border-right:0;box-shadow:0 14px 38px rgba(23,28,36,.1)}
  .poem-sheet:before,.poem-sheet:after{left:14px;right:14px}
  .poem-text{font-size:1.42rem;line-height:1.58}
  .prose-text{font-size:1.03rem;line-height:1.78}
  .prose-text p{margin-bottom:1.35em}
  .prose-text .dialogue{padding-left:1em;text-indent:-1em}
  .poem-credit{font-size:.69rem;line-height:1.6;letter-spacing:.05em}
  .back-to-library{text-align:center;white-space:normal}
  .work-navigation{flex-direction:column;margin-inline:12px}.work-navigation a,.share-work{width:100%;text-align:center}.author-works{grid-template-columns:1fr}
  .work-author-card{margin-top:42px;box-shadow:none;transition:none}.work-author-card:hover{transform:none}
  .library-submissions{margin:65px 18px 0;padding:34px 22px}
  .library-selectors{grid-template-columns:1fr}.library-tools{margin-inline:18px;padding:24px 18px}.recent-works{grid-template-columns:1fr}.recent-work{min-height:145px;transition:none}.recent-work:hover{transform:none}.back-to-top{right:12px;bottom:12px}
  .intro{transition-duration:.35s}
  .intro img{animation-duration:.55s}
  .book-card .book-cover{transition:none}
  .book-card:hover .book-cover{transform:none}
}

@media(max-width:560px){
  .container{width:min(100% - 28px,1180px)}
  .nav{width:calc(100% - 22px)}
  .brand img{width:40px;height:40px}
  .brand span{font-size:1rem;max-width:190px}
  .hero{padding-top:48px}
  .emblem-ring{width:min(285px,78vw);padding:18px}
  .actions{display:grid;width:100%;gap:11px}
  .button{width:100%;text-align:center;padding:15px 18px}
  .section{padding:70px 0}
  .section h2{font-size:clamp(2.35rem,12vw,3.4rem)}
  .large-text{font-size:1.18rem}
  blockquote{font-size:2rem}
  .article{padding:40px 0}
  .article h2{font-size:2.35rem}
  .event-card h2{font-size:2.15rem}
  .contact-form{padding:24px 18px}
  .footer-inner strong{font-size:1.65rem}
  .footer-inner img{width:82px}
}

/* V41 — ingresso più chiaro nelle pagine delle opere */
.poem-page{padding-top:82px}
.poem-header{margin-bottom:38px}
.poem-header h1{font-size:clamp(2.9rem,6.2vw,5.2rem);line-height:1}

@media(max-width:900px){
  .poem-page{padding-top:58px}
  .poem-header{margin-bottom:28px}
  .poem-header h1{font-size:clamp(2.45rem,10vw,3.8rem)}
}

@media(max-width:560px){
  .poem-page{padding-top:44px}
  .poem-header h1{font-size:clamp(2.25rem,10.5vw,3.15rem)}
}
