/* =========================================================================
   Paul Klerr — Archive
   Tipografia: Fraunces (display) + Newsreader (body)
   Due temi: .light (pagine di contesto) | .dark (gallery)
   ========================================================================= */

:root {
  /* Light theme */
  --ivory: #f4f0e8;
  --ivory-2: #ece7db;
  --ink: #1a1816;
  --ink-soft: #2a2724;
  --muted: #6e6a62;
  --rule: #d9d2c1;
  --accent: #8a5a3b;

  /* Dark theme (per gallery) */
  --void: #0a0a0a;
  --void-2: #141414;
  --chalk: #e8e4dc;
  --chalk-dim: #8f8a81;
  --rule-dark: #2a2724;

  --max: 1440px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.light { color: var(--ink); background: var(--ivory); }
body.dark  { color: var(--chalk); background: var(--void); }

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

/* =========================================================================
   NAV
   ========================================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.25rem var(--gutter);
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}
body.light .nav { background: rgba(244, 240, 232, 0.92); }
body.dark  .nav { background: rgba(10, 10, 10, 0.88); }
.nav { backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
body.light .nav.scrolled { border-bottom-color: var(--rule); }
body.dark  .nav.scrolled { border-bottom-color: var(--rule-dark); }

.nav-mark {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  font-variation-settings: "opsz" 36, "SOFT" 30;
}
.nav-mark a { text-decoration: none; }
.nav-mark em {
  font-style: italic;
  font-variation-settings: "opsz" 36, "SOFT" 100, "WONK" 1;
}

.nav-links {
  display: flex; gap: 2rem; list-style: none;
  font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase;
}
.nav-links a {
  text-decoration: none; position: relative; padding-bottom: 2px;
  opacity: 0.82; transition: opacity 0.2s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: currentColor;
  transition: width 0.3s ease;
}
.nav-links a:hover { opacity: 1; }
.nav-links a:hover::after,
.nav-links a.current::after { width: 100%; }
.nav-links a.current { opacity: 1; }

.lang-switch {
  font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase;
  display: flex; gap: 0.4rem; align-items: center;
}
.lang-switch button {
  background: none; border: none; cursor: pointer; font: inherit;
  padding: 0; transition: opacity 0.2s;
  color: inherit; opacity: 0.5;
}
.lang-switch button.active { opacity: 1; }
.lang-switch .divider { opacity: 0.4; }

@media (max-width: 780px) {
  .nav-links { display: none; }
}

/* =========================================================================
   TYPOGRAPHY — classi utility
   ========================================================================= */
.eyebrow {
  font-family: 'Newsreader', serif;
  font-size: 0.76rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted);
}
body.dark .eyebrow { color: var(--chalk-dim); }
.eyebrow.with-rule {
  display: flex; align-items: center; gap: 1rem;
}
.eyebrow.with-rule::before {
  content: ""; width: 40px; height: 1px; background: currentColor;
  opacity: 0.6;
}

.display {
  font-family: 'Fraunces', serif; font-weight: 300;
  line-height: 0.95; letter-spacing: -0.025em;
  font-variation-settings: "opsz" 144, "SOFT" 40, "WONK" 1;
}
.display em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}
.h-italic {
  font-family: 'Fraunces', serif; font-style: italic; font-weight: 300;
  font-variation-settings: "opsz" 72, "SOFT" 100, "WONK" 1;
}
.serif-roman {
  font-family: 'Fraunces', serif; font-weight: 300;
  font-variation-settings: "opsz" 72, "SOFT" 40;
}

/* dropcap riutilizzabile */
.dropcap::first-letter {
  font-family: 'Fraunces', serif; font-weight: 300;
  float: left; font-size: 3.8em; line-height: 0.85;
  padding: 0.05em 0.12em 0 0;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}
body.light .dropcap::first-letter { color: var(--ink); }
body.dark  .dropcap::first-letter { color: var(--chalk); }

/* =========================================================================
   FADE-IN ANIMATIONS
   ========================================================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-in {
  opacity: 0;
  animation: fadeUp 1s ease forwards;
}
.fade-in.delay-1 { animation-delay: 0.2s; }
.fade-in.delay-2 { animation-delay: 0.4s; }
.fade-in.delay-3 { animation-delay: 0.6s; }
.fade-in.delay-4 { animation-delay: 0.8s; }
.fade-in.delay-5 { animation-delay: 1.0s; }

/* =========================================================================
   LAYOUT PRIMITIVES
   ========================================================================= */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section {
  padding: 7rem 0;
}
.section-sm {
  padding: 4rem 0;
}

/* =========================================================================
   HERO (index.html)
   ========================================================================= */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  padding: 7rem var(--gutter) 5rem;
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
}
@media (min-width: 980px) {
  .hero { grid-template-columns: 1.1fr 1fr; gap: 5rem; }
}

.hero-content > * + * { margin-top: 2rem; }
.hero-name {
  font-family: 'Fraunces', serif; font-weight: 300;
  font-size: clamp(3.5rem, 10vw, 8.5rem);
  line-height: 0.92; letter-spacing: -0.025em;
  font-variation-settings: "opsz" 144, "SOFT" 50, "WONK" 1;
}
.hero-name em {
  font-style: italic; font-weight: 300;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}
.hero-dates {
  font-family: 'Fraunces', serif; font-style: italic; font-weight: 300;
  font-size: clamp(1.05rem, 1.8vw, 1.4rem);
  color: var(--muted);
  font-variation-settings: "opsz" 72, "SOFT" 80;
}
.hero-desc {
  max-width: 42ch; font-size: 1.08rem; line-height: 1.6;
  color: var(--ink-soft);
}

.hero-image {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--void);
  position: relative;
}
.hero-image img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-image-caption {
  margin-top: 1rem;
  font-family: 'Newsreader', serif; font-style: italic;
  font-size: 0.88rem; color: var(--muted);
}

.scroll-hint {
  position: absolute; bottom: 2rem; left: var(--gutter);
  font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
}
.scroll-hint::before {
  content: "↓"; display: inline-block; margin-right: 0.5rem;
  animation: nudge 2s ease-in-out infinite;
}
@keyframes nudge {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(4px); }
}

/* =========================================================================
   INTRO / ABOUT
   ========================================================================= */
.intro {
  display: grid; grid-template-columns: 1fr; gap: 3rem;
}
@media (min-width: 900px) {
  .intro { grid-template-columns: 1fr 1.3fr; gap: 6rem; }
}
.intro-quote {
  font-family: 'Fraunces', serif; font-weight: 300; font-style: italic;
  font-size: clamp(1.4rem, 2.3vw, 1.9rem);
  line-height: 1.35; letter-spacing: -0.005em;
  font-variation-settings: "opsz" 72, "SOFT" 80;
}
.intro-body p {
  font-size: 1.06rem; line-height: 1.7;
  margin-bottom: 1.2rem;
  color: var(--ink-soft);
}
.intro-body em {
  font-family: 'Fraunces', serif; font-style: italic;
  font-variation-settings: "opsz" 72, "SOFT" 100, "WONK" 1;
}

/* =========================================================================
   DECADES GRID (home)
   ========================================================================= */
.decades-section {
  background: var(--ivory-2);
  padding: 7rem 0;
}
.decades-heading {
  font-family: 'Fraunces', serif; font-weight: 300;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.1; letter-spacing: -0.02em;
  margin-bottom: 4rem; max-width: 22ch;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
.decades-heading em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}

.decades-grid {
  display: grid; grid-template-columns: 1fr; gap: 1px;
  background: var(--rule); border: 1px solid var(--rule);
}
@media (min-width: 780px) {
  .decades-grid { grid-template-columns: 1fr 1fr; }
}

.decade-card {
  padding: 3rem;
  background: var(--ivory-2);
  text-decoration: none; color: inherit;
  display: flex; flex-direction: column;
  min-height: 380px;
  transition: background 0.4s ease;
  position: relative;
  overflow: hidden;
}
.decade-card:hover { background: var(--ivory); }
.decade-card .preview-img {
  position: absolute; right: -30px; bottom: -30px;
  width: 50%; aspect-ratio: 1/1;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
  transform: scale(0.95);
  filter: grayscale(0.3);
}
.decade-card:hover .preview-img {
  opacity: 0.22; transform: scale(1);
}
.decade-roman {
  font-family: 'Fraunces', serif; font-weight: 300; font-style: italic;
  font-size: 0.95rem; color: var(--accent);
  letter-spacing: 0.18em; margin-bottom: 1.5rem;
  font-variation-settings: "opsz" 36, "SOFT" 100, "WONK" 1;
}
.decade-year {
  font-family: 'Fraunces', serif; font-weight: 300;
  font-size: clamp(2.5rem, 4.5vw, 3.8rem);
  line-height: 1; letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  font-variation-settings: "opsz" 144, "SOFT" 40;
}
.decade-year .soft-s { color: var(--muted); font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; }
.decade-title {
  font-family: 'Fraunces', serif; font-style: italic; font-weight: 300;
  font-size: 1.25rem; color: var(--ink-soft);
  margin-bottom: 1.5rem;
  font-variation-settings: "opsz" 72, "SOFT" 100, "WONK" 1;
}
.decade-desc {
  font-size: 0.96rem; line-height: 1.55;
  color: var(--ink-soft); margin-bottom: 2rem;
  max-width: 40ch; flex-grow: 1;
  position: relative; z-index: 1;
}
.decade-footer {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  position: relative; z-index: 1;
}
.decade-count { color: var(--muted); }
.decade-enter {
  color: var(--ink); border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.decade-card:hover .decade-enter {
  color: var(--accent); border-color: var(--accent);
}

/* =========================================================================
   FEATURED (home)
   ========================================================================= */
.featured {
  padding: 8rem var(--gutter);
  max-width: var(--max); margin: 0 auto;
}
.featured-header { margin-bottom: 4rem; }
.featured-title {
  font-family: 'Fraunces', serif; font-weight: 300;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.1; letter-spacing: -0.02em;
  max-width: 20ch;
  font-variation-settings: "opsz" 144, "SOFT" 40;
  margin-top: 1.5rem;
}
.featured-title em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}
.featured-grid {
  display: grid; grid-template-columns: 1fr; gap: 3rem;
}
@media (min-width: 780px) {
  .featured-grid { grid-template-columns: repeat(3, 1fr); gap: 3rem 2rem; }
}
.featured-item {
  text-decoration: none; color: inherit; display: block;
}
.featured-img-wrap {
  aspect-ratio: 4/5; overflow: hidden;
  background: var(--ink); margin-bottom: 1rem;
}
.featured-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.33, 1, 0.68, 1);
}
.featured-item:hover .featured-img-wrap img {
  transform: scale(1.03);
}
.featured-caption .h-italic {
  font-size: 1.1rem; margin-bottom: 0.2rem;
}
.featured-caption small {
  color: var(--muted); font-size: 0.85rem;
}

/* =========================================================================
   PAGE HEADER (sottopagine)
   ========================================================================= */
.page-header {
  padding: 8rem var(--gutter) 4rem;
  max-width: var(--max); margin: 0 auto;
}
.breadcrumb {
  display: flex; gap: 0.8rem; flex-wrap: wrap;
  font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 2.5rem;
}
.breadcrumb a { color: inherit; text-decoration: none; opacity: 0.85; }
.breadcrumb a:hover { opacity: 1; }
.breadcrumb .sep { opacity: 0.4; }

.chapter-num {
  font-family: 'Fraunces', serif; font-style: italic; font-weight: 300;
  font-size: 1rem; color: var(--accent);
  letter-spacing: 0.18em; display: block; margin-bottom: 1.2rem;
  font-variation-settings: "opsz" 36, "SOFT" 100, "WONK" 1;
}
.page-title {
  font-family: 'Fraunces', serif; font-weight: 300;
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 0.95; letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
  font-variation-settings: "opsz" 144, "SOFT" 40, "WONK" 1;
}
.page-title em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}
.page-subtitle {
  font-family: 'Fraunces', serif; font-style: italic; font-weight: 300;
  font-size: clamp(1.05rem, 1.9vw, 1.35rem);
  color: var(--muted); max-width: 55ch;
  font-variation-settings: "opsz" 72, "SOFT" 80;
}
body.dark .page-subtitle { color: var(--chalk-dim); }

/* =========================================================================
   ESSAY
   ========================================================================= */
.essay {
  max-width: var(--max); margin: 0 auto;
  padding: 4rem var(--gutter) 6rem;
  display: grid; grid-template-columns: 1fr; gap: 3rem;
}
@media (min-width: 900px) {
  .essay { grid-template-columns: 1fr 2fr; gap: 7rem; }
}
.essay-meta dl { display: grid; gap: 1.4rem; }
.essay-meta dt {
  font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 0.3rem;
}
.essay-meta dd {
  font-family: 'Fraunces', serif; font-style: italic; font-weight: 300;
  font-size: 1.1rem;
  font-variation-settings: "opsz" 72, "SOFT" 80;
}
.essay-body p {
  font-size: 1.08rem; line-height: 1.7;
  margin-bottom: 1.3rem; color: var(--ink-soft);
}
body.dark .essay-body p { color: var(--chalk); opacity: 0.88; }
.essay-body em {
  font-family: 'Fraunces', serif; font-style: italic;
  font-variation-settings: "opsz" 72, "SOFT" 100, "WONK" 1;
}

/* =========================================================================
   FILTER BAR
   ========================================================================= */
.filter-bar {
  border-top: 1px solid var(--rule-dark);
  border-bottom: 1px solid var(--rule-dark);
  padding: 1.4rem 0;
}
body.light .filter-bar {
  background: var(--ivory-2);
  border-color: var(--rule);
}
.filter-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
  display: flex; gap: 2rem; align-items: center; flex-wrap: wrap;
}
.filter-label {
  font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  opacity: 0.7;
}
.filter-group { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.filter-btn {
  background: none; border: none; cursor: pointer; font: inherit;
  color: inherit; padding: 0.3rem 0;
  font-family: 'Fraunces', serif; font-style: italic; font-weight: 300;
  font-size: 0.92rem;
  font-variation-settings: "opsz" 36, "SOFT" 100, "WONK" 1;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, opacity 0.2s;
  opacity: 0.75;
}
.filter-btn:hover { opacity: 1; }
.filter-btn.active {
  opacity: 1; border-bottom-color: currentColor;
}
.filter-count {
  margin-left: auto;
  font-size: 0.8rem; letter-spacing: 0.04em; opacity: 0.65;
}

/* =========================================================================
   WORKS GRID (dark theme)
   ========================================================================= */
.works-section {
  padding: 5rem 0 8rem;
}
.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 3.5rem 2rem;
}
.work {
  display: block; text-decoration: none; color: inherit;
  cursor: pointer;
}
.work-img-wrap {
  aspect-ratio: 4/5; overflow: hidden;
  background: var(--void-2); margin-bottom: 1rem;
  position: relative;
}
.work[data-orient="landscape"] .work-img-wrap { aspect-ratio: 5/4; }
.work[data-orient="tall"]      .work-img-wrap { aspect-ratio: 2/5; }
.work[data-orient="portrait"]  .work-img-wrap { aspect-ratio: 3/4; }
.work[data-orient="square"]    .work-img-wrap { aspect-ratio: 1/1; }

.work-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.33, 1, 0.68, 1);
}
.work:hover .work-img-wrap img { transform: scale(1.04); }

.work-img-wrap.empty::after {
  content: attr(data-ref);
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--chalk-dim);
  font-family: 'Newsreader', serif; font-style: italic; font-size: 0.8rem;
  opacity: 0.4;
}

.work-title {
  font-family: 'Fraunces', serif; font-style: italic; font-weight: 300;
  font-size: 1.1rem; line-height: 1.25;
  margin-bottom: 0.3rem;
  font-variation-settings: "opsz" 72, "SOFT" 100, "WONK" 1;
}
.work-materials {
  font-size: 0.86rem; line-height: 1.4; margin-bottom: 0.25rem;
  opacity: 0.85;
}
.work-meta {
  font-size: 0.8rem; letter-spacing: 0.02em;
  opacity: 0.6;
  display: flex; justify-content: space-between; gap: 1rem;
}
.work-ref { font-variant-numeric: tabular-nums; font-size: 0.74rem; }

.work.hidden { display: none; }

/* =========================================================================
   PULL QUOTE
   ========================================================================= */
.pull-quote {
  max-width: 880px; margin: 7rem auto;
  padding: 0 var(--gutter); text-align: center;
}
.pull-quote blockquote {
  font-family: 'Fraunces', serif; font-weight: 300; font-style: italic;
  font-size: clamp(1.5rem, 3.2vw, 2.3rem);
  line-height: 1.3; letter-spacing: -0.01em;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}
.pull-quote cite {
  display: block; margin-top: 2rem;
  font-family: 'Newsreader', serif; font-style: normal;
  font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase;
  opacity: 0.65;
}
.pull-quote cite::before { content: "—"; margin-right: 0.5rem; }

/* =========================================================================
   NEXT CHAPTER
   ========================================================================= */
.next-chapter {
  padding: 4.5rem var(--gutter);
  max-width: var(--max); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  gap: 2rem;
  border-top: 1px solid var(--rule-dark);
}
body.light .next-chapter { border-color: var(--rule); }
.next-chapter a { text-decoration: none; }
.next-chapter .label {
  font-size: 0.76rem; letter-spacing: 0.18em; text-transform: uppercase;
  opacity: 0.6; margin-bottom: 0.5rem; display: block;
}
.next-chapter .title {
  font-family: 'Fraunces', serif; font-style: italic; font-weight: 300;
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  font-variation-settings: "opsz" 72, "SOFT" 100, "WONK" 1;
}
.next-chapter .arrow {
  font-family: 'Fraunces', serif; font-weight: 300;
  display: inline-block;
  transition: transform 0.3s;
}
.next-chapter a:hover .arrow { transform: translateX(6px); }

/* =========================================================================
   LIGHTBOX (scheda opera overlay)
   ========================================================================= */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(10, 10, 10, 0.96);
  z-index: 1000;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  overflow-y: auto;
}
.lightbox.open { display: block; opacity: 1; }
.lightbox-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 5rem var(--gutter) 3rem;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 900px) {
  .lightbox-inner { grid-template-columns: 1.3fr 1fr; gap: 4rem; }
}
.lightbox-image img {
  width: 100%;
  max-height: 88vh;
  object-fit: contain;
}
.lightbox-info {
  color: var(--chalk);
}
.lightbox-info .eyebrow {
  color: var(--chalk-dim);
  margin-bottom: 1rem;
}
.lightbox-title {
  font-family: 'Fraunces', serif; font-weight: 300;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.15; margin-bottom: 1.5rem;
  font-variation-settings: "opsz" 144, "SOFT" 50;
}
.lightbox-title em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}
.lightbox-meta dl { display: grid; gap: 1rem; margin-top: 1.5rem; }
.lightbox-meta dt {
  font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--chalk-dim); margin-bottom: 0.2rem;
}
.lightbox-meta dd {
  font-family: 'Fraunces', serif; font-style: italic; font-weight: 300;
  font-size: 1rem;
  font-variation-settings: "opsz" 72, "SOFT" 80;
}
.lightbox-note {
  margin-top: 2rem;
  font-size: 0.95rem; line-height: 1.7;
  color: var(--chalk); opacity: 0.85;
  padding: 1.5rem 0;
  border-top: 1px solid var(--rule-dark);
  font-style: italic;
}
.lightbox-thumbs {
  display: flex; gap: 0.5rem; margin-top: 1.5rem;
  flex-wrap: wrap;
}
.lightbox-thumbs button {
  background: none; border: 1px solid var(--rule-dark);
  cursor: pointer; padding: 0;
  width: 60px; height: 60px;
  overflow: hidden;
  transition: border-color 0.2s, opacity 0.2s;
  opacity: 0.6;
}
.lightbox-thumbs button:hover,
.lightbox-thumbs button.active {
  opacity: 1; border-color: var(--chalk);
}
.lightbox-thumbs img {
  width: 100%; height: 100%; object-fit: cover;
}
.lightbox-photo-credit {
  margin-top: 2rem;
  font-size: 0.78rem; letter-spacing: 0.08em;
  color: var(--chalk-dim);
}
.lightbox-close {
  position: fixed; top: 1.5rem; right: 1.5rem;
  background: none; border: none; cursor: pointer;
  color: var(--chalk);
  font-family: 'Fraunces', serif; font-weight: 300;
  font-size: 2rem; line-height: 1;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  transition: background 0.2s;
  z-index: 1001;
}
.lightbox-close:hover { background: var(--void-2); }

/* =========================================================================
   FOOTER
   ========================================================================= */
footer {
  background: var(--ink); color: var(--ivory);
  padding: 5rem var(--gutter) 2rem;
}
body.dark footer {
  background: var(--void-2);
  border-top: 1px solid var(--rule-dark);
}
.footer-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1fr; gap: 3rem;
}
@media (min-width: 780px) {
  .footer-inner { grid-template-columns: 2fr 1fr 1fr; }
}
.footer-mark {
  font-family: 'Fraunces', serif; font-weight: 300;
  font-size: 2rem; line-height: 1; margin-bottom: 1rem;
  font-variation-settings: "opsz" 144, "SOFT" 50;
}
.footer-mark em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}
.footer-tagline {
  color: var(--rule); font-size: 0.95rem; max-width: 32ch;
  font-style: italic; font-family: 'Fraunces', serif; font-weight: 300;
  font-variation-settings: "opsz" 72, "SOFT" 80;
}
.footer-col h4 {
  font-size: 0.76rem; letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 400; color: var(--rule); margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a {
  color: var(--ivory); text-decoration: none; font-size: 0.95rem;
  border-bottom: 1px solid transparent; padding-bottom: 1px;
  transition: border-color 0.2s;
}
.footer-col a:hover { border-bottom-color: var(--ivory); }
.footer-bottom {
  max-width: var(--max); margin: 4rem auto 0;
  padding-top: 2rem; border-top: 1px solid var(--ink-soft);
  display: flex; justify-content: space-between;
  font-size: 0.8rem; color: var(--muted); letter-spacing: 0.04em;
}
@media (max-width: 600px) {
  .footer-bottom { flex-direction: column; gap: 0.5rem; }
}

/* =========================================================================
   BILINGUE
   ========================================================================= */
html[data-lang="en"] .it,
html[data-lang="en"] .es,
html[data-lang="en"] .fr,
html[data-lang="it"] .en,
html[data-lang="it"] .es,
html[data-lang="it"] .fr,
html[data-lang="es"] .en,
html[data-lang="es"] .it,
html[data-lang="es"] .fr,
html[data-lang="fr"] .en,
html[data-lang="fr"] .it,
html[data-lang="fr"] .es { display: none; }

/* =========================================================================
   CONTACT PAGE
   ========================================================================= */
.contact-layout {
  display: grid; grid-template-columns: 1fr; gap: 4rem;
  padding: 8rem var(--gutter) 6rem;
  max-width: var(--max); margin: 0 auto;
}
@media (min-width: 900px) {
  .contact-layout { grid-template-columns: 1fr 1.2fr; gap: 6rem; }
}
.contact-info h2 {
  font-family: 'Fraunces', serif; font-weight: 300;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1; letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  font-variation-settings: "opsz" 144, "SOFT" 40;
}
.contact-info h2 em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}
.contact-info p {
  font-size: 1.06rem; line-height: 1.65;
  color: var(--ink-soft); margin-bottom: 1.2rem;
  max-width: 42ch;
}
.contact-list {
  list-style: none; margin-top: 2.5rem;
}
.contact-list li {
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--rule);
}
.contact-list li:first-child { border-top: 1px solid var(--rule); }
.contact-list dt {
  font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 0.3rem;
}
.contact-list dd {
  font-family: 'Fraunces', serif; font-style: italic; font-weight: 300;
  font-size: 1.15rem;
  font-variation-settings: "opsz" 72, "SOFT" 80;
}
.contact-list a { text-decoration: none; border-bottom: 1px solid var(--rule); }
.contact-list a:hover { border-color: var(--ink); }

/* =========================================================================
   ARCHIVE — Exhibitions, Press, Public Commissions, Document pages
   Added April 2026 (rev. 4)
   ========================================================================= */

/* Page hero (condiviso) */
.page-hero {
  max-width: var(--max);
  margin: 4rem auto 3rem;
  padding: 0 var(--gutter);
  text-align: center;
}
.page-hero .eyebrow {
  display: inline-block;
  font-family: "Newsreader", serif;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.page-hero .page-title {
  font-family: "Fraunces", serif;
  font-weight: 300;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: var(--ink);
}
.page-hero .page-subtitle {
  font-family: "Newsreader", serif;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  font-style: italic;
  color: var(--muted);
  max-width: 42rem;
  margin: 0 auto;
  line-height: 1.55;
}

/* Archive stats */
.archive-stats {
  max-width: var(--max);
  margin: 0 auto 3rem;
  padding: 2rem var(--gutter);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 2rem;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.archive-stats .stat {
  text-align: center;
}
.archive-stats .stat-num {
  display: block;
  font-family: "Fraunces", serif;
  font-weight: 300;
  font-size: 2.5rem;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.archive-stats .stat-label {
  font-family: "Newsreader", serif;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Exhibitions filters */
.exh-filters, .press-filters {
  max-width: var(--max);
  margin: 0 auto 3rem;
  padding: 0 var(--gutter);
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}
.exh-filters input, .press-filters input {
  flex: 1;
  min-width: 240px;
  max-width: 380px;
  font-family: "Newsreader", serif;
  font-size: 0.95rem;
  padding: 0.7rem 1rem;
  border: 1px solid var(--rule);
  border-radius: 2px;
  background: var(--ivory);
  color: var(--ink);
}
.exh-filters input:focus, .press-filters input:focus {
  outline: none;
  border-color: var(--accent);
}
.exh-filter-group, .press-filter-group {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.filter-btn {
  font-family: "Newsreader", serif;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  padding: 0.55rem 1rem;
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 2px;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s ease;
}
.filter-btn:hover {
  border-color: var(--ink-soft);
  color: var(--ink);
}
.filter-btn.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--ivory);
}

/* Exhibitions timeline */
.exh-container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter) 5rem;
}
.decade-section {
  margin-bottom: 5rem;
}
.decade-heading {
  font-family: "Fraunces", serif;
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--ink);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 0.6rem;
  margin-bottom: 2.5rem;
  letter-spacing: -0.02em;
}
.decade-heading em {
  font-style: italic;
  color: var(--accent);
}

.exh-list {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
.exh-entry {
  display: grid;
  grid-template-columns: 180px 160px 1fr;
  gap: 2rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--rule);
}
.exh-entry:last-child {
  border-bottom: none;
}
@media (max-width: 800px) {
  .exh-entry {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
.exh-entry.featured .exh-title {
  color: var(--accent);
}
.exh-date {
  font-family: "Newsreader", serif;
}
.exh-date time {
  display: block;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.exh-type {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 2px;
  margin-top: 0.3rem;
}
.exh-type-solo {
  background: var(--ink);
  color: var(--ivory);
}
.exh-type-group {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--rule);
}
.exh-preview img {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  filter: sepia(0.05);
  border: 1px solid var(--rule);
  background: var(--ivory-2);
}
.exh-main {
  font-family: "Newsreader", serif;
}
.exh-title {
  font-family: "Fraunces", serif;
  font-weight: 300;
  font-size: 1.8rem;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}
.exh-subtitle {
  font-style: italic;
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 0.6rem;
}
.exh-venue {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin-bottom: 0.4rem;
}
.exh-curator, .exh-artists {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 0.3rem;
}
.exh-desc {
  margin-top: 1rem;
  line-height: 1.6;
  color: var(--ink-soft);
  font-size: 0.98rem;
}
.exh-docs {
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px dotted var(--rule);
}
.exh-docs-label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.8rem;
}
.exh-docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.8rem;
}
.exh-doc {
  display: block;
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.4;
}
.exh-doc img {
  display: block;
  width: 100%;
  height: 140px;
  object-fit: cover;
  border: 1px solid var(--rule);
  margin-bottom: 0.4rem;
  background: var(--ivory-2);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.exh-doc:hover img {
  transform: translateY(-2px);
  border-color: var(--accent);
}
.exh-doc-label {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Press page */
.press-list {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter) 5rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
.press-entry {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--rule);
}
.press-entry:last-child {
  border-bottom: none;
}
@media (max-width: 700px) {
  .press-entry {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .press-thumb img {
    max-height: 280px;
    object-fit: cover;
  }
}
.press-thumb {
  display: block;
}
.press-thumb img {
  width: 100%;
  height: auto;
  border: 1px solid var(--rule);
  filter: sepia(0.03);
  transition: transform 0.3s ease, border-color 0.2s ease;
  background: var(--ivory-2);
}
.press-thumb:hover img {
  transform: translateY(-3px);
  border-color: var(--accent);
}
.press-meta {
  display: flex;
  gap: 1rem;
  align-items: center;
  font-family: "Newsreader", serif;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.6rem;
}
.press-type {
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border: 1px solid var(--rule);
  border-radius: 2px;
}
.press-title {
  font-family: "Fraunces", serif;
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 1.15;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.press-title a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.press-title a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.press-byline {
  font-family: "Newsreader", serif;
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin-bottom: 0.8rem;
}
.press-desc {
  font-family: "Newsreader", serif;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 0.8rem;
}
.press-exh-link {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--accent);
  text-decoration: none;
  margin-top: 0.6rem;
}
.press-exh-link:hover {
  text-decoration: underline;
}

/* Public Commissions */
.commissions-list {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter) 5rem;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}
.commission {
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--rule);
}
.commission:last-child {
  border-bottom: none;
}
.comm-header {
  margin-bottom: 1.5rem;
}
.comm-year {
  font-family: "Newsreader", serif;
  font-size: 1rem;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.comm-header h2 {
  font-family: "Fraunces", serif;
  font-weight: 300;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}
.comm-location {
  font-family: "Newsreader", serif;
  font-style: italic;
  color: var(--muted);
}
.comm-details {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.4rem 2rem;
  margin: 1.5rem 0;
  font-family: "Newsreader", serif;
  font-size: 0.95rem;
  max-width: 600px;
}
.comm-details dt {
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  padding-top: 0.15rem;
}
.comm-details dd {
  color: var(--ink-soft);
}
.comm-desc {
  font-family: "Newsreader", serif;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 46rem;
  margin-bottom: 1.5rem;
}
.comm-docs {
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px dotted var(--rule);
}
.comm-docs-label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.8rem;
}
.comm-docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.8rem;
}
.comm-doc {
  display: block;
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.4;
}
.comm-doc img {
  display: block;
  width: 100%;
  height: 160px;
  object-fit: cover;
  border: 1px solid var(--rule);
  margin-bottom: 0.4rem;
  background: var(--ivory-2);
}
.comm-doc:hover img {
  border-color: var(--accent);
}

/* Single document page */
.doc-page-wrap {
  max-width: var(--max);
  margin: 3rem auto;
  padding: 0 var(--gutter) 5rem;
}
.doc-breadcrumb {
  font-family: "Newsreader", serif;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 2rem;
  letter-spacing: 0.04em;
}
.doc-breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.doc-breadcrumb a:hover {
  color: var(--ink);
  border-bottom-color: var(--accent);
}
.doc-breadcrumb .current {
  color: var(--ink-soft);
}
.doc-breadcrumb span {
  margin: 0 0.5rem;
  opacity: 0.6;
}
.doc-article {
  background: transparent;
}
.doc-header {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--rule);
}
.doc-type {
  display: inline-block;
  font-family: "Newsreader", serif;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.8rem;
}
.doc-header h1 {
  font-family: "Fraunces", serif;
  font-weight: 300;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 0.8rem;
  letter-spacing: -0.015em;
}
.doc-byline {
  font-family: "Newsreader", serif;
  font-size: 1rem;
  color: var(--ink-soft);
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}
.doc-byline time {
  color: var(--muted);
}
.doc-byline em {
  font-style: italic;
}
.doc-content {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  margin-bottom: 3rem;
}
@media (max-width: 900px) {
  .doc-content {
    grid-template-columns: 1fr;
  }
}
.doc-images {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.doc-page {
  margin: 0;
  padding: 0;
}
.doc-page img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--rule);
  background: var(--ivory-2);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.doc-page figcaption {
  font-family: "Newsreader", serif;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
  margin-top: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.doc-sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
}
.doc-meta {
  font-family: "Newsreader", serif;
  font-size: 0.9rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.6rem 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 1rem;
}
.doc-meta dt {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 0.15rem;
}
.doc-meta dd {
  color: var(--ink-soft);
}
.doc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.doc-tags .tag {
  font-family: "Newsreader", serif;
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  border: 1px solid var(--rule);
  border-radius: 2px;
  color: var(--muted);
  background: var(--ivory-2);
}
.doc-description {
  max-width: 48rem;
  font-family: "Newsreader", serif;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 2rem 0 3rem;
}
.doc-description h2 {
  font-family: "Fraunces", serif;
  font-weight: 400;
  font-size: 1.2rem;
  color: var(--ink);
  margin-bottom: 0.8rem;
  letter-spacing: 0.02em;
}
.doc-ocr {
  max-width: 48rem;
  margin: 2rem 0;
  padding: 1rem 1.2rem;
  background: var(--ivory-2);
  border: 1px solid var(--rule);
  border-radius: 2px;
}
.doc-ocr summary {
  font-family: "Newsreader", serif;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
}
.doc-ocr pre {
  white-space: pre-wrap;
  font-family: "Newsreader", serif;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-top: 1rem;
  max-height: 400px;
  overflow-y: auto;
  padding-top: 1rem;
  border-top: 1px dotted var(--rule);
}
.doc-related {
  margin: 2.5rem 0;
  padding: 1.5rem;
  background: var(--ivory-2);
  border-left: 3px solid var(--accent);
  max-width: 48rem;
}
.doc-related h3 {
  font-family: "Newsreader", serif;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.8rem;
}
.doc-related-exh {
  display: block;
  text-decoration: none;
  color: var(--ink);
  padding: 0.5rem 0;
}
.doc-related-exh:hover .en, .doc-related-exh:hover .it {
  color: var(--accent);
}
.doc-related-exh .year {
  display: inline-block;
  font-family: "Fraunces", serif;
  font-size: 1.2rem;
  color: var(--accent);
  margin-right: 0.6rem;
}
.doc-related-exh .en, .doc-related-exh .it {
  font-family: "Fraunces", serif;
  font-size: 1.1rem;
  font-weight: 400;
  transition: color 0.2s ease;
}
.doc-related-exh .venue {
  display: block;
  font-family: "Newsreader", serif;
  font-size: 0.9rem;
  font-style: italic;
  color: var(--muted);
  margin-top: 0.3rem;
}
.doc-duplicates ul {
  list-style: none;
  font-family: "Newsreader", serif;
  font-size: 0.88rem;
  color: var(--muted);
}
.doc-duplicates li {
  padding: 0.3rem 0;
}
.doc-duplicates code {
  font-size: 0.78rem;
  padding: 0.1rem 0.4rem;
  background: var(--ivory);
  border-radius: 2px;
}
.doc-back {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
  font-family: "Newsreader", serif;
}
.doc-back a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
}
.doc-back a:hover {
  color: var(--accent);
}

/* Site footer */
.site-footer {
  border-top: 1px solid var(--rule);
  padding: 3rem var(--gutter) 2rem;
  background: var(--ivory-2);
  margin-top: 4rem;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 700px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
}
.footer-brand {
  font-family: "Fraunces", serif;
  font-size: 1.1rem;
  color: var(--ink);
}
.footer-brand em {
  font-size: 1.4rem;
  font-style: italic;
}
.footer-brand span {
  display: block;
  font-family: "Newsreader", serif;
  font-size: 0.82rem;
  font-style: normal;
  color: var(--muted);
  margin-top: 0.3rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.footer-note {
  font-family: "Newsreader", serif;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--muted);
  font-style: italic;
}


/* About — enhanced (rev.4) */
.about-body .en p, .about-body .it p {
  margin-bottom: 1.2rem;
  line-height: 1.75;
}
.about-body em {
  font-style: italic;
  color: var(--ink);
}
.about-deep-links {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
}
.about-deep-links a {
  font-family: "Newsreader", serif;
  font-size: 0.95rem;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.02em;
  border-bottom: 1px solid transparent;
}
.about-deep-links a:hover {
  border-bottom-color: var(--accent);
}
.about-dates {
  font-family: "Newsreader", serif;
  font-style: italic;
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

/* =========================================================================
   Pagina Copyright / Legal — sobria, leggibile, formale
   ========================================================================= */
.legal-container {
  max-width: 880px;
  margin: 0 auto;
  padding: 2rem var(--gutter) 5rem;
}
.legal-section {
  margin-bottom: 4rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--rule);
}
.legal-section:last-child {
  border-bottom: none;
}
.legal-section h2 {
  font-family: "Fraunces", serif;
  font-weight: 400;
  font-size: 1.6rem;
  color: var(--ink);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}
.legal-body {
  font-family: "Newsreader", serif;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink-soft);
}
.legal-body p {
  margin-bottom: 1.2rem;
}
.legal-body strong {
  color: var(--ink);
  font-weight: 500;
}
.legal-body ul {
  margin: 1rem 0 1.5rem 1.5rem;
  padding: 0;
}
.legal-body ul li {
  margin-bottom: 0.6rem;
  line-height: 1.6;
}
.legal-body a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px dotted var(--accent);
  transition: opacity 0.2s ease;
}
.legal-body a:hover {
  opacity: 0.7;
}
.legal-body code {
  font-family: "Newsreader", serif;
  font-style: italic;
  font-size: 0.95em;
  color: var(--accent);
  background: var(--ivory-2);
  padding: 0.05em 0.4em;
  border-radius: 2px;
}
.citation-example {
  margin: 1rem 0 1.5rem;
  padding: 1.2rem 1.5rem;
  background: var(--ivory-2);
  border-left: 3px solid var(--accent);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--ink-soft);
  line-height: 1.6;
  border-radius: 0;
}
.legal-update {
  margin-top: 2rem;
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
}

/* Copyright line nel footer (multilingua) */
.copyright-line {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.5;
}
