/* ============================================================================
   Avv. Gabriele Scaccia — www.scaccia.eu
   Foglio di stile unico per tutte le pagine. Nessuna dipendenza esterna.
   ============================================================================ */

:root {
  /* Palette: nero e carta calda, con un solo accento “crostata”
     (richiamo discreto al bianconero e al forno, restando professionale). */
  --ink: #111111;
  --ink-soft: #2a2a2a;
  --navy: #141414;
  --navy-deep: #0a0a0a;
  --cream: #f3efe6;
  --cream-dark: #e6dfd2;
  --paper: #faf7f2;
  --gold: #b57a32;
  --gold-soft: #c9944a;
  --gold-dim: #8a5c22;
  --line: #d6d0c6;
  --muted: #5c574e;
  --text: #1c1c1c;
  --placeholder: #8a8276;
  --slot: #e4dccf;
  --white: #fff;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
  --radius: 2px;
  --header-h: 4.5rem;
  --measure: 38rem;
  --max: 70rem;
  --font-serif: "Cormorant Garamond", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --font-sans: "Source Sans 3", "Source Sans Pro", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* --- Fonts (self-hosted, no third-party requests) --- */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-ext-500-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-ext-500-italic.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-500-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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-600-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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-ext-700-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-700-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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/source-sans-3-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/source-sans-3-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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/source-sans-3-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/source-sans-3-latin-600-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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html:focus-within { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
button, a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 500; }
h2 { font-size: clamp(2rem, 3.6vw, 2.85rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
a { text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--gold-dim); }
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 200;
  background: var(--ink);
  color: var(--cream);
  padding: 0.6rem 1rem;
}
.skip-link:focus { top: 1rem; }

/* --- Placeholder typography --- */
.ph,
.placeholder {
  color: var(--placeholder);
  font-style: italic;
}
.ph-note {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold-dim);
  font-style: normal;
  font-weight: 600;
  font-family: var(--font-sans);
}

/* --- Layout helpers --- */
.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}
.section {
  padding: 5.5rem 0;
}
.section--tight { padding: 4rem 0; }
.section--navy {
  background: var(--navy);
  color: #e8e2d6;
}
.section--navy h2, .section--navy h3 { color: var(--cream); }
.section--navy .lead { color: #d8d0c2; }
.section--cream { background: var(--cream); }
.eyebrow {
  display: block;
  margin-bottom: 0.85rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 40rem;
}
.ornament {
  display: block;
  width: 3.25rem;
  height: 1px;
  background: var(--gold);
  margin: 1.25rem 0 1.6rem;
  border: 0;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 1.35rem;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: var(--navy-deep);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  line-height: 1.2;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn:hover { background: transparent; color: var(--gold-soft); }
.btn--ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(196, 163, 90, 0.7);
}
.btn--ghost:hover { background: var(--gold); color: var(--navy-deep); }
.btn--ink {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--ink:hover { background: var(--ink); color: var(--cream); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(250, 247, 242, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 0;
  box-shadow:
    0 2px 0 #111,
    0 3px 0 #fff,
    0 5px 0 #111;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
}
.brand:hover { color: var(--ink); }
.brand__mark {
  width: 2.35rem;
  height: 2.35rem;
  flex: 0 0 auto;
}
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand__name {
  font-family: var(--font-serif);
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.brand__role {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.nav {
  display: flex;
  align-items: center;
  gap: 1.45rem;
}
.nav a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
}
.nav a:hover,
.nav a[aria-current="page"] { color: var(--gold-dim); }
.nav a.nav-emphasis {
  color: var(--ink);
  padding-bottom: 0.1rem;
  border-bottom: 1px solid var(--gold);
}
.social-yt {
  display: inline-flex;
  color: var(--ink-soft);
  text-decoration: none;
}
.social-yt[hidden] { display: none !important; }
.social-yt:hover { color: var(--gold-dim); }
.social-yt svg { width: 1.25rem; height: 1.25rem; }
.brand__mark text { fill: currentColor; }
.nav-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  padding: 0;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  left: 0.65rem;
  right: 0.65rem;
  height: 2px;
  background: var(--ink);
}
.nav-toggle span { top: 50%; margin-top: -1px; }
.nav-toggle span::before,
.nav-toggle span::after { content: ""; left: 0; right: 0; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* --- Hero --- */
.hero {
  position: relative;
  background: var(--navy-deep);
  color: var(--cream);
  overflow: hidden;
  min-height: calc(88vh - var(--header-h));
  display: flex;
  align-items: center;
  padding: 5.5rem 0 5rem;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 80% 20%, rgba(176, 138, 62, 0.12), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,0.03), transparent 40%);
  pointer-events: none;
}
.hero::after {
  content: "GS";
  position: absolute;
  right: -0.1em;
  bottom: -0.35em;
  font-family: var(--font-serif);
  font-size: clamp(10rem, 28vw, 22rem);
  font-weight: 500;
  color: rgba(246, 241, 232, 0.035);
  line-height: 0.7;
  letter-spacing: -0.06em;
  pointer-events: none;
  user-select: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { color: var(--cream); margin: 0 0 0.2em; }
.hero .eyebrow { color: var(--gold-soft); }
.hero-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  color: #d9d0c0;
  max-width: 28rem;
  margin: 0;
}
.hero-meta {
  margin-top: 1.5rem;
  color: #b9b3a8;
  font-size: 0.98rem;
}

/* --- Portrait slot --- */
.about {
  display: grid;
  grid-template-columns: minmax(14rem, 20rem) 1fr;
  gap: 3.5rem;
  align-items: start;
}
.portrait {
  margin: 0;
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
}
.portrait .photo-slot {
  aspect-ratio: 3 / 4;
}
.portrait figcaption {
  margin-top: 0.7rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.photo-slot {
  background:
    linear-gradient(160deg, #ddd3c2 0%, var(--slot) 55%, #d4c9b6 100%);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.35rem;
  color: var(--placeholder);
  position: relative;
  overflow: hidden;
  min-height: 12rem;
}
.photo-slot::before {
  content: "GS";
  font-family: var(--font-serif);
  font-size: 4.5rem;
  color: rgba(18, 24, 32, 0.07);
  position: absolute;
  bottom: -0.25em;
  right: 0.05em;
  line-height: 1;
  pointer-events: none;
}
.photo-slot span {
  position: relative;
  z-index: 1;
  font-size: 0.92rem;
}
.photo-slot .ph-note { font-size: 0.7rem; }
.about__body h2 { margin-top: 0; }
.about-blocks {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}
.about-block {
  border-left: 1px solid var(--gold);
  padding-left: 1.15rem;
}
.about-block h3 {
  font-size: 1.2rem;
  margin-bottom: 0.35em;
}
.percorso-cta {
  margin-top: 2.4rem;
  padding: 1.5rem 1.6rem;
  background: var(--cream);
  border: 1px solid var(--line);
}
.percorso-cta h3 { margin-bottom: 0.35em; }
.percorso-cta p { margin-bottom: 1rem; max-width: 36rem; }


/* --- Passioni --- */
.passions-title {
  margin: 2.2rem 0 0;
  font-size: 1.45rem;
}

.passions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.passion {
  padding: 1.3rem 1.25rem 1.25rem;
  border: 1px solid var(--line);
  background: var(--cream);
}
.passion h3 { font-size: 1.25rem; margin-bottom: 0.35em; }
.passion p { color: var(--ink-soft); font-size: 0.98rem; }
.passion--juve {
  background: var(--ink);
  border-color: var(--ink);
  color: #f4f1ea;
}
.passion--juve h3 { color: #fff; }
.passion--juve p { color: #e8e4dc; }
.passion--juve .passion-label {
  color: #cfcfcf;
}
.passion-label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold-dim);
}


/* --- Coming soon (blog) --- */
.coming-soon {
  padding: 1.7rem 1.5rem 1.55rem;
  border: 1px solid rgba(216, 208, 195, 0.2);
  background: rgba(0, 0, 0, 0.18);
}
.coming-soon h3 {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  color: var(--cream);
  margin: 0 0 0.4em;
}
.coming-soon p { color: #d4cdc0; }
.coming-soon--light {
  background: var(--white);
  border-color: var(--line);
}
.coming-soon--light h3 { color: var(--ink); }
.coming-soon--light p { color: var(--ink-soft); }

/* --- Categorie blog --- */
.cats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1.1rem 0 0;
}
.cat {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border: 1px solid var(--line);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  background: transparent;
}
.cat--juve {
  background: #111;
  border-color: #111;
  color: #fff;
}
.section--navy .cat {
  border-color: rgba(255,255,255,0.25);
  color: #ddd;
}
.section--navy .cat--juve {
  background: #fff;
  border-color: #fff;
  color: #111;
}

/* --- Practice areas --- */
.area-intro { max-width: 40rem; margin-bottom: 2.4rem; }
.areas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.25rem;
}
.area {
  padding: 1.6rem 1.45rem 1.5rem;
  background: var(--paper);
  border: 1px solid var(--line);
}
.area h3 { margin-bottom: 0.4em; }
.area p { color: var(--ink-soft); font-size: 0.98rem; }

/* --- Voice: blog + video --- */
.voice-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2rem;
  align-items: stretch;
  margin-top: 2rem;
}
.video-card,
.blog-preview {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(216, 208, 195, 0.18);
  padding: 1.6rem;
}
.section--navy .ph { color: #b9ad96; }
.video-frame {
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(160deg, #1a1a1a, #111111);
  border: 1px solid rgba(196, 163, 90, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  text-align: center;
  margin-bottom: 1.1rem;
  color: #d9d0c0;
}
.video-frame svg { width: 2.4rem; height: 2.4rem; color: var(--gold-soft); }
.video-frame strong {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--cream);
}
.blog-cards { display: grid; gap: 1rem; }
.blog-card {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 1.1rem 1.15rem;
  border: 1px solid rgba(216, 208, 195, 0.18);
  background: rgba(0, 0, 0, 0.15);
  transition: border-color 0.2s var(--ease);
}
.blog-card:hover { border-color: var(--gold); color: inherit; }
.blog-card time,
.card-meta {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.blog-card h3 { color: var(--cream); font-size: 1.28rem; margin-bottom: 0.3em; }
.blog-card p { color: #c9c2b4; font-size: 0.95rem; }
.blog-card.is-pending { cursor: default; opacity: 0.85; }
.blog-card.is-pending:hover { border-color: rgba(216, 208, 195, 0.18); }

/* --- Contacts --- */
.contacts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}
.contact {
  padding: 1.35rem 1.3rem;
  border: 1px solid var(--line);
  background: var(--white);
}
.contact dt {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold-dim);
  margin-bottom: 0.4rem;
}
.contact dd { margin: 0; color: var(--ink); }

/* --- Footer --- */
.site-footer {
  background: var(--navy-deep);
  color: #b9b3a8;
  padding: 2.8rem 0 2.2rem;
  font-size: 0.92rem;
}
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { color: var(--gold-soft); }
.footer-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem 2rem;
  align-items: start;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--cream);
  text-decoration: none;
}
.footer-brand:hover { color: var(--cream); }
.footer-legal p { margin: 0 0 0.25rem; }
.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.3rem;
}
.footer-copy {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(216, 208, 195, 0.15);
  margin-top: 0.6rem;
  padding-top: 1.1rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
}

/* --- Page header (inner pages) --- */
.page-hero {
  background: var(--navy-deep);
  color: var(--cream);
  padding: 4.2rem 0 3.4rem;
}
.page-hero h1 { color: var(--cream); }
.page-hero .lead { color: #d0c8ba; }

/* --- Blog listing / article --- */
.article-list {
  display: grid;
  gap: 1.25rem;
  max-width: 46rem;
}
.article-teaser {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 1.6rem 1.6rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  transition: border-color 0.2s var(--ease);
}
.article-teaser:hover { border-color: var(--gold); color: inherit; }
.article-teaser.is-pending { cursor: default; }
.article-teaser.is-pending:hover { border-color: var(--line); }
.article-teaser h2 { font-size: 1.7rem; margin-bottom: 0.3em; }
.article-teaser p { color: var(--ink-soft); }
.article {
  max-width: var(--measure);
  margin: 0 auto;
}
.article header { margin-bottom: 2rem; }
.article .content p { margin-bottom: 1.15em; }
.back-link {
  display: inline-block;
  margin-bottom: 1.2rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--gold-dim);
}
.back-link:hover { color: var(--ink); }

/* --- Privacy --- */
.prose {
  max-width: 42rem;
}
.prose h2 { font-size: 1.6rem; margin-top: 2rem; }
.prose h3 { font-size: 1.15rem; margin: 1.4rem 0 0.5rem; font-family: var(--font-serif); }

/* ============================================================================
   Percorso — timeline (presente in alto, passato in basso)
   ============================================================================ */
.timeline-intro { max-width: 36rem; }
.page-hero .timeline-intro { margin-inline: auto; text-align: center; }
.page-hero .timeline-intro .ornament { margin-inline: auto; }
.page-hero .timeline-hint { justify-content: center; }
.timeline-hint {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1.6rem;
  color: var(--muted);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}
.timeline-hint svg { width: 1rem; height: 1.4rem; color: var(--gold); }

.timeline {
  position: relative;
  max-width: 72rem;
  margin: 0 auto;
  padding: 1rem 0 5rem;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 2rem;
  width: 1px;
  background: linear-gradient(180deg, var(--gold), var(--line) 20%, var(--line));
  transform: translateX(-50%);
}

/* Each chapter: 3-column grid, marker on the center line */
.chapter {
  display: grid;
  grid-template-columns: 1fr 7.25rem 1fr;
  column-gap: 0;
  align-items: center;
  margin-bottom: 5.5rem;
  position: relative;
}
.chapter:last-of-type { margin-bottom: 0; }

.chapter__marker {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
  position: relative;
}
.chapter__year {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.4rem;
  padding: 0.4rem 0.6rem;
  background: var(--paper);
  border: 1px solid var(--gold);
  color: var(--gold-dim);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.2;
  white-space: nowrap;
}
.chapter--now .chapter__year {
  background: var(--navy);
  color: var(--cream);
  border-color: var(--navy);
}

.chapter__photo {
  margin: 0;
  min-width: 0;
}
.chapter__photo .photo-slot,
.chapter__photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.chapter__photo figcaption {
  margin-top: 0.55rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.chapter__body { min-width: 0; padding: 0 0.4rem; }
.chapter__body h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.15rem);
  margin-bottom: 0.45em;
}
.chapter__body p { color: var(--ink-soft); }

/* Alternate sides: left = photo on the left, text on the right */
.chapter--left .chapter__photo { grid-column: 1; grid-row: 1; padding-right: 2rem; }
.chapter--left .chapter__body { grid-column: 3; grid-row: 1; padding-left: 2rem; }
.chapter--right .chapter__photo { grid-column: 3; grid-row: 1; padding-left: 2rem; }
.chapter--right .chapter__body { grid-column: 1; grid-row: 1; padding-right: 2rem; text-align: right; }
.chapter--right .chapter__body p { margin-left: auto; }
.chapter--right .chapter__photo figcaption { text-align: right; }

/* Scroll reveal */
.chapter {
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.chapter.is-visible {
  opacity: 1;
  transform: none;
}
.chapter--left.is-visible .chapter__photo { transition-delay: 0.05s; }
.chapter--right.is-visible .chapter__photo { transition-delay: 0.05s; }

.timeline-end {
  text-align: center;
  margin-top: 3.5rem;
  color: var(--muted);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .about,
  .areas,
  .voice-grid,
  .contacts,
  .footer-grid,
  .passions {
    grid-template-columns: 1fr;
  }
  .portrait { position: static; max-width: 18rem; }
  .footer-nav { align-items: flex-start; }
  .chapter--right .chapter__body,
  .chapter--right .chapter__photo figcaption { text-align: left; }

  .timeline::before {
    left: 1.15rem;
    transform: none;
  }
  .chapter {
    grid-template-columns: 2.3rem 1fr;
    margin-bottom: 3.4rem;
  }
  .chapter__marker {
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: start;
    padding-top: 0.35rem;
  }
  .chapter__year {
    min-width: 0;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    padding: 0.55rem 0.2rem;
    font-size: 0.68rem;
    background: var(--paper);
  }
  .chapter--left .chapter__photo,
  .chapter--right .chapter__photo {
    grid-column: 2;
    grid-row: 1;
    padding: 0 0 0 1rem;
  }
  .chapter--left .chapter__body,
  .chapter--right .chapter__body {
    grid-column: 2;
    grid-row: 2;
    padding: 1rem 0 0 1rem;
    text-align: left;
  }
  .chapter--left .chapter__photo figcaption,
  .chapter--right .chapter__photo figcaption { text-align: left; }
}

@media (max-width: 760px) {
  .nav-toggle { display: inline-block; }
  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 0 1rem;
    box-shadow: var(--shadow);
  }
  .is-open .nav { display: flex; }
  .nav a,
  .nav .social-yt {
    width: 100%;
    padding: 0.7rem 1.25rem;
  }
  .nav a.nav-emphasis { border-bottom: 0; }
  .hero { min-height: 0; padding: 4rem 0 3.4rem; }
  .section { padding: 3.6rem 0; }
  .footer-copy { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .chapter,
  .chapter.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media print {
  .site-header, .nav-toggle, .skip-link { display: none !important; }
  .hero, .page-hero, .section--navy, .site-footer {
    background: #fff !important;
    color: #000 !important;
  }
  .hero h1, .page-hero h1, .section--navy h2 { color: #000 !important; }
}
