/* PopulArmy — A.I. Artificial Inexistence
   Sito vetrina della mostra. Palette e caratteri derivati dal catalogo. */

@font-face {
  font-family: "Bitter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/bitter-normal-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Bitter"; font-style: italic; font-weight: 100 900; font-display: swap;
  src: url("../fonts/bitter-italic-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/archivo-normal-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Plane Crash";
  src: url("../fonts/planecrash.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Action of the Time";
  src: url("../fonts/actionofthetime.woff2") format("woff2");
  font-display: swap;
}

:root {
  --bg: #070707;
  --bg-2: #0f0f0f;
  --ink: #e6e4df;
  --ink-soft: #b9b7b1;
  --muted: #7f7d78;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.28);

  --yellow: #fff200;
  --pink: #ec008c;
  --orange: #ee6e21;
  --red: #e42026;
  --crimson: #d73036;
  --blue: #2b8fe3;
  --gold: #fcc322;
  --cyan: #00aeef;

  --accent: var(--yellow);

  --serif: "Bitter", Georgia, "Times New Roman", serif;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --display: "Plane Crash", "Archivo", Impact, sans-serif;
  --grunge: "Action of the Time", "Plane Crash", Impact, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1440px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(16px, 1.05vw + 10px, 19px);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
::selection { background: var(--pink); color: #fff; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }

/* ---------- lingua ---------- */
html[data-lang="it"] [data-l="en"],
html[data-lang="en"] [data-l="it"] { display: none !important; }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  background: var(--yellow); color: #000; padding: 10px 16px;
  font: 600 13px/1 var(--sans); text-decoration: none;
}
.skip:focus { top: 16px; }

/* ---------- tipografia di servizio ---------- */
.label {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}
.label b { color: var(--ink); font-weight: 600; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

.section { padding: clamp(80px, 12vw, 180px) 0; position: relative; }
.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: baseline;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  margin-bottom: clamp(48px, 7vw, 96px);
}
@media (min-width: 900px) {
  .section-head { grid-template-columns: 220px 1fr auto; }
}
.section-head .num { font: 500 12px/1 var(--sans); letter-spacing: .2em; color: var(--accent); }
.section-head h2 {
  margin: 0;
  font: 400 clamp(30px, 4.4vw, 64px)/1.05 var(--display);
  letter-spacing: .01em;
  text-transform: lowercase;
}
.section-head .aside { text-align: left; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px var(--gutter);
  transition: background .4s var(--ease), padding .4s var(--ease), transform .4s var(--ease);
}
.site-header.scrolled {
  background: rgba(7, 7, 7, .86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  padding-top: 12px; padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { height: 18px; width: auto; }
.brand span { display: none; }
@media (min-width: 700px) { .brand span { display: inline; } }

.nav { display: none; gap: clamp(16px, 2vw, 32px); }
.nav a {
  font: 500 12px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; color: var(--ink-soft); padding: 6px 0;
  border-bottom: 1px solid transparent; transition: color .2s, border-color .2s;
}
.nav a:hover, .nav a.active { color: var(--ink); border-color: var(--accent); }
@media (min-width: 1100px) { .nav { display: flex; } }

.header-tools { display: flex; align-items: center; gap: 10px; }
.lang {
  display: inline-flex; border: 1px solid var(--line-strong); border-radius: 999px; overflow: hidden;
}
.lang button {
  appearance: none; background: none; border: 0; color: var(--muted); cursor: pointer;
  font: 600 11px/1 var(--sans); letter-spacing: .14em; padding: 9px 12px;
}
.lang button[aria-pressed="true"] { background: var(--ink); color: #000; }
.menu-btn {
  appearance: none; background: none; border: 1px solid var(--line-strong); color: var(--ink);
  border-radius: 999px; width: 40px; height: 34px; cursor: pointer; display: grid; place-items: center;
}
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  display: block; width: 16px; height: 1.5px; background: currentColor; position: relative; content: "";
}
.menu-btn span::before { position: absolute; top: -5px; }
.menu-btn span::after { position: absolute; top: 5px; }
@media (min-width: 1100px) { .menu-btn { display: none; } }

.mobile-nav {
  position: fixed; inset: 0; z-index: 60; background: rgba(7,7,7,.98);
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
  padding: 80px var(--gutter) 40px;
  opacity: 0; pointer-events: none; transition: opacity .3s var(--ease);
}
.mobile-nav.open { opacity: 1; pointer-events: auto; }
.mobile-nav a {
  font: 400 clamp(28px, 8vw, 44px)/1.2 var(--display); text-transform: lowercase;
  text-decoration: none; color: var(--ink);
}
.mobile-nav a:hover { color: var(--yellow); }
.mobile-nav .close {
  position: absolute; top: 18px; right: var(--gutter);
  background: none; border: 1px solid var(--line-strong); color: var(--ink); border-radius: 999px;
  font: 600 11px/1 var(--sans); letter-spacing: .14em; padding: 10px 14px; cursor: pointer;
}

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid; place-items: center;
  overflow: hidden; isolation: isolate; text-align: center;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at center, rgba(0,0,0,.35) 0%, rgba(0,0,0,.75) 70%),
    linear-gradient(to bottom, rgba(7,7,7,.55) 0%, rgba(7,7,7,.1) 30%, rgba(7,7,7,.2) 65%, var(--bg) 100%);
}
.hero-inner { padding: 120px var(--gutter) 140px; display: grid; justify-items: center; gap: 22px; }
.hero-presents { display: grid; justify-items: center; gap: 8px; }
.hero-presents img { height: clamp(20px, 2.4vw, 30px); width: auto; }
.hero-presents span { text-transform: lowercase; font: 400 13px/1 var(--display); letter-spacing: .12em; color: var(--ink-soft); }
.hero-logo { width: auto; height: auto; max-height: min(46vh, 420px); max-width: 82vw; object-fit: contain; filter: drop-shadow(0 6px 30px rgba(0,0,0,.6)); }
.hero-sub { font: 400 clamp(14px, 1.6vw, 20px)/1.2 var(--display); letter-spacing: .06em; text-transform: lowercase; }
.hero-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin-top: 6px; }
.hero-foot {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 22px var(--gutter);
  display: flex; justify-content: space-between; align-items: end; gap: 16px;
}
.scroll-cue { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.scroll-cue i { display: block; width: 1px; height: 42px; background: linear-gradient(var(--ink), transparent); animation: cue 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.hero-foot .label:last-child { text-align: right; }

/* ---------- statement / mostra ---------- */
.statement {
  font: 400 clamp(24px, 2.9vw, 44px)/1.3 var(--serif);
  letter-spacing: -.005em; margin: 0; max-width: 24em; text-wrap: pretty;
}
.statement em { color: var(--yellow); font-style: italic; }
.mostra-grid { display: grid; gap: clamp(40px, 6vw, 96px); margin-top: clamp(56px, 8vw, 120px); }
@media (min-width: 960px) { .mostra-grid { grid-template-columns: 5fr 7fr; } }
.facts { display: grid; gap: 0; align-self: start; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts dt { margin: 0; }
.facts dd { margin: 0; font-size: .95em; }
.prose p { margin: 0 0 1.15em; text-wrap: pretty; }
.prose p:last-child { margin-bottom: 0; }
.prose .lead { font-size: 1.18em; line-height: 1.55; color: var(--ink); }
.prose { color: var(--ink-soft); }
.prose strong { color: var(--ink); font-weight: 600; }

.people { display: grid; gap: clamp(32px, 4vw, 64px); margin-top: clamp(64px, 9vw, 128px); }
@media (min-width: 800px) { .people { grid-template-columns: 1fr 1fr; } }
.person { border-top: 1px solid var(--line); padding-top: 22px; }
.person h3 { margin: 10px 0 14px; font: 400 clamp(26px, 2.6vw, 38px)/1.1 var(--grunge); color: var(--ink); }

/* ---------- saggio ---------- */
.essay { display: grid; gap: clamp(32px, 5vw, 80px); }
@media (min-width: 1000px) { .essay { grid-template-columns: 260px minmax(0, 720px); justify-content: space-between; } }
.essay-index { position: sticky; top: 96px; align-self: start; display: none; }
@media (min-width: 1000px) { .essay-index { display: block; } }
.essay-index ol { list-style: none; margin: 16px 0 0; padding: 0; counter-reset: idx; }
.essay-index li { counter-increment: idx; border-top: 1px solid var(--line); }
.essay-index a {
  display: grid; grid-template-columns: 34px 1fr; gap: 4px; padding: 12px 0; text-decoration: none;
  font: 500 13px/1.35 var(--sans); color: var(--muted); transition: color .2s;
}
.essay-index a::before { content: counter(idx, decimal-leading-zero); color: var(--muted); }
.essay-index a:hover, .essay-index a.active { color: var(--ink); }
.essay-index a.active::before { color: var(--yellow); }
.essay-body h3 {
  font: 600 clamp(22px, 2vw, 30px)/1.2 var(--serif); margin: 2.4em 0 .8em; color: var(--ink);
  scroll-margin-top: 100px;
}
.essay-body h3:first-child { margin-top: 0; }
.essay-body h3 small { display: block; margin-bottom: 10px; }
.essay-body .prose p { font-size: 1.04em; }
.dropcap::first-letter { text-transform: lowercase;
  float: left; font: 400 4.6em/.8 var(--display); color: var(--yellow); margin: .06em .1em 0 0;
}

.pullquote {
  margin: clamp(56px, 8vw, 120px) 0; padding: 0; text-align: center;
}
.pullquote p {
  font: 400 clamp(26px, 3.6vw, 54px)/1.18 var(--grunge); color: var(--ink); margin: 0 auto; max-width: 22em; text-wrap: balance;
}
.pullquote p em { font-style: normal; color: var(--pink); }
.pullquote cite { display: block; margin-top: 22px; font-style: normal; }

/* ---------- arsenale (marquee) ---------- */
.arsenal { padding: clamp(40px, 6vw, 80px) 0; overflow: hidden; border-block: 1px solid var(--line); background: var(--bg-2); }
.arsenal-track { display: flex; gap: clamp(48px, 6vw, 110px); width: max-content; align-items: center; animation: marquee 60s linear infinite; }
.arsenal-track img { height: clamp(60px, 9vw, 130px); width: auto; flex: none; }
.arsenal:hover .arsenal-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.arsenal-cap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: clamp(28px, 4vw, 48px); }

/* ---------- indice capitoli ---------- */
.chapters-index { display: grid; gap: 2px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); background: var(--line); border: 1px solid var(--line); }
.ch-card {
  position: relative; background: var(--bg); text-decoration: none; display: grid; grid-template-rows: auto 1fr;
  overflow: hidden; color: var(--ink);
}
.ch-card figure { margin: 0; aspect-ratio: 1 / 1; overflow: hidden; background: #111; }
.ch-card img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.85) contrast(1.05); transform: scale(1.02); transition: filter .6s var(--ease), transform 1.2s var(--ease); }
.ch-card:hover img, .ch-card:focus-visible img { filter: none; transform: scale(1.07); }
.ch-card .meta { padding: 18px 20px 22px; display: grid; gap: 8px; border-top: 3px solid var(--c); }
.ch-card .n { text-transform: lowercase; font: 400 15px/1 var(--display); color: var(--c); letter-spacing: .04em; }
.ch-card .t { font: 400 clamp(15px, 1.1vw, 18px)/1.05 var(--display); text-transform: lowercase; word-break: break-word; }
.ch-card .it { font: italic 400 15px/1.35 var(--serif); color: var(--ink-soft); }

/* ---------- capitolo ---------- */
.chapter { --accent: var(--c); padding: clamp(90px, 13vw, 200px) 0 clamp(40px, 6vw, 80px); position: relative; }
.chapter + .chapter { border-top: 1px solid var(--line); }
.ch-head { display: grid; gap: clamp(32px, 5vw, 80px); align-items: center; }
@media (min-width: 960px) { .ch-head { grid-template-columns: 7fr 5fr; } }
.ch-kicker { display: flex; gap: 16px; align-items: center; margin-bottom: 18px; }
.ch-kicker::before { content: ""; width: 40px; height: 1px; background: var(--c); }
.ch-number { font: 400 clamp(26px, 3vw, 46px)/1 var(--display); color: var(--c); margin: 0 0 6px; text-transform: lowercase; }
.ch-title {
  font: 400 clamp(26px, 5vw, 76px)/.98 var(--display); color: var(--c); margin: 0; text-transform: lowercase;
  overflow-wrap: break-word;
}
.ch-sub { margin: 26px 0 0; font: italic 400 clamp(22px, 2.3vw, 34px)/1.2 var(--serif); color: var(--ink); }
.ch-opener { margin: 0; justify-self: center; width: min(440px, 100%); }
.ch-opener .frame { border: 1px solid var(--line-strong); padding: 10px; background: #000; }
.ch-opener img { width: 100%; height: auto; aspect-ratio: 1 / 1.08; object-fit: cover; }
.ch-opener figcaption { margin-top: 12px; }

.ch-text { display: grid; gap: clamp(28px, 4vw, 64px); margin-top: clamp(56px, 7vw, 100px); }
@media (min-width: 960px) { .ch-text { grid-template-columns: 220px minmax(0, 1fr) minmax(0, 1fr); } }
.ch-text .prose p { margin-bottom: .9em; }
.in-mostra {
  margin: clamp(48px, 6vw, 90px) auto 0; max-width: 1000px; text-align: center; padding: 0 var(--gutter);
}
.in-mostra .label { color: var(--c); }
.in-mostra blockquote {
  margin: 16px 0 0; font: 400 clamp(24px, 3.2vw, 48px)/1.18 var(--grunge); color: var(--ink); text-wrap: balance;
}

.weapon-deco { display: block; width: auto; height: auto; max-width: min(300px, 62vw); max-height: 240px; margin: 0 auto clamp(28px, 4vw, 48px); transform: rotate(-6deg); }
.chapter > .wrap { position: relative; z-index: 1; }

/* galleria: righe giustificate (larghezza proporzionale al rapporto d'aspetto, nessun ritaglio) */
.gallery { margin-top: clamp(64px, 8vw, 120px); display: grid; gap: clamp(14px, 2vw, 28px); }
.g-row { display: flex; gap: clamp(14px, 2vw, 28px); align-items: flex-start; }
.g-row.inset-l { width: 74%; }
.g-row.inset-r { width: 74%; margin-left: auto; }
.g-row.solo-p { width: 46%; margin: 0 auto; }
.g-row.solo-p.off { margin: 0 8% 0 auto; }
.g-item { flex: var(--r) 1 0; margin: 0; min-width: 0; }
.g-item button {
  all: unset; display: block; width: 100%; cursor: zoom-in; position: relative; overflow: hidden; background: #111;
}
.g-item button:focus-visible { outline: 2px solid var(--c); outline-offset: 4px; }
.g-item img { width: 100%; height: auto; aspect-ratio: var(--ar); transition: transform 1.2s var(--ease), opacity .6s; }
.g-item button:hover img { transform: scale(1.025); }
.g-item figcaption { margin-top: 10px; display: flex; justify-content: space-between; gap: 12px; }
@media (max-width: 760px) {
  .g-row { flex-direction: column; }
  .g-row.inset-l, .g-row.inset-r, .g-row.solo-p, .g-row.solo-p.off { width: 100%; margin: 0; }
  .g-item { flex: none; width: 100%; }
}

/* ---------- finale ---------- */
.finale { position: relative; min-height: 100svh; display: grid; align-items: end; isolation: isolate; overflow: hidden; }
.finale picture, .finale img.bg { position: absolute; inset: 0; z-index: -2; }
.finale img.bg { width: 100%; height: 100%; object-fit: cover; }
.finale::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(7,7,7,.95) 0%, rgba(7,7,7,.35) 45%, rgba(7,7,7,.15) 100%); }
.finale-text { padding: 0 var(--gutter) clamp(56px, 9vw, 120px); max-width: var(--maxw); margin: 0 auto; width: 100%; }
.finale-text p { margin: 0; font: 400 clamp(36px, 6.5vw, 112px)/.95 var(--display); text-transform: lowercase; }
.finale-text p .pop { color: var(--pink); }
.finale-text p .smoke { color: var(--ink-soft); }

/* ---------- postfazione + manifesto ---------- */
.afterword { display: grid; gap: clamp(32px, 5vw, 80px); }
@media (min-width: 1000px) { .afterword { grid-template-columns: 260px minmax(0, 760px); justify-content: space-between; } }
.afterword h2 { font: 400 clamp(22px, 2vw, 30px)/1.15 var(--serif); color: var(--pink); margin: 0; font-style: italic; }
.hashtag { font: 400 22px/1 var(--grunge); color: var(--ink); margin-top: 32px; display: inline-block; }

.manifesto { background: #000; padding: clamp(100px, 15vw, 240px) 0; text-align: center; border-block: 1px solid var(--line); }
.manifesto .lines { max-width: 900px; margin: 0 auto; padding: 0 var(--gutter); display: grid; gap: 1.3em; }
.manifesto .lines p { margin: 0; font: 400 clamp(19px, 1.7vw, 25px)/1.55 var(--serif); color: var(--ink-soft); text-wrap: pretty; }
.manifesto .lines p.big { font: 600 clamp(26px, 3.4vw, 50px)/1.15 var(--serif); color: var(--ink); }
.manifesto .final { margin: clamp(64px, 9vw, 130px) auto 0; padding: 0 var(--gutter); font: 400 clamp(32px, 5.4vw, 92px)/1.02 var(--grunge); color: var(--yellow); max-width: 15em; text-wrap: balance; }

/* ---------- issues ---------- */
.issues { display: grid; gap: clamp(14px, 2vw, 24px); grid-template-columns: repeat(auto-fill, minmax(min(46%, 180px), 1fr)); }
.issues figure { margin: 0; }
.issues img { width: 100%; height: auto; aspect-ratio: 568 / 768; border: 1px solid var(--line); transition: transform .5s var(--ease), border-color .3s; }
.issues figure:hover img { transform: translateY(-6px); border-color: var(--line-strong); }
.issues figcaption { margin-top: 10px; }

/* ---------- media ---------- */
.media-grid { display: grid; gap: clamp(40px, 5vw, 72px); }
@media (min-width: 1000px) { .media-grid { grid-template-columns: 8fr 4fr; align-items: start; } }
.player { background: #000; border: 1px solid var(--line); }
.player video { width: 100%; aspect-ratio: 16 / 9; background: #000; }
.media-cap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; }
.media-cap h3 { margin: 0; font: 600 20px/1.3 var(--serif); }
.podcast { border: 1px solid var(--line); padding: clamp(22px, 3vw, 34px); display: grid; gap: 18px; background: var(--bg-2); }
.podcast .art { aspect-ratio: 1 / 1; overflow: hidden; background: #000; display: grid; place-items: center; }
.podcast .art img { width: 82%; }
.podcast h3 { margin: 0; font: 600 22px/1.25 var(--serif); }
.podcast audio { width: 100%; }
.ext { font: 500 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); text-decoration: none; border-bottom: 1px solid var(--line-strong); padding-bottom: 4px; }
.ext:hover { color: var(--yellow); border-color: var(--yellow); }
.clips {
  display: grid; gap: clamp(14px, 2vw, 28px); margin-top: clamp(64px, 8vw, 120px);
  grid-template-columns: 1fr 1fr; align-items: end;
  border-top: 1px solid var(--line); padding-top: clamp(28px, 4vw, 48px);
}
.clips-intro { grid-column: 1 / -1; display: grid; gap: 14px; align-self: start; }
.clips-intro h3 { margin: 0; font: 600 clamp(22px, 2vw, 30px)/1.2 var(--serif); }
.clips-intro p { margin: 0; color: var(--ink-soft); max-width: 34em; }
@media (min-width: 900px) {
  .clips { grid-template-columns: 5fr 3fr 3fr; }
  .clips-intro { grid-column: auto; padding-right: clamp(0px, 3vw, 48px); }
}
.clips figure { margin: 0; }
.clips video { width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; background: #111; }
.clips figcaption { margin-top: 10px; }

/* ---------- catalogo ---------- */
.book { display: grid; gap: clamp(40px, 6vw, 110px); align-items: center; }
@media (min-width: 900px) { .book { grid-template-columns: 5fr 7fr; } }
.book-cover { position: relative; justify-self: center; width: min(420px, 90%); }
.book-cover img { width: 100%; height: auto; box-shadow: 0 30px 70px rgba(0,0,0,.55); }
.specs { margin: 34px 0 40px; border-top: 1px solid var(--line); }
.specs div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.specs dt { margin: 0; }
.specs dd { margin: 0; }
.btn {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none;
  font: 600 12px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase;
  background: var(--yellow); color: #000; padding: 17px 24px; transition: background .2s, color .2s;
}
.btn:hover { background: var(--pink); color: #fff; }
.btn.ghost { background: none; color: var(--ink); border: 1px solid var(--line-strong); }
.btn.ghost:hover { border-color: var(--ink); background: var(--ink); color: #000; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- comitato ---------- */
.committee { display: grid; gap: 0; border-top: 1px solid var(--line); }
.committee div { display: grid; gap: 6px 24px; padding: clamp(18px, 2.4vw, 30px) 0; border-bottom: 1px solid var(--line); align-items: baseline; }
@media (min-width: 800px) { .committee div { grid-template-columns: 300px 1fr; } }
.committee dd { margin: 0; font: 400 clamp(24px, 2.6vw, 40px)/1.15 var(--grunge); }
.committee dt { margin: 0; }

/* ---------- footer ---------- */
.site-footer { padding: clamp(64px, 9vw, 120px) 0 36px; border-top: 1px solid var(--line); background: #000; }
.footer-top { display: grid; gap: 40px; }
@media (min-width: 900px) { .footer-top { grid-template-columns: 1.2fr 1fr 1fr; } }
.footer-logo { width: min(320px, 70%); }
.footer-top ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.footer-top a { text-decoration: none; color: var(--ink-soft); }
.footer-top a:hover { color: var(--yellow); }
.footer-bottom { margin-top: clamp(56px, 8vw, 100px); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,.97);
  display: grid; grid-template-rows: auto 1fr auto; opacity: 0; pointer-events: none; transition: opacity .3s var(--ease);
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lb-top, .lb-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px var(--gutter); }
.lb-stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 clamp(8px, 6vw, 96px); }
.lb-stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.lb-btn {
  appearance: none; background: none; border: 1px solid var(--line-strong); color: var(--ink); cursor: pointer;
  font: 600 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; padding: 11px 14px; border-radius: 999px;
}
.lb-btn:hover { background: var(--ink); color: #000; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; padding: 0; display: grid; place-items: center; font-size: 18px; }
.lb-prev { left: clamp(8px, 2vw, 28px); }
.lb-next { right: clamp(8px, 2vw, 28px); }
@media (max-width: 700px) { .lb-nav { top: auto; bottom: -62px; transform: none; } .lb-stage { padding: 0 8px; } }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .arsenal-track, .scroll-cue i { animation: none; }
  .g-item img, .ch-card img { transition: none; }
}

/* capolettera del saggio e seconda lingua nei capitoli */
.essay-body .prose.first > p:first-child::first-letter,
.essay-body .prose.first > p[data-l="it"] + p[data-l="en"]::first-letter { text-transform: lowercase;
  float: left; font: 400 4.4em/.82 var(--display); color: var(--yellow); margin: .06em .12em 0 0;
}
.ch-text .prose.alt { color: var(--muted); font-style: italic; font-size: .92em; }
@media (max-width: 959px) { .ch-text .prose.alt { display: none; } }

/* ---------- esposizioni ---------- */
.x-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.x-item {
  display: grid; gap: 10px 32px; align-items: center;
  padding: clamp(22px, 3vw, 40px) 0; border-bottom: 1px solid var(--line);
}
@media (min-width: 900px) { .x-item { grid-template-columns: clamp(260px, 26vw, 400px) 1fr auto; } }
.x-date { white-space: nowrap; font: 400 clamp(28px, 2.9vw, 44px)/1 var(--display); color: var(--muted); letter-spacing: .02em; }
.x-place { display: grid; gap: 6px; }
.x-venue { font: 400 clamp(28px, 3.2vw, 48px)/1.05 var(--grunge); }
.x-city { font: italic 400 1.05em/1.3 var(--serif); color: var(--ink-soft); }
.x-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
@media (min-width: 900px) { .x-meta { justify-content: flex-end; text-align: right; } }
.x-status { border: 1px solid var(--line-strong); border-radius: 999px; padding: 7px 12px; }
.x-item .s-next, .x-item .s-past { display: none; }
.x-item.is-next .s-next:not([hidden]), .x-item.is-past .s-past { display: inline; }
html[data-lang="it"] .x-item [data-l="en"], html[data-lang="en"] .x-item [data-l="it"] { display: none !important; }
.x-item.is-next .x-date { color: var(--yellow); }
.x-item.is-next .x-status { border-color: var(--yellow); background: var(--yellow); color: #000; }
.x-item.is-past .x-venue { color: var(--ink-soft); }
.hero-next { text-align: right; text-decoration: none; }
.hero-next b { color: var(--yellow); font-weight: 600; }
.hero-next:hover b { color: var(--ink); }

/* menu con una voce in più: niente a capo */
.nav a { white-space: nowrap; }
.nav { gap: clamp(14px, 1.6vw, 28px); }
@media (max-width: 1499px) { .brand span { display: none; } }
@media (max-width: 640px) { .hero-foot .scroll-cue { display: none; } .hero-foot { justify-content: flex-end; } }

/* ---------- pagine normali (WordPress: privacy, 404, articoli) ---------- */
.page-plain { padding-top: clamp(130px, 16vw, 200px); min-height: 70vh; }
.section-head h1 {
  margin: 0; font: 400 clamp(30px, 4.4vw, 64px)/1.05 var(--display); text-transform: lowercase; letter-spacing: .01em;
}
.page-content { max-width: 760px; }
.page-content h2, .page-content h3, .page-content h4 { font: 600 1.3em/1.3 var(--serif); color: var(--ink); margin: 2em 0 .7em; }
.page-content a { color: var(--yellow); }
.page-content ul, .page-content ol { padding-left: 1.2em; margin: 0 0 1.15em; }
.page-content li { margin-bottom: .4em; }
.page-content img { height: auto; }
.post-list { list-style: none; padding: 0; }
.post-list li { padding: 14px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; }
.footer-top ul li { margin: 0; }

/* ---------- WordPress + TranslatePress ---------- */
.lang a {
  font: 600 11px/1 var(--sans); letter-spacing: .14em; padding: 9px 12px; color: var(--muted); text-decoration: none;
}
.lang a[aria-current="true"] { background: var(--ink); color: #000; }
.lang a:hover:not([aria-current="true"]) { color: var(--ink); }
/* colonna bilingue dei capitoli: sulla pagina italiana l'inglese, su quella inglese l'italiano */
html[lang^="en"] .alt-on-it, html:not([lang^="en"]) .alt-on-en { display: none; }
#trp-floater-ls { display: none !important; }
