@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;0,700;1,400;1,500&family=Instrument+Serif:ital@0;1&display=swap');

/* Reset solo per la pagina illustrazioni */
.illustrazioni-page {
  max-width: 1100px !important;
}

.illustrazioni-page * {
  box-sizing: border-box;
}

/* HERO */
.hero {
  position: relative;
  padding: 20px 60px 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.hero-title {
  font-family: 'Instrument Serif', 'EB Garamond', Georgia, serif;
  font-size: clamp(44px, 6.4vw, 88px);
  font-weight: 400;
  font-style: italic;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.hero-title .line2 {
  display: block;
  padding-left: 18%;
}

.hero-sub {
  margin-top: 30px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #999;
}

.hero-vertical {
  position: absolute;
  right: 60px;
  top: 20px;
  writing-mode: vertical-rl;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #bbb;
}

/* INTRO */
.intro-block {
  max-width: 1100px;
  margin: 40px auto 0;
  padding: 0 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.intro-block .pull-quote {
  font-family: 'Instrument Serif', 'EB Garamond', Georgia, serif;
  font-size: 32px;
  font-style: italic;
  line-height: 1.35;
  color: #111;
  border-left: 3px solid #111;
  padding-left: 24px;
  margin-top: 10px;
}

.intro-block .body-text {
  font-size: 16.5px;
  line-height: 1.8;
  color: #444;
}

.intro-block .body-text p+p {
  margin-top: 16px;
}

/* LUISS STRIP */
.luiss-section {
  max-width: 1100px;
  margin: 80px auto 0;
  padding: 0 60px;
}

.luiss-strip {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  flex-wrap: nowrap;
}

.luiss-strip .luiss-item {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
}

.luiss-strip .luiss-item img {
  width: 100%;
  display: block;
  background: #fff;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.luiss-strip .luiss-item:hover img {
  transform: scale(1.025);
}

.luiss-label {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.luiss-label h3 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10px;
  font-weight: bold;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #999;
}

.luiss-label .line {
  flex: 1;
  height: 1px;
  background: #ddd;
  margin: 0 20px;
}

.luiss-label span {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 14px;
  font-style: italic;
  color: #999;
}

.luiss-project {
  margin-top: 50px;
}

.luiss-project-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 16px;
  font-family: 'EB Garamond', Georgia, serif;
  color: #222;
}

.luiss-project-head .author {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-family: Arial, Helvetica, sans-serif;
  color: #999;
  font-weight: bold;
}

.luiss-project-head .sep {
  color: #ccc;
}

.luiss-project-head .booktitle {
  font-family: 'Instrument Serif', 'EB Garamond', Georgia, serif;
  font-size: 20px;
  font-style: italic;
  color: #111;
}

.luiss-project-head .publisher {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 13px;
  font-style: italic;
  color: #999;
}

.luiss-strip.luiss-strip-small {
  max-width: 60%;
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
}

.luiss-project .luiss-project-head {
  justify-content: center;
  text-align: center;
}

/* EDITORIAL GRID */
.editorial {
  max-width: 1100px;
  margin: 100px auto 0;
  padding: 0 60px;
}

.editorial-header {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 50px;
}

.editorial-header h2 {
  font-family: 'Instrument Serif', 'EB Garamond', Georgia, serif;
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 400;
  font-style: italic;
  white-space: nowrap;
  letter-spacing: 0.01em;
  color: #1a1a1a;
}

.editorial-header .rule {
  flex: 1;
  height: 1px;
  background: #111;
}

.ed-row {
  display: grid;
  gap: 20px;
  margin-bottom: 30px;
}

.ed-row.r1 {
  grid-template-columns: 1.1fr 0.9fr 1fr;
}

.ed-row.r2 {
  grid-template-columns: 0.6fr 1fr 0.4fr;
  align-items: end;
}

.ed-row.r3 {
  grid-template-columns: 0.5fr 1fr 0.5fr;
  align-items: start;
}

.ed-item {
  overflow: hidden;
  cursor: pointer;
  position: relative;
  background: #fff;
}

.ed-item img {
  width: 100%;
  display: block;
  background: #fff;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.ed-item:hover img {
  transform: scale(1.03);
}

.ed-item .tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: #fff;
  color: #111;
  padding: 4px 10px;
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.3s;
}

.ed-item:hover .tag {
  opacity: 1;
  transform: translateY(0);
}

.ed-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 0;
}

.ed-text .num {
  font-family: 'Instrument Serif', serif;
  font-size: 64px;
  font-style: italic;
  line-height: 1;
  color: #ddd;
}

.ed-text .desc {
  font-size: 15px;
  line-height: 1.7;
  color: #666;
  margin-top: 10px;
}

.ed-text .desc em {
  font-style: italic;
  color: #111;
}

/* CLOSING */
.closing {
  max-width: 1100px;
  margin: 100px auto 80px;
  padding: 0 60px;
}

.closing .closing-header {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 40px;
}

.closing .closing-header h2 {
  font-family: 'Instrument Serif', 'EB Garamond', Georgia, serif;
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 400;
  font-style: italic;
  white-space: nowrap;
  letter-spacing: 0.01em;
  color: #1a1a1a;
  margin: 0;
}

.closing .closing-header .rule {
  flex: 1;
  height: 1px;
  background: #111;
}

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

/* Figure normalisation */
.ed-item,
.closing .closing-img,
.intro-block .pull-quote {
  margin: 0;
}

.closing .closing-img {
  max-width: 456px;
  margin: 0 auto;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
}

.closing .closing-img img {
  width: 100%;
  display: block;
  background: #fff;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.closing .closing-img:hover img {
  transform: scale(1.03);
}

.closing .closing-caption {
  margin: 20px auto 0;
  max-width: 640px;
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 14.5px;
  font-style: italic;
  color: #666;
  line-height: 1.6;
  text-align: center;
}

.closing .closing-caption strong {
  font-style: normal;
  color: #111;
  font-weight: 500;
}

/* LIGHTBOX */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.93);
  z-index: 1000;
  display: none;
  justify-content: center;
  align-items: center;
  cursor: zoom-out;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 88vw;
  max-height: 90vh;
  object-fit: contain;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero {
    padding: 10px 30px 30px;
  }

  .hero-vertical {
    display: none;
  }

  .intro-block {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0 30px;
  }

  .luiss-section {
    padding: 0 20px;
  }

  .editorial {
    padding: 0 20px;
  }

  .ed-row.r1,
  .ed-row.r2,
  .ed-row.r3 {
    grid-template-columns: 1fr 1fr;
  }

  .closing {
    padding: 0 30px;
    margin-top: 60px;
  }

  .closing .closing-header {
    margin-bottom: 25px;
  }
}