/* =====================================================
   exAmphorā — proposta MUSEALE
   Riferimenti: Treccani, MAXXI, Apollo, Domus, Cabinet
   Direzione: rivista culturale, tipografia editoriale,
   spazi generosi, palette ridotta a 3 colori.
   ===================================================== */

/* ---------- TOKENS ---------- */
:root{
  --paper:    #F2EDE2;     /* avorio caldo, da tipografia */
  --paper-2:  #ECE5D4;
  --ink:      #14110E;     /* nero quasi puro, caldo */
  --ink-2:    #5A5247;
  --ink-3:    #8A7F6E;
  --rubrum:   #7B1F18;     /* rosso-rubrum dei manoscritti, accento */
  --line:     rgba(20, 17, 14, .18);
  --line-2:   rgba(20, 17, 14, .10);

  --display: "Newsreader", "Times New Roman", Georgia, serif;
  --body:    "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
}

/* ---------- RESET ---------- */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth; -webkit-text-size-adjust:100%}
body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:var(--body);
  font-size:17px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  font-feature-settings: "kern" 1, "liga" 1;
}
img,svg{display:block; max-width:100%}
a{color:var(--ink); text-decoration:underline; text-underline-offset:3px; text-decoration-thickness:1px;}
a:hover{color:var(--rubrum)}
ul,ol{list-style:none; padding:0; margin:0}
button{font-family:inherit; cursor:pointer; border:none; background:none}
hr{border:none}

/* ---------- LAYOUT ---------- */
.kicker{
  font-family:var(--body);
  font-size:11px; font-weight:500;
  letter-spacing:.28em; text-transform:uppercase;
  color:var(--rubrum);
  margin:0 0 14px;
}

/* Marchio: ogni occorrenza di "exAmphorā" in rubrum */
.brand{ color: var(--rubrum); }
.m-title.brand{ color: var(--rubrum); }
.ch-head h2 em.brand{ color: var(--rubrum); } /* ridondanza per chiarezza */

/* Logo del masthead (immagine ottimizzata WebP+PNG) */
.m-logo{
  display:block;
  height:clamp(36px, 3.8vw, 44px);
  width:auto;
  max-width:100%;
}
.m-title{
  display:inline-flex;
  align-items:center;
}
.m-title picture{
  display:block;
}


.visually-hidden{
  position:absolute!important; width:1px; height:1px;
  padding:0; margin:-1px; overflow:hidden;
  clip:rect(0,0,0,0); white-space:nowrap; border:0;
}

/* Honeypot anti-bot: invisibile agli umani.
   NON usare display:none (molti bot lo rilevano e saltano il campo).
   Posizioniamo off-screen + tabindex=-1 + autocomplete=off. */
.honeypot{
  position:absolute !important;
  left:-10000px; top:auto;
  width:1px; height:1px;
  overflow:hidden;
}

/* ============================================
   STATUS PAGES (grazie.html, confermato.html)
   ============================================ */
.status-page{
  max-width:880px;
  margin:0 auto;
  padding:96px 28px;
}
@media(min-width:880px){ .status-page{ padding:140px 56px; } }

.status-page__inner{ max-width:62ch; }

.status-page__title{
  font-family:var(--display);
  font-weight:400;
  font-size:clamp(40px, 6vw, 80px);
  line-height:.96;
  letter-spacing:-.02em;
  margin:14px 0 28px;
  color:var(--ink);
}
.status-page__title em{
  font-style:italic;
  color:var(--rubrum);
}

.status-page__lede{
  font-family:var(--display);
  font-size:clamp(18px, 1.5vw, 22px);
  line-height:1.55;
  color:var(--ink);
  margin:0 0 24px;
}

.status-page__hint{
  font-family:var(--body);
  font-size:15px;
  line-height:1.6;
  color:var(--ink-2);
  margin:0;
  padding-top:24px;
  border-top:1px solid var(--line);
}
.status-page__hint a{
  color:var(--rubrum);
  text-decoration:underline;
  text-underline-offset:3px;
}

/* Footer ridotto, solo per le status pages */
.site-footer-mini{
  border-top:1px solid var(--line);
  padding:24px 28px;
  text-align:center;
}
@media(min-width:880px){ .site-footer-mini{ padding:32px 56px; } }
.site-footer-mini .small{
  margin:0;
  font-family:var(--body);
  font-size:12px;
  letter-spacing:.04em;
  color:var(--ink-3);
}

/* OTP form per /verifica.html */
.otp-form{
  display:flex;
  flex-direction:column;
  gap:14px;
  max-width:360px;
  margin:32px 0;
}
.otp-form input[type="text"]{
  font-family:"SF Mono", Menlo, Monaco, "Courier New", monospace;
  font-size:36px;
  letter-spacing:.18em;
  text-align:center;
  padding:18px 12px;
  background:var(--paper);
  border:1px solid var(--ink);
  color:var(--ink);
  width:100%;
  font-weight:600;
}
.otp-form input[type="text"]::placeholder{
  color:var(--ink-3);
  letter-spacing:.18em;
  font-weight:400;
}
.otp-form input[type="text"]:focus{
  outline:2px solid var(--rubrum);
  outline-offset:2px;
}
.otp-form button{
  padding:16px 24px;
  background:var(--ink);
  color:var(--paper);
  border:none;
  font-family:var(--body);
  font-size:13px;
  letter-spacing:.18em;
  text-transform:uppercase;
  font-weight:500;
  cursor:pointer;
  transition:background .25s;
}
@media (hover: hover){
  .otp-form button:hover{ background:var(--rubrum); }
}

/* Status page error message (rosso) */
.status-page__error{
  font-family:var(--body);
  font-size:14px;
  line-height:1.5;
  color:var(--rubrum);
  background:rgba(123, 31, 24, .08);
  border-left:3px solid var(--rubrum);
  padding:12px 16px;
  margin:0 0 24px;
}

/* Skip link per navigazione tastiera / accessibilità */
.skip-link{
  position:absolute;
  top:-100px;
  left:8px;
  background:var(--rubrum);
  color:var(--paper);
  padding:12px 18px;
  font-family:var(--body);
  font-size:14px;
  font-weight:600;
  letter-spacing:.04em;
  text-decoration:none;
  z-index:9999;
  border-radius:4px;
  transition:top .2s ease;
}
.skip-link:focus{ top:8px; }

/* Focus-visible esplicito su tutti gli elementi interattivi */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible{
  outline:2px solid var(--rubrum);
  outline-offset:3px;
  border-radius:2px;
}

.rule{
  height:0; border-top:1px solid var(--line);
  margin:64px auto; max-width:1180px;
}
@media(min-width:880px){ .rule{ margin:96px auto; } }

/* ============================================
   MASTHEAD (testata)
   ============================================ */
.masthead{
  border-bottom:1px solid var(--ink);
  padding:22px 28px 16px;
}
@media(min-width:880px){ .masthead{ padding:28px 56px 18px; } }

.m-row{
  max-width:1180px; margin:0 auto;
  display:grid;
  grid-template-columns: 1fr auto 1fr;
  align-items:center;
  gap:24px;
}
.m-row--sub{
  margin-top:14px;
  padding-top:12px;
  border-top:1px solid var(--line-2);
  grid-template-columns: 1fr 1fr;
}
.m-issue, .m-cta{
  font-family:var(--body); font-size:11px;
  letter-spacing:.22em; text-transform:uppercase;
  color:var(--ink-2);
}
.m-cta{ text-align:right; text-decoration:none; color:var(--rubrum); }
.m-cta:hover{ color:var(--ink); }
.m-title{
  font-family:var(--display);
  font-weight:400;
  font-size:clamp(28px, 3.2vw, 38px);
  letter-spacing:-.01em;
  text-align:center;
  text-decoration:none;
  color:var(--ink);
}
.m-tag{
  font-family:var(--body); font-size:11px;
  letter-spacing:.22em; text-transform:uppercase;
  color:var(--ink-3);
}
.m-nav{ display:flex; gap:8px; justify-content:flex-end; flex-wrap:wrap; margin:-10px 0; }
.m-nav a{
  font-family:var(--display); font-style:italic;
  font-weight:400; font-size:15px;
  text-decoration:none; color:var(--ink);
  padding:10px 8px;        /* tap target ≥ 44 px */
  border-radius:4px;
}
@media (hover: hover) {
  .m-nav a:hover{ color:var(--rubrum); }
}

/* ============================================
   HERO
   ============================================ */
.hero{
  max-width:1180px; margin:0 auto;
  padding:80px 28px 56px;
}
@media(min-width:880px){ .hero{ padding:120px 56px 80px; } }

.hero__kicker{
  font-family:var(--body); font-size:11px;
  font-weight:500; letter-spacing:.28em;
  text-transform:uppercase; color:var(--rubrum);
  margin:0 0 24px;
}

.hero__title{
  font-family:var(--display);
  font-weight:400;
  font-size:clamp(64px, 11vw, 168px);
  line-height:.88;
  letter-spacing:-.025em;
  margin:0 0 56px;
  color:var(--ink);
}
.hero__title em{
  font-style:italic;
  color:var(--rubrum);
}

.hero__meta{
  display:grid; grid-template-columns:1fr; gap:48px;
  border-top:1px solid var(--ink);
  padding-top:32px;
  max-width:980px;
}
@media(min-width:760px){
  .hero__meta{ grid-template-columns: 1.1fr .9fr; gap:64px; }
}
.hero__meta p{
  font-family:var(--display);
  font-size:clamp(20px, 2vw, 24px);
  font-weight:400;
  line-height:1.45;
  margin:0;
  color:var(--ink);
}
.hero__data{
  margin:0; display:flex; flex-direction:column; gap:14px;
}
.hero__data > div{
  display:grid; grid-template-columns: 90px 1fr; gap:18px;
  padding-bottom:12px; border-bottom:1px solid var(--line-2);
}
.hero__data dt{
  font-family:var(--body); font-size:11px;
  letter-spacing:.22em; text-transform:uppercase;
  color:var(--rubrum);
  padding-top:3px;
}
.hero__data dd{
  margin:0; font-family:var(--body); font-size:14px;
  color:var(--ink); line-height:1.5;
}


/* ============================================
   HOME TRAILER (video Vimeo dopo hero)
   ============================================ */
.home-trailer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 28px 56px;
}
@media (min-width: 880px) {
  .home-trailer { padding: 24px 56px 72px; }
}

.home-trailer__media {
  background: var(--paper-2);
  border: 1.5px solid var(--rubrum);
  padding: 12px 12px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.home-trailer__video {
  position: relative;
  width: 100%;
  aspect-ratio: 5 / 3;
  background: var(--ink);
  border: 0.5px solid var(--line);
  overflow: hidden;
}

.home-trailer__video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.home-trailer__caption {
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rubrum);
  text-align: center;
  margin: 0;
  padding: 4px 0 8px;
  opacity: 0.85;
}

/* ============================================
   INDICE
   ============================================ */
.indice{
  max-width:1180px; margin:0 auto;
  padding:40px 28px 80px;
  border-top:1px solid var(--line);
}
@media(min-width:880px){ .indice{ padding:48px 56px 120px; } }

.indice .kicker{ margin-bottom:32px; }

.indice__list{
  border-top:1px solid var(--ink);
}
.indice__list li{
  border-bottom:1px solid var(--line);
}
.indice__list a{
  display:grid;
  grid-template-columns: 80px 1fr 80px;
  align-items:baseline;
  gap:24px;
  padding:22px 0;
  text-decoration:none;
  color:var(--ink);
}
@media(min-width:760px){
  .indice__list a{ grid-template-columns: 100px 1fr auto 100px; }
}
.indice__list .num{
  font-family:var(--display); font-style:italic;
  font-size:24px; font-weight:400;
  color:var(--rubrum);
}
.indice__list .ttl{
  font-family:var(--display);
  font-size:clamp(18px, 1.8vw, 22px);
  font-weight:400;
  line-height:1.3;
}
.indice__list .dots{
  display:none;
  border-bottom:1px dotted var(--line);
  align-self:end;
  height:1.4em;
}
@media(min-width:760px){ .indice__list .dots{ display:block; } }
.indice__list .page{
  font-family:var(--body); font-size:11px;
  letter-spacing:.22em; text-transform:uppercase;
  color:var(--ink-3); text-align:right;
}
.indice__list a:hover .ttl{ color:var(--rubrum); }
.indice__list a:hover .num{ color:var(--ink); }

/* ============================================
   CHAPTER
   ============================================ */
.chapter{
  max-width:1180px; margin:0 auto;
  padding:0 28px;
}
@media(min-width:880px){ .chapter{ padding:0 56px; } }

.ch-head{
  display:grid;
  grid-template-columns: 80px 1fr;
  gap:24px;
  margin-bottom:48px;
  padding-top:24px;
  border-top:1px solid var(--ink);
}
@media(min-width:880px){
  .ch-head{
    grid-template-columns: 200px 1fr;
    gap:48px; margin-bottom:64px;
  }
}
.ch-num{
  font-family:var(--display); font-style:italic;
  font-weight:400; font-size:clamp(40px, 4.5vw, 60px);
  color:var(--rubrum); line-height:1;
}
.ch-head h2{
  margin:0;
  font-family:var(--display);
  font-weight:400;
  font-size:clamp(40px, 6.5vw, 88px);
  line-height:.96;
  letter-spacing:-.02em;
  color:var(--ink);
}
.ch-head h2 em{
  font-style:italic;
  color:var(--rubrum);
}

.ch-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap:32px;
}
@media(min-width:880px){
  .ch-grid{
    grid-template-columns: 200px 1fr;
    gap:48px;
  }
}

.ch-margin{ position:relative; }
.margin-note{
  margin:0;
  padding:16px 0;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  font-family:var(--display);
  font-style:italic;
  font-size:14px;
  line-height:1.55;
  color:var(--ink-2);
}

.ch-body{ max-width:680px; }
.ch-body p{
  font-family:var(--display);
  font-weight:400;
  font-size:clamp(18px, 1.45vw, 21px);
  line-height:1.55;
  margin:0 0 22px;
  color:var(--ink);
}
.ch-body p:last-child{ margin-bottom:0; }
.ch-body i{ font-style:italic; color:var(--ink-2); }

.dropcap{ position:relative; min-height:60px; }
.cap-letter{
  float:left;
  font-family:var(--display);
  font-weight:400;
  font-style:normal;
  font-size:96px;
  line-height:.84;
  color:var(--rubrum);
  margin:6px 14px 0 0;
  padding-right:6px;
}

/* ============================================
   SOURCES (capitolo II)
   ============================================ */
.sources{
  display:grid;
  grid-template-columns:1fr;
  gap:48px;
}
@media(min-width:760px){
  .sources{ grid-template-columns:1fr 1fr; gap:56px 64px; }
}
.source{
  border-top:1px solid var(--ink);
  padding-top:24px;
}
.source header{ margin-bottom:24px; }
.src-num{
  font-family:var(--body); font-size:11px;
  font-weight:500; letter-spacing:.22em;
  text-transform:uppercase; color:var(--rubrum);
  display:block; margin-bottom:8px;
}
.source h3{
  margin:0 0 4px;
  font-family:var(--display); font-weight:400;
  font-size:clamp(28px, 3vw, 36px);
  line-height:1;
  color:var(--ink);
}
.source h3 i{ font-style:italic; color:var(--ink-2); }
.src-meta{
  margin:0;
  font-family:var(--body); font-size:13px;
  color:var(--ink-3); letter-spacing:.04em;
}
.source blockquote{
  margin:0 0 14px; padding:0;
  font-family:var(--display); font-style:italic;
  font-weight:400; font-size:clamp(20px, 2.1vw, 26px);
  line-height:1.35;
  color:var(--ink);
}
.trans{
  margin:0 0 22px;
  font-family:var(--display);
  font-size:17px; line-height:1.5;
  color:var(--ink-2);
}
.comment{
  margin:0; padding-top:16px;
  border-top:1px solid var(--line-2);
  font-family:var(--body);
  font-size:14px; line-height:1.55;
  color:var(--ink-2);
}
.comment i{ color:var(--ink); }

/* ============================================
   ACTS (capitolo III)
   ============================================ */
.acts{
  display:flex; flex-direction:column;
  border-top:1px solid var(--ink);
}
.acts > li{
  display:grid;
  grid-template-columns: 80px 1fr;
  gap:24px;
  padding:32px 0;
  border-bottom:1px solid var(--line);
}
@media(min-width:760px){
  .acts > li{
    grid-template-columns: 200px 1fr;
    gap:48px; padding:40px 0;
  }
}
.a-num{
  font-family:var(--display); font-style:italic;
  font-weight:400; font-size:36px;
  color:var(--rubrum); line-height:1;
}
.acts h3{
  margin:0 0 12px;
  font-family:var(--display); font-weight:400;
  font-size:clamp(24px, 2.4vw, 32px);
  line-height:1.05;
  color:var(--ink);
}
.acts p{
  margin:0; max-width:60ch;
  font-family:var(--display); font-size:18px;
  line-height:1.55; color:var(--ink-2);
}

/* ============================================
   DATA TABLE (capitolo IV)
   ============================================ */
.data{
  width:100%;
  border-collapse:collapse;
  border-top:1px solid var(--ink);
  border-bottom:1px solid var(--ink);
  font-family:var(--display);
  font-size:18px;
}
.data th, .data td{
  text-align:left;
  padding:16px 0;
  border-bottom:1px solid var(--line);
  vertical-align:top;
  font-weight:400;
}
.data tr:last-child th, .data tr:last-child td{ border-bottom:none; }
.data th{
  width:40%;
  font-family:var(--body);
  font-size:11px; letter-spacing:.22em;
  text-transform:uppercase;
  color:var(--rubrum);
  padding-right:24px;
}
.data td{ color:var(--ink); }
@media(max-width:600px){
  .data{ font-size:16px; }
  .data th{ width:42%; font-size:10px; letter-spacing:.18em; }
}

/* ============================================
   CHAPTER V — LE MANI (enologo + fornaci)
   ============================================ */
.ch-intro{
  max-width:60ch;
  font-family:var(--display);
  font-style:italic;
  font-size:clamp(18px, 1.8vw, 22px);
  line-height:1.5;
  color:var(--ink-2);
  margin:0 0 64px;
}

.hand{
  border-top:1px solid var(--line);
  padding:48px 0 0;
  margin-top:48px;
}
.hand:first-of-type{ border-top:1px solid var(--ink); margin-top:0; }

.hand__head{
  margin-bottom:40px;
}
.hand__head .kicker{
  margin:0 0 8px;
}
.hand__head h3{
  margin:0 0 8px;
  font-family:var(--display); font-weight:400;
  font-size:clamp(40px, 5vw, 64px);
  letter-spacing:-.015em; line-height:.95;
  color:var(--ink);
}
.hand__role{
  margin:0;
  font-family:var(--body); font-size:13px;
  letter-spacing:.04em; color:var(--ink-3);
}

.hand__grid{
  display:grid;
  grid-template-columns:1fr;
  gap:32px;
}
@media(min-width:880px){
  .hand__grid{ grid-template-columns: 200px 1fr; gap:48px; }
}

.hand__margin .margin-note{ margin:0; }
.hand__margin .margin-note strong{ font-weight:600; }
.hand__margin .margin-note strong.brand{ color:var(--rubrum); }

.hand__chips{
  margin-top:18px;
  display:flex; flex-wrap:wrap; gap:6px;
}
.hand__chips li{
  font-family:var(--body); font-size:11px;
  font-weight:500; letter-spacing:.14em;
  text-transform:uppercase;
  padding:5px 10px;
  border:1px solid var(--line);
  color:var(--ink-2);
}

.hand__body{ max-width:680px; }
.hand__body p{
  font-family:var(--display);
  font-size:clamp(18px, 1.45vw, 21px);
  line-height:1.55;
  margin:0 0 22px;
  color:var(--ink);
}
.hand__body p:last-child{ margin-bottom:0; }
.hand__body i{ font-style:italic; color:var(--ink-2); }
.hand__body strong{ color:var(--rubrum); font-weight:600; }
.hand__body a{
  color:var(--rubrum);
  text-decoration:underline; text-underline-offset:3px;
}
.hand__body a:hover{ color:var(--ink); }

.hand__cite{
  margin-top:8px!important;
  font-family:var(--body)!important;
  font-size:13px!important;
  letter-spacing:.06em;
}
.hand__cite a{
  font-family:var(--body); font-weight:500;
  text-decoration:none;
  border-bottom:1px solid var(--rubrum);
  padding-bottom:2px;
}


/* ============================================
   APPARATO: tiers + iscrizione + colophon
   ============================================ */
.apparato{
  max-width:1180px; margin:0 auto;
  padding:0 28px 96px;
}
@media(min-width:880px){ .apparato{ padding:0 56px 120px; } }

.tiers{ margin-bottom:96px; }
.tiers .kicker{ margin-bottom:14px; }

/* Tier · teaser: la scala vera è riservata al go-live crowdfunding.
   Qui solo un breve invito che spinge all'iscrizione mailing list. */
.tiers__teaser{
  border-top:1px solid var(--ink);
  padding-top:32px;
  max-width:62ch;
}
.tiers__teaser p{
  font-family:var(--display);
  font-size:clamp(18px, 1.45vw, 21px);
  line-height:1.55;
  color:var(--ink);
  margin:0 0 18px;
}
.tiers__teaser-cta{
  font-family:var(--body) !important;
  font-size:15px !important;
  color:var(--ink-2) !important;
}
.tiers__teaser-cta a{
  color:var(--rubrum);
  text-decoration:underline;
  text-underline-offset:3px;
  font-weight:500;
}
.tiers__teaser-cta em{ font-style:italic; color:var(--ink); }

/* ---- ISCRIZIONE ---- */
.iscrizione{
  margin-bottom:96px;
  padding-top:48px;
  border-top:1px solid var(--ink);
}
.iscrizione .kicker{ margin-bottom:14px; }
.iscrizione h3{
  margin:0 0 24px;
  font-family:var(--display); font-weight:400;
  font-size:clamp(36px, 5vw, 60px);
  line-height:1; letter-spacing:-.015em;
  color:var(--ink);
}
.i-body{
  max-width:60ch; margin:0 0 32px;
  font-family:var(--display); font-size:19px;
  line-height:1.55; color:var(--ink-2);
}
.i-form{
  display:grid; grid-template-columns:1fr; gap:0;
  max-width:560px;
  border-top:1px solid var(--ink);
  border-bottom:1px solid var(--ink);
}
@media(min-width:520px){ .i-form{ grid-template-columns:1fr auto; } }
.i-form input{
  padding:18px 4px; background:transparent;
  border:none;
  font-family:var(--display); font-size:20px;
  color:var(--ink);
}
.i-form input:focus{ outline:none; }
.i-form input::placeholder{ color:var(--ink-3); font-style:italic; }
.i-form button{
  padding:18px 24px;
  background:var(--ink); color:var(--paper);
  font-family:var(--body); font-size:12px;
  letter-spacing:.22em; text-transform:uppercase;
  font-weight:500; transition:background .25s;
}
.i-form button:hover{ background:var(--rubrum); }

/* ---- COLOPHON ---- */
.colophon{
  padding-top:48px;
  border-top:1px solid var(--ink);
}
.colophon .kicker{ margin-bottom:24px; }
.col-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:18px;
  max-width:760px;
}
.col-grid p{
  margin:0; font-family:var(--body);
  font-size:13px; line-height:1.65;
  color:var(--ink-2);
}
.col-grid p strong{ color:var(--ink); font-weight:600; }
.col-grid p i{ color:var(--rubrum); font-style:italic; }
.col-meta{
  margin-top:8px!important;
  font-size:11px!important;
  letter-spacing:.18em; text-transform:uppercase;
  color:var(--ink-3)!important;
}
.col-meta a{
  color:var(--ink-2);
  text-decoration:underline;
  padding:8px 4px;          /* tap target ≥ 32 px in altezza */
  display:inline-block;
}
@media (hover: hover) {
  .col-meta a:hover{ color:var(--rubrum); }
}

/* ============================================
   MOBILE TUNING
   ============================================ */
@media (max-width: 600px){
  .masthead{ padding: 16px 22px 12px; }

  /* MASTHEAD ROW 1
     ┌─────────────────────────────┐
     │           [LOGO]            │
     │ NUMERO I · MMXXVI · MAILING │
     └─────────────────────────────┘
     Logo centrato in alto, data + CTA bilanciati sotto. */
  .m-row{
    grid-template-columns: 1fr 1fr;
    gap: 14px 12px;
  }
  .m-row > .m-title{
    grid-column: 1 / -1;
    grid-row: 1;
    justify-self: center;
    text-align: center;
  }
  .m-issue{ text-align: left; }
  /* .m-cta mantiene text-align:right dalla regola base */

  /* MASTHEAD ROW 2 (--sub): tag + nav, entrambi centrati */
  .m-row--sub{
    grid-template-columns: 1fr;
    gap: 8px;
    text-align: center;
  }
  .m-tag{ text-align: center; }
  .m-nav{ justify-content: center; }

  /* Tipografia / layout di pagina */
  .hero__title{ font-size:64px; }
  .ch-head{ grid-template-columns: 48px 1fr; gap:12px; }
  .ch-num{ font-size:28px; }
  .ch-head h2{ font-size:38px; }
  .acts > li, .ch-grid{ grid-template-columns:1fr; }
  .ch-grid > .ch-margin{ order:0; }   /* margin-note prima del body, come didascalia di apertura */
  .cap-letter{ font-size:56px; }
}

/* iPhone SE / phone molto stretti */
@media (max-width: 380px){
  .hero__title{ font-size:52px; }
  .cap-letter{ font-size:48px; }
}

/* ============================================
   PREFERS REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    transition:none !important; animation:none !important;
  }
  html{ scroll-behavior:auto; }
}

/* ============================================
   PRINT (gentilezza)
   ============================================ */
@media print{
  .masthead .m-cta, .iscrizione .i-form{ display:none; }
  body{ background:#fff; }
  .rule{ page-break-after:always; }
}

/* ============================================
   COUNTER ISCRIZIONI MAILING LIST
   ============================================ */
.subscribe-counter {
  font-family: var(--display);
  font-style: italic;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(20, 17, 14, 0.65);
  margin: 18px 0 0;
  max-width: 60ch;
  font-variant-numeric: tabular-nums;
}
.subscribe-counter__num {
  font-weight: 600;
  color: var(--rubrum);
  letter-spacing: 0.01em;
}

/* ===========================================================
   ║  MOBILE EXPERIENCE v2 — accordion + sticky bar + trailer modal
   ║  Tutte le trasformazioni sono dentro @media (max-width: 759px)
   ║  Il modal video è globale ma resta nascosto finché aria-hidden="true".
   ║  Desktop: nessun effetto.
   =========================================================== */

/* ====== VIDEO MODAL FULLSCREEN (globale, valido anche su desktop se aperto) ====== */
.video-modal-mob {
  position: fixed; inset: 0;
  background: rgba(20, 17, 14, 0.96);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1000;
  display: grid; place-items: center;
  padding: 24px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.video-modal-mob[aria-hidden="false"] {
  opacity: 1; pointer-events: auto;
}
.video-modal-mob__frame {
  width: 100%; max-width: 1000px;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.7);
  transform: scale(0.92);
  transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
}
.video-modal-mob[aria-hidden="false"] .video-modal-mob__frame { transform: scale(1); }
.video-modal-mob__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-modal-mob__close {
  position: absolute; top: 18px; right: 18px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 0.5px solid rgba(255,255,255,0.25);
  color: #fff;
  font-size: 22px; line-height: 1;
  display: grid; place-items: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.18s ease;
}
.video-modal-mob__close:hover  { background: rgba(255,255,255,0.18); }
.video-modal-mob__close:active { transform: scale(0.95); }
.video-modal-mob__caption {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.7);
  font-family: var(--display);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
}

/* Hero trailer poster — solo mobile lo rende visibile */
.hero__media-mob {
  display: none;
}

/* Sticky bar — solo mobile la rende visibile */
.sticky-bar-mob { display: none; }

/* Logo finale di chiusura — solo mobile lo rende visibile */
.colophon__logo-mob { display: none; }


/* ===========================================================
   ║  MOBILE BREAKPOINT — viewport ≤ 759px
   =========================================================== */
@media (max-width: 759px) {

  /* ====== TRAILER su mobile: nascondiamo l'iframe inline e mostriamo il poster nell'hero ====== */
  .home-trailer { display: none; }

  /* hero diventa griglia 2-col per ospitare il poster a destra del titolo */
  .hero {
    display: grid;
    grid-template-columns: 1fr auto;
    column-gap: 14px;
    row-gap: 0;
  }
  .hero__kicker, .hero__meta { grid-column: 1 / -1; }
  .hero__title { grid-column: 1; align-self: start; }
  .hero__media-mob {
    display: block;
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    margin-top: 4px;
    width: 96px; height: 96px;
    border-radius: 4px;
    border: 0; padding: 0;
    background: #14110E;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 6px 18px -8px rgba(0,0,0,0.5);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  .hero__media-mob:active { transform: scale(0.97); }
  .hero__media-mob__bg {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, #2a201a 0%, #14110E 70%, #1a1410 100%);
  }
  .hero__media-mob__amphora {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -56%);
    width: 28px; height: 56px;
    color: rgba(123, 31, 24, 0.55);
    pointer-events: none;
  }
  .hero__media-mob__play {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 34px; height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    display: grid; place-items: center;
    pointer-events: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.4);
  }
  .hero__media-mob__play::before {
    content: '';
    width: 0; height: 0;
    border-style: solid;
    border-width: 6px 0 6px 9px;
    border-color: transparent transparent transparent var(--rubrum);
    margin-left: 2px;
  }
  .hero__media-mob__caption {
    position: absolute; bottom: 5px; left: 0; right: 0;
    text-align: center;
    font-family: var(--body), sans-serif;
    font-size: 8.5px; font-weight: 600;
    letter-spacing: 0.22em; text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    pointer-events: none;
  }

  /* ====== ACCORDION CAPITOLI ====== */
  .ch-head.is-clickable-mob {
    cursor: pointer;
    user-select: none;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: baseline;
    column-gap: 12px;
    padding: 18px 8px;
    margin: 0 -8px;
    border-radius: 4px;
    transition: background-color 0.18s ease;
  }
  .ch-head.is-clickable-mob:active { background-color: rgba(123, 31, 24, 0.06); }
  .ch-head.is-clickable-mob h2 { margin: 0; }

  .ch-toggle-mob {
    color: var(--rubrum);
    font-size: 14px; line-height: 1;
    align-self: center;
    display: inline-block;
    transform: rotate(0deg);
    transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
    will-change: transform;
  }
  .ch-toggle-mob::before { content: '↓'; }
  .chapter[data-open-mob] .ch-toggle-mob { transform: rotate(180deg); }

  .chapter__body-mob {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transform: translateY(-4px);
    transition:
      max-height 0.5s cubic-bezier(0.32, 0.72, 0, 1),
      opacity 0.32s cubic-bezier(0.4, 0, 0.2, 1),
      transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
    will-change: max-height, opacity, transform;
  }
  .chapter[data-open-mob] .chapter__body-mob {
    opacity: 1;
    transform: translateY(0);
  }

  /* ====== ACCORDION ATTI (Cap III) ====== */
  .acts > li.act-mob {
    display: block;
    padding: 0;
    border-top: 0.5px solid rgba(20,17,14,0.14);
  }
  .acts > li.act-mob:first-child { border-top: 0; }
  .act-head-mob {
    display: grid;
    grid-template-columns: 32px 1fr auto;
    align-items: baseline;
    column-gap: 12px;
    padding: 14px 8px;
    margin: 0 -8px;
    border-radius: 4px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.18s ease;
  }
  .act-head-mob:active { background-color: rgba(123, 31, 24, 0.08); }
  .act-head-mob .a-num {
    font-family: var(--display);
    font-style: italic;
    color: var(--rubrum);
    font-size: 16px;
  }
  .act-head-mob h3 {
    font-family: var(--display);
    font-weight: 500; font-size: 17px;
    line-height: 1.2; color: var(--ink);
    margin: 0;
  }
  .act-toggle-mob {
    color: var(--rubrum);
    font-size: 13px; line-height: 1;
    align-self: center;
    display: inline-block;
    transform: rotate(0deg);
    transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
  }
  .act-toggle-mob::before { content: '↓'; }
  .acts > li.act-mob[data-open-mob] .act-toggle-mob { transform: rotate(180deg); }
  .act-body-mob {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    padding-bottom: 0;
    transition:
      max-height 0.45s cubic-bezier(0.32, 0.72, 0, 1),
      opacity 0.3s ease,
      padding-bottom 0.4s ease;
  }
  .acts > li.act-mob[data-open-mob] .act-body-mob {
    opacity: 1;
    padding-bottom: 14px;
  }
  .act-body-mob p {
    padding-left: 44px;
    margin: 4px 0 0;
  }

  /* ====== ACCORDION MANI (Cap V) ====== */
  .hand .hand__head.is-clickable-mob {
    cursor: pointer;
    user-select: none;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    column-gap: 14px;
    padding: 16px 8px;
    margin: 0 -8px;
    border-radius: 4px;
    transition: background-color 0.18s ease;
  }
  .hand .hand__head.is-clickable-mob:active { background-color: rgba(123, 31, 24, 0.08); }
  .hand-toggle-mob {
    color: var(--rubrum);
    font-size: 13px; line-height: 1;
    align-self: center;
    display: inline-block;
    transform: rotate(0deg);
    transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
  }
  .hand-toggle-mob::before { content: '↓'; }
  .hand[data-open-mob] .hand-toggle-mob { transform: rotate(180deg); }
  .hand-body-mob {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    padding-bottom: 0;
    transition:
      max-height 0.5s cubic-bezier(0.32, 0.72, 0, 1),
      opacity 0.3s ease,
      padding-bottom 0.4s ease;
  }
  .hand[data-open-mob] .hand-body-mob {
    opacity: 1;
    padding-bottom: 18px;
  }

  /* ====== STICKY BOTTOM BAR ====== */
  .sticky-bar-mob {
    display: grid;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 95;
    background: rgba(20, 17, 14, 0.96);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--paper, #F2EDE2);
    padding: 10px 14px;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: center;
    border-top: 0.5px solid rgba(255,255,255,0.1);
    animation: stickyBarSlideUp 0.5s cubic-bezier(0.32, 0.72, 0, 1) 0.3s both;
  }
  .sticky-bar-mob__copy {
    font-family: var(--display);
    font-size: 13px; line-height: 1.25;
    color: var(--paper, #F2EDE2);
  }
  .sticky-bar-mob__copy strong {
    color: #d09a92; font-weight: 600;
    font-variant-numeric: tabular-nums;
  }
  .sticky-bar-mob__cta {
    background: var(--rubrum);
    color: var(--paper, #F2EDE2);
    font-family: var(--display);
    font-style: italic; font-weight: 500;
    font-size: 13px;
    padding: 9px 16px;
    border-radius: 999px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.22s ease, transform 0.18s ease;
  }
  .sticky-bar-mob__cta:active { transform: scale(0.95); }
  @keyframes stickyBarSlideUp {
    from { transform: translateY(100%); opacity: 0; }
    to   { transform: translateY(0);     opacity: 1; }
  }
  /* lascia spazio sopra alla sticky bar così il colophon non finisce sotto */
  body { padding-bottom: 76px; }

  /* ====== LOGO INTERO IN CHIUSURA (colophon) ====== */
  .colophon__logo-mob {
    display: block;
    width: 64%;
    max-width: 220px;
    margin: 8px auto 24px;
    opacity: 0.85;
  }
  .colophon__logo-mob img {
    display: block;
    width: 100%;
    height: auto;
  }
  .colophon__seal-mob {
    text-align: center;
    font-family: var(--display);
    font-size: 9px; font-weight: 600;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: rgba(20,17,14,0.5);
    margin: 4px 0 24px;
  }

  /* ====== MOTION-SAFE: rispetta prefers-reduced-motion ====== */
  @media (prefers-reduced-motion: reduce) {
    .ch-toggle-mob, .act-toggle-mob, .hand-toggle-mob,
    .chapter__body-mob, .act-body-mob, .hand-body-mob,
    .sticky-bar-mob, .video-modal-mob, .video-modal-mob__frame,
    .hero__media-mob, .hero__media-mob:active {
      transition: none !important;
      animation: none !important;
    }
  }
}

/* ===========================================================
   ║  MOBILE — header sticky color quando la sezione è aperta
   ║  (stesso colore del tap, persistente fino a chiusura)
   =========================================================== */
@media (max-width: 759px) {
  .chapter[data-open-mob] > .ch-head.is-clickable-mob {
    background-color: rgba(123, 31, 24, 0.06);
  }
  .acts > li.act-mob[data-open-mob] > .act-head-mob {
    background-color: rgba(123, 31, 24, 0.08);
  }
  .hand[data-open-mob] > .hand__head.is-clickable-mob {
    background-color: rgba(123, 31, 24, 0.08);
  }
}

/* ===========================================================
   ║  MOBILE MASTHEAD — sticky bar in alto con glyph anfora che si riempie
   ║  Sostituisce la .masthead desktop su mobile (≤759px).
   =========================================================== */
.m-mob-bar { display: none; }

@media (max-width: 759px) {
  /* Nasconde la masthead desktop e mostra quella mobile */
  .masthead { display: none !important; }

  .m-mob-bar {
    display: flex;
    position: sticky;
    top: 0;
    z-index: 90;
    background: rgba(242, 237, 226, 0.96);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 0.5px solid rgba(20,17,14,0.14);
    padding: 8px 14px;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }
  .m-mob-bar__brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--display);
    font-style: italic;
    font-weight: 600;
    font-size: 18px;
    color: var(--rubrum);
    letter-spacing: -0.005em;
    text-decoration: none;
  }
  .m-mob-bar__glyph {
    width: 16px;
    height: 32px;
    display: inline-block;
    color: var(--rubrum);
    flex-shrink: 0;
  }
  .m-mob-bar__glyph svg { display: block; width: 100%; height: 100%; }
  .m-mob-bar__outline {
    stroke: var(--rubrum);
    stroke-width: 5;
    fill: none;
    opacity: 0.45;
  }
  .m-mob-bar__liquid {
    fill: var(--rubrum);
    /* y e height aggiornati via JS dal mobile.js */
  }
  .m-mob-bar__cta {
    background: var(--rubrum);
    color: var(--paper, #F2EDE2);
    font-family: var(--display);
    font-style: italic; font-weight: 500;
    font-size: 13px;
    padding: 7px 14px;
    border-radius: 999px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.22s ease, transform 0.18s ease, box-shadow 0.22s ease;
  }
  .m-mob-bar__cta:hover {
    background: var(--rubrum-2, #6A1A14);
    box-shadow: 0 4px 10px -4px rgba(123,31,24,0.45);
  }
  .m-mob-bar__cta:active { transform: scale(0.96); }
}

/* ===========================================================
   ║  MOBILE — hero attaccato alla navbar sticky
   ║  Toglie l'80px di top-padding default che lasciava il "dito di spazio"
   =========================================================== */
@media (max-width: 759px) {
  .hero { padding-top: 24px; }
}

/* ===========================================================
   ║  MOBILE — INLINE FORMS (top sotto hero + mid dopo Cap II)
   ║  Identico al mockup: form anticipato + checkpoint medio.
   ║  Postano a /api/subscribe come il form finale.
   =========================================================== */
.form-inline-mob { display: none; }

@media (max-width: 759px) {
  .form-inline-mob {
    display: block;
    margin: 0 14px 28px;
    background: var(--paper-2, #ECE5D4);
    border: 0.5px solid rgba(20,17,14,0.14);
    border-left: 3px solid var(--rubrum);
    border-radius: 6px;
    padding: 18px 18px 16px;
    position: relative;
  }
  .form-inline-mob__label {
    font-family: var(--body); font-size: 10px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.18em;
    color: var(--rubrum);
    margin: 0 0 8px;
  }
  .form-inline-mob__title {
    font-family: var(--display); font-style: italic; font-weight: 500;
    font-size: 22px; line-height: 1.15;
    color: var(--ink);
    margin: 0 0 10px;
  }
  .form-inline-mob__sub {
    font-family: var(--display); font-size: 14px; line-height: 1.45;
    color: var(--ink-2); margin: 0 0 14px;
  }
  .form-inline-mob__row {
    display: flex; gap: 8px;
  }
  .form-inline-mob__row input[type="email"] {
    flex: 1; min-width: 0;
    font-family: var(--body); font-size: 15px;
    padding: 11px 12px;
    border: 0.5px solid rgba(20,17,14,0.25);
    border-radius: 999px;
    background: var(--paper, #F2EDE2);
    color: var(--ink);
    transition: border-color 0.22s, box-shadow 0.22s, background 0.2s;
  }
  .form-inline-mob__row input[type="email"]:focus {
    outline: none;
    border-color: var(--rubrum);
    box-shadow: 0 0 0 3px rgba(123,31,24,0.16);
    background: #fff;
  }
  .form-inline-mob__row button {
    background: var(--rubrum); color: var(--paper, #F2EDE2);
    font-family: var(--display); font-style: italic; font-weight: 500;
    font-size: 14px;
    padding: 11px 16px;
    border: none; border-radius: 999px;
    cursor: pointer; white-space: nowrap;
    transition: background 0.22s, transform 0.18s;
  }
  .form-inline-mob__row button:hover  { background: var(--rubrum-2, #6A1A14); }
  .form-inline-mob__row button:active { transform: scale(0.97); }
  .form-inline-mob__counter {
    font-family: var(--display); font-size: 12px; line-height: 1.4;
    color: var(--ink-3, #8A7F71); margin: 10px 0 0;
  }
  .form-inline-mob__counter strong {
    color: var(--rubrum); font-weight: 600;
    font-variant-numeric: tabular-nums;
  }
  .form-inline-mob .honeypot {
    position: absolute; left: -10000px; top: -10000px;
    width: 1px; height: 1px; overflow: hidden;
  }

  /* mid variant — più sobria, niente counter, niente sub, full-width button */
  .form-inline-mob.is-mid {
    background: transparent;
    border: 0;
    border-top: 1px solid var(--rubrum);
    border-bottom: 1px solid var(--rubrum);
    border-radius: 0;
    margin: 32px 14px;
    padding: 22px 14px;
    text-align: center;
  }
  .form-inline-mob.is-mid .form-inline-mob__row {
    flex-direction: column; gap: 10px;
  }
  .form-inline-mob.is-mid .form-inline-mob__row button {
    width: 100%; padding: 13px;
  }
}

/* ===========================================================
   ║  MOBILE — Cap V "Le mani" match esatto col mockup validato
   ║  Audit delta:
   ║    1. hand__role "Agronomo · Enologo · Wine Consultant" da nascondere
   ║       (la 3ª riga del header non c'è nel mockup)
   ║    2. hand__grid laterale → flow lineare (margin-note diventa paragrafo)
   ║    3. header → grid 2-col con chevron centrato verticalmente
   =========================================================== */
@media (max-width: 759px) {

  /* 1. Nasconde la riga del ruolo — non presente nel mockup */
  .hand .hand__role { display: none; }

  /* 2. Header → grid mockup-style (kicker + h3 a sinistra, chevron centrato a dx) */
  .hand .hand__head.is-clickable-mob {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    column-gap: 14px;
    row-gap: 0;
    align-items: center;
    padding: 16px 8px;
    margin: 0 -8px;
  }
  .hand .hand__head.is-clickable-mob .kicker {
    grid-column: 1; grid-row: 1;
    font-family: var(--body);
    font-size: 10px; font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--rubrum);
    margin: 0 0 5px;
  }
  .hand .hand__head.is-clickable-mob h3 {
    grid-column: 1; grid-row: 2;
    font-family: var(--display);
    font-weight: 500;
    font-size: 18px;
    line-height: 1.2;
    color: var(--ink);
    margin: 0;
  }
  .hand .hand__head.is-clickable-mob .hand-toggle-mob {
    grid-column: 2; grid-row: 1 / 3;
    align-self: center;
  }

  /* 3. Body → flow lineare, niente layout 2-col, niente styling laterale */
  .hand .hand__grid {
    display: block;
  }
  .hand .hand__margin {
    display: block;
    width: auto;
    margin: 0 0 12px;
    padding: 0;
    border: 0;
    background: none;
  }
  .hand .hand__margin .margin-note {
    font-family: var(--display);
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--ink);
    background: none;
    border: 0;
    padding: 0;
    margin: 0;
  }
  .hand .hand__body {
    max-width: none;
  }
  .hand .hand__body p {
    font-family: var(--display);
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--ink);
    margin: 0 0 10px;
  }
  .hand .hand__body p:last-child {
    margin-bottom: 0;
  }
}

/* ===========================================================
   ║  MOBILE — fix dopo screenshot QA dell'utente
   ║  1. Doppia riga (hr.rule chiaro + ch-head border scuro) → tieni solo lo scuro
   ║  2. Spazio vuoto sotto i ch-head collassati (margin-bottom 48px) → 0
   ║  3. Mid-form troppo "ariosa" → margin/padding ridotti
   =========================================================== */
@media (max-width: 759px) {
  /* 1. via la riga chiara fra capitoli */
  .rule { display: none; }

  /* 2. ch-head: meno padding sopra, niente margin sotto.
        Il border-top scuro resta come unica riga divisoria. */
  .ch-head {
    margin-bottom: 0;
    padding-top: 14px;
  }
  /* riduce ulteriormente lo spazio quando .ch-head ha le classi mobile (accordion) */
  .ch-head.is-clickable-mob {
    padding-top: 14px;
    padding-bottom: 14px;
  }

  /* 3. mid-form più stretto */
  .form-inline-mob.is-mid {
    margin: 16px 14px;
    padding: 18px 14px;
  }
}

/* mobile — un po' più di respiro fra i capitoli collassati */
@media (max-width: 759px) {
  .ch-head.is-clickable-mob {
    padding-top: 22px;
    padding-bottom: 18px;
  }
}

/* ===========================================================
   ║  MOBILE — sezione finale .iscrizione restilizzata come form-inline-mob
   ║  Match col mockup validato: box paper-2 con bordo rubrum a sx,
   ║  email + pulsante in una riga, counter sotto.
   =========================================================== */
@media (max-width: 759px) {
  /* container .iscrizione → box paper-2 mockup-style */
  .iscrizione {
    background: var(--paper-2, #ECE5D4);
    border: 0.5px solid rgba(20,17,14,0.14);
    border-left: 3px solid var(--rubrum);
    border-top: 0.5px solid rgba(20,17,14,0.14);
    border-radius: 6px;
    margin: 0 14px 28px;
    padding: 18px 18px 16px;
  }

  /* i-head → label + title compatto */
  .iscrizione .i-head {
    margin: 0 0 10px;
  }
  .iscrizione .kicker {
    font-family: var(--body);
    font-size: 10px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.18em;
    color: var(--rubrum);
    margin: 0 0 8px;
  }
  .iscrizione h3 {
    font-family: var(--display);
    font-style: italic; font-weight: 500;
    font-size: 22px; line-height: 1.15;
    letter-spacing: 0;
    color: var(--ink);
    margin: 0 0 10px;
  }

  /* i-body → form-inline-mob__sub */
  .i-body {
    font-family: var(--display);
    font-style: normal; font-weight: 400;
    font-size: 14px; line-height: 1.45;
    color: var(--ink-2);
    margin: 0 0 14px;
    max-width: none;
  }

  /* i-form → riga compatta email + button (mockup) */
  .i-form {
    display: flex;
    gap: 8px;
    border: 0;
    max-width: none;
    grid-template-columns: none;
  }
  .i-form input {
    flex: 1; min-width: 0;
    padding: 11px 12px;
    background: var(--paper, #F2EDE2);
    border: 0.5px solid rgba(20,17,14,0.25);
    border-radius: 999px;
    font-family: var(--body);
    font-size: 15px;
    color: var(--ink);
    transition: border-color 0.22s, box-shadow 0.22s, background 0.2s;
  }
  .i-form input::placeholder {
    color: var(--ink-3, #8A7F71);
    font-style: normal;
  }
  .i-form input:focus {
    outline: none;
    border-color: var(--rubrum);
    box-shadow: 0 0 0 3px rgba(123,31,24,0.16);
    background: #fff;
  }
  .i-form button {
    background: var(--rubrum);
    color: var(--paper, #F2EDE2);
    font-family: var(--display);
    font-style: italic; font-weight: 500;
    font-size: 14px;
    letter-spacing: 0;
    text-transform: none;
    padding: 11px 16px;
    border: none; border-radius: 999px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.22s, transform 0.18s;
  }
  .i-form button:hover  { background: var(--rubrum-2, #6A1A14); }
  .i-form button:active { transform: scale(0.97); }

  /* subscribe-counter dentro la box */
  .iscrizione .subscribe-counter {
    font-family: var(--display);
    font-style: normal;
    font-size: 12px; line-height: 1.4;
    color: var(--ink-3, #8A7F71);
    margin: 10px 0 0;
    max-width: none;
  }

  /* ridurre lo spazio dell'apparato sopra l'iscrizione */
  .apparato {
    margin-bottom: 32px;
  }
  .apparato > .ch-head {
    margin-bottom: 16px;
  }
}

/* mid-form rubrum-tinted (stesso colore di una sezione aperta, ma fisso) */
@media (max-width: 759px) {
  .form-inline-mob.is-mid {
    background: rgba(123, 31, 24, 0.08);
  }
}



/* ===========================================================
   ║  FORCE LIGHT MODE
   ║  Facebook in-app browser (e altri WebView) applicano un layer
   ║  di dark mode automatico se il color-scheme non è dichiarato.
   ║  Qui lo blocchiamo a "light" sia via :root sia via html bg esplicito.
   =========================================================== */
:root {
  color-scheme: light;
}
html {
  background-color: #F2EDE2;
}

/* ===========================================================
   ║  HERO KICKER — chip "Crowdfunding" più riconoscibile
   ║  Sostituisce il puntino tracked anonimo con un'etichetta
   ║  rubrum-on-paper, come una categoria di rivista.
   =========================================================== */
.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.hero__kicker-chip {
  display: inline-block;
  background: var(--rubrum);
  color: var(--paper);
  font-family: var(--body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 4px 10px 3px;
  border-radius: 3px;
  line-height: 1.4;
}
.hero__kicker-sep {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ===========================================================
   ║  DESKTOP — mid-form ("Hai capito di cosa si tratta") visibile
   ║  Stesso form della versione mobile, dopo Cap II, ma centrato
   ║  con max-width e layout email+button in riga.
   =========================================================== */
@media (min-width: 760px) {
  .form-inline-mob.is-mid {
    display: block;
    max-width: 720px;
    margin: 80px auto;
    padding: 32px 40px;
    background: rgba(123, 31, 24, 0.08);
    border: 0;
    border-top: 1px solid var(--rubrum);
    border-bottom: 1px solid var(--rubrum);
    border-radius: 0;
    text-align: center;
  }
  .form-inline-mob.is-mid .form-inline-mob__label {
    font-family: var(--body);
    font-size: 11px; font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--rubrum);
    margin: 0 0 12px;
  }
  .form-inline-mob.is-mid .form-inline-mob__title {
    font-family: var(--display);
    font-style: italic; font-weight: 500;
    font-size: 28px; line-height: 1.2;
    color: var(--ink);
    margin: 0 auto 20px;
    max-width: 28ch;
  }
  .form-inline-mob.is-mid .form-inline-mob__row {
    flex-direction: row;
    gap: 10px;
    max-width: 480px;
    margin: 0 auto;
  }
  .form-inline-mob.is-mid .form-inline-mob__row input[type="email"] {
    flex: 1;
    padding: 12px 16px;
    font-size: 15px;
    background: var(--paper);
    border: 0.5px solid rgba(20,17,14,0.25);
    border-radius: 999px;
    font-family: var(--body);
    color: var(--ink);
    min-width: 0;
  }
  .form-inline-mob.is-mid .form-inline-mob__row input[type="email"]:focus {
    outline: none;
    border-color: var(--rubrum);
    box-shadow: 0 0 0 3px rgba(123,31,24,0.16);
    background: #fff;
  }
  .form-inline-mob.is-mid .form-inline-mob__row button {
    width: auto;
    padding: 12px 22px;
    font-size: 14px;
    background: var(--rubrum);
    color: var(--paper);
    font-family: var(--display);
    font-style: italic; font-weight: 500;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.22s, transform 0.18s;
  }
  .form-inline-mob.is-mid .form-inline-mob__row button:hover {
    background: var(--rubrum-2, #6A1A14);
  }
  .form-inline-mob.is-mid .form-inline-mob__row button:active {
    transform: scale(0.97);
  }
}

/* ===========================================================
   ║  COOKIE CONSENT BANNER — GDPR + Google Consent Mode v2
   ║  Visibile solo se l'utente non ha ancora scelto.
   ║  Nasconde la sticky-bar-mob su mobile finché in pendenza.
   =========================================================== */
.cookie-banner {
  position: fixed;
  bottom: 14px; left: 14px; right: 14px;
  max-width: 760px;
  margin: 0 auto;
  background: var(--ink);
  color: var(--paper);
  padding: 16px 20px;
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.45),
              0 4px 12px rgba(0,0,0,0.25);
  z-index: 1500;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  font-family: var(--display);
  animation: cookieIn 0.5s cubic-bezier(0.32, 0.72, 0, 1) 0.4s both;
}
@keyframes cookieIn {
  from { transform: translateY(120%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
.cookie-banner[hidden] { display: none; }
.cookie-banner__copy {
  font-family: var(--display);
  font-size: 14px;
  line-height: 1.45;
  color: var(--paper);
  margin: 0;
}
.cookie-banner__copy a {
  color: var(--paper);
  text-decoration: underline;
  text-decoration-color: rgba(242,237,226,0.4);
}
.cookie-banner__actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.cookie-banner__btn {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: 13px;
  padding: 9px 16px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  border: 0.5px solid rgba(255,255,255,0.25);
  background: transparent;
  color: var(--paper);
  transition: background 0.22s ease, transform 0.18s ease, border-color 0.22s ease;
}
.cookie-banner__btn:active { transform: scale(0.96); }
.cookie-banner__btn--ghost {
  background: transparent;
}
.cookie-banner__btn--ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.4);
}
.cookie-banner__btn--mid {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.5);
}
.cookie-banner__btn--mid:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.7);
}
.cookie-banner__btn--accept {
  background: var(--rubrum);
  border-color: var(--rubrum);
}
.cookie-banner__btn--accept:hover {
  background: var(--rubrum-2, #6A1A14);
  border-color: var(--rubrum-2, #6A1A14);
}

@media (max-width: 600px) {
  .cookie-banner {
    bottom: 14px;
    grid-template-columns: 1fr;
    gap: 12px;
    text-align: left;
    padding: 14px 16px;
  }
  .cookie-banner__actions {
    justify-content: flex-end;
    flex-wrap: wrap;
  }
  .cookie-banner__btn { font-size: 12px; padding: 9px 14px; }
}

/* Su mobile quando il consenso è in pendenza, nascondi la sticky-bar */
@media (max-width: 759px) {
  body[data-consent-pending] .sticky-bar-mob { display: none; }
}

/* ===========================================================
   ║  HERO KICKER · Pre-launch label + bullet separator
   =========================================================== */
.hero__kicker-label {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rubrum);
}
.hero__kicker-dot {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-3, #8A7F71);
  line-height: 1;
  user-select: none;
}
