:root {
  --ink: #111;
  --muted: #666;
  --line: #dedede;
  --paper: #fff;
  --surface: #f2f2f2;
  --max: 1400px;
  --gutter: clamp(18px, 3vw, 42px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 280px;
  background: var(--paper);
  color: var(--ink);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  transition: opacity .18s ease;
}
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: auto; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
  transform: translateY(-150%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  transition: background-color .3s ease, box-shadow .3s ease;
}
.site-header.scrolled { background: rgba(255,255,255,.96); box-shadow: 0 8px 26px rgba(0,0,0,.035); }
.nav {
  max-width: var(--max);
  min-height: 68px;
  margin: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { flex: 0 0 auto; white-space: nowrap; word-break: keep-all; font-size: .84rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; }
.nav-links { min-width: 0; display: flex; align-items: center; gap: 24px; }
.nav-links a, .lang button { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; }
.nav-links a { white-space: nowrap; padding: 24px 0 21px; border-bottom: 1px solid transparent; }
.nav-links a:hover, .nav-links a[aria-current="page"] { border-color: var(--ink); }
.lang { flex: 0 0 auto; display: flex; gap: 6px; margin-left: 6px; white-space: nowrap; }
.lang button { border: 0; background: none; padding: 7px 2px; color: var(--muted); cursor: pointer; }
.lang button.active { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.menu-button { display: none; border: 0; background: none; font-size: 1.65rem; line-height: 1; padding: 10px; cursor: pointer; }

.shell { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.hero {
  min-height: calc(100svh - 69px);
  display: grid;
  grid-template-columns: minmax(280px,.75fr) 1.65fr;
  gap: 5vw;
  align-items: center;
  padding-block: 4vw;
}
.hero-copy { max-width: 560px; }
.eyebrow, .kicker { font-size: .68rem; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); }
h1 { margin: .25em 0 .32em; font-size: clamp(2.6rem, 4.5vw, 4.8rem); font-weight: 500; line-height: .94; letter-spacing: -.045em; }
h2 { margin: .15em 0 .5em; font-size: clamp(1.8rem, 3.2vw, 3.8rem); font-weight: 500; line-height: 1.02; letter-spacing: -.045em; }
.lead { max-width: 46ch; font-size: clamp(.95rem, 1.15vw, 1.14rem); color: #343434; }
.text-link { display: inline-flex; align-items: center; gap: 12px; margin-top: 24px; padding-bottom: 4px; border-bottom: 1px solid; }
.text-link:hover { color: var(--muted); }
.hero-art { width: min(100%, 520px); aspect-ratio: 437/583; justify-self: end; overflow: hidden; background: var(--surface); }
.hero-art img { height: 100%; object-fit: cover; object-position: center; }

.section { padding-block: clamp(68px, 7vw, 110px); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; border-top: 1px solid var(--line); padding-top: 18px; margin-bottom: 44px; }
.section-head h1, .section-head h2 { margin: 0; }
.section-head h1 { font-size: clamp(2.5rem, 4.5vw, 4.6rem); }
.section-head .lead { margin: 0; }

.work-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 34px 22px; }
.work-card.work-feature { width: min(100%, 1120px); margin: 0 auto clamp(46px, 6vw, 82px); }
.work-card.work-feature img { width: 100%; aspect-ratio: 16/9; object-fit: cover; transform: none; }
.work-card.work-feature:hover img { transform: none; }
.work-card { margin: 0; overflow: hidden; }
.work-card:nth-child(n) { grid-column: auto; }
.work-card img { width: 100%; aspect-ratio: 4/5; object-fit: cover; background: var(--surface); transition: filter .3s ease, transform .5s ease; }
.work-card:hover img { filter: contrast(1.04); transform: scale(1.008); }
.work-card:nth-child(odd) img { aspect-ratio: 4/5; }

.intro-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 8vw; padding-block: clamp(68px, 7vw, 100px); }
.intro-grid > p { margin: 0; }
.intro-grid > p:last-child, .statement-copy > p { margin: 0; font-size: clamp(1.12rem, 1.85vw, 1.8rem); line-height: 1.4; letter-spacing: -.02em; }
.statement-copy .text-link { font-size: 1rem; letter-spacing: 0; }

.about-hero {
  min-height: min(800px, calc(100svh - 79px));
  display: grid;
  grid-template-columns: 1fr minmax(300px, .7fr);
  gap: 7vw;
  align-items: center;
  padding-block: clamp(64px, 7vw, 110px);
}
.about-hero > div { max-width: 760px; }
.about-hero h1 { font-size: clamp(2.7rem, 4.4vw, 4.7rem); }
.about-hero img { width: min(100%, 520px); max-height: 680px; justify-self: end; object-fit: cover; filter: grayscale(1); }
.about-body { padding-bottom: clamp(70px, 9vw, 140px); }
.prose-section { display: grid; grid-template-columns: minmax(140px, .6fr) 2fr; gap: 7vw; padding-block: clamp(54px, 6vw, 90px); border-top: 1px solid var(--line); }
.prose-section .kicker { margin: .55rem 0 0; }
.prose-copy { max-width: 940px; }
.prose-copy h2 { font-size: clamp(1.65rem, 2.5vw, 2.8rem); margin: 0 0 .7em; }
.prose-copy p { font-size: clamp(.98rem, 1.12vw, 1.1rem); line-height: 1.78; }
.prose-copy .credit { margin-top: 2.5rem; color: var(--muted); font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; }
.critical-text { padding-bottom: 0; }

.privacy-heading { padding-bottom: clamp(54px, 6vw, 90px); }
.privacy-heading h1 { margin-bottom: .2em; }
.privacy-updated { margin-top: 24px; color: var(--muted); font-size: .9rem; }
.privacy-language { display: flex; justify-content: flex-end; align-items: center; gap: 8px; padding-top: 28px; }
.privacy-language span { margin-right: 5px; color: var(--muted); font-size: .68rem; text-transform: uppercase; letter-spacing: .14em; }
.privacy-language button { min-width: 34px; padding: 7px 8px; border: 1px solid var(--line); background: transparent; color: var(--muted); font-size: .7rem; letter-spacing: .08em; cursor: pointer; transition: color .2s ease, border-color .2s ease, background-color .2s ease; }
.privacy-language button:hover { color: var(--ink); border-color: var(--ink); }
.privacy-language button.active { color: #fff; border-color: var(--ink); background: var(--ink); }
.privacy-page .prose-copy strong { font-weight: 600; }
.privacy-page .inline-link { border-bottom: 1px solid currentColor; }
.privacy-page .inline-link:hover { color: var(--muted); }
.privacy-last { padding-bottom: 0; }
html[lang="it"] [data-privacy-lang="en"], html[lang="it"] [data-privacy-lang="es"],
html[lang="en"] [data-privacy-lang="it"], html[lang="en"] [data-privacy-lang="es"],
html[lang="es"] [data-privacy-lang="it"], html[lang="es"] [data-privacy-lang="en"] { display: none; }

.news-list { border-top: 1px solid var(--line); }
.news-item { display: grid; grid-template-columns: 110px 1fr auto; gap: 28px; padding: 28px 0; border-bottom: 1px solid var(--line); align-items: start; }
.news-item:hover h3 { color: var(--muted); }
.news-item time { color: var(--muted); font-size: .86rem; }
.news-item h3 { margin: 0 0 6px; font-size: clamp(1.25rem,2.2vw,2rem); font-weight: 500; }
.news-item p { margin: 0; color: var(--muted); }
.arrow { font-size: 1.4rem; }

.news-feature { border-top: 1px solid var(--line); padding-top: 20px; }
.news-feature > .kicker { margin: 0 0 52px; }
.news-feature-copy { max-width: 900px; margin-left: auto; }
.news-feature-copy h2 { margin: 0 0 .7em; font-size: clamp(1.9rem, 3.5vw, 3.8rem); }
.news-feature-copy p { font-size: clamp(.96rem, 1.08vw, 1.08rem); line-height: 1.78; }
.news-feature-copy .news-lead { font-size: clamp(1.08rem, 1.45vw, 1.4rem); line-height: 1.55; letter-spacing: -.015em; }
.news-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: clamp(50px, 7vw, 100px); }
.news-gallery img { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: var(--surface); }
.news-gallery img:nth-child(n) { margin-top: 0; }

.contact-wrap { min-height: calc(100svh - 160px); display: grid; grid-template-columns: 1.25fr .75fr; gap: 7vw; align-items: center; }
.contact-wrap h1 { font-size: clamp(2.8rem,4.6vw,4.9rem); }
.contact-links { border-top: 1px solid var(--line); }
.contact-links a, .contact-detail { display: flex; justify-content: space-between; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); font-size: 1.12rem; }
.contact-links a span:first-child, .contact-detail span:first-child { flex: 0 0 auto; white-space: nowrap; }
.contact-links a span:last-child { min-width: 0; flex: 1 1 auto; overflow-wrap: anywhere; text-align: right; }
.contact-detail span:last-child { min-width: 0; flex: 1 1 auto; white-space: nowrap; text-align: right; }
.contact-links a:hover { color: var(--muted); }

.footer { width: calc(100% - 2 * var(--gutter)); max-width: calc(var(--max) - 2 * var(--gutter)); margin: auto; padding: 28px 0 36px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; color: var(--muted); font-size: .76rem; letter-spacing: .03em; }
.footer-links { display: flex; gap: 22px; }
.footer a:hover { color: var(--ink); }

.fade { animation: fade .8s cubic-bezier(.16,1,.3,1) both; }
@keyframes fade { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.page-leaving { opacity: 0; }
.reading-progress { position: fixed; top: 0; left: 0; z-index: 100; width: 100%; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left center; transition: transform .1s linear; pointer-events: none; }
.reveal-item { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1); }
.reveal-item.in-view { opacity: 1; transform: none; }
.work-card:nth-child(3n+2).reveal-item { transition-delay: .06s; }
.work-card:nth-child(3n+3).reveal-item { transition-delay: .12s; }

@media (max-width: 820px) {
  .nav { min-height: 68px; }
  .menu-button { display: block; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 68px; background: #fff; border-bottom: 1px solid var(--line); padding: 12px var(--gutter) 20px; flex-direction: column; align-items: flex-start; gap: 0; box-shadow: 0 16px 28px rgba(0,0,0,.06); }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; font-size: 1rem; padding: 14px 0; border: 0; }
  .lang { margin: 12px 0 4px; }
  .hero { grid-template-columns: 1fr; min-height: auto; gap: 40px; padding-block: 48px 58px; }
  .hero-art { width: min(100%, 460px); height: auto; justify-self: center; order: -1; }
  .hero-copy { max-width: none; }
  .section-head { align-items: start; gap: 20px; }
  .work-grid { grid-template-columns: 1fr 1fr; gap: 22px 12px; }
  .work-card, .work-card:nth-child(n) { grid-column: span 1; }
  .work-card img, .work-card:nth-child(odd) img { aspect-ratio: 4/5; }
  .intro-grid, .contact-wrap { grid-template-columns: 1fr; gap: 38px; }
  .about-hero { min-height: auto; grid-template-columns: 1fr 1fr; gap: 40px; }
  .prose-section { grid-template-columns: 1fr; gap: 24px; }
  .prose-section .kicker { margin: 0; }
  .news-feature-copy { margin-left: 0; }
  .contact-wrap { padding-block: 70px; align-content: center; }
  .news-item { grid-template-columns: 1fr auto; gap: 8px 16px; }
  .news-item time { grid-column: 1/-1; }
  .footer { padding-block: 26px; }
}

@media (max-width: 520px) {
  .brand { font-size: .82rem; }
  h1 { font-size: clamp(2.4rem, 11vw, 3.1rem); line-height: .94; }
  .section-head h1 { font-size: clamp(2.4rem, 11vw, 3.1rem); }
  .about-hero h1 { font-size: clamp(2.5rem, 11vw, 3.1rem); }
  .hero-art { height: auto; aspect-ratio: 437/583; }
  .section-head { display: block; }
  .section-head .lead { margin-top: 16px; }
  .work-grid { grid-template-columns: 1fr; gap: 28px; }
  .about-hero { grid-template-columns: 1fr; }
  .about-hero img { width: 100%; max-height: none; justify-self: stretch; order: -1; aspect-ratio: 3/4; }
  .prose-copy h2 { font-size: clamp(1.6rem, 7.5vw, 2rem); line-height: 1.08; }
  .prose-copy p { font-size: 1rem; line-height: 1.65; }
  .news-gallery { grid-template-columns: 1fr; gap: 14px; }
  .news-gallery img:nth-child(n) { margin-top: 0; }
  .news-item h3 { font-size: 1.25rem; }
  .footer { display: block; }
  .footer-links { margin-top: 12px; }
  .contact-links a, .contact-detail { gap: 10px; font-size: .88rem; }
}

@media (max-width: 360px) {
  .contact-detail { flex-direction: column; align-items: flex-start; gap: 4px; }
  .contact-detail span:last-child { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
