/* ==========================================================================
   Velaria Press — stylesheet
   Brand Identity v1.0 — Contemporary Editorial Minimalism
   Newsreader + Inter, self-hosted. No external requests.
   ========================================================================== */

/* --- Fonts ---------------------------------------------------------------- */

@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/newsreader-latin-300-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/newsreader-latin-ext-300-normal.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/newsreader-latin-300-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/newsreader-latin-ext-300-italic.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/newsreader-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/newsreader-latin-ext-400-normal.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-latin-ext-400-normal.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/inter-latin-500-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/inter-latin-ext-500-normal.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --- Tokens --------------------------------------------------------------- */

:root {
  --ink: #20211F;
  --ivory: #F4F0E7;
  --sea: #253D46;
  --clay: #A45F47;        /* filetti ed elementi grafici */
  --clay-text: #9A5943;   /* stessa tinta, per i testi piccoli: il Burnt Clay
                             puro sull'avorio sta a 4,29:1 e non raggiunge la
                             soglia di leggibilità. Questo sta a 4,75:1. */
  --stone: #B8B1A5;
  --paper: #FBFAF6;

  --text: #20211F;
  --text-soft: #3A3934;
  --text-muted: #4A4943;
  --text-faint: #6B6A64;

  --rule: #D8D2C4;
  --rule-light: #E4DFD3;
  --rule-mid: #C9C2B2;

  --on-dark: #F4F0E7;
  --on-dark-soft: #B8B1A5;
  --on-dark-faint: #9B958A;
  --rule-dark: #3A3A35;

  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --gutter: clamp(24px, 5.5vw, 80px);
  --wrap: 1280px;

  --step-hero: clamp(34px, 5.2vw, 56px);
  --step-h1: clamp(32px, 4.8vw, 56px);
  --step-h2: clamp(30px, 4vw, 50px);
  --step-h3: clamp(24px, 2.6vw, 34px);
  --step-h4: clamp(21px, 1.9vw, 25px);
  --step-quote: clamp(20px, 2.4vw, 32px);
  --step-body: clamp(15px, 1.1vw, 16px);
}

/* --- Reset ---------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: var(--step-body);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, p, figure, blockquote { margin: 0; }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 3px;
}

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

/* --- Helpers -------------------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
}

.section { padding-inline: var(--gutter); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--on-dark);
  padding: 14px 20px;
  font-size: 13px;
  z-index: 100;
}
.skip-link:focus { left: 0; }

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

/* Typographic primitives ---------------------------------------------------- */

.eyebrow {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.eyebrow--clay { color: var(--clay-text); }
.eyebrow--dark { color: var(--on-dark-soft); }

.display {
  font-family: var(--serif);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.lede {
  font-family: var(--serif);
  font-weight: 300;
  font-size: var(--step-h3);
  line-height: 1.55;
}

.subtitle {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: var(--step-h4);
  color: var(--text-muted);
}

.prose p { max-width: 62ch; color: var(--text-soft); line-height: 1.85; }
.prose p + p { margin-top: 1.1em; }

.rule-v {
  width: 1px;
  min-width: 1px;
  background: var(--clay);
  flex-shrink: 0;
  flex-grow: 0;
}

/* Links and buttons --------------------------------------------------------- */

.link {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text);
  border-bottom: 1px solid var(--rule-mid);
  padding-bottom: 4px;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.link:hover { color: var(--clay-text); border-color: var(--clay-text); }
.link--strong { border-color: currentColor; }
.link--dark { color: var(--on-dark-soft); border-color: var(--rule-dark); }
.link--dark:hover { color: var(--on-dark); border-color: var(--on-dark-soft); }

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--paper);
  background: var(--ink);
  border: 1px solid var(--ink);
  padding: 17px 32px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.btn:hover { background: var(--sea); border-color: var(--sea); }

/* --- Header --------------------------------------------------------------- */

.site-header {
  border-bottom: 1px solid var(--rule-light);
  padding-inline: var(--gutter);
  background: var(--paper);
  position: relative;
  z-index: 20;
}

.site-header__inner {
  max-width: var(--wrap);
  margin-inline: auto;
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.wordmark {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-block: 18px;
}
.wordmark__name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 21px;
  letter-spacing: 0.16em;
  color: var(--ink);
  line-height: 1;
}
.wordmark__press {
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.44em;
  color: var(--text-faint);
  line-height: 1;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 44px);
}

.nav__link {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text);
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.nav__link:hover { border-color: var(--rule-mid); }
.nav__link[aria-current="page"] { border-color: var(--clay); }

.nav__divider {
  width: 1px;
  height: 14px;
  background: var(--rule-mid);
}

.lang {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
}
.lang a { color: var(--text-faint); text-decoration: none; transition: color 0.2s ease; }
.lang a:hover { color: var(--clay); }
.lang span[aria-current] { color: var(--ink); }
.lang__sep { color: var(--rule-mid); font-weight: 400; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 6px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--ink);
}

@media (max-width: 900px) {
  .site-header__inner { min-height: 64px; }
  .nav-toggle { display: flex; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--rule-light);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px var(--gutter) 28px;
    display: none;
  }
  .nav[data-open="true"] { display: flex; }
  .nav__link {
    width: 100%;
    padding: 18px 0;
    border-bottom: 1px solid var(--rule-light);
    font-size: 12px;
  }
  .nav__divider { display: none; }
  .lang { padding-top: 22px; }
}

/* --- Hero ----------------------------------------------------------------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 6fr);
  align-items: stretch;
}

.hero__text {
  padding: clamp(48px, 7vw, 96px) clamp(24px, 4vw, 72px) clamp(48px, 7vw, 96px) var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero__title {
  margin-top: 34px;
  font-size: var(--step-hero);
}

.hero__text p {
  margin-top: 30px;
  max-width: 46ch;
  color: var(--text-muted);
  line-height: 1.75;
}

.hero__cta {
  margin-top: clamp(32px, 4vw, 48px);
  display: flex;
  align-items: center;
  gap: 18px;
}
.hero__cta .rule-v { height: 26px; }

.hero__media {
  background: var(--sea);
  min-height: clamp(280px, 40vw, 620px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(24px, 3vw, 44px);
  background-size: cover;
  background-position: center;
}
.hero__media p:not(.placeholder-note) {
  margin-top: 16px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(16px, 1.6vw, 20px);
  color: var(--on-dark);
}

.placeholder-note {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
  line-height: 1.7;
}
.placeholder-note--light { color: var(--text-faint); letter-spacing: 0.16em; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero__media { order: -1; min-height: 220px; }
  .hero__text { padding-inline: var(--gutter); padding-top: 40px; }
}

/* --- Hero a tutta immagine (variante B) ----------------------------------- */
/* Il titolo sta sopra la fotografia, nella fascia scura a sinistra.
   Vincolo dell'immagine: il 38% sinistro deve restare scuro e povero di
   dettaglio. Vedere il blocco IMMAGINI in fondo al file.                    */

.hero-full {
  position: relative;
  isolation: isolate;
  background: var(--ink);
}

.hero-full__media {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: var(--ink);
  background-size: cover;
  background-position: center;
}

.hero-full__inner {
  min-height: clamp(460px, 43vw, 660px);
  display: flex;
  align-items: center;
  padding-block: clamp(48px, 6vw, 88px);
}

.hero-full__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 44%;
}

.hero-full__title {
  margin-top: 30px;
  font-size: clamp(32px, 3.9vw, 52px);
  line-height: 1.12;
  color: var(--on-dark);
  max-width: 7.6em;
  text-wrap: normal;
}

.hero-full__cta {
  margin-top: clamp(30px, 3.4vw, 46px);
  display: flex;
  align-items: center;
  gap: 18px;
}
.hero-full__cta .rule-v { height: 26px; background: var(--ivory); }

.link--on-photo {
  color: var(--on-dark);
  border-color: rgba(244, 240, 231, 0.55);
}
.link--on-photo:hover { color: var(--ivory); border-color: var(--ivory); }

/* Sotto i 900px il titolo scende sotto la fotografia: sovrapporlo a
   un'immagine ritagliata in verticale non garantisce la leggibilità. */
@media (max-width: 900px) {
  .hero-full { background: var(--paper); }
  .hero-full__media {
    position: relative;
    inset: auto;
    z-index: 0;
    width: 100%;
    aspect-ratio: 3 / 2;
    max-height: 46vh;
  }
  .hero-full__inner {
    min-height: 0;
    padding-block: 40px 8px;
  }
  .hero-full__text { max-width: 100%; }
  .hero-full__title { color: var(--text); font-size: clamp(32px, 8.6vw, 40px); max-width: 100%; }
  .hero-full__cta .rule-v { background: var(--clay); }
  .hero-full .eyebrow { color: var(--text-faint); }
  .link--on-photo { color: var(--text); border-color: var(--rule-mid); }
}

/* --- Dichiarazione dopo l'apertura ---------------------------------------- */
/* La riga che dice cosa pubblica Velaria: sta fra la fotografia e il libro,
   da sola, per non affollare l'immagine e non farsi leggere come didascalia. */

.statement {
  background: var(--paper);
  padding-block: clamp(56px, 6.5vw, 96px);
}
.statement__inner {
  display: flex;
  align-items: stretch;
  gap: clamp(20px, 2.4vw, 32px);
}
.statement__inner .rule-v { align-self: stretch; }
.statement p {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: var(--step-h3);
  line-height: 1.5;
  color: var(--text);
  max-width: 30ch;
  text-wrap: pretty;
}

/* --- Page heading --------------------------------------------------------- */

.page-head {
  padding-block: clamp(56px, 7vw, 92px) clamp(32px, 4vw, 56px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}
.page-head h1 { margin-top: 26px; font-size: var(--step-h1); }
.page-head p { max-width: 42ch; color: var(--text-muted); font-size: 14px; }

/* --- Feature (first release) ---------------------------------------------- */

.feature {
  background: var(--ivory);
  padding-block: clamp(56px, 7vw, 96px);
}
.feature__inner {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: start;
}
.feature__body { display: flex; flex-direction: column; align-items: flex-start; }
.feature__body h2 { margin-top: 26px; font-size: var(--step-h2); }
.feature__body .subtitle { margin-top: 14px; }
.feature__body .prose { margin-top: 30px; }

.meta-row {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 3vw, 44px);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  width: 100%;
}

.actions {
  margin-top: clamp(28px, 3.5vw, 40px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(20px, 3vw, 32px);
}

@media (max-width: 860px) {
  .feature__inner { grid-template-columns: 1fr; }
}

/* --- Book cover ----------------------------------------------------------- */

.cover-block { display: flex; flex-direction: column; gap: 16px; }

.cover {
  width: clamp(220px, 26vw, 380px);
  aspect-ratio: 1 / 1.6;   /* rapporto della cover digitale Velaria, non del cartaceo */
  background: var(--ink);
  padding: clamp(22px, 2.4vw, 36px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-size: cover;
  background-position: center;
}
.cover__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(28px, 3.2vw, 46px);
  letter-spacing: 0.02em;
  line-height: 1.1;
  color: var(--on-dark);
}
.cover__author {
  margin-top: 16px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
}
.cover__mark { width: 22px; }

/* --- Catalogue ------------------------------------------------------------ */

.catalogue {
  padding-block: clamp(40px, 5vw, 80px) clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: clamp(36px, 4vw, 56px);
}
.catalogue__item { text-decoration: none; display: flex; flex-direction: column; }
.catalogue__item .cover { width: 100%; max-width: 300px; }
.catalogue__status {
  margin-top: 26px;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clay-text);
}
.catalogue__status--muted { color: var(--text-faint); }
.catalogue__title {
  margin-top: 12px;
  font-family: var(--serif);
  font-weight: 300;
  font-size: var(--step-h4);
  color: var(--text);
}
.catalogue__meta { margin-top: 8px; font-size: 13px; color: var(--text-muted); }

.cover--empty {
  background: var(--ivory);
  border: 1px solid #DCD6C8;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px;
}
.cover--empty span {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-faint);
  line-height: 2;
}

/* --- Dark band ------------------------------------------------------------ */

.band {
  background: var(--ink);
  color: var(--on-dark);
  padding-block: clamp(56px, 7vw, 96px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.band--sea { background: var(--sea); }
.band .rule-v { height: 44px; }
.band__quote {
  margin-top: 40px;
  max-width: 24ch;
  font-family: var(--serif);
  font-weight: 300;
  font-size: var(--step-quote);
  line-height: 1.5;
  color: var(--on-dark);
  text-wrap: balance;
}
.band__quote--wide { max-width: 34ch; }
.band__quote--italic { font-style: italic; }
.band__caption {
  margin-top: 30px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
}
.band .link { margin-top: 44px; }

/* --- Journal -------------------------------------------------------------- */

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.section-head__note { font-size: 12px; color: var(--text-faint); }
.section-head__left { display: flex; align-items: baseline; gap: 22px; flex-wrap: wrap; }

.journal-grid {
  margin-top: clamp(32px, 4vw, 52px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(32px, 4vw, 56px);
}
.journal-card {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--rule);
  padding-top: 24px;
}
.journal-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.tag-lang {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.18em;
  border: 1px solid var(--rule);
  color: var(--text-faint);
  padding: 3px 7px;
}
.tag-lang--own { color: var(--clay-text); border-color: #DCC3B8; }
.journal-card__title {
  margin-top: 16px;
  font-family: var(--serif);
  font-weight: 300;
  font-size: var(--step-h4);
  line-height: 1.3;
  color: var(--text);
}
.journal-card__excerpt { margin-top: 14px; font-size: 14px; color: var(--text-muted); line-height: 1.75; }
.journal-card:hover .journal-card__title { color: var(--clay); }

.journal-list { padding-block: clamp(40px, 5vw, 80px) clamp(32px, 4vw, 56px); }
.journal-row {
  text-decoration: none;
  border-top: 1px solid var(--rule);
  padding-block: 30px;
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr) auto;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.journal-row__date {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
  line-height: 2;
}
.journal-row__title { font-family: var(--serif); font-weight: 300; font-size: var(--step-h3); line-height: 1.25; }
.journal-row__excerpt { margin-top: 14px; max-width: 62ch; color: var(--text-muted); font-size: 15px; }
.journal-row:hover .journal-row__title { color: var(--clay); }

@media (max-width: 760px) {
  .journal-row { grid-template-columns: 1fr; gap: 16px; }
  .journal-row__cta { justify-self: start; }
}

/* --- Pagina articolo (Journal) -------------------------------------------- */
/* Pagina di lettura, non di interfaccia: il corpo del testo è in Newsreader,
   che il brand book assegna ai "testi editoriali selezionati". Inter resta
   su menu, date e metadati.                                                  */

.article { padding-block: clamp(48px, 6vw, 88px) clamp(40px, 5vw, 72px); }

.article__inner {
  max-width: 44rem;
  margin-inline: auto;
}

.article__head { padding-bottom: clamp(28px, 3.4vw, 44px); }
.article__title {
  margin-top: 22px;
  font-size: clamp(32px, 4.4vw, 50px);
  text-wrap: balance;
}

.article__body { border-top: 1px solid var(--rule); padding-top: clamp(28px, 3.4vw, 44px); }

.article__body p {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(18px, 1.5vw, 20px);
  line-height: 1.78;
  color: var(--text-soft);
}
.article__body p + p { margin-top: 1.25em; }

.article__body h2 {
  margin-top: 2.2em;
  margin-bottom: 0.6em;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.article__body h2:first-child { margin-top: 0; }
.article__body ul {
  margin: 1em 0 0 0;
  padding-left: 1.2em;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(18px, 1.5vw, 20px);
  line-height: 1.78;
  color: var(--text-soft);
}
.article__body li + li { margin-top: 0.35em; }
.article__body a { color: var(--text); text-decoration: none; border-bottom: 1px solid var(--rule-mid); }
.article__body a:hover { color: var(--clay-text); border-color: var(--clay-text); }
.article__updated {
  font-family: var(--sans) !important;
  font-size: 12px !important;
  line-height: 1.6 !important;
  color: var(--text-faint) !important;
}

.article__lede {
  font-size: clamp(21px, 1.9vw, 25px) !important;
  line-height: 1.55 !important;
  color: var(--text) !important;
}

.article__body p.article__break {
  margin-top: 1.6em;
  color: var(--text);
}

.article__sign {
  margin-top: clamp(36px, 4vw, 56px);
  padding-top: 22px;
  border-top: 1px solid var(--rule);
  font-family: var(--sans) !important;
  font-size: 11px !important;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-faint) !important;
  line-height: 1.6 !important;
}

.article__foot {
  max-width: 44rem;
  margin-inline: auto;
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 24px;
  border-top: 1px solid var(--rule-light);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

/* --- Book page ------------------------------------------------------------ */

.book-hero { background: var(--ivory); padding-block: clamp(48px, 6vw, 88px); }
.book-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: start;
}
.book-hero__body { display: flex; flex-direction: column; align-items: flex-start; }
.book-hero__body h1 { margin-top: 24px; font-size: clamp(42px, 6vw, 68px); }
.book-hero__body .subtitle { margin-top: 18px; }
.book-hero__body .rule-v { height: 32px; margin-top: 36px; }
.book-hero__body .prose { margin-top: 32px; }
.book-hero__body .prose p { font-size: clamp(15px, 1.2vw, 16px); }

@media (max-width: 860px) {
  .book-hero__inner { grid-template-columns: 1fr; }
}

/* --- Editions table ------------------------------------------------------- */

.editions { padding-block: clamp(48px, 6vw, 72px) clamp(32px, 4vw, 48px); }
.editions__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.editions__head h2 { font-family: var(--serif); font-weight: 300; font-size: var(--step-h3); }
.editions__head span { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-faint); }

.editions table {
  margin-top: 36px;
  width: 100%;
  border-collapse: collapse;
  font-family: var(--sans);
  text-align: left;
}
.editions th {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
  padding: 14px 16px 14px 0;
  border-bottom: 1px solid var(--rule-mid);
}
.editions td {
  font-size: 15px;
  color: var(--text);
  padding: 20px 16px 20px 0;
  border-bottom: 1px solid var(--rule-light);
  vertical-align: top;
}
.editions tr:last-child td { border-bottom: 0; }
.editions .isbn { font-size: 14px; color: var(--text-muted); white-space: nowrap; }
.editions .muted td { color: var(--text-faint); }
.editions .soon { color: var(--clay-text); font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; }
.editions td a { color: var(--text); text-decoration: none; border-bottom: 1px solid var(--rule-mid); }
.editions td a:hover { color: var(--clay); border-color: var(--clay); }

@media (max-width: 760px) {
  .editions thead { display: none; }
  .editions table, .editions tbody, .editions tr, .editions td { display: block; width: 100%; }
  .editions tr { border-bottom: 1px solid var(--rule); padding-block: 18px; }
  .editions tr:last-child { border-bottom: 0; }
  .editions td { border: 0; padding: 4px 0; }
  .editions td::before {
    content: attr(data-label);
    display: block;
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-faint);
    margin-bottom: 2px;
  }
}

/* --- About ---------------------------------------------------------------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: stretch;
  padding-bottom: clamp(48px, 6vw, 80px);
}
.about-grid__media {
  background: var(--sea);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(24px, 2.6vw, 36px);
  background-size: cover;
  background-position: center;
}
.about-grid__media p:not(.placeholder-note) {
  margin-top: 14px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--on-dark);
}
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }

.fact-grid {
  background: var(--ivory);
  padding-block: clamp(40px, 5vw, 64px);
}
.fact-grid__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: clamp(28px, 4vw, 56px);
}
.fact {
  border-top: 1px solid var(--rule);
  padding-top: 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.fact__label {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.fact__value { margin-top: 14px; font-size: 14px; line-height: 1.8; color: var(--text-soft); }
.fact__value a { color: var(--text); text-decoration: none; border-bottom: 1px solid var(--rule-mid); }
.fact__value a:hover { color: var(--clay-text); border-color: var(--clay-text); }

/* --- Contact -------------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 112px);
  padding-bottom: clamp(48px, 6vw, 80px);
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-item {
  border-top: 1px solid var(--rule);
  padding-block: 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.contact-item__label {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.contact-item__value { margin-top: 10px; font-size: 15px; line-height: 1.8; color: var(--text-soft); }
.contact-item__email {
  margin-top: 10px;
  font-family: var(--serif);
  font-weight: 300;
  font-size: var(--step-h4);
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--rule-mid);
}
.contact-item__email:hover { color: var(--clay); border-color: var(--clay); }

.form { display: flex; flex-direction: column; gap: 30px; padding-top: 22px; }
.form__row { display: flex; gap: clamp(20px, 3vw, 40px); flex-wrap: wrap; }
.form__field { flex: 1 1 220px; display: flex; flex-direction: column; gap: 6px; }
.form label {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.form input, .form select, .form textarea {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--text);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule-mid);
  border-radius: 0;
  padding: 12px 0;
  width: 100%;
  min-height: 44px;
  outline: none;
  transition: border-color 0.2s ease;
}
.form textarea { resize: vertical; min-height: 120px; line-height: 1.7; }
.form input:focus, .form select:focus, .form textarea:focus { border-bottom-color: var(--clay); }
.form__note { font-size: 12px; line-height: 1.7; color: var(--text-faint); }
.form__honey { position: absolute; left: -9999px; }
.form .btn { align-self: flex-start; }

.notice {
  padding: 18px 22px;
  border-left: 1px solid var(--clay);
  background: var(--ivory);
  font-size: 14px;
  color: var(--text-soft);
}
.notice--error { border-left-color: #8E3B2F; }

/* --- Footer --------------------------------------------------------------- */

.site-footer {
  background: var(--ink);
  color: var(--on-dark);
  padding-block: clamp(40px, 5vw, 56px);
  margin-top: auto;
}
.site-footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: clamp(32px, 5vw, 88px);
  flex-wrap: wrap;
}
.site-footer__brand { display: flex; gap: 22px; align-items: flex-start; }
.site-footer__brand .wordmark__name { color: var(--on-dark); }
.site-footer__brand .wordmark__press { color: var(--on-dark-soft); }
.footer-cols { display: flex; gap: clamp(36px, 6vw, 88px); flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 14px; }
.footer-col a {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--on-dark);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--stone); }
.site-footer__bottom {
  margin-top: clamp(28px, 3vw, 40px);
  padding-top: 24px;
  border-top: 1px solid var(--rule-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.site-footer__bottom span { font-family: var(--sans); font-size: 11px; color: var(--on-dark-faint); }
.site-footer__payoff { letter-spacing: 0.14em; text-transform: uppercase; }

/* --- Page shell ----------------------------------------------------------- */

body { display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1 0 auto; }


/* ==========================================================================
   IMMAGINI — l'unico punto del sito da toccare per copertine e fotografie.

   Finché una regola resta disattivata, il sito mostra il segnaposto: la
   copertina tipografica nera, o il campo blu con la didascalia. Appena la
   si attiva, l'immagine prende il loro posto ovunque — tutte le pagine e
   tutte le lingue insieme, perché il blocco qui sotto è l'unico posto in
   cui l'immagine è nominata.

   Per attivare una regola: cancellare le due righe corte di commento che
   la racchiudono, sopra e sotto. Restano solo le righe con il punto.
   ========================================================================== */


/* --- Copertina: La Firma --------------------------------------------------
   File: /assets/img/la-firma-cover.jpg — ATTIVA.
   JPG verticale, rapporto 1:1,6 — 1000 x 1600 px, sotto i 400 KB.
   Compare in home, catalogo e scheda libro, EN e IT: si cambia solo qui. */


.cover--la-firma { background-image: url('/assets/img/la-firma-cover.jpg'); }
.cover--la-firma > * { display: none; }
.cover-block:has(.cover--la-firma) .placeholder-note { display: none; }



/* --- Copertina: nuovo titolo ----------------------------------------------
   Per ogni libro futuro: copiare le due righe qui sotto, sostituire
   "nuovo-titolo" con il nome del libro (minuscolo, trattini al posto degli
   spazi) sia nella classe sia nel nome del file, e usare la stessa classe
   nell'HTML della sua scheda:  <div class="cover cover--nuovo-titolo">     */

/*
.cover--nuovo-titolo { background-image: url('/assets/img/nuovo-titolo-cover.jpg'); }
.cover--nuovo-titolo > * { display: none; }
*/


/* --- Fotografia: home, immagine d'apertura --------------------------------
   File: /assets/img/hero-2400.jpg — ATTIVA.
   Orizzontale, 2400 x 1600 px, qualita' 78, 336 KB.
   VINCOLO: il 38% sinistro deve restare scuro e povero di dettaglio,
   perché è dove sta il titolo. Il soggetto va nella metà destra.
   Per cambiarla: caricare il nuovo file con un nome diverso e
   aggiornare il nome qui sotto.                                            */

.media--hero { background-image: url('/assets/img/hero-2400.jpg'); }
.media--hero .placeholder-note { display: none; }


/* --- Fotografia: Chi siamo ------------------------------------------------
   File: /assets/img/about.jpg — ATTIVA. 1100 x 1100 px.
   Vincolo: angolo in basso a sinistra scuro, ci va una riga in avorio.    */


.media--about { background-image: url('/assets/img/about.jpg'); }
.media--about .placeholder-note { display: none; }



/* Se il testo chiaro risulta poco leggibile sopra una foto, aggiungere
   alla sua regola:  background-blend-mode: multiply;
   Il colore di fondo già presente (Deep Mediterranean) fa da velatura.     */
