
:root {
  --paper: #f7f6f2;
  --ink: #171717;
  --muted: #6f6d67;
  --line: rgba(23,23,23,.14);
  --max: 1440px;
  --text: 680px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  line-height: 1.55;
}
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { opacity: .62; }

.site-header {
  position: fixed;
  z-index: 20;
  inset: 0 0 auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 1.25rem 2rem;
  mix-blend-mode: difference;
  color: white;
}
.brand {
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: .78rem;
  font-weight: 600;
  white-space: nowrap;
}
.nav { display: flex; gap: 1.35rem; font-size: .78rem; letter-spacing: .06em; }
.menu-button { display: none; border: 0; background: none; color: inherit; font: inherit; }

.hero {
  min-height: 100svh;
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #292823;
}
.hero img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.48), rgba(0,0,0,.03) 55%);
}
.hero-copy {
  position: relative;
  z-index: 1;
  color: white;
  padding: clamp(2rem, 5vw, 5rem);
  max-width: 960px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .72rem;
  margin-bottom: .8rem;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(2.6rem, 6.2vw, 6.4rem);
  line-height: .93;
  letter-spacing: -.045em;
  margin-bottom: 1.25rem;
}
.hero-meta { font-size: .9rem; letter-spacing: .05em; }

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(5rem, 9vw, 10rem) clamp(1.25rem, 4vw, 4rem);
}
.intro-grid {
  display: grid;
  grid-template-columns: minmax(160px, .7fr) minmax(280px, 1.6fr);
  gap: clamp(2rem, 8vw, 10rem);
  align-items: start;
}
.section-label {
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: .7rem;
  color: var(--muted);
}
.lead {
  max-width: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.2vw, 2.15rem);
  line-height: 1.25;
  letter-spacing: -.015em;
}
.project-card {
  display: grid;
  grid-template-columns: 1.5fr .7fr;
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: end;
}
.project-card img { aspect-ratio: 4 / 3; object-fit: cover; }
.project-info h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(1.9rem, 3.2vw, 3.5rem);
  line-height: 1;
  letter-spacing: -.035em;
}
.project-info p { color: var(--muted); max-width: 32rem; }
.link-arrow {
  display: inline-block;
  margin-top: 1rem;
  padding-bottom: .22rem;
  border-bottom: 1px solid currentColor;
  font-size: .85rem;
  letter-spacing: .06em;
}

.about-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.about-copy {
  max-width: 940px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.3rem, 2.2vw, 2.25rem);
  line-height: 1.28;
  letter-spacing: -.018em;
}

.contact {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: flex-end;
}
.contact h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 400;
  line-height: .95;
}
.email { font-size: clamp(1rem, 2vw, 1.35rem); border-bottom: 1px solid; }

.footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5rem clamp(1.25rem, 4vw, 4rem) 2rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: .72rem;
  letter-spacing: .05em;
}

/* Story page */
.story-header {
  min-height: 78svh;
  display: grid;
  place-items: end start;
  position: relative;
  overflow: hidden;
  background: #292823;
}
.story-header img { position: absolute; inset: 0; height: 100%; object-fit: cover; }

.cover-focus-top {
  object-position: center 18%;
}

.story-header-portrait img {
  object-position: center 14%;
}

.story-header::after { content:""; position:absolute; inset:0; background:linear-gradient(to top, rgba(0,0,0,.55), transparent 60%); }
.story-title { position:relative; z-index:1; color:#fff; padding:clamp(2rem,5vw,5rem); }
.story-title h1 { max-width: 1000px; }

.story-intro {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 10rem) 1.25rem;
}
.story-intro p {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2vw, 1.9rem);
  line-height: 1.38;
}

.gallery {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 3rem) clamp(6rem, 10vw, 12rem);
  display: grid;
  gap: clamp(4rem, 10vw, 11rem);
}
.frame { margin: 0 auto; width: 100%; }
.frame.landscape { max-width: 1320px; }
.frame.portrait { max-width: 690px; }
.frame img { max-height: 92svh; object-fit: contain; }
.closing {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 0 1.25rem clamp(7rem, 12vw, 12rem);
}
.closing p {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 1.8vw, 1.7rem);
}
.back-link { display: inline-block; margin-top: 2rem; border-bottom: 1px solid; }

@media (max-width: 760px) {
  .site-header { padding: 1rem 1.15rem; mix-blend-mode: normal; background: rgba(247,246,242,.94); color: var(--ink); border-bottom: 1px solid var(--line); }
  .menu-button { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    flex-direction: column;
    padding: 1.4rem 1.15rem 1.7rem;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }
  .nav.open { display: flex; }
  .hero { min-height: 88svh; }
  .hero-copy { padding: 2rem 1.25rem; }
  .intro-grid, .project-card { grid-template-columns: 1fr; }
  .project-card { align-items: start; }
  .contact { flex-direction: column; align-items: flex-start; }
  .footer { flex-direction: column; }
}

.projects-stack {
  display: grid;
  gap: clamp(7rem, 13vw, 14rem);
}
.project-card-reverse > a { order: 2; }
.project-card-reverse .project-info { order: 1; }
.award-note {
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* Allineamento editoriale dei testi */
.lead,
.project-info p:not(.section-label),
.about-copy,
.story-intro p,
.closing p,
.contact p {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.chapter {
  max-width: 690px;
  width: 100%;
  margin: 0 auto -2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

@media (max-width: 760px) {
  .lead,
  .project-info p:not(.section-label),
  .about-copy,
  .story-intro p,
  .closing p,
  .contact p {
    text-align: left;
    hyphens: none;
  }
}
