/* Base — ogni regola su una riga; media query raccolte in fondo. */
:root { --paper: #f7f4ee; --ink: #121820; --muted: #61666b; --blue: #111e29; --night: #111e29; --line: #e3e0d9; --radius: 18px; --container: 1240px; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 95px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body:has(dialog[open]) { overflow: hidden; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; text-decoration: none; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
figure, p, h1, h2, h3 { margin: 0; }
button:focus-visible, a:focus-visible { outline: 3px solid #637b8d; outline-offset: 6px; }
::selection { color: white; background: var(--blue); }
[hidden] { display: none !important; }
.container { width: min(var(--container), calc(100% - 96px)); margin-inline: auto; }
.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; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 100; padding: 10px 18px; border-radius: 8px; background: var(--ink); color: white; }
.skip-link:focus { top: 10px; }
.blue { color: var(--blue); }
.header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(18,24,32,.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 90px; }
.brand { display: block; width: 155px; }
.logo-crop { position: relative; display: block; width: 100%; aspect-ratio: 2.3; overflow: hidden; }
.logo-crop img { position: absolute; width: 110%; max-width: none; left: -5%; top: -78%; mix-blend-mode: multiply; }
.nav { display: flex; align-items: center; gap: 38px; font-size: 14px; }
.nav a { padding: 12px 0; transition: color .2s; }
.nav a:hover { color: var(--blue); }
.nav a span { margin-left: 7px; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 12px 8px; }
.menu-toggle > span:not(.sr-only) { display: block; height: 2px; background: var(--ink); margin: 6px 0; transition: transform .2s; }
.hero { overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; min-height: 645px; gap: 12px; padding-top: 55px; padding-bottom: 60px; }
.hero-copy { position: relative; z-index: 1; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 25px; font-size: 10px; font-weight: 700; letter-spacing: 2.6px; text-transform: uppercase; }
.eyebrow > span { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
h1, h2, h3 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; }
h1 { font-size: clamp(46px, 4.55vw, 70px); letter-spacing: -3.5px; line-height: 1.05; }
.hero-description { max-width: 420px; margin: 27px 0 30px; font-size: 18px; line-height: 1.65; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 35px; min-height: 54px; padding: 14px 24px; border: 1px solid transparent; border-radius: 10px; font-size: 14px; font-weight: 600; transition: background .2s, transform .2s; }
.button:hover { transform: translateY(-2px); }
.button-blue { color: white; background: var(--blue); }
.button-blue:hover { background: #243b4d; }
.button span { font-size: 22px; line-height: 1; }
.hero-note { color: var(--muted); font-size: 11px; margin-top: 20px; }
.hero-visual { position: relative; width: 115%; margin-left: -5%; }
.hero-visual img { width: 100%; mix-blend-mode: multiply; }
.hero-visual figcaption { color: var(--muted); font-size: 10px; text-align: right; padding-right: 30px; }
.hero-bottom { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-block: 21px; font-size: 11px; color: var(--muted); }
.hero-bottom a { color: var(--ink); }
.hero-bottom a span { margin-left: 15px; }
.projects { padding: 85px 0 30px; color: #f8f9fc; background: var(--night); }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 38px; }
.projects .eyebrow { color: #a8b7c5; margin-bottom: 18px; }
h2 { font-size: clamp(36px, 3.6vw, 54px); line-height: 1.12; letter-spacing: -2px; }
.projects .blue { color: #6aa8ff; }
.section-heading > p { margin-bottom: 6px; color: #b8c2ca; font-size: 14px; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.project-card { overflow: hidden; background: #182733; border: 1px solid #35424c; border-radius: var(--radius); transition: border-color .2s, transform .2s; }
.project-card:hover { border-color: #6c8295; transform: translateY(-4px); }
.project-image { position: relative; overflow: hidden; aspect-ratio: 600/440; }
.project-image > img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.project-card:hover .project-image > img { transform: scale(1.035); }
.pill { position: absolute; z-index: 1; top: 18px; left: 18px; padding: 6px 12px; border-radius: 30px; color: #10232a; font-size: 10px; font-weight: 700; line-height: 1.4; }
.pill-mint { background: #a2f1d3; }
.pill-blue { background: #8bc7ff; }
.pill-lilac { background: #d3b8f7; }
.project-copy { padding: 25px 24px 22px; }
.project-number { color: #a9bac9; font-size: 9px; letter-spacing: 1.8px; }
h3 { font-size: 28px; letter-spacing: -.8px; line-height: 1.2; margin-top: 10px; }
.project-copy > p { min-height: 110px; margin-top: 15px; color: #c6cfd7; font-size: 13px; line-height: 1.8; }
.project-link { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 17px 0 0; margin-top: 15px; border: 0; border-top: 1px solid #35424c; color: #80c4ff; background: transparent; text-align: left; font-size: 13px; }
.project-link span { font-size: 22px; }
.illustration-note { margin-top: 25px; color: #a7b5c0; font-size: 10px; text-align: right; }
.about { padding: 95px 0; }
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: center; }
.about .eyebrow { color: var(--muted); }
.about p:not(.eyebrow) { max-width: 565px; margin-top: 22px; color: #535a60; font-size: 15px; }
.text-link { display: inline-flex; gap: 28px; margin-top: 26px; padding-bottom: 5px; border-bottom: 1px solid var(--ink); font-size: 13px; }
.signature { text-align: center; }
.signature .logo-crop { mix-blend-mode: multiply; opacity: .22; }
.signature > span:last-child { display: block; margin-top: 18px; color: var(--muted); font-size: 10px; letter-spacing: 2px; }
.contact { padding-bottom: 55px; }
.contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 65px; padding: 45px 48px; border-radius: var(--radius); background: #eae7df; }
.contact .eyebrow { margin-bottom: 15px; color: var(--muted); }
.contact h2 { font-size: 36px; }
.contact-action { max-width: 320px; }
.contact-action > p { font-size: 14px; color: #535a60; }
.button-dark { margin-top: 20px; color: white; background: var(--ink); }
.contact-action .contact-placeholder { font-size: 12px; margin-top: 18px; }
.footer-inner { display: flex; justify-content: space-between; gap: 25px; padding-top: 23px; padding-bottom: 26px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.footer-separator { padding-inline: 10px; color: #b5b2aa; }
.footer a span { margin-left: 10px; }
.project-dialog { width: min(600px, calc(100% - 32px)); max-height: calc(100dvh - 48px); padding: 45px; border: 0; border-radius: 20px; color: var(--ink); background: var(--paper); box-shadow: 0 25px 90px #0004; }
.project-dialog::backdrop { background: #071321b8; backdrop-filter: blur(5px); }
.dialog-close { position: absolute; right: 14px; top: 10px; width: 44px; height: 44px; border: 0; color: var(--ink); background: transparent; font-size: 30px; }
.project-dialog h2 { font-size: 38px; margin-bottom: 20px; }
.project-dialog > p:not(.eyebrow) { color: #535a60; font-size: 14px; }
.project-dialog ul { padding-left: 20px; margin: 22px 0; font-size: 14px; }
.project-dialog li { padding-left: 5px; margin-bottom: 8px; }
.project-dialog .dialog-note { border-top: 1px solid var(--line); padding-top: 17px; font-size: 11px !important; }
.dialog-done { margin-top: 25px; }
/* Media query — tutte le variazioni responsive in fondo. */
@media (min-width: 1600px) { .hero-grid { min-height: 700px; } }
@media (max-width: 1100px) { .container { width: calc(100% - 64px); } h1 { font-size: 55px; letter-spacing: -2.6px; } .hero-grid { min-height: 560px; } .hero-description { font-size: 16px; } .project-grid { gap: 15px; } .project-copy { padding: 22px 18px; } h3 { font-size: 24px; } .project-copy > p { min-height: 140px; } .about-grid { gap: 40px; } }
@media (max-width: 800px) { .header-inner { min-height: 78px; } .brand { width: 140px; } .hero-grid { grid-template-columns: 1fr; padding-top: 55px; padding-bottom: 28px; gap: 5px; } h1 { font-size: clamp(48px, 8vw, 68px); } .hero-copy { max-width: 600px; } .hero-description { max-width: 480px; } .hero-visual { width: 90%; margin: 0 auto; } .hero-note { display: none; } .hero-bottom > span { display: none; } .hero-bottom { justify-content: flex-end; } .projects { padding-top: 55px; } .section-heading { display: block; } .section-heading > p { margin-top: 20px; } .project-grid { grid-template-columns: 1fr; gap: 20px; } .project-card { display: grid; grid-template-columns: .9fr 1fr; } .project-image { aspect-ratio: auto; min-height: 290px; } .project-copy > p { min-height: 0; } .project-copy { padding: 25px; } .about { padding: 65px 0; } .about-grid { grid-template-columns: 1fr; gap: 35px; } .signature { width: 65%; margin-inline: auto; } .contact-inner { gap: 30px; padding: 35px; } .contact h2 { font-size: 30px; } .illustration-note { text-align: left; } }
@media (max-width: 560px) { .container { width: calc(100% - 40px); } html { scroll-padding-top: 80px; } .header-inner { min-height: 72px; } .brand { width: 130px; } .js .menu-toggle { display: block; } .nav { gap: 15px; font-size: 11px; } .js .nav { position: absolute; top: 72px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 20px; background: white; border-bottom: 1px solid var(--line); font-size: 15px; } .js .nav.is-open { display: flex; } .nav a { padding: 13px 4px; } .menu-toggle[aria-expanded='true'] > span:first-child { transform: translateY(4px) rotate(45deg); } .menu-toggle[aria-expanded='true'] > span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); } .hero-grid { padding-top: 40px; } .eyebrow { font-size: 8px; letter-spacing: 1.7px; margin-bottom: 22px; } h1 { font-size: clamp(42px, 10.5vw, 58px); letter-spacing: -2.3px; } .hero-description { font-size: 15px; margin: 22px 0 24px; } .button { min-height: 50px; padding: 13px 20px; font-size: 12px; } .hero-visual { width: calc(100% + 30px); margin: 18px -15px 0; } .hero-visual figcaption { font-size: 8px; padding-right: 15px; } .hero-bottom { padding-block: 16px; font-size: 10px; } .projects { padding-top: 42px; padding-bottom: 24px; } h2 { font-size: 37px; letter-spacing: -1.5px; } .section-heading { margin-bottom: 28px; } .section-heading > p { font-size: 12px; } .project-card { display: block; } .project-image { aspect-ratio: 600/400; min-height: 0; } .project-copy { padding: 24px; } h3 { font-size: 28px; } .project-copy > p { font-size: 13px; } .pill { font-size: 10px; top: 16px; left: 16px; } .illustration-note { font-size: 9px; line-height: 1.7; } .about { padding: 55px 0; } .about p:not(.eyebrow) { font-size: 14px; margin-top: 19px; } .signature { width: 80%; } .signature > span:last-child { font-size: 8px; letter-spacing: 1.5px; } .contact { padding-bottom: 35px; } .contact-inner { display: block; padding: 30px 25px; } .contact h2 { font-size: 32px; } .contact-action { margin-top: 24px; } .contact-action > p { font-size: 13px; } .footer-inner { align-items: flex-start; font-size: 9px; gap: 10px; } .footer-separator { padding-inline: 3px; } .footer a { white-space: nowrap; } .project-dialog { padding: 40px 24px 28px; } .project-dialog h2 { font-size: 32px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
