/* ═══════════════════════════════════════════════════════════════════
   Armur — componenti delle nuove pagine (progetti, intelligenza artificiale,
   Segnali, testi). Stesso sistema: fondo nero, Cormorant per i titoli,
   pillole a contorno, linee #292929.
   ═══════════════════════════════════════════════════════════════════ */

:root { --line: #292929; --muted: #a9a9a9; --soft: #cfcfcf; }

/* titoli resi semantici (h2) senza cambiare l'aspetto */
h2.p-faq__lead { margin: 0; font-weight: 400; }
.ct-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* link testuale con freccia, come "Apri in Maps" */
.hp-link {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 28px;
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #eee;
  border-bottom: 1px solid #555; padding-bottom: 6px; transition: border-color .3s, color .3s;
}
.hp-link:hover { border-color: #eee; }
.c-quote .hp-link { margin-top: 18px; }

/* ───────────────────────── home: aggiunte ───────────────────────── */
.hp-more { max-width: var(--box-max); margin: 40px auto 0; padding: 0 var(--box-pad); text-align: right; }
.hp-more a { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #ddd; border-bottom: 1px solid #555; padding-bottom: 6px; }

.hp-ai { padding: 160px var(--box-pad) 150px; border-top: 1px solid var(--line); background: radial-gradient(120% 80% at 85% 10%, #15121c 0%, #080808 60%); }
.hp-ai__inner { max-width: var(--box-max); margin: 0 auto; display: grid; gap: 48px; }
.hp-ai__title { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(48px, 7vw, 120px); line-height: 1; letter-spacing: -.035em; color: #f2f2f2; }
.hp-ai__title em { color: #c9c9c9; }
.hp-ai__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: start; }
.hp-ai__lead { margin: 0; font-size: 19px; line-height: 1.65; color: #b9b9b9; max-width: 560px; }
.hp-ai__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.hp-ai__list a { display: flex; gap: 22px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: clamp(24px, 2.3vw, 34px); color: #eee; transition: padding .4s var(--ease-out-quart), color .3s; }
.hp-ai__list a span { font-family: var(--font-book); font-size: 11px; letter-spacing: .14em; color: #888; }
.hp-ai__list a:hover { padding-left: 14px; color: #fff; }
.hp-ai .c-button { justify-self: start; background: transparent; color: #eee; border: 1px solid #777; }

.hp-signals { padding: 130px var(--box-pad); border-top: 1px solid var(--line); }
.hp-signals__head { max-width: var(--box-max); margin: 0 auto 50px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 40px; }
.hp-signals__head .c-eyebrow { flex-basis: 100%; justify-self: start; width: fit-content; }
.hp-signals__title { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(42px, 5.5vw, 88px); line-height: 1; letter-spacing: -.03em; color: #f2f2f2; }
.hp-signals__title em { color: #c9c9c9; }
.hp-signals__all { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #ddd; border-bottom: 1px solid #555; padding-bottom: 6px; }
.hp-signals__list { max-width: var(--box-max); margin: 0 auto; border-top: 1px solid var(--line); }
.sg-row a { display: grid; grid-template-columns: 170px 1fr auto 30px; gap: 28px; align-items: baseline; padding: 28px 0; border-bottom: 1px solid var(--line); color: #eee; transition: background .4s, padding .4s var(--ease-out-quart); }
.sg-row a:hover { padding-left: 12px; background: rgba(255,255,255,.02); }
.sg-row__date, .sg-row__cat { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #8d8d8d; }
.sg-row__title { font-family: var(--font-display); font-size: clamp(24px, 2.4vw, 38px); line-height: 1.15; letter-spacing: -.01em; }
.sg-row__arrow { color: #bbb; }

.hp-qa { padding: 0 var(--box-pad) 120px; }
.hp-qa__list { max-width: var(--box-max); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.hp-qa__item dt { font-family: var(--font-display); font-size: 26px; line-height: 1.2; color: #eee; margin-bottom: 14px; }
.hp-qa__item dd { margin: 0; font-size: 15px; line-height: 1.7; color: #a9a9a9; }

/* ───────────────────────── intestazioni delle pagine elenco ───────────────────────── */
.pg-hero { min-height: 78svh; display: flex; align-items: flex-end; padding: 200px var(--box-pad) 90px; background: #080808; }
.pg-hero__inner { position: relative; z-index: 2; width: 100%; max-width: var(--box-max); margin: 0 auto; }
.pg-hero__title { font-size: clamp(72px, 10vw, 170px) !important; }
.pg-hero__lead { margin: 48px 0 0; max-width: 620px; font-size: 19px; line-height: 1.6; color: #c4c4c4; }
.pg-hero .p-home-mv__title .p-home-mv__title-text02 { margin-left: 10vw; }

/* elenco progetti */
.pg-list { padding: 40px var(--box-pad) 140px; background: #080808; border-top: 0; }
.pg-item { max-width: var(--box-max); margin: 0 auto; border-top: 1px solid var(--line); }
.pg-item:last-child { border-bottom: 1px solid var(--line); }
.pg-item__link { display: grid; grid-template-columns: 60px 260px 1fr 40px; gap: 48px; align-items: center; padding: 40px 0; color: #eee; }
.pg-item__num { font-size: 12px; letter-spacing: .14em; color: #8a8a8a; align-self: start; padding-top: 8px; }
.pg-item__media { display: block; aspect-ratio: 545/739; overflow: hidden; background: #111; }
.pg-item__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.2s var(--ease-out-quart), filter .6s; filter: grayscale(.4) brightness(.85); }
.pg-item__link:hover .pg-item__media img { transform: scale(1.08); filter: none; }
.pg-item__body { display: grid; gap: 18px; }
.pg-item__year { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #8d8d8d; }
.pg-item__title { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(44px, 5.6vw, 96px); line-height: .98; letter-spacing: -.03em; }
.pg-item__title em { color: #c9c9c9; }
.pg-item__tagline { font-size: 17px; color: #b5b5b5; }
.pg-item__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.pg-item__tags span, .pj-tags li, .ai-tags li { border: 1px solid #3a3a3a; border-radius: 99px; padding: 6px 14px; font-size: 12px; color: #c8c8c8; list-style: none; }
.pg-item__cta { font-size: 28px; color: #aaa; transition: transform .5s var(--ease-out-quart); }
.pg-item__link:hover .pg-item__cta { transform: translate(6px, -6px); color: #fff; }

/* ───────────────────────── pagina progetto ───────────────────────── */
.pj-hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; background: #080808; color: #fff; overflow: hidden; }
.pj-hero__media { position: absolute; inset: 0; z-index: 0; }
.pj-hero__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pj-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #080808 0%, rgba(8,8,8,.55) 38%, rgba(8,8,8,.25) 70%, rgba(8,8,8,.55) 100%); }
.pj-hero__grid { position: relative; z-index: 2; padding: 190px var(--box-pad) 190px; }
.pj-hero__title { font-size: clamp(64px, 9vw, 160px) !important; }
.pj-hero__tagline { margin: 34px 0 0; font-size: 19px; color: #ddd; max-width: 540px; }
.pj-hero__bottom { align-items: center; }
.pj-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.pj-tags li { background: rgba(0,0,0,.35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.pj-crumbs { margin-bottom: 44px !important; }
.pj-crumbs a { color: inherit; }
.pj-facts .c-metric__value { font-size: clamp(22px, 2.4vw, 38px) !important; line-height: 1.1; }
.pj-facts .c-metric__value a { color: inherit; border-bottom: 1px solid #555; }

.pj-story { padding: 150px var(--box-pad); background: #080808; }
.pj-story__grid { max-width: var(--box-max); margin: 0 auto; display: grid; grid-template-columns: 1.15fr .85fr; gap: 90px; align-items: center; }
.pj-story__text { display: grid; gap: 28px; justify-items: start; }
.pj-story__text .ct-title { font-size: clamp(48px, 5.6vw, 96px); }
.pj-story__text .ct-lead { max-width: 560px; }
.pj-story__cover { margin: 0; aspect-ratio: 545/739; overflow: hidden; background: #111; }
.pj-story__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* marchio: quadrati attaccati */
.pj-marks { background: #080808; border-top: 1px solid var(--line); }
.pj-marks__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.pj-marks__grid.is-1 { grid-template-columns: 1fr 1fr; }
.pj-marks__grid.is-5 { grid-template-columns: repeat(3, 1fr); }
.pj-marks__item { margin: 0; overflow: hidden; background: #111; aspect-ratio: 1; }
.pj-marks__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.4s var(--ease-out-quart); }
.pj-marks__item:hover img { transform: scale(1.04); }
.pj-marks__item.is-feature img { object-position: center; }

.pj-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; background: #080808; }
.pj-photos figure { margin: 0; aspect-ratio: 2/3; overflow: hidden; }
.pj-photos img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* tavole: una sotto l'altra, senza spazi, come nel sito originale */
.pj-boards { padding: 150px var(--box-pad) 160px; background: #080808; border-top: 1px solid var(--line); }
.pj-boards__head { max-width: var(--box-max); margin: 0 auto 80px; }
.pj-boards__head .c-eyebrow { margin-bottom: 28px; }
.pj-boards__head .ct-title { font-family: var(--font-display); font-weight: 400; font-size: clamp(48px, 6vw, 104px); line-height: 1; letter-spacing: -.03em; color: #f2f2f2; margin: 0; }
.pj-boards__head .ct-title.is-sub { font-style: italic; color: #c9c9c9; padding-left: .6em; }
.pj-boards__sheet { max-width: 1200px; margin: 0 auto; box-shadow: 0 40px 120px rgba(0,0,0,.6); }
.pj-boards__sheet img { display: block; width: 100%; height: auto; margin: 0; background: #151515; }

.pj-next { padding-top: 140px; }
.pj-next__rail { grid-template-columns: repeat(2, 1fr) !important; }

/* ───────────────────────── Segnali ───────────────────────── */
.sg-hero { min-height: 70svh; }
.sg-list { padding: 60px var(--box-pad) 150px; background: #080808; }
.sg-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #8d8d8d; }
.sg-feature { max-width: var(--box-max); margin: 0 auto 90px; }
.sg-feature__link { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; color: #eee; }
.sg-feature__media { display: block; aspect-ratio: 4/3; overflow: hidden; background: #111; }
.sg-feature__media img, .sg-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.4s var(--ease-out-quart); }
.sg-feature__link:hover img, .sg-card a:hover img { transform: scale(1.04); }
.sg-feature__body { display: grid; gap: 24px; justify-items: start; }
.sg-feature__title { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(40px, 4.6vw, 76px); line-height: 1.02; letter-spacing: -.025em; }
.sg-feature__excerpt { font-size: 18px; line-height: 1.6; color: #b5b5b5; max-width: 560px; }
.sg-feature .hp-link { margin-top: 6px; }
.sg-grid { max-width: var(--box-max); margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 60px 48px; }
.sg-card a { display: grid; gap: 18px; color: #eee; }
.sg-card__media { display: block; aspect-ratio: 16/10; overflow: hidden; background: #111; }
.sg-card__title { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(28px, 2.6vw, 42px); line-height: 1.08; letter-spacing: -.015em; }
.sg-card__excerpt { font-size: 15px; line-height: 1.65; color: #a9a9a9; }

/* ───────────────────────── articolo e pagine di testo ───────────────────────── */
.ar-head { padding: 210px var(--box-pad) 90px; background: #080808; min-height: 62svh; display: flex; align-items: flex-end; }
.ar-head__inner { position: relative; z-index: 2; width: 100%; max-width: 980px; margin: 0 auto; }
.ar-head .hero-eyebrow a { color: inherit; border-bottom: 1px solid #555; }
.ar-title { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(46px, 6.4vw, 108px); line-height: 1.02; letter-spacing: -.03em; color: #f4f4f4; text-wrap: balance; }
.ar-lead { margin: 36px 0 0; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.6; color: #c6c6c6; max-width: 760px; }
.ar-meta { margin-top: 34px; }
.ar-draft { margin-top: 24px; display: inline-block; padding: 8px 14px; border: 1px solid #c9a227; color: #e8c867; font-size: 13px; }
.ar-cover { margin: 0; background: #080808; }
.ar-cover img { display: block; width: 100%; max-height: 82svh; object-fit: cover; }
.ar-body { padding: 110px var(--box-pad) 140px; background: #080808; }
.ar-toc { max-width: 760px; margin: 0 auto 70px; padding: 28px 30px; border: 1px solid var(--line); }
.ar-toc .c-eyebrow { margin-bottom: 18px; }
.ar-toc ol { margin: 0; padding-left: 20px; display: grid; gap: 10px; color: #8d8d8d; }
.ar-toc a { color: #ddd; border-bottom: 1px solid transparent; }
.ar-toc a:hover { border-color: #888; }
.ar-prose { max-width: 760px; margin: 0 auto; font-size: 19px; line-height: 1.75; color: #cfcfcf; }
.ar-prose > * { margin: 0 0 1.25em; }
.ar-prose h2 { margin: 2.1em 0 .7em; font-family: var(--font-display); font-weight: 400; font-size: clamp(34px, 3.4vw, 52px); line-height: 1.1; letter-spacing: -.02em; color: #f2f2f2; scroll-margin-top: 110px; }
.ar-prose h3 { margin: 1.8em 0 .6em; font-family: var(--font-display); font-weight: 400; font-size: 30px; line-height: 1.15; color: #eee; }
.ar-prose h2:first-child { margin-top: 0; }
.ar-prose a { color: #fff; border-bottom: 1px solid #777; transition: border-color .3s; }
.ar-prose a:hover { border-color: #fff; }
.ar-prose strong { color: #f2f2f2; font-weight: 600; }
.ar-prose ul, .ar-prose ol { padding-left: 1.2em; }
.ar-prose li { margin-bottom: .55em; }
.ar-prose li::marker { color: #888; }
.ar-prose blockquote { margin: 2em 0; padding: 0 0 0 28px; border-left: 1px solid #777; font-family: var(--font-display); font-size: 30px; line-height: 1.3; color: #eee; font-style: italic; }
.ar-prose blockquote p { margin: 0; }
.ar-prose figure { margin: 2.4em -60px; }
.ar-prose figure img { display: block; width: 100%; height: auto; }
.ar-prose figcaption { margin-top: 12px; font-size: 13px; color: #8d8d8d; text-align: center; }
.ar-prose hr { border: 0; border-top: 1px solid var(--line); margin: 3em 0; }
.ar-prose code { font-size: .88em; background: #161616; padding: 2px 6px; }
.ar-faq, .ar-sources { max-width: 760px; margin: 80px auto 0; padding-top: 40px; border-top: 1px solid var(--line); }
.ar-faq h2, .ar-sources h2 { margin: 0 0 28px; font-family: var(--font-display); font-weight: 400; font-size: 40px; color: #f2f2f2; }
.ar-faq dl { margin: 0; display: grid; gap: 26px; }
.ar-faq dt { font-family: var(--font-display); font-size: 25px; color: #eee; margin-bottom: 8px; }
.ar-faq dd { margin: 0; font-size: 16px; line-height: 1.7; color: #b3b3b3; }
.ar-sources ol { margin: 0; padding-left: 20px; display: grid; gap: 10px; font-size: 15px; color: #8d8d8d; }
.ar-sources a { color: #cfcfcf; border-bottom: 1px solid #555; word-break: break-word; }
.ar-related { padding-top: 120px; }
.ar-related .c-eyebrow { max-width: var(--box-max); margin: 0 auto 40px; display: block; width: fit-content; }
.page-text .ar-head { min-height: 52svh; }

/* ───────────────────────── intelligenza artificiale ───────────────────────── */
.ai-hero .p-home-mv__title .p-home-mv__title-text02 { margin-left: 12vw; }
.ai-brief { padding: 150px var(--box-pad); background: #080808; }
.ai-brief__inner { max-width: var(--box-max); margin: 0 auto; }
.ai-brief__inner > .c-eyebrow { margin-bottom: 28px; }
.ai-brief__grid { margin-top: 70px; display: grid; grid-template-columns: 1.15fr 1fr; gap: 80px; align-items: start; }
.ai-brief__answer { margin: 0; font-size: clamp(20px, 1.7vw, 25px); line-height: 1.6; color: #c9c9c9; }
.ai-brief__answer strong { color: #f2f2f2; font-weight: 500; }
.ai-brief__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ai-brief__list a { display: flex; gap: 20px; align-items: baseline; padding: 17px 0; border-bottom: 1px solid var(--line); color: #eee; font-family: var(--font-display); font-size: clamp(22px, 2vw, 30px); transition: padding .4s var(--ease-out-quart); }
.ai-brief__list a span { font-family: var(--font-book); font-size: 11px; letter-spacing: .14em; color: #888; }
.ai-brief__list a:hover { padding-left: 12px; }
.ai-services .c-quote { scroll-margin-top: 120px; }
.ai-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; }

.ai-cases, .ai-steps { padding: 150px var(--box-pad); }
.ai-cases__inner, .ai-steps__inner { position: relative; z-index: 2; max-width: var(--box-max); margin: 0 auto; }
.ai-cases__grid { list-style: none; margin: 80px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #333; border-left: 1px solid #333; }
.ai-case { padding: 40px 34px 46px; border-right: 1px solid #333; border-bottom: 1px solid #333; background: rgba(8,8,8,.45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background .5s; }
.ai-case:hover { background: rgba(20,20,20,.7); }
.ai-case__num { font-size: 11px; letter-spacing: .14em; color: #888; }
.ai-case__title { margin: 26px 0 16px; font-family: var(--font-display); font-weight: 400; font-size: clamp(28px, 2.4vw, 38px); line-height: 1.1; color: #f2f2f2; }
.ai-case__text { margin: 0; font-size: 15px; line-height: 1.7; color: #b5b5b5; }
.ai-steps__list { list-style: none; margin: 80px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid #444; }
.ai-step { padding: 34px 28px 10px 0; position: relative; }
.ai-step::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: #eee; }
.ai-step__num { font-family: var(--font-display); font-size: 64px; line-height: 1; color: #6b6b6b; font-style: italic; }
.ai-step__title { margin: 16px 0 12px; font-family: var(--font-display); font-weight: 400; font-size: 32px; color: #f2f2f2; }
.ai-step__text { margin: 0; font-size: 15px; line-height: 1.7; color: #b5b5b5; max-width: 280px; }
.ai-geo { padding: 150px var(--box-pad); background: #080808; }
.ai-geo__grid { max-width: var(--box-max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: start; }
.ai-geo__grid > div { display: grid; gap: 26px; justify-items: start; }
.ai-geo__grid .ct-title { font-size: clamp(46px, 5vw, 86px); }
.ai-geo__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ai-geo__list li { padding: 22px 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.65; color: #b5b5b5; }
.ai-geo__list strong { display: block; margin-bottom: 4px; font-family: var(--font-display); font-weight: 400; font-size: 26px; color: #f2f2f2; }
.ai-trust .p-statement__inner { position: relative; z-index: 2; }
.ai-trust .c-eyebrow { margin-bottom: 40px; display: inline-block; }
.ai-read { padding-top: 110px; padding-bottom: 110px; }

/* agenzia: miniature dei progetti cliccabili */
a.ag-mile__media { display: block; }
.ag-mile__title a { color: inherit; }

/* 404 */
.nf__links { list-style: none; margin: 40px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 30px; }

/* ───────────────────────── responsive ───────────────────────── */
@media (max-width: 1100px) {
  .hp-ai__grid, .ai-brief__grid, .ai-geo__grid, .pj-story__grid, .sg-feature__link { grid-template-columns: 1fr; gap: 48px; }
  .pg-item__link { grid-template-columns: 40px 180px 1fr 30px; gap: 28px; }
  .ai-cases__grid { grid-template-columns: repeat(2, 1fr); }
  .ai-steps__list { grid-template-columns: repeat(2, 1fr); gap: 40px 0; }
  .hp-qa__list { grid-template-columns: 1fr; gap: 28px; }
  .pj-story__cover { max-width: 420px; }
}
@media (max-width: 767px) {
  .hp-ai, .hp-signals, .ai-brief, .ai-cases, .ai-steps, .ai-geo, .pj-story, .pj-boards { padding: 100px 20px; }
  .hp-qa { padding: 0 20px 90px; }
  .sg-row a { grid-template-columns: 1fr 24px; gap: 8px 16px; padding: 22px 0; }
  .sg-row__date { grid-column: 1 / -1; }
  .sg-row__cat { display: none; }
  .pg-hero { padding: 160px 20px 70px; min-height: 70svh; }
  .pg-hero .p-home-mv__title .p-home-mv__title-text02 { margin-left: 4vw; }
  .pg-hero__lead { font-size: 17px; margin-top: 30px; }
  .pg-list { padding: 20px 20px 100px; }
  .pg-item__link { grid-template-columns: 1fr; gap: 20px; padding: 32px 0; }
  .pg-item__num, .pg-item__cta { display: none; }
  .pg-item__media { aspect-ratio: 4/3; }
  .pj-hero__grid { padding: 160px 20px 220px; }
  .pj-hero__bottom { flex-direction: column; align-items: flex-start !important; }
  .pj-marks__grid, .pj-marks__grid.is-5 { grid-template-columns: repeat(2, 1fr); }
  .pj-photos { grid-template-columns: 1fr; }
  .pj-photos figure { aspect-ratio: 4/5; }
  .pj-boards__head { margin-bottom: 44px; }
  .pj-boards { padding-left: 0; padding-right: 0; }
  .pj-boards__head { padding: 0 20px; }
  .pj-next__rail { grid-template-columns: 1fr !important; }
  .sg-list { padding: 30px 20px 100px; }
  .sg-grid { grid-template-columns: 1fr; gap: 50px; }
  .ar-head { padding: 160px 20px 60px; }
  .ar-body { padding: 70px 20px 100px; }
  .ar-prose { font-size: 17px; }
  .ar-prose figure { margin: 2em 0; }
  .ar-prose blockquote { font-size: 24px; padding-left: 18px; }
  .ai-cases__grid { grid-template-columns: 1fr; }
  .ai-steps__list { grid-template-columns: 1fr; }
  .ai-case { padding: 30px 22px 34px; }
  .ai-hero .p-home-mv__title .p-home-mv__title-text02 { margin-left: 4vw; }
}
@media (prefers-reduced-motion: reduce) {
  .pg-item__media img, .sg-feature__media img, .sg-card__media img, .pj-marks__item img { transition: none; }
}

/* le pillole restano della loro misura anche dentro griglie e flex */
.c-eyebrow { width: fit-content; max-width: 100%; justify-self: start; align-self: flex-start; }

/* progetto: titolo leggibile anche sopra immagini chiare; marchi a tutta riga */
.pj-hero__media::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(8,8,8,.88) 0%, rgba(8,8,8,.55) 42%, rgba(8,8,8,0) 75%); }
.pj-hero__media::after { z-index: 1; }
.pj-marks__grid.is-5 { grid-template-columns: repeat(5, 1fr); }
.pj-marks__grid:not(.is-1) .pj-marks__item.is-feature { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
@media (max-width: 767px) {
  .pj-marks__grid.is-5 { grid-template-columns: repeat(2, 1fr); }
  .pj-marks__grid:not(.is-1) .pj-marks__item.is-feature { aspect-ratio: 4 / 3; }
  .pj-hero__media::before { background: linear-gradient(0deg, rgba(8,8,8,.9) 0%, rgba(8,8,8,.4) 60%, rgba(8,8,8,.2) 100%); }
}
.hp-signals__head { display: grid; grid-template-columns: 1fr auto; }
.hp-signals__head .c-eyebrow { grid-column: 1 / -1; flex-basis: auto; }
.pj-photos { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 1fr; }
.pj-photos:has(figure:only-child) { padding: 90px 20px; border-top: 1px solid var(--line); }
.pj-photos figure:only-child { aspect-ratio: auto; width: min(560px, 100%); justify-self: center; }
@media (max-width: 767px) { .pj-photos { grid-auto-flow: row; grid-template-columns: 1fr 1fr; } .pj-photos figure:only-child { grid-column: 1 / -1; } }


/* ═══════════ Menu mobile: due linee e pannello in stile Armur ═══════════ */
.l-nav__toggle, .l-nav__actions .l-nav__toggle { background: transparent; color: #eee; width: 48px; height: 48px; border-radius: 0; margin-right: -12px; -webkit-tap-highlight-color: transparent; }
.l-nav__lines { position: relative; display: block; width: 28px; height: 10px; }
.l-nav__lines i { position: absolute; left: 0; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform .5s var(--ease-out-quart, cubic-bezier(.25,1,.5,1)), width .5s var(--ease-out-quart, cubic-bezier(.25,1,.5,1)), top .5s var(--ease-out-quart, cubic-bezier(.25,1,.5,1)); }
.l-nav__lines i:first-child { top: 0; width: 28px; }
.l-nav__lines i:last-child { top: 8.5px; width: 18px; left: auto; right: 0; }
@media (hover: hover) { .l-nav__toggle:hover .l-nav__lines i:last-child { width: 28px; } }
.l-nav__lines.is-x i { top: 4.25px; width: 28px; }
.l-nav__lines.is-x i:first-child { transform: rotate(45deg); }
.l-nav__lines.is-x i:last-child { transform: rotate(-45deg); }

.mn { padding: 24px var(--app-grid-padding, 20px) calc(28px + env(safe-area-inset-bottom)); background: #070708; overflow: hidden; overflow-y: auto; transition: opacity .45s ease; }
.mn__liquid { position: absolute; right: -30%; bottom: -12%; width: 120%; aspect-ratio: 1; pointer-events: none; opacity: 0; transform: scale(1.12) rotate(-6deg); transition: opacity 1.2s ease, transform 1.6s var(--ease-out-quart, cubic-bezier(.25,1,.5,1)); }
.mn__liquid img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; filter: saturate(1.1); -webkit-mask-image: radial-gradient(closest-side, #000 35%, transparent 100%); mask-image: radial-gradient(closest-side, #000 35%, transparent 100%); }
.mn.is-open .mn__liquid { opacity: .55; transform: scale(1) rotate(0deg); }
.mn__head, .mn__eyebrow, .mn__nav, .mn__foot { position: relative; z-index: 1; }
.mn__head { display: flex; align-items: center; justify-content: space-between; }
.mn__eyebrow { display: flex; justify-content: space-between; margin: 5vh 0 6px; padding-bottom: 14px; border-bottom: 1px solid rgba(238,238,238,.14); font-family: var(--font-book); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #8a8a8a; }
.mn__list { list-style: none; margin: 0; padding: 0; }
.mn__item { overflow: hidden; border-bottom: 1px solid rgba(238,238,238,.09); }
.mn__link { display: flex; align-items: baseline; gap: 18px; padding: 13px 0 11px; color: #eee; text-decoration: none; transform: translateY(105%); transition: transform .9s var(--ease-out-quart, cubic-bezier(.25,1,.5,1)), color .3s; transition-delay: calc(var(--i) * 60ms + 120ms); }
.mn.is-open .mn__link { transform: none; }
.mn__num { flex: none; width: 22px; font-family: var(--font-book); font-size: 11px; letter-spacing: .12em; color: #6e6e6e; transform: translateY(-.9em); }
.mn__label { font-family: var(--font-display); font-weight: 400; font-size: clamp(40px, 11.5vw, 64px); line-height: 1; letter-spacing: -.025em; }
.mn__link.is-current .mn__label { font-style: italic; }
.mn__link.is-current .mn__label::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 12px; border-radius: 50%; background: #eee; vertical-align: .35em; }
.mn__hint { margin-left: auto; align-self: center; font-family: var(--font-book); font-size: 10px; line-height: 1.4; letter-spacing: .16em; text-transform: uppercase; text-align: right; color: #6e6e6e; }
.mn__link:active .mn__label { color: #fff; }
.mn__foot { margin-top: 30px; opacity: 0; transform: translateY(16px); transition: opacity .8s ease, transform .9s var(--ease-out-quart, cubic-bezier(.25,1,.5,1)); transition-delay: calc(var(--i) * 60ms + 160ms); }
.mn.is-open .mn__foot { opacity: 1; transform: none; }
.mn__contacts, .mn__social { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; margin: 18px 0 0; font-family: var(--font-book); font-size: 13px; color: #aaa; }
.mn__contacts a, .mn__social a { color: inherit; text-decoration: none; }
.mn__social { margin-top: 10px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #777; }
@media (prefers-reduced-motion: reduce) { .mn__link, .mn__foot, .mn__liquid { transition: none; transform: none; } }

/* ═══════════ Telefono: logo e menu sempre in vista ═══════════ */
@media (max-width: 900px) {
  .l-header { position: fixed; padding-top: max(18px, env(safe-area-inset-top)); pointer-events: none; }
  .l-header .l-nav__brand, .l-header .l-nav__toggle { pointer-events: auto; }
  .l-header::before { content: ""; position: absolute; inset: 0 0 -34px 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .45s ease;
    background: linear-gradient(to bottom, rgba(7,7,8,.88) 0%, rgba(7,7,8,.62) 52%, rgba(7,7,8,0) 100%); }
  html.is-scrolled .l-header::before { opacity: 1; }
}

/* ═══════════ Touch: scorrimento più leggero ═══════════
   La sfocatura dello sfondo sopra un canvas in movimento è la cosa più costosa
   per la GPU di un telefono: al suo posto un fondo più coprente. */
@media (hover: none) {
  *, *::before, *::after { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  .ag-mile { background: rgba(8,8,8,.66); }
  .ag-mile.is-active { background: rgba(8,8,8,.78); }
  .ag-disc { background: rgba(10,10,12,.9); }
  .page-contatti .c-eyebrow, .pj-tags li { background: rgba(8,8,8,.6); }
  .ct-card-form { background: rgba(8,8,8,.74); }
  .ct-status { background: rgba(8,8,8,.6); }
  .ct-rail > * { background-color: rgba(8,8,8,.5); }
  .ai-case { background: rgba(8,8,8,.7); }
  /* niente evidenziazione grigia al tocco, niente ritardo sul tap */
  a, button, [role="button"], summary, label { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
}

/* ── Font del logo e dei testi: Arial, uguale su ogni dispositivo ──
   Su Mac, Windows e iPhone si usa l'Arial già installata (identica al design).
   Dove Arial non c'è (Android, Linux) il sito usa una copia inclusa, offline,
   di Liberation Sans: gratuita (licenza SIL OFL) e con le stesse misure di Arial. */
@font-face { font-family: "Armur Sans"; font-style: normal; font-weight: 100 600; font-display: swap;
  src: local("Arial"), local("ArialMT"), url("../fonts/liberation-sans-regular.woff") format("woff"); }
@font-face { font-family: "Armur Sans"; font-style: normal; font-weight: 700 900; font-display: swap;
  src: local("Arial Bold"), local("Arial-BoldMT"), url("../fonts/liberation-sans-bold.woff") format("woff"); }
:root { --font-book: "Armur Sans", Arial, Helvetica, sans-serif; --font-medium: "Armur Sans", Arial, Helvetica, sans-serif; }
