@font-face { font-family: 'Minerva Serif'; src: url('assets/fonts/Swarsh Daisy-Regular.otf') format('opentype'); font-display: swap; }
@font-face { font-family: 'Minerva Serif'; src: url('assets/fonts/Swarsh Daisy-Italic.otf') format('opentype'); font-style: italic; font-display: swap; }
@font-face { font-family: 'Minerva Sans'; src: url('assets/fonts/Nexa Light.otf') format('opentype'); font-weight: 300; font-display: swap; }

:root {
  --green: #355b55;
  --green-dark: #284b46;
  --ink: #244c47;
  --warm: #f6f0e8;
  --stone: #8d887a;
  --white: #fff;
  --serif: 'Minerva Serif', Georgia, serif;
  --sans: 'Minerva Sans', Arial, sans-serif;
  --page: min(90vw, 1240px);
  --header-h: 68px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; overflow-x: hidden; color: var(--ink); background: var(--white); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
p { line-height: 1.45; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; }
.skip-link { position: fixed; z-index: 200; left: 1rem; top: 1rem; padding: .75rem 1rem; background: #fff; transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .85s cubic-bezier(.22,.7,.2,1), transform .85s cubic-bezier(.22,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-text { opacity: 0; filter: blur(6px); clip-path: inset(0 0 100% 0); transform: translateY(26px); transition: opacity 1s ease, filter 1s ease, clip-path 1.15s cubic-bezier(.16,1,.3,1), transform 1.15s cubic-bezier(.16,1,.3,1); }
.reveal-text.is-visible { opacity: 1; filter: blur(0); clip-path: inset(0 0 0 0); transform: translateY(0); }

.hero { --hero-shift: 0px; --hero-content-shift: 0px; position: relative; min-height: 560px; height: 50.4vw; max-height: 820px; color: var(--white); background: #827d75; overflow: hidden; }
.hero__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% calc(50% + var(--hero-shift)); }
.hero::after { content: ''; position: absolute; inset: 0; background: rgba(21, 30, 28, .08); pointer-events: none; }
.hero__logo { position: absolute; z-index: 1; top: 38px; left: 50%; width: clamp(210px, 17vw, 280px); opacity: 0; transform: translate(-50%, calc(-28px + var(--hero-content-shift))); transition: opacity 1s .12s ease, transform 1.2s .12s cubic-bezier(.16,1,.3,1); }
body.is-ready .hero__logo { opacity: 1; transform: translate(-50%, var(--hero-content-shift)); }
.hero__copy { position: absolute; z-index: 1; left: 7.6vw; top: 39%; transform: translateY(var(--hero-content-shift)); }
.hero h1 { margin: 0; font: 400 clamp(3.4rem, 4.85vw, 5rem)/.92 var(--serif); letter-spacing: -.03em; }
.hero__line { display: block; overflow: hidden; padding: 0 .03em .06em 0; }
.hero__line > span { display: block; opacity: 0; transform: translateY(115%); transition: opacity .8s ease, transform 1.05s cubic-bezier(.16,1,.3,1); }
body.is-ready .hero__line > span { opacity: 1; transform: translateY(0); }
body.is-ready .hero__line:nth-child(1) > span { transition-delay: .35s; }
body.is-ready .hero__line:nth-child(2) > span { transition-delay: .48s; }
body.is-ready .hero__line:nth-child(3) > span { transition-delay: .61s; }

.brand-band { position: relative; z-index: 2; min-height: 530px; color: white; background: var(--green); overflow-x: clip; }
.brand-band__angle { position: absolute; z-index: 0; top: -120px; left: 0; width: 100%; height: 650px; max-width: none; object-fit: fill; pointer-events: none; }
.brand-band__inner { position: relative; z-index: 2; width: var(--page); margin: auto; padding: 140px 0 82px; }
.brand-band__statement { max-width: 850px; margin: 0 0 43px; font: 400 clamp(1.55rem, 2.65vw, 2.75rem)/1.2 var(--serif); }
.brand-band__vertical-logo { position: absolute; z-index: 1; right: -18px; top: 0; width: auto; height: 100%; max-width: 245px; object-fit: contain; object-position: right center; opacity: .76; }
.text-link { display: inline-flex; align-items: center; gap: 16px; text-transform: uppercase; font-size: .78rem; letter-spacing: .06em; }
.text-link--light { color: white; }
.arrow-circle { display: inline-grid; place-items: center; width: 37px; height: 37px; flex: 0 0 auto; border-radius: 50%; background: white; }
.arrow-circle img { width: 21px; height: 21px; object-fit: contain; }

.site-header { position: fixed; z-index: 60; top: 0; left: 0; right: 0; height: var(--header-h); padding: 0 3.5vw; display: flex; align-items: center; justify-content: space-between; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(53,91,85,.12); backdrop-filter: blur(10px); opacity: 0; pointer-events: none; transform: translateY(-115%); transition: opacity .35s ease, transform .55s cubic-bezier(.16,1,.3,1), box-shadow .25s ease, background .3s ease, border-color .3s ease, backdrop-filter .3s ease; }
.site-header.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); box-shadow: 0 8px 24px rgba(31,48,44,.08); }
.site-header a img { width: 122px; }
.menu-trigger, .menu-close, .button { border: 0; border-radius: 999px; text-transform: uppercase; letter-spacing: .06em; cursor: pointer; }
.menu-trigger, .menu-close { padding: 8px 20px; color: #fff; background: #191b19; font-size: .72rem; transition: color .3s ease, background .3s ease, box-shadow .3s ease, transform .5s cubic-bezier(.16,1,.3,1); }
.button { display: inline-block; padding: 10px 24px; color: white; background: #1b1d1b; font-size: .68rem; transition: transform .25s ease, background .25s ease; }
.button:hover, .button:focus-visible { background: var(--green); transform: translateY(-2px); }

/* In cima alla home, su computer, resta solo la pastiglia MENU sopra il video.
   L'altezza del logo dell'hero si ricava dalla sua larghezza (rapporto 3.4247
   del file logo_bianco_hero.png): serve per allineare la pastiglia al centro
   del logo. Se cambia la larghezza del logo, va cambiata anche qui. */
@media (min-width: 901px) {
  :root { --hero-logo-h: calc(clamp(210px, 17vw, 280px) / 3.4247); }
  .site-header:not(.is-visible) { opacity: 1; pointer-events: none; transform: none; background: transparent; border-bottom-color: transparent; backdrop-filter: none; box-shadow: none; }
  .site-header:not(.is-visible) > a { visibility: hidden; }
  .site-header:not(.is-visible) .menu-trigger { pointer-events: auto; color: #191b19; background: #fff; box-shadow: 0 5px 22px rgba(16,24,22,.45); transform: translateY(calc(38px + var(--hero-logo-h) / 2 - var(--header-h) / 2)); }
}

.projects { position: relative; display: grid; grid-template-columns: 50% 50%; width: 100%; min-height: 0; padding: 0; overflow: clip; background: #fff; }
.projects::after { content: ''; position: absolute; z-index: 0; inset: 0 0 0 50%; background: #f3f4f2; transform: scaleY(0); transform-origin: top; transition: transform 1.15s cubic-bezier(.16,1,.3,1); }
.projects.is-visible::after { transform: scaleY(1); }
.projects > * { position: relative; z-index: 1; }
.projects__intro { padding: clamp(150px, 13vw, 205px) 4vw 0 7.4vw; }
.projects__sticky { position: sticky; top: calc(var(--header-h) + 68px); max-width: 345px; padding: 0; }
.eyebrow { margin: 0 0 24px; font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; color: #77776e; }
.projects h2 { margin: 0 0 24px; color: #868173; font: 400 clamp(2.9rem, 4.15vw, 4.25rem)/.88 var(--serif); letter-spacing: -.04em; }
.projects__sticky > p { max-width: 330px; margin: 0 0 27px; color: #5f615d; font-size: .76rem; line-height: 1.5; }
.projects__stream { padding: 0; }
.project-card { margin-bottom: clamp(90px, 8vw, 120px); }
.project-card:last-child { margin-bottom: 0; }
.project-card.reveal { opacity: 1; transform: none; }
.project-card a { position: relative; display: block; }
.project-card figure { position: relative; margin: 0; overflow: hidden; background: var(--warm); clip-path: inset(100% 0 0); transition: clip-path 1.15s cubic-bezier(.16,1,.3,1); }
.project-card figure > img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.075); transition: transform 1.25s cubic-bezier(.16,1,.3,1); }
.project-card.is-visible figure { clip-path: inset(0); }
.project-card.is-visible figure > img { transform: scale(1); }
.project-card.is-visible a:hover figure > img { transform: scale(1.025); }
.project-card--wide { width: 100%; }
.project-card--wide figure { aspect-ratio: 1.7 / 1; }
.project-card--wide figure > img { object-position: center 43%; }
.project-card--wide .project-card__body { padding: 16px 4.7% 0; }
.project-card--narrow { width: 76%; }
.project-card--narrow a { display: grid; grid-template-columns: 55% 45%; align-items: end; }
.project-card--narrow figure { aspect-ratio: .8 / 1; }
.project-card--right { margin-left: 4.6%; }
.project-card--right .project-card__body { position: static; padding: 0 0 12% 20px; }
.project-card--left { width: 84%; margin-left: 7%; }
.project-card--left a { grid-template-columns: 50% 50%; }
.project-card--left figure { order: 2; }
.project-card--left .project-card__body { position: static; order: 1; padding: 0 18px 13% 0; text-align: right; }
.project-card__body { position: relative; padding: 14px 0 0; opacity: 0; transform: translateY(20px); transition: opacity .75s .24s ease, transform .9s .24s cubic-bezier(.16,1,.3,1); }
.project-card.is-visible .project-card__body { opacity: 1; transform: translateY(0); }
.project-card figure .arrow-circle { position: absolute; z-index: 2; bottom: 12px; left: 12px; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.project-card h3 { margin: 0 0 7px; font: 400 clamp(1.75rem, 2.35vw, 2.55rem)/.9 var(--serif); letter-spacing: -.03em; }
.project-card p { max-width: 300px; margin: 0; color: #666963; font-size: .82rem; line-height: 1.35; }
.project-card--left p { margin-left: auto; }

.expertise { position: relative; min-height: 850px; padding: 155px 6vw 165px; background: #fff; overflow: hidden; }
.expertise > .eyebrow { width: var(--page); margin-inline: auto; }
.expertise__layout { position: relative; width: var(--page); margin: 0 auto; padding-right: clamp(300px, 33vw, 470px); }
.expertise__list { width: 100%; list-style: none; margin: 0; padding: 0; counter-reset: skills; }
.expertise__list button { width: 100%; padding: 3px 0; display: flex; align-items: baseline; gap: 27px; border: 0; background: none; text-align: left; white-space: nowrap; font: 400 clamp(2.9rem, 4.45vw, 5.45rem)/1.02 var(--serif); cursor: pointer; transition: color .25s ease, transform .35s cubic-bezier(.16,1,.3,1); }
.expertise__list button .expertise__index { min-width: 46px; color: #8d897f; font-size: .55em; }
.expertise__label { color: var(--ink); }
.expertise__list button:hover, .expertise__list button:focus-visible { color: #0f2f2b; transform: translateX(18px); outline: none; }
.expertise__preview { position: absolute; z-index: 2; top: -30px; right: 0; width: clamp(250px, 27vw, 390px); margin: 0; aspect-ratio: .8 / 1; overflow: hidden; opacity: 1; transform: none; pointer-events: none; }
.expertise__preview img { width: 100%; height: 100%; object-fit: cover; transition: opacity .18s ease, transform .6s ease; }
.expertise__preview img.is-changing { opacity: 0; transform: scale(1.02); }

@media (min-width: 1500px) {
  .expertise__layout { padding-right: 520px; }
  .expertise__list button { gap: 24px; font-size: clamp(4.35rem, 3.75vw, 4.7rem); }
}

.method { position: relative; height: clamp(558px, calc(45vw + 38px), 688px); display: grid; grid-template-columns: 1fr 1fr; background: var(--green); color: white; overflow: hidden; }
.method__visual { position: relative; height: 100%; overflow: hidden; clip-path: inset(0 100% 0 0); transition: clip-path 1.05s cubic-bezier(.16,1,.3,1); }
.method.is-visible .method__visual { clip-path: inset(0); }
.method__slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.025); transition: opacity .48s ease, transform .72s cubic-bezier(.16,1,.3,1); }
.method__slide.is-active { opacity: 1; transform: scale(1); }
.method__dots { position: absolute; z-index: 2; left: 30px; bottom: 26px; display: flex; gap: 8px; }
.method__dots button { width: 9px; height: 9px; padding: 0; border: 1px solid white; border-radius: 50%; background: transparent; cursor: pointer; }
.method__dots button.is-active { background: white; }
.method__copy { position: relative; z-index: 4; display: flex; flex-direction: column; justify-content: center; padding: clamp(55px, 6.5vw, 95px) clamp(58px, 7vw, 108px); }
.method__copy .reveal:nth-child(2) { transition-delay: .12s; }
.method__copy .reveal:nth-child(3) { transition-delay: .22s; }
.method__copy h2 { margin: 0 0 clamp(48px, 6vw, 86px); font: 400 clamp(1.7rem, 2.65vw, 3rem)/1.02 var(--serif); text-transform: uppercase; letter-spacing: -.012em; }
.method__copy p:last-child { position: relative; z-index: 4; max-width: 455px; margin: 0; font: 400 clamp(.96rem, 1.18vw, 1.18rem)/1.4 var(--serif); }
.eyebrow--light { color: rgba(255,255,255,.72); }
.method__mark { position: absolute; z-index: 3; left: 50%; top: 50%; width: clamp(112px, 10vw, 145px); opacity: 0; transform: translate(-50%, -42%) scale(.9); transition: opacity .8s .3s ease, transform 1s .3s cubic-bezier(.16,1,.3,1); pointer-events: none; }
.method.is-visible .method__mark { opacity: 1; transform: translate(-50%, -50%) scale(1); }

.video-section { position: relative; width: 100%; height: 100vh; height: 100svh; min-height: 620px; max-height: 900px; overflow: hidden; background: #171a18; clip-path: inset(8% 0); transition: clip-path 1.2s cubic-bezier(.16,1,.3,1); }
.video-section.is-visible { clip-path: inset(0); }
.video-section__media { width: 100%; height: 100%; display: block; object-fit: contain; }

.editorial { padding: 100px 7vw 90px; background: var(--warm); }
.editorial__top { width: var(--page); margin: 0 auto 90px; display: flex; align-items: flex-start; justify-content: space-between; gap: 50px; }
.editorial h2 { margin: 0 0 6px; font: 400 clamp(3.6rem, 6.7vw, 7.8rem)/.85 var(--serif); }
.search { position: relative; width: min(360px, 36vw); margin-top: 38px; border-bottom: 1px solid #beb8ae; }
.search span { position: absolute; left: 0; top: -22px; font-size: .62rem; text-transform: uppercase; color: #8e887f; }
.search input { width: 100%; height: 38px; padding: 0 34px 0 0; border: 0; outline: 0; background: transparent; }
.search b { position: absolute; right: 0; bottom: 9px; font-weight: 300; }
.editorial__viewport { width: var(--page); margin: 0 auto; overflow: hidden; }
.editorial__track { display: flex; width: 100%; transition: transform .85s cubic-bezier(.16,1,.3,1); will-change: transform; }
.editorial__page { flex: 0 0 100%; min-width: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.editorial__page article { min-width: 0; }
.editorial__page article[hidden] { display: none; }
.editorial__page img { width: 100%; aspect-ratio: 1.65 / 1; object-fit: cover; transition: transform .65s cubic-bezier(.16,1,.3,1); }
.editorial__page article:hover img { transform: scale(1.018); }
.editorial__page h3 { margin: 14px 0 10px; font: 400 clamp(2rem, 3vw, 3.7rem)/.78 var(--serif); }
.editorial__page p { max-width: 320px; margin: 0; color: #817c73; font-size: .67rem; }
.editorial__empty { width: var(--page); margin: 30px auto; }
.pagination { display: flex; justify-content: center; gap: 7px; margin-top: 72px; }
.pagination button { width: 28px; height: 28px; padding: 0; border: 1px solid #6f756c; border-radius: 50%; background: transparent; font-size: .68rem; cursor: pointer; }
.pagination button.is-current, .pagination button:hover { color: white; background: var(--green); }
.pagination__dots { display: none; }

.footer { min-height: 480px; padding: 72px 7vw 62px; display: grid; grid-template-columns: 1.35fr .75fr .9fr; gap: clamp(50px, 8vw, 130px); align-items: start; color: white; background: var(--stone); }
.footer__identity > img { width: 190px; margin-bottom: 32px; }
.footer__social { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-bottom: 38px; }
.footer__social a { padding-bottom: 3px; border-bottom: 1px solid rgba(255,255,255,.45); font-size: .69rem; text-transform: uppercase; letter-spacing: .06em; }
.footer__company { color: rgba(255,255,255,.78); font-size: .72rem; }
.footer__company p { margin: 0 0 10px; }
.footer__menu, .footer__legal { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer__menu p, .footer__legal p { margin: 0 0 16px; color: rgba(255,255,255,.65); font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; }
.footer__menu a, .footer__legal a { font: 400 clamp(1.35rem, 1.7vw, 1.9rem)/1.05 var(--serif); transition: transform .25s ease, opacity .25s ease; }
.footer__menu a:hover, .footer__legal a:hover { opacity: .7; transform: translateX(6px); }
.footer.reveal-section > * { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .9s cubic-bezier(.16,1,.3,1); }
.footer.is-visible > * { opacity: 1; transform: none; }
.footer.is-visible > *:nth-child(2) { transition-delay: .12s; }
.footer.is-visible > *:nth-child(3) { transition-delay: .22s; }

.menu-overlay[hidden] { display: none; }
.menu-overlay { position: fixed; z-index: 100; top: 0; right: 0; bottom: 0; width: min(80vw, 1240px); display: grid; grid-template-columns: 44% 56%; visibility: hidden; transform: translateX(102%); box-shadow: -24px 0 60px rgba(22,35,32,.18); transition: transform .65s cubic-bezier(.16,1,.3,1), visibility .65s; }
.menu-overlay.is-open { visibility: visible; transform: translateX(0); }
.menu-overlay__projects { padding: clamp(70px, 9vh, 105px) clamp(34px, 4vw, 66px); display: flex; flex-direction: column; align-items: flex-start; background: #fff; overflow-y: auto; }
.menu-overlay__projects > p { margin: 0 0 28px; color: #8b877b; font-size: .67rem; text-transform: uppercase; letter-spacing: .08em; }
.menu-overlay__projects a { margin-bottom: 12px; font: 400 clamp(1.45rem, 2vw, 2.35rem)/1.02 var(--serif); opacity: 0; transform: translateX(28px); transition: opacity .55s ease, transform .7s cubic-bezier(.16,1,.3,1); }
.menu-overlay.is-open .menu-overlay__projects a { opacity: 1; transform: none; }
.menu-overlay.is-open .menu-overlay__projects a:nth-of-type(2) { transition-delay: .04s; }
.menu-overlay.is-open .menu-overlay__projects a:nth-of-type(3) { transition-delay: .08s; }
.menu-overlay.is-open .menu-overlay__projects a:nth-of-type(4) { transition-delay: .12s; }
.menu-overlay.is-open .menu-overlay__projects a:nth-of-type(5) { transition-delay: .16s; }
.menu-overlay.is-open .menu-overlay__projects a:nth-of-type(6) { transition-delay: .2s; }
.menu-overlay.is-open .menu-overlay__projects a:nth-of-type(7) { transition-delay: .24s; }
.menu-overlay.is-open .menu-overlay__projects a:nth-of-type(8) { transition-delay: .28s; }
.menu-overlay.is-open .menu-overlay__projects a:nth-of-type(9) { transition-delay: .32s; }
.menu-overlay.is-open .menu-overlay__projects a:hover, .menu-overlay.is-open .menu-overlay__projects a:focus-visible { transform: translateX(8px); color: var(--green); }
.menu-overlay__nav { padding: clamp(70px, 9vh, 105px) clamp(48px, 6vw, 92px); display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; color: white; background: var(--green); }
.menu-overlay__heading { margin: 0 0 28px; color: rgba(255,255,255,.7); font-size: .67rem; text-transform: uppercase; letter-spacing: .08em; }
.menu-overlay__nav a { font: 400 clamp(2.45rem, 3.8vw, 4.5rem)/1 var(--serif); opacity: 0; transform: translateX(34px); transition: transform .65s cubic-bezier(.16,1,.3,1), opacity .45s ease; }
.menu-overlay.is-open .menu-overlay__nav a { opacity: 1; transform: none; }
.menu-overlay.is-open .menu-overlay__nav a:nth-of-type(2) { transition-delay: .05s; }
.menu-overlay.is-open .menu-overlay__nav a:nth-of-type(3) { transition-delay: .1s; }
.menu-overlay.is-open .menu-overlay__nav a:nth-of-type(4) { transition-delay: .15s; }
.menu-overlay.is-open .menu-overlay__nav a:nth-of-type(5) { transition-delay: .2s; }
.menu-overlay.is-open .menu-overlay__nav a:nth-of-type(6) { transition-delay: .25s; }
.menu-overlay.is-open .menu-overlay__nav a:nth-of-type(7) { transition-delay: .3s; }
.menu-overlay.is-open .menu-overlay__nav a:hover, .menu-overlay.is-open .menu-overlay__nav a:focus-visible { transform: translateX(8px); opacity: .72; }
.menu-close { position: absolute; top: 36px; right: 42px; }

:focus-visible { outline: 2px solid #b24f3b; outline-offset: 4px; }

@media (max-width: 900px) {
  :root { --page: min(88vw, 680px); }
  .hero { height: 74vh; min-height: 590px; max-height: 760px; }
  .hero__media { object-position: 57% calc(50% + var(--hero-shift)); }
  .hero__logo { top: 30px; width: 205px; }
  .hero__copy { left: 7vw; top: auto; bottom: 100px; }
  .hero h1 { font-size: clamp(3.25rem, 12.8vw, 5.15rem); }
  .brand-band { min-height: 470px; }
  .brand-band__angle { top: -92px; height: 500px; }
  .brand-band__inner { padding: 105px 0 66px; }
  .brand-band__statement { max-width: calc(100% - 80px); font-size: clamp(1.5rem, 4.9vw, 2.2rem); }
  .brand-band__vertical-logo { right: -36px; top: 0; height: 100%; max-width: none; }
  .projects { display: block; min-height: 0; padding: 0; overflow: hidden; }
  .projects::after { display: none; }
  .projects__intro { width: var(--page); margin: 0 auto; padding: 100px 0 78px; }
  .projects__sticky { position: static; max-width: 480px; padding: 0; }
  .projects__stream { display: grid; grid-template-columns: 1fr; gap: 70px; padding: 0 6vw 90px; background: #f3f4f2; }
  .project-card, .project-card--wide, .project-card--narrow, .project-card--left, .project-card--right { width: 100%; margin: 0; }
  .project-card--narrow a, .project-card--left a { display: block; }
  .project-card--left figure, .project-card--left .project-card__body { order: initial; }
  .project-card figure, .project-card--narrow figure { aspect-ratio: 1.15 / 1; }
  .project-card--wide .project-card__body, .project-card--right .project-card__body, .project-card--left .project-card__body { position: relative; padding: 14px 0 0; text-align: left; }
  .project-card--left p { margin-left: 0; }
  .expertise { min-height: 0; padding: 80px 0 100px; }
  .expertise__layout { padding-right: 0; }
  .expertise__list { width: 100%; }
  .expertise__list button { white-space: normal; font-size: clamp(2.3rem, 8vw, 4rem); gap: 16px; }
  .expertise__preview { display: none; }
  .method { height: auto; grid-template-columns: 1fr; }
  .method__visual { height: 520px; min-height: 0; }
  .method__copy { min-height: 470px; padding: 72px 8vw; }
  .method__mark { left: 50%; top: 49%; width: 112px; }
  .video-section { height: 72vh; height: 72svh; min-height: 500px; max-height: 680px; }
  .video-section__media { object-fit: cover; }
  .editorial { --editorial-pad: 7vw; }
  .editorial__top { display: block; margin-bottom: 60px; }
  .search { width: 100%; margin-top: 60px; }
  .editorial__viewport { width: auto; margin-inline: calc(-1 * var(--editorial-pad)); overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-padding-inline-start: var(--editorial-pad); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .editorial__viewport::-webkit-scrollbar { display: none; }
  .editorial__track { width: auto; gap: 16px; padding-inline: var(--editorial-pad); transition: none; }
  .editorial__page { display: flex; flex: 0 0 auto; gap: 16px; }
  .editorial__page article { flex: 0 0 78vw; scroll-snap-align: start; }
  .pagination { margin-top: 46px; }
  .pagination [data-page] { display: none; }
  .pagination__dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; }
  .pagination__dots button { width: 9px; height: 9px; padding: 0; border: 1px solid #6f756c; border-radius: 50%; background: transparent; cursor: pointer; }
  .pagination__dots button.is-current { border-color: var(--green); background: var(--green); }
  .footer { grid-template-columns: 1fr; min-height: 0; gap: 60px; }
  .footer__menu a, .footer__legal a { font-size: 1.65rem; }
  .menu-overlay { width: 100%; grid-template-columns: 1fr; overflow-y: auto; background: var(--green); }
  .menu-overlay__projects { order: 2; min-height: 100dvh; padding: 72px 9vw; }
  .menu-overlay__projects a { margin-bottom: 15px; font-size: clamp(1.75rem, 7vw, 2.6rem); }
  .menu-overlay__nav { order: 1; min-height: calc(100dvh - 96px); padding: 100px 9vw 60px; }
  .menu-overlay__nav a { font-size: clamp(3rem, 13vw, 5rem); }
}

@media (max-width: 520px) {
  .hero { min-height: 560px; }
  .hero__media { object-position: 59% calc(50% + var(--hero-shift)); }
  .hero__logo { width: 185px; }
  .brand-band { min-height: 450px; }
  .brand-band__angle { top: -83px; height: 450px; }
  .brand-band__inner { padding-top: 96px; }
  .brand-band__statement { max-width: calc(100% - 45px); font-size: 1.48rem; }
  .site-header { padding-inline: 5vw; }
  .projects h2 { font-size: 3.2rem; }
  .expertise__list button { font-size: 2.25rem; }
  .expertise__list button span { min-width: 30px; }
  .method__visual { min-height: 440px; }
  .method__copy h2 { font-size: 2.15rem; }
  .method__mark { width: 88px; }
  .editorial { padding-inline: 6vw; --editorial-pad: 6vw; }
  .editorial__page h3 { font-size: 2.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .projects::after { transform: none; }
  .project-card figure { clip-path: none; }
  .project-card__body { opacity: 1; transform: none; }
  .method__visual { clip-path: none; }
  .method__mark, .footer.reveal-section > * { opacity: 1; transform: none; }
}

@supports not (overflow: clip) {
  .brand-band__vertical-logo { right: 0; }
}

/* Mobile: ogni corpo del testo cresce di 2px rispetto alla misura
   approvata. I blocchi sono generati dalle regole qui sopra, percio'
   il desktop resta intatto: se cambia una misura sopra, va aggiornata
   anche qui. */
@media (max-width: 900px) {
  body { font-size: calc(1rem + 2px); }
  .hero h1 { font-size: calc(clamp(3.25rem, 12.8vw, 5.15rem) + 2px); }
  .brand-band__statement { font-size: calc(clamp(1.5rem, 4.9vw, 2.2rem) + 2px); }
  .text-link { font-size: calc(.78rem + 2px); }
  .menu-trigger, .menu-close { font-size: calc(.72rem + 2px); }
  .button { font-size: calc(.68rem + 2px); }
  .eyebrow { font-size: calc(.68rem + 2px); }
  .projects h2 { font-size: calc(clamp(2.9rem, 4.15vw, 4.25rem) + 2px); }
  .projects__sticky > p { font-size: calc(.76rem + 2px); }
  .project-card h3 { font-size: calc(clamp(1.75rem, 2.35vw, 2.55rem) + 2px); }
  .project-card p { font-size: calc(.82rem + 2px); }
  .expertise__list button { font-size: calc(clamp(2.3rem, 8vw, 4rem) + 2px); }
  .expertise__list button .expertise__index { font-size: calc(.55em + 2px); }
  .method__copy h2 { font-size: calc(clamp(1.7rem, 2.65vw, 3rem) + 2px); }
  .method__copy p:last-child { font-size: calc(clamp(.96rem, 1.18vw, 1.18rem) + 2px); }
  .editorial h2 { font-size: calc(clamp(3.6rem, 6.7vw, 7.8rem) + 2px); }
  .search span { font-size: calc(.62rem + 2px); }
  .editorial__page h3 { font-size: calc(clamp(2rem, 3vw, 3.7rem) + 2px); }
  .editorial__page p { font-size: calc(.67rem + 2px); }
  .pagination button { font-size: calc(.68rem + 2px); }
  .footer__social a { font-size: calc(.69rem + 2px); }
  .footer__company { font-size: calc(.72rem + 2px); }
  .footer__menu p, .footer__legal p { font-size: calc(.66rem + 2px); }
  .footer__menu a, .footer__legal a { font-size: calc(1.65rem + 2px); }
  .menu-overlay__projects > p { font-size: calc(.67rem + 2px); }
  .menu-overlay__projects a { font-size: calc(clamp(1.75rem, 7vw, 2.6rem) + 2px); }
  .menu-overlay__heading { font-size: calc(.67rem + 2px); }
  .menu-overlay__nav a { font-size: calc(clamp(3rem, 13vw, 5rem) + 2px); }
}

@media (max-width: 520px) {
  .brand-band__statement { font-size: calc(1.48rem + 2px); }
  .projects h2 { font-size: calc(3.2rem + 2px); }
  .expertise__list button { font-size: calc(2.25rem + 2px); }
  .method__copy h2 { font-size: calc(2.15rem + 2px); }
  .editorial__page h3 { font-size: calc(2.8rem + 2px); }
}
