/* ==========================================================================
   QUBO – Foglio di stile principale
   Identità: studio tecnico (architettura + ingegneria) sul Lago Maggiore.
   Display "drafted" (Space Grotesk) · corpo ingegneristico (IBM Plex Sans) ·
   etichette mono come su un disegno tecnico (IBM Plex Mono).
   Accento ottone su base calce/cemento e inchiostro.
   ========================================================================== */

:root {
	--ink:        #15171C;
	--ink-soft:   #2A2D34;
	--paper:      #ECEAE4;
	--paper-deep: #E2DFD7;
	--white:      #FFFFFF;
	--stone:      #696C74;
	--line:       #D7D3CA;
	--accent:     #A9742A;   /* ottone */
	--accent-ink: #855A1F;   /* ottone scuro (hover) */
	--accent-tint:#F3ECDD;

	--font-display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
	--font-body:    "IBM Plex Sans", system-ui, -apple-system, sans-serif;
	--font-mono:    "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;

	--wrap: 1200px;
	--gutter: clamp(20px, 5vw, 64px);
	--radius: 4px;

	--shadow: 0 18px 50px -28px rgba(21, 23, 28, .35);
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* ----- Reset essenziale ----- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.65;
	color: var(--ink);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
}
body.nav-locked { overflow: hidden; }
img, video, iframe { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-ink); text-decoration: none; }
a:hover { color: var(--accent); }

h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-weight: 600;
	line-height: 1.08;
	letter-spacing: -.02em;
	margin: 0 0 .5em;
	color: var(--ink);
}
p { margin: 0 0 1.1em; }

/* ----- Layout ----- */
.container { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.content-narrow { max-width: 760px; }
.section { padding-block: clamp(64px, 9vw, 128px); }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link {
	position: absolute; left: -999px; top: 0; z-index: 1000;
	background: var(--ink); color: #fff; padding: 12px 18px;
}
.skip-link:focus { left: 12px; top: 12px; }

:where(a, button, input, [tabindex]):focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
}

/* ----- Etichetta mono "tecnica" ----- */
.eyebrow {
	display: inline-flex; align-items: center; gap: .55em;
	font-family: var(--font-mono);
	font-size: 12.5px; font-weight: 500;
	letter-spacing: .14em; text-transform: uppercase;
	color: var(--accent-ink);
	margin: 0 0 1.1em;
}
.eyebrow--light { color: rgba(255,255,255,.82); }
.eyebrow__mark { color: var(--accent); font-size: 1.2em; line-height: 1; }
.eyebrow--light .eyebrow__mark { color: var(--accent); }

/* ----- Bottoni ----- */
.btn {
	display: inline-flex; align-items: center; justify-content: center;
	gap: .5em;
	font-family: var(--font-mono);
	font-size: 13.5px; font-weight: 500; letter-spacing: .06em;
	text-transform: uppercase;
	padding: 15px 26px;
	border: 1px solid transparent;
	border-radius: var(--radius);
	cursor: pointer;
	transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-ink); color: #fff; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--ghost.btn--dark { color: var(--ink); border-color: var(--line); }
.btn--ghost.btn--dark:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--lg { padding: 18px 34px; font-size: 14px; }
.btn--block { width: 100%; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(236,234,228,.0);
	transition: background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
	border-bottom: 1px solid transparent;
}
/* Sopra la hero il testo è chiaro */
.home .site-header { color: #fff; }
.site-header.is-scrolled,
:not(.home) .site-header {
	background: rgba(248,247,243,.92);
	backdrop-filter: saturate(140%) blur(8px);
	border-bottom-color: var(--line);
	color: var(--ink);
}
.site-header__inner {
	display: flex; align-items: center; gap: 24px;
	min-height: 76px;
}
.site-branding { margin-right: auto; }
.site-logo-text { display: flex; flex-direction: column; line-height: 1.1; color: inherit; }
.site-logo-text__name {
	font-family: var(--font-display); font-weight: 700;
	font-size: 22px; letter-spacing: .02em; color: inherit;
}
.site-logo-text__tag {
	font-family: var(--font-mono); font-size: 10.5px;
	letter-spacing: .12em; text-transform: uppercase;
	opacity: .7;
}
.custom-logo { max-height: 52px; width: auto; }

.nav-menu {
	list-style: none; display: flex; align-items: center; gap: 4px;
	margin: 0; padding: 0;
}
.nav-menu a {
	display: block; color: inherit;
	font-size: 15px; font-weight: 500;
	padding: 10px 14px; border-radius: var(--radius);
	transition: color .2s, background .2s;
}
.nav-menu a:hover,
.nav-menu .current-menu-item > a { color: var(--accent); }
.nav-menu .sub-menu {
	position: absolute; list-style: none; margin: 8px 0 0; padding: 8px;
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
	box-shadow: var(--shadow); min-width: 220px;
	opacity: 0; visibility: hidden; transform: translateY(6px);
	transition: .2s var(--ease);
}
.nav-menu li { position: relative; }
.nav-menu li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-menu .sub-menu a { color: var(--ink); }

.site-header__cta {
	font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .08em;
	text-transform: uppercase; font-weight: 500;
	padding: 11px 20px; border-radius: var(--radius);
	border: 1px solid currentColor; color: inherit;
}
.site-header.is-scrolled .site-header__cta,
:not(.home) .site-header__cta { color: var(--accent-ink); border-color: var(--accent); }
.site-header__cta:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle__bar { display: block; width: 26px; height: 2px; background: currentColor; margin: 5px 0; transition: .3s var(--ease); }

/* ==========================================================================
   HERO (video)
   ========================================================================== */
.hero {
	position: relative;
	min-height: clamp(560px, 92vh, 880px);
	display: flex; align-items: flex-end;
	color: #fff; overflow: hidden;
	margin-top: -76px; padding-top: 76px; /* la hero passa sotto l'header sticky */
}
.hero__media { position: absolute; inset: 0; z-index: 0; background: var(--ink); }
.hero__video, .hero__poster {
	position: absolute; inset: 0; width: 100%; height: 100%;
	object-fit: cover;
}
.hero__overlay {
	position: absolute; inset: 0;
	background:
		linear-gradient(180deg, rgba(13,14,18,.35) 0%, rgba(13,14,18,.2) 35%, rgba(13,14,18,.82) 100%),
		linear-gradient(90deg, rgba(13,14,18,.55) 0%, rgba(13,14,18,0) 55%);
}
.hero__grid {
	position: absolute; inset: 0; opacity: .25; pointer-events: none;
	background-image:
		linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
	background-size: 64px 64px;
	mask-image: linear-gradient(180deg, transparent, #000 60%);
}
.hero__content { position: relative; z-index: 2; padding-bottom: clamp(56px, 8vw, 96px); }
.hero__title {
	font-size: clamp(38px, 6vw, 76px);
	max-width: 16ch; margin-bottom: .35em; color: #fff;
}
.hero__text { max-width: 52ch; font-size: clamp(17px, 2vw, 20px); color: rgba(255,255,255,.86); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero__coords {
	position: absolute; right: var(--gutter); bottom: 24px; z-index: 2;
	display: flex; gap: 22px;
	font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .1em;
	color: rgba(255,255,255,.55); text-transform: uppercase;
}

/* ==========================================================================
   SECTION HEAD
   ========================================================================== */
.section__head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 64px); }
.section__head--row {
	display: flex; align-items: flex-end; justify-content: space-between;
	gap: 24px; max-width: none;
}
.section__title { font-size: clamp(28px, 4vw, 46px); }
.section__lead { font-size: clamp(17px, 2vw, 20px); color: var(--stone); margin-bottom: 0; }

/* ==========================================================================
   SERVIZI
   ========================================================================== */
.services { background: var(--white); }
.services__grid {
	display: grid; gap: 20px;
	grid-template-columns: 1.4fr 1fr;
}
.service-card {
	position: relative; display: flex; flex-direction: column;
	background: var(--paper); color: var(--ink);
	border: 1px solid var(--line); border-radius: var(--radius);
	padding: clamp(28px, 3.5vw, 44px);
	transition: border-color .3s var(--ease), transform .3s var(--ease), background .3s var(--ease);
	overflow: hidden;
}
.service-card::after {
	content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0;
	background: var(--accent); transition: width .4s var(--ease);
}
.service-card:hover { transform: translateY(-4px); border-color: var(--accent); color: var(--ink); }
.service-card:hover::after { width: 100%; }
.service-card--wide { background: var(--ink); color: #fff; }
.service-card--wide .service-card__text { color: rgba(255,255,255,.78); }
.service-card--wide .service-card__list { color: rgba(255,255,255,.5); border-top-color: rgba(255,255,255,.15); }
.service-card--wide:hover { color: #fff; }
.service-card__num {
	font-family: var(--font-mono); font-size: 13px; letter-spacing: .1em;
	color: var(--accent); margin-bottom: 18px;
}
.service-card__title { font-size: clamp(22px, 2.6vw, 30px); margin-bottom: .5em; color: inherit; }
.service-card__text { color: var(--stone); margin-bottom: 1.4em; }
.service-card__list {
	font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em;
	color: var(--stone); text-transform: uppercase;
	padding-top: 16px; margin-top: auto; border-top: 1px solid var(--line);
}
.service-card__cta {
	font-family: var(--font-mono); font-size: 13px; letter-spacing: .06em;
	text-transform: uppercase; color: var(--accent); margin-top: 18px;
}
.service-card--wide .service-card__cta { color: var(--accent); }

/* ==========================================================================
   PROGETTI (griglia + card)
   ========================================================================== */
.projects-feature { background: var(--paper-deep); }
.project-grid {
	display: grid; gap: 20px;
	grid-template-columns: repeat(3, 1fr);
}
.project-grid--archive { margin-top: 32px; }

.project-card {
	background: var(--white); border: 1px solid var(--line);
	border-radius: var(--radius); overflow: hidden;
	transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.project-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.project-card__link { display: block; color: inherit; }
.project-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-deep); }
.project-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.project-card:hover .project-card__media img { transform: scale(1.05); }
.project-card__placeholder {
	width: 100%; height: 100%;
	background:
		repeating-linear-gradient(45deg, var(--paper-deep) 0 12px, var(--paper) 12px 24px);
}
.project-card__tag {
	position: absolute; top: 12px; left: 12px;
	font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em;
	text-transform: uppercase; color: #fff;
	background: rgba(21,23,28,.78); padding: 5px 11px; border-radius: 2px;
}
.project-card__body { padding: 20px 22px 24px; }
.project-card__title { font-size: 20px; margin-bottom: .25em; }
.project-card__meta {
	font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em;
	text-transform: uppercase; color: var(--stone); margin: 0;
}

/* filtri archivio */
.project-filters {
	display: flex; flex-wrap: wrap; gap: 8px;
	padding-block: 8px; margin-top: 8px;
	border-bottom: 1px solid var(--line);
}
.project-filters__item {
	font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .05em;
	text-transform: uppercase; color: var(--stone);
	padding: 8px 16px; border: 1px solid transparent; border-radius: 999px;
	transition: .2s var(--ease);
}
.project-filters__item:hover { color: var(--ink); border-color: var(--line); }
.project-filters__item.is-active { color: #fff; background: var(--ink); border-color: var(--ink); }

/* ==========================================================================
   PERCHÉ QUBO
   ========================================================================== */
.why { background: var(--white); }
.why__grid {
	display: grid; gap: 1px;
	grid-template-columns: repeat(2, 1fr);
	background: var(--line); border: 1px solid var(--line);
}
.why__item { background: var(--white); padding: clamp(28px, 3.5vw, 44px); }
.why__item h3 { font-size: 21px; margin-bottom: .4em; }
.why__item h3::before {
	content: "—"; color: var(--accent); margin-right: .5em;
}
.why__item p { color: var(--stone); margin: 0; }

/* ==========================================================================
   CTA BAND
   ========================================================================== */
.cta-band { background: var(--ink); color: #fff; }
.cta-band--soft { background: var(--accent-tint); color: var(--ink); }
.cta-band__inner {
	display: flex; align-items: center; justify-content: space-between;
	gap: 32px; flex-wrap: wrap;
}
.cta-band__title { font-size: clamp(26px, 3.4vw, 40px); color: inherit; margin-bottom: .3em; max-width: 18ch; }
.cta-band__text { color: rgba(255,255,255,.78); margin: 0; }
.cta-band--soft .cta-band__text { color: var(--stone); }

/* ==========================================================================
   PAGE HERO (pagine interne / archivio)
   ========================================================================== */
.page-hero { background: var(--white); border-bottom: 1px solid var(--line); padding-block: clamp(48px, 7vw, 96px); }
.page-hero--projects { background: var(--ink); color: #fff; border-bottom: 0; }
.page-hero--projects .eyebrow { color: rgba(255,255,255,.8); }
.page-hero__title { font-size: clamp(32px, 5vw, 60px); max-width: 18ch; }
.page-hero--projects .page-hero__title { color: #fff; }
.page-hero__text { font-size: clamp(17px, 2vw, 20px); color: var(--stone); max-width: 60ch; }
.page-hero--projects .page-hero__text { color: rgba(255,255,255,.78); }

/* ==========================================================================
   PAGINE / ARTICOLI
   ========================================================================== */
.page-article, .blog, .archive-progetti { padding-block: clamp(48px, 6vw, 88px); }
.page-thumb { border-radius: var(--radius); margin-bottom: 32px; }
.content-narrow :where(h2) { font-size: 30px; margin-top: 1.6em; }
.content-narrow :where(h3) { font-size: 23px; margin-top: 1.4em; }
.content-narrow img { border-radius: var(--radius); }
.content-narrow blockquote {
	border-left: 3px solid var(--accent); margin: 1.6em 0; padding: .2em 0 .2em 1.4em;
	font-size: 1.15em; color: var(--ink-soft);
}

/* ==========================================================================
   SINGOLO PROGETTO
   ========================================================================== */
.progetto-hero { position: relative; background: var(--ink); color: #fff; }
.progetto-hero__media { position: relative; aspect-ratio: 16 / 7; min-height: 320px; }
.progetto-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.progetto-hero__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,14,18,.2), rgba(13,14,18,.85)); }
.progetto-hero__content { position: absolute; inset: auto 0 0 0; padding-bottom: clamp(28px, 4vw, 56px); }
.progetto-hero__title { font-size: clamp(30px, 5vw, 58px); color: #fff; max-width: 20ch; }
.progetto-hero:not(:has(.progetto-hero__media)) { padding-block: clamp(56px, 8vw, 110px); }
.progetto-hero:not(:has(.progetto-hero__media)) .progetto-hero__content { position: static; }

.progetto-layout {
	display: grid; grid-template-columns: 1fr 320px; gap: clamp(32px, 5vw, 72px);
	padding-block: clamp(48px, 6vw, 88px);
}
.progetto-content :where(h2) { font-size: 28px; margin-top: 1.5em; }
.progetto-content :where(img) { border-radius: var(--radius); margin-block: 1.4em; }

.progetto-aside {
	align-self: start; position: sticky; top: 100px;
	background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
	padding: 28px;
}
.progetto-aside__title { font-size: 16px; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--accent-ink); margin-bottom: 18px; }
.scheda { margin: 0 0 24px; }
.scheda__row { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.scheda__row:last-child { border-bottom: 0; }
.scheda dt { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--stone); margin: 0; }
.scheda dd { margin: 0; font-weight: 500; text-align: right; }

.progetto-nav {
	display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center;
	padding-block: 40px; border-top: 1px solid var(--line);
}
.progetto-nav__link { display: flex; flex-direction: column; gap: 4px; color: var(--ink); }
.progetto-nav__link span { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--stone); }
.progetto-nav__link strong { font-family: var(--font-display); font-weight: 500; }
.progetto-nav__link--next { text-align: right; }
.progetto-nav__all { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--accent-ink); }

/* ==========================================================================
   BLOG / NEWS
   ========================================================================== */
.post-list { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); padding-top: 8px; }
.post-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.post-card__media { display: block; aspect-ratio: 16/10; overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 22px; }
.post-card__date { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--stone); margin-bottom: .4em; }
.post-card__title { font-size: 21px; margin-bottom: .4em; }
.post-card__title a { color: var(--ink); }
.post-card__title a:hover { color: var(--accent); }
.post-card__excerpt { color: var(--stone); font-size: 15.5px; }
.post-card__more { font-family: var(--font-mono); font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; }

/* ==========================================================================
   BREADCRUMB / PAGINAZIONE / FORM
   ========================================================================== */
.breadcrumb { background: var(--white); border-bottom: 1px solid var(--line); font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .04em; }
.breadcrumb .container { padding-block: 14px; }
.breadcrumb a { color: var(--stone); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { margin: 0 .6em; color: var(--line); }
.breadcrumb [aria-current="page"] { color: var(--ink); }

.qubo-pagination { margin-top: 48px; }
.qubo-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.qubo-pagination a, .qubo-pagination .current {
	font-family: var(--font-mono); font-size: 14px;
	min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
	padding: 0 14px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink);
}
.qubo-pagination .current { background: var(--ink); color: #fff; border-color: var(--ink); }
.qubo-pagination a:hover { border-color: var(--accent); color: var(--accent); }

.search-form { display: flex; gap: 8px; max-width: 460px; margin-top: 16px; }
.search-form__field { flex: 1; padding: 13px 16px; border: 1px solid var(--line); border-radius: var(--radius); font: inherit; background: #fff; }
.search-form__submit { padding: 13px 22px; border: 0; border-radius: var(--radius); background: var(--ink); color: #fff; font-family: var(--font-mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.search-form__submit:hover { background: var(--accent); }

.empty-state { text-align: center; padding: 64px 0; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--ink); color: rgba(255,255,255,.75); margin-top: 0; }
.site-footer__map { line-height: 0; filter: grayscale(.3) contrast(.95); }
.site-footer__grid {
	display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px;
	padding-block: clamp(48px, 6vw, 80px);
}
.site-footer .site-logo-text__name { color: #fff; }
.site-footer__tag { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-top: 8px; }
.footer-widget__title, .site-footer h3 { color: #fff; font-size: 14px; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { margin-bottom: 10px; }
.site-footer a { color: rgba(255,255,255,.75); }
.site-footer a:hover { color: var(--accent); }
.footer-address { font-style: normal; line-height: 1.9; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.12); }
.site-footer__bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-block: 22px; font-size: 13px; }
.site-footer__bottom p { margin: 0; color: rgba(255,255,255,.5); }
.footer-menu { list-style: none; display: flex; gap: 18px; margin: 0; padding: 0; }

/* ==========================================================================
   PAGE CANVAS (Elementor) – nessun vincolo di larghezza
   ========================================================================== */
.page-canvas { padding: 0; }

/* ==========================================================================
   REVEAL (animazione leggera)
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
	.services__grid { grid-template-columns: 1fr; }
	.project-grid, .post-list { grid-template-columns: repeat(2, 1fr); }
	.progetto-layout { grid-template-columns: 1fr; }
	.progetto-aside { position: static; }
}

@media (max-width: 768px) {
	body { font-size: 16px; }
	.nav-toggle { display: block; color: inherit; }
	.site-header__cta { display: none; }
	.site-nav {
		position: fixed; inset: 76px 0 0 0; z-index: 90;
		background: var(--paper); color: var(--ink);
		padding: 24px var(--gutter);
		transform: translateX(100%); transition: transform .35s var(--ease);
		overflow-y: auto;
	}
	.site-header.is-open .site-nav { transform: none; }
	.site-header.is-open { background: var(--paper); color: var(--ink); }
	.nav-menu { flex-direction: column; align-items: stretch; gap: 0; }
	.nav-menu a { padding: 16px 4px; font-size: 19px; border-bottom: 1px solid var(--line); color: var(--ink); }
	.nav-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 16px; }
	.section__head--row { flex-direction: column; align-items: flex-start; }
	.why__grid { grid-template-columns: 1fr; }
	.project-grid, .post-list { grid-template-columns: 1fr; }
	.hero__coords { display: none; }
	.cta-band__inner { flex-direction: column; align-items: flex-start; }
	.progetto-nav { grid-template-columns: 1fr; text-align: left; }
	.progetto-nav__link--next { text-align: left; }
	.site-footer__grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ==========================================================================
   RIDUCI ANIMAZIONI
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
	.reveal { opacity: 1; transform: none; }
}
