/* ── Reset & base ─────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Roboto', Helvetica, Arial, sans-serif;
  background: #fdfdfd;
  color: #2c2c2c;
  line-height: 1.75;
}

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

a {
  color: #7a6a50;
  text-decoration: none;
}

a:hover {
  color: #3a2c18;
}

/* ── Nav ──────────────────────────────────────────────── */
#nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #ddd6c8;
}

.nav-inner {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0.85rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-name {
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: #2c2c2c;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.75rem;
  flex-wrap: wrap;
  justify-content: center;
  flex: 1;
}

.nav-links a {
  font-size: 1.1rem;
  font-weight: 300;
  letter-spacing: 0.02em;
  color: #7a6a50;
  white-space: nowrap;
  transition: color 0.15s;
}

.nav-links a:hover {
  color: #2c2c2c;
}

.lang-switcher {
  display: flex;
  gap: 0.3rem;
  align-items: center;
  flex-shrink: 0;
}

.lang-switcher a,
.lang-switcher .lang-current {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.4rem;
  border-radius: 2px;
}

.lang-switcher .lang-current {
  background: #2c2c2c;
  color: #fff;
}

.lang-switcher a {
  color: #9a8a72;
  border: 1px solid #ddd6c8;
}

.lang-switcher a:hover {
  color: #2c2c2c;
  border-color: #9a8a72;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #2c2c2c;
  padding: 0.2rem 0.4rem;
  line-height: 1;
}

@media (max-width: 1400px) {
  .nav-toggle {
    display: block;
  }

  .nav-inner {
    flex-wrap: wrap;
    padding: 0.85rem 1.25rem;
  }

  .nav-name {
    flex: 1;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0 0.75rem;
  }

  .nav-links li a {
    display: block;
    padding: 0.55rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid #ede8df;
  }

  #nav.open .nav-links {
    display: flex;
  }

  .lang-switcher {
    order: -1;
  }
}

/* ── Hero banner ──────────────────────────────────────── */
.hero-banner {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  min-height: 460px;
  overflow: hidden;
}

.hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.hero-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.15) 0%,
    rgba(0,0,0,0.35) 35%,
    rgba(0,0,0,0.75) 65%,
    rgba(0,0,0,0.92) 100%
  );
}

.hero-banner-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 4rem 2.5rem;
}

.hero-banner-text h1 {
  font-size: 3.5rem;
  font-weight: 300;
  color: #ffffff;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}

.hero-banner-text .banner-dates {
  font-size: 1rem;
  font-weight: 300;
  color: #c8c0b4;
  letter-spacing: 0.16em;
  margin-bottom: 1.6rem;
}

.hero-banner-text blockquote {
  font-size: 1.35rem;
  font-style: italic;
  font-weight: 300;
  color: rgba(255,255,255,0.92);
  letter-spacing: 0.02em;
  border-left: 2px solid rgba(255,255,255,0.35);
  padding-left: 1.2rem;
  max-width: 680px;
  line-height: 1.7;
  margin-bottom: 3rem;
}

.hero-banner-text .banner-cite {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.78rem;
  font-style: normal;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.07em;
}

@media (max-width: 720px) {
  .hero-banner {
    height: 100vh;
    height: 100svh;
    min-height: 460px;
  }

  .hero-banner img {
    object-position: 10% 15%;
  }

  .hero-banner-text {
    padding: 1.5rem 1.25rem 2rem;
  }

  .hero-banner-text h1 {
    font-size: 2.2rem;
  }

  .hero-banner-text blockquote {
    font-size: 1.05rem;
    margin-bottom: 4.5rem;
  }
}

/* ── Event announcement ───────────────────────────────── */
.event-announcement {
  background: #f7f2e6;
  border-bottom: 1px solid #ddd6c8;
  padding: 3rem 2rem;
  text-align: center;
}

.event-announcement-inner {
  max-width: 640px;
  margin: 0 auto;
}

.event-date-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7a6a50;
  background: #fff;
  border: 1px solid #ddd6c8;
  border-radius: 2px;
  padding: 0.35rem 0.9rem;
  margin-bottom: 1.25rem;
}

.event-announcement-inner p {
  font-size: 1rem;
  font-weight: 300;
  color: #444;
  margin-bottom: 1rem;
  line-height: 1.7;
}

.event-announcement-inner p:last-of-type {
  margin-bottom: 0;
}

.event-sign-off {
  font-style: italic;
  color: #7a6a50;
}

.event-announcement-inner strong {
  font-weight: 500;
  color: #2c2c2c;
}

/* ── Shared section layout ────────────────────────────── */
section {
  max-width: 960px;
  margin: 0 auto;
  padding: 5rem 2rem;
  scroll-margin-top: 72px;
}

section + section {
  border-top: 1px solid #ddd6c8;
}

h2 {
  font-size: 1.6rem;
  font-weight: 300;
  letter-spacing: 0.03em;
  color: #2c2c2c;
  margin-bottom: 2.5rem;
}

h3 {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9a8a72;
  margin-bottom: 1.5rem;
  margin-top: 3rem;
}

h3:first-of-type {
  margin-top: 0;
}

/* ── Language tag ─────────────────────────────────────── */
.lang-tag {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 500;
  background: #ede8df;
  color: #9a8a72;
  padding: 0.1rem 0.35rem;
  border-radius: 2px;
  letter-spacing: 0.07em;
  vertical-align: middle;
  margin-left: 0.35rem;
  line-height: 1.6;
}

/* ── Section 1: In memoriam ───────────────────────────── */
.hero-header {
  text-align: center;
  margin-bottom: 3rem;
}

.hero-header h1 {
  font-size: 3rem;
  font-weight: 300;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.dates {
  font-size: 0.9rem;
  color: #9a8a72;
  letter-spacing: 0.14em;
  font-weight: 300;
}

.collage {
  margin: 0 auto 3rem;
  max-width: 680px;
  text-align: center;
}

.collage img {
  width: 100%;
  border-radius: 2px;
}

.collage figcaption {
  font-size: 0.72rem;
  color: #b0a090;
  margin-top: 0.5rem;
  letter-spacing: 0.05em;
}

.bio {
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.bio p {
  font-size: 1.05rem;
  font-weight: 300;
  color: #444;
  margin-bottom: 1.2rem;
}

.bio p:last-child {
  margin-bottom: 0;
}

.bio em {
  font-style: italic;
}

.final-words {
  max-width: 540px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: center;
}

.quote-aude p,
.quote-olivier p {
  font-size: 1.2rem;
  font-style: italic;
  font-weight: 300;
  color: #5a4a38;
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.quote-aude cite,
.quote-olivier cite {
  font-size: 0.75rem;
  color: #9a8a72;
  letter-spacing: 0.06em;
  font-style: normal;
  font-weight: 400;
}

/* ── Section 2: Testimonianze ─────────────────────────── */
.letters-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.letter-card {
  background: #fff;
  border: 1px solid #ddd6c8;
  border-radius: 2px;
  overflow: hidden;
  text-align: center;
}

.letter-card a {
  display: block;
}

.letter-card img {
  width: 100%;
  transition: opacity 0.2s;
}

.letter-card a:hover img {
  opacity: 0.88;
}

.letter-card figcaption {
  font-size: 0.75rem;
  font-weight: 400;
  color: #9a8a72;
  padding: 0.6rem 0.75rem;
  letter-spacing: 0.02em;
}

.letter-pdfs {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 0;
}

.messages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.message-card {
  background: #fff;
  border: 1px solid #ddd6c8;
  border-radius: 2px;
  padding: 1.5rem;
}

.message-card p {
  font-size: 0.95rem;
  font-style: italic;
  font-weight: 300;
  color: #444;
  margin-bottom: 1rem;
  line-height: 1.7;
}

.message-card cite {
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 500;
  color: #7a6a50;
  letter-spacing: 0.02em;
  line-height: 1.5;
}

.message-card cite span {
  display: block;
  font-weight: 300;
  color: #9a8a72;
}

/* ── Section 3: Stampa ────────────────────────────────── */
.press-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.press-card {
  background: #fff;
  border: 1px solid #ddd6c8;
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.press-card--image .press-img-link img {
  width: 100%;
  transition: opacity 0.2s;
}

.press-card--image .press-img-link:hover img {
  opacity: 0.88;
}

.press-meta {
  padding: 1.25rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.press-source {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7a6a50;
  margin-bottom: 0.2rem;
}

.press-date {
  font-size: 0.72rem;
  font-weight: 300;
  color: #b0a090;
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
}

.press-meta blockquote {
  font-size: 0.95rem;
  font-style: italic;
  font-weight: 300;
  color: #444;
  line-height: 1.7;
  flex: 1;
  margin-bottom: 1rem;
}

.read-more {
  font-size: 0.78rem;
  font-weight: 400;
  color: #7a6a50;
  letter-spacing: 0.04em;
  border-bottom: 1px solid #c8b89a;
  padding-bottom: 1px;
  align-self: flex-start;
  transition: color 0.15s, border-color 0.15s;
}

.read-more:hover {
  color: #3a2c18;
  border-color: #3a2c18;
}

.press-downloads {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* ── Section 4: Il suo lavoro ─────────────────────────── */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.work-card {
  background: #fff;
  border: 1px solid #ddd6c8;
  border-radius: 2px;
  padding: 2rem;
}

.work-card h3 {
  font-size: 1.05rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0.02em;
  color: #2c2c2c;
  margin-top: 0;
  margin-bottom: 0.3rem;
}

.work-date {
  font-size: 0.72rem;
  font-weight: 300;
  color: #b0a090;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.work-card p {
  font-size: 0.95rem;
  font-weight: 300;
  color: #555;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.work-card em {
  font-style: italic;
}

/* ── Section 5: Multimedia ────────────────────────────── */
.multimedia-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

.multimedia-col h3 {
  margin-top: 0;
}

.link-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.link-list a {
  font-size: 0.9rem;
  font-weight: 300;
  color: #7a6a50;
  line-height: 1.5;
  transition: color 0.15s;
}

.link-list a:hover {
  color: #2c2c2c;
}

/* ── Shared utility ───────────────────────────────────── */
.doc-link {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 400;
  color: #7a6a50;
  letter-spacing: 0.04em;
  border-bottom: 1px solid #c8b89a;
  padding-bottom: 1px;
  transition: color 0.15s, border-color 0.15s;
}

.doc-link:hover {
  color: #3a2c18;
  border-color: #3a2c18;
}

/* ── Footer ───────────────────────────────────────────── */
footer {
  border-top: 1px solid #ddd6c8;
  text-align: center;
  padding: 2.5rem 2rem;
  color: #9a8a72;
}

footer p {
  font-size: 0.82rem;
  font-weight: 300;
  letter-spacing: 0.06em;
}

.footer-quote {
  margin-top: 0.5rem;
  font-style: italic;
  color: #b0a090 !important;
}

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 720px) {
  section {
    padding: 3.5rem 1.25rem;
  }

  .hero-header h1 {
    font-size: 2.2rem;
  }

  .letters-grid,
  .messages-grid,
  .press-grid,
  .work-grid,
  .multimedia-grid {
    grid-template-columns: 1fr;
  }

  .multimedia-grid {
    gap: 2.5rem;
  }

  .press-downloads {
    flex-direction: column;
    gap: 0.75rem;
  }
}

@media (max-width: 480px) {
  .hero-header h1 {
    font-size: 1.8rem;
  }

  .quote-aude p,
  .quote-olivier p {
    font-size: 1rem;
  }
}
