/* =========================================================================
   Hydrosolution — stile
   Struttura e colori dal riferimento "struttura e colori del sito" (Neko):
   fondo grigio chiaro, card chiare e scure, un solo accento: il blu del logo.
   ========================================================================= */

@font-face { font-family: 'Inter Tight'; src: url('../fonts/inter-tight.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../fonts/inter.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('../fonts/jetbrains-mono.woff2') format('woff2'); font-weight: 400; font-display: swap; }

:root {
  /* palette */
  --bg: #E6E6E7;
  --bg-2: #D9D9DB;
  --surface: #F4F4F5;
  --white: #FFFFFF;
  --ink: #17181A;
  --muted: #5E5F64;
  --line: rgba(23, 24, 26, .12);
  --dark: #222326;
  --dark-2: #2C2D31;
  --on-dark: #F1F1F2;
  --on-dark-muted: #A6A7AD;
  --accent: #172F7D;          /* blu scuro del logo (scritta "hydro solution") */
  --accent-ink: #FFFFFF;
  --accent-light: #4699D1;    /* azzurro dell'onda del logo: solo su fondi scuri */

  /* colori del logo */
  --logo-tx: #172F7D;
  --logo-sw: #4699D1;
  --drop: var(--accent);

  /* caratteri */
  --f-display: 'Inter Tight', 'Helvetica Neue', Arial, sans-serif;
  --f-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;

  /* misure */
  --pad: clamp(16px, 3.2vw, 44px);
  --max: 1440px;
  --radius: 22px;
  --radius-s: 14px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ── reset ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; }
[hidden] { display: none !important; }

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg) linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%) fixed;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

/* grana leggerissima sopra tutto, come nel riferimento */
body::after {
  content: ''; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.menu :focus-visible, .card--dark :focus-visible, .hero :focus-visible { outline-color: var(--accent-light); }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.mono { font-family: var(--f-mono); font-size: 11.5px; line-height: 1.5; letter-spacing: .04em; text-transform: uppercase; }
.dot { display: inline-block; width: 7px; height: 7px; background: var(--accent); border-radius: 1px; margin-right: 8px; vertical-align: 1px; }

/* ── pulsanti a pillola ───────────────────────────────────────────────── */
.pill {
  display: inline-flex; align-items: center; gap: 10px; height: 38px; padding: 0 16px;
  border-radius: 999px; font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap;
  transition: transform .35s var(--ease), background-color .3s, color .3s;
}
.pill:hover { transform: translateY(-1px); }
.pill--dark { background: var(--dark); color: var(--on-dark); }
.pill--accent { background: var(--accent); color: var(--accent-ink); padding-left: 5px; }
.pill--accent .plus { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.18); font-size: 18px; line-height: 1; }
.pill--light { background: rgba(255,255,255,.14); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.28); }

/* ── barra in alto ────────────────────────────────────────────────────── */
.hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 14px var(--pad); color: var(--ink);
  transition: color .35s;
}
.hdr__logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; justify-self: start; color: #6F6F71; transition: color .35s; }
.hdr__lg { width: 150px; height: auto; aspect-ratio: 318.47 / 83.11; }
.hdr__menu { justify-self: center; }
.hdr__cta { justify-self: end; }
.burger { display: grid; gap: 4px; width: 14px; }
.burger i { display: block; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform .35s var(--ease); }
.hdr__menu[aria-expanded="true"] .burger i:first-child { transform: translateY(2.75px) rotate(45deg); }
.hdr__menu[aria-expanded="true"] .burger i:last-child { transform: translateY(-2.75px) rotate(-45deg); }

/* sopra la hero e le zone scure il logo diventa chiaro */
body.on-dark .hdr__logo { --logo-tx: #FFFFFF; }

/* ── menu a tutto schermo ─────────────────────────────────────────────── */
.menu {
  position: fixed; inset: 0; z-index: 55; background: var(--dark); color: var(--on-dark);
  padding: 90px var(--pad) 40px; overflow-y: auto;
}
.menu__inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; min-height: 100%; align-content: center; }
.menu__list a { display: flex; align-items: baseline; gap: 18px; padding: 8px 0; font-family: var(--f-display); font-size: clamp(30px, 5vw, 64px); line-height: 1.05; letter-spacing: -.03em; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.08); transition: color .25s, padding .35s var(--ease); }
.menu__list a:hover { color: var(--accent-light); padding-left: 8px; }
.menu__list .mono { color: var(--on-dark-muted); }
.menu__side { display: grid; align-content: end; gap: 6px; font-size: 17px; }
.menu__side .mono { color: var(--on-dark-muted); margin-top: 18px; }
.menu__side a { text-decoration: none; }
.menu__side a:hover { color: var(--accent-light); }
body.menu-open .hdr__logo { --logo-tx: #FFFFFF; }
body.menu-open .hdr__menu { background: var(--on-dark); color: var(--dark); }

/* ── apertura ─────────────────────────────────────────────────────────── */
.intro { position: fixed; inset: 0; z-index: 100; pointer-events: none; }
.intro__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.intro__fill { fill: #1C1D20; }
.intro__logo { --logo-tx: #FFFFFF; --logo-sw: #4699D1; }

/* ── HERO ─────────────────────────────────────────────────────────────── */
.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 560px;
  color: #fff; overflow: hidden; background: #1C1D20;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 76px var(--pad) calc(var(--pad) + 4px);
}
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.hero__shade { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(10,11,13,.55) 0%, rgba(10,11,13,.08) 38%, rgba(10,11,13,.12) 60%, rgba(10,11,13,.78) 100%); }
.hero__title { position: relative; font-family: var(--f-display); font-weight: 700; text-transform: uppercase; line-height: .8; letter-spacing: -.045em; }
.hero__line { display: block; white-space: nowrap; font-size: 11vw; padding-top: .06em; }
.hero__word { display: inline-block; }
.hero__bottom { position: relative; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.hero__sub { font-family: var(--f-display); font-size: clamp(22px, 2.6vw, 38px); line-height: 1.12; letter-spacing: -.02em; font-weight: 400; }
.mask { display: block; overflow: hidden; padding-bottom: .06em; }
.rise { display: block; }
.hero__meta { display: grid; justify-items: end; gap: 4px; text-align: right; color: rgba(255,255,255,.82); }
.hero__meta .pill { margin-top: 12px; }

/* ── CHI SIAMO ────────────────────────────────────────────────────────── */
.fit { width: max-content; max-width: none; }
.story { position: relative; }
.story__block { position: relative; z-index: 2; }


/* righe di testo piccole in alto e in basso, come nel riferimento */
.story__top { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; color: var(--muted); }
.story__top-r { text-align: right; }
.story__foot { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; color: var(--muted); }
.story__foot > :last-child { text-align: right; }
.story__foot a { text-decoration: none; color: var(--ink); }
.story__scroll { color: var(--ink); }

.story__open, .story__end {
  min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column;
  padding: 84px var(--pad) var(--pad); overflow: hidden;
}
.story__specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 26px; border-top: 1px solid var(--line); padding-top: 14px; }
.story__specs dt { color: var(--muted); margin-bottom: 4px; }
.story__specs dd { font-family: var(--f-display); font-size: clamp(15px, 1.25vw, 19px); letter-spacing: -.01em; line-height: 1.25; }

.giant { font-family: var(--f-display); font-weight: 500; letter-spacing: -.065em; line-height: .76; color: var(--ink); margin-top: auto; padding-bottom: 18px; }
.giant__l { display: block; white-space: nowrap; font-size: 20vw; }
.giant--end .giant__l:first-child { color: var(--accent); }

/* testo + foto, affiancati */
.story__about, .story__side { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; padding: clamp(80px, 14vh, 160px) var(--pad); max-width: var(--max); margin: 0 auto; }
.story__about .story__photo { order: 2; }
.story__side { grid-template-columns: 1fr 1fr; }
.story__photo { margin: 0; }
.story__photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.story__col { max-width: 640px; }
.lead { font-family: var(--f-display); font-size: clamp(24px, 2.8vw, 42px); line-height: 1.14; letter-spacing: -.025em; font-weight: 400; max-width: 20em; }
.lead em { font-style: normal; color: var(--accent); }
.words .w { opacity: .16; transition: opacity .2s linear; }
.twocol { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 30px; max-width: 620px; }
.twocol p { font-size: 14px; line-height: 1.5; color: var(--muted); }
.twocol .mono { display: block; color: var(--ink); margin-bottom: 6px; opacity: .55; }
.twocol--center { margin-left: auto; margin-right: auto; }

.story__side-text { max-width: 480px; }
.h3 { font-family: var(--f-display); font-size: clamp(26px, 2.6vw, 40px); line-height: 1.08; letter-spacing: -.03em; margin-bottom: 16px; }
.story__side-text p:last-child { color: var(--muted); }

.story__sectors { padding-top: 4vh; padding-bottom: 6vh; }
.marquee { overflow: hidden; padding: 2vh 0 6vh; }
.marquee__track { display: flex; align-items: center; gap: .32em; width: max-content; font-family: var(--f-display); font-weight: 500; font-size: clamp(64px, 11vw, 190px); letter-spacing: -.05em; line-height: 1; white-space: nowrap; will-change: transform; }
.marquee__mk { width: .42em; height: .5em; flex: none; }
.kicker { display: flex; align-items: center; color: var(--muted); margin-bottom: 18px; font-weight: 400; }
.kicker--center { justify-content: center; }
.sectors { display: grid; grid-template-columns: 1fr 2fr; gap: 12px 40px; align-items: start; }
.sectors .kicker { grid-column: 1; }
.sectors__intro { grid-column: 1; font-size: 18px; color: var(--muted); max-width: 18em; }
.sectors__list { grid-column: 2; grid-row: 1 / span 2; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.sectors__list li { display: flex; gap: 12px; align-items: baseline; padding: 16px 12px 16px 0; border-bottom: 1px solid var(--line); font-family: var(--f-display); font-size: clamp(17px, 1.5vw, 22px); letter-spacing: -.01em; }
.sectors__list .mono { color: var(--accent); }

.story__facts { padding: 4vh 0 6vh; }
.quote { padding: 9vh 0; }
.lead--center { margin: 0 auto; text-align: center; max-width: 23em; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 8vh; }
.fact { background: var(--surface); border-radius: var(--radius); padding: 22px 22px 24px; display: grid; gap: 28px; min-height: 190px; align-content: space-between; }
.fact dt { color: var(--muted); }
.fact dd { display: grid; gap: 8px; }
.fact strong { font-family: var(--f-display); font-weight: 500; font-size: clamp(48px, 5vw, 76px); letter-spacing: -.05em; line-height: .9; }
.fact span { color: var(--muted); font-size: 15px; line-height: 1.4; }

.story__band { padding: 6vh 0 14vh; }
.marquee--2 .marquee__track { color: var(--ink); }

/* ── sezioni ──────────────────────────────────────────────────────────── */
.section { position: relative; z-index: 4; padding: clamp(80px, 12vw, 160px) 0 0; }
.head { margin-bottom: clamp(36px, 5vw, 64px); }
.head--split { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px 48px; align-items: end; }
.head__text { color: var(--muted); font-size: 17px; max-width: 30em; justify-self: end; }
.h2 { font-family: var(--f-display); font-weight: 500; font-size: clamp(38px, 5.2vw, 78px); line-height: .98; letter-spacing: -.045em; }

.card { position: relative; background: var(--surface); border-radius: var(--radius); padding: 26px; overflow: hidden; }
.card--dark { background: var(--dark); color: var(--on-dark); }
.card--accent { background: var(--accent); color: var(--accent-ink); }
.card--photo { padding: 0; background: var(--dark); }
.card--photo img { width: 100%; height: 100%; object-fit: cover; }
.card--photo figcaption { position: absolute; left: 18px; bottom: 16px; color: #fff; background: rgba(20,20,22,.5); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); padding: 6px 10px; border-radius: 999px; }
.card h3 { font-family: var(--f-display); font-weight: 500; font-size: clamp(22px, 2vw, 28px); letter-spacing: -.025em; line-height: 1.1; margin: 42px 0 12px; }
.card p { color: inherit; opacity: .78; font-size: 16px; line-height: 1.5; }
.card .card__n { opacity: .6; }
.card--accent p { opacity: .92; }

/* approccio: griglia a mattonelle */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(250px, auto); gap: 12px; }
.bento__photo { grid-column: span 2; grid-row: span 2; min-height: 420px; }

/* marchi */
.showcase { padding: 0; display: grid; grid-template-columns: 1.5fr 1fr; align-items: stretch; margin-bottom: 12px; }
.showcase img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; }
.showcase figcaption { display: grid; align-content: space-between; padding: 30px; gap: 30px; }
.showcase figcaption .mono { color: var(--on-dark-muted); }
.showcase__t { font-family: var(--f-display); font-size: clamp(32px, 3.6vw, 56px); line-height: 1; letter-spacing: -.04em; }

.brands { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.brand { background: var(--surface); border-radius: var(--radius); padding: 14px 14px 18px; display: flex; flex-direction: column; gap: 6px; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.brand:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(0,0,0,.35); }
.brand__logo { background: var(--white); border-radius: var(--radius-s); height: 110px; display: grid; place-items: center; padding: 18px 22px; margin-bottom: 10px; }
.brand__logo img { max-height: 64px; width: auto; max-width: 100%; object-fit: contain; }
.brand__name { font-family: var(--f-display); font-weight: 500; font-size: 22px; letter-spacing: -.02em; }
.brand__what { color: var(--muted); font-size: 14.5px; line-height: 1.4; min-height: 2.8em; }
.brand__prov { display: flex; flex-wrap: wrap; gap: 4px; margin: 8px 0 12px; }
.brand__prov span { font-family: var(--f-mono); font-size: 11px; padding: 3px 7px; border-radius: 6px; background: rgba(23,24,26,.07); }
.brand__prov--ask { font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; color: var(--muted); }
.brand__links { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px; }
.brand__links a { font-size: 13.5px; text-decoration: none; padding: 6px 12px; border-radius: 999px; background: var(--dark); color: var(--on-dark); transition: background-color .25s; }
.brand__links a + a { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.brand__links a:hover { background: var(--accent); color: #fff; box-shadow: none; }
.brand.is-dim { opacity: .35; }

/* zone: il righello */
.ruler { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); padding-top: 64px; margin-bottom: 24px; }
.ruler__ticks { position: absolute; left: 0; right: 0; top: 0; height: 44px;
  background: repeating-linear-gradient(90deg, rgba(23,24,26,.28) 0 1px, transparent 1px 12px); -webkit-mask: linear-gradient(180deg, transparent 0 55%, #000 55%); mask: linear-gradient(180deg, transparent 0 55%, #000 55%); }
.ruler__bar { position: absolute; left: 0; right: 0; top: 46px; height: 2px; background: var(--line); }
.ruler__bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--accent); transition: width .6s var(--ease); }
.ruler__stop { position: relative; text-align: left; padding: 12px 10px 12px 0; font-family: var(--f-display); font-size: clamp(16px, 1.7vw, 24px); letter-spacing: -.02em; color: var(--muted); transition: color .25s; }
.ruler__stop::before { content: ''; position: absolute; left: 0; top: -38px; width: 2px; height: 30px; background: var(--ink); opacity: .55; }
.ruler__stop .mono { display: block; font-size: 12px; margin-bottom: 4px; }
.ruler__stop:hover { color: var(--ink); }
.ruler__stop[aria-selected="true"] { color: var(--accent); }
.ruler__stop[aria-selected="true"]::before { background: var(--accent); opacity: 1; height: 38px; top: -46px; }

.zone { display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px 48px; padding: 28px; }
.zone__label { color: var(--muted); margin-bottom: 14px; }
.zone__brands { display: flex; flex-wrap: wrap; gap: 8px; }
.zone__brands li { font-family: var(--f-display); font-size: clamp(20px, 2vw, 30px); letter-spacing: -.02em; padding: 6px 16px 8px; border-radius: 999px; background: var(--white); }
.zone__people { display: grid; gap: 12px; }
.zone__people li { display: grid; gap: 2px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.zone__people strong { font-family: var(--f-display); font-weight: 500; font-size: 20px; letter-spacing: -.02em; }
.zone__people span { color: var(--muted); font-size: 14.5px; }
.zone__people a { font-size: 15px; text-decoration: none; }
.zone__people a:hover { color: var(--accent); }

.matrix { margin-top: 16px; }
.matrix summary { cursor: pointer; font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); padding: 10px 0; }
.matrix__scroll { overflow-x: auto; }
.matrix table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
.matrix th, .matrix td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: center; }
.matrix th[scope="row"], .matrix thead th:first-child { text-align: left; font-weight: 500; }
.matrix td { color: var(--accent); }

/* lavori: galleria orizzontale */
.section--works { padding-bottom: 0; }
.works { overflow: hidden; }
.works__viewport { overflow-x: auto; scrollbar-width: none; padding: 0 var(--pad) 8px; scroll-snap-type: x proximity; }
.works__viewport::-webkit-scrollbar { display: none; }
.works__track { display: flex; gap: 12px; width: max-content; }
.work { flex: none; height: clamp(300px, 48vh, 520px); scroll-snap-align: start; display: flex; flex-direction: column; gap: 10px; }
.work img { height: calc(100% - 44px); width: auto; border-radius: var(--radius); object-fit: cover; background: var(--bg-2); }
.work--w img { aspect-ratio: 4 / 3; }
.work--t img { aspect-ratio: 3 / 4; }
.work--s img { aspect-ratio: 1 / 1; }
.work p { display: flex; gap: 10px; align-items: baseline; font-size: 15px; }
.work p .mono { color: var(--accent); }
html.pin-works .works__viewport { overflow: visible; scroll-snap-type: none; }

/* team */
.team { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.person { background: var(--surface); border-radius: var(--radius); padding: 12px 12px 18px; display: flex; flex-direction: column; gap: 6px; }
.person img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-s); margin-bottom: 10px; filter: grayscale(1) contrast(1.05); transition: filter .5s var(--ease); }
.person:hover img { filter: none; }
.person h3 { font-family: var(--f-display); font-weight: 500; font-size: 21px; letter-spacing: -.02em; line-height: 1.15; }
.person__role { color: var(--accent); font-size: 10.5px; }
.person p { font-size: 14.5px; color: var(--muted); line-height: 1.45; }
.person__links { margin-top: auto; padding-top: 12px; display: grid; gap: 2px; }
.person__links a { color: var(--ink); text-decoration: none; font-size: 14px; overflow-wrap: anywhere; }
.person__links a:hover { color: var(--accent); }

/* faq */
.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 20px 0; font-family: var(--f-display); font-size: clamp(18px, 1.6vw, 22px); letter-spacing: -.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--surface); font-family: var(--f-body); font-size: 18px; transition: transform .35s var(--ease), background-color .25s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--accent); color: #fff; }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 40em; }
.faq details a { color: var(--ink); }

/* contatti */
.section--contact { padding-bottom: 0; }
.contact { text-align: center; padding: clamp(36px, 5vw, 64px) clamp(14px, 3vw, 36px) clamp(14px, 3vw, 36px); }
.contact .kicker { color: var(--on-dark-muted); }
.contact__title { margin-bottom: 20px; }
.bars { height: clamp(90px, 14vw, 170px); display: flex; align-items: flex-end; gap: 3px; margin: 0 auto 18px; }
.bars i { flex: 1 1 0; min-width: 1px; border-radius: 1px; background: repeating-linear-gradient(0deg, var(--on-dark) 0 2px, transparent 2px 4px); height: var(--h, 20%); opacity: .85; transform-origin: bottom; }
.ask { display: flex; gap: 8px; }
.ask input { flex: 1; min-width: 0; height: 58px; border: 0; border-radius: 999px; background: var(--accent); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); color: #fff; padding: 0 24px; font-size: 17px; }
.ask input::placeholder { color: rgba(255,255,255,.88); }
.ask input:focus-visible { outline-color: #fff; }
.ask button { flex: none; width: 58px; height: 58px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 5px var(--dark), 0 0 0 6px rgba(255,255,255,.2); transition: transform .3s var(--ease); }
.ask button:hover { transform: scale(1.06); }
.ask button svg { width: 22px; height: 22px; }
.ask__hint { color: var(--on-dark-muted); margin-top: 14px; font-size: 10.5px; }
.ask.is-bad input { box-shadow: inset 0 0 0 2px #fff; }

.contacts { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px 16px; padding: 36px 0 0; }
.contacts__col { display: grid; gap: 4px; align-content: start; font-size: 15px; }
.contacts__col .mono { color: var(--muted); margin-bottom: 6px; }
.contacts__col a { text-decoration: none; overflow-wrap: anywhere; }
.contacts__col a:hover { color: var(--accent); }

/* ── footer ───────────────────────────────────────────────────────────── */
.foot { position: relative; z-index: 4; padding-top: clamp(60px, 9vw, 120px); overflow: hidden; }
.foot__wm { --logo-tx: #C4C4C8; --logo-sw: #D2D2D5; padding: 0 var(--pad); }
.foot__wm svg { width: 100%; height: auto; aspect-ratio: 318.47 / 83.11; }
.foot__row { display: grid; grid-template-columns: 1.4fr 1.2fr .7fr; gap: 10px 24px; padding-top: 28px; padding-bottom: 28px; color: var(--muted); }
.foot__row .mono { font-size: 10.5px; }
.foot__links { display: flex; gap: 18px; justify-content: flex-end; }
.foot__credit { grid-column: 1 / -1; opacity: .8; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--accent); }

/* ── pagine semplici (privacy, 404) ───────────────────────────────────── */
.page { padding: 130px 0 80px; }
.page .wrap { max-width: 860px; }
.page h1 { font-family: var(--f-display); font-weight: 500; font-size: clamp(40px, 6vw, 80px); letter-spacing: -.045em; line-height: 1; margin-bottom: 28px; }
.page h2 { font-family: var(--f-display); font-weight: 500; font-size: 26px; letter-spacing: -.02em; margin: 40px 0 10px; }
.page p, .page li { color: #3B3C40; margin-bottom: 12px; max-width: 42em; }
.page ul { list-style: disc; padding-left: 20px; }
.page a { color: var(--ink); }
.page a.pill { color: var(--accent-ink); margin-top: 18px; }
.page__date { color: var(--muted); margin-top: 40px; }
.hdr--page { background: rgba(230,230,231,.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.foot--page { padding-top: 0; border-top: 1px solid var(--line); }
.page--404 { min-height: 100vh; min-height: 100svh; display: grid; align-content: center; padding: 60px 0; }
.page--404 .hdr__lg { margin-bottom: 48px; }

/* ── telefono e tablet ────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .brands { grid-template-columns: repeat(3, 1fr); }
  .team { grid-template-columns: repeat(3, 1fr); }
  .contacts { grid-template-columns: repeat(3, 1fr); }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  body { font-size: 15.5px; }
  .hdr { grid-template-columns: auto 1fr auto; gap: 8px; padding-top: 12px; }
  .hdr__lg { width: 118px; }
  .hdr__menu { justify-self: end; }
  .hdr__menu-t { display: none; }
  .hdr__menu { width: 38px; padding: 0; justify-content: center; }
  .hdr__cta { font-size: 13.5px; padding-right: 13px; }
  .menu__inner { grid-template-columns: 1fr; align-content: start; }

  .hero { padding-top: 84px; }
  .hero__line { display: grid; gap: .04em; }
  .hero__bottom { flex-direction: column; align-items: flex-start; }
  .hero__meta { justify-items: start; text-align: left; }

  .story__top { grid-template-columns: 1fr 1fr; }
  .story__top > :nth-child(2) { display: none; }
  .story__specs { grid-template-columns: 1fr 1fr; gap: 14px 12px; margin-top: 18px; }
  .story__foot { grid-template-columns: 1fr 1fr; }
  .story__scroll { display: none; }
  .story__about, .story__side { grid-template-columns: 1fr; padding-top: 64px; padding-bottom: 64px; }
  .story__col { max-width: none; }
  .twocol { grid-template-columns: 1fr; gap: 14px; }
  .story__side-text { max-width: none; }
  .sectors { grid-template-columns: 1fr; }
  .sectors__list { grid-column: 1; grid-row: auto; grid-template-columns: 1fr 1fr; }
  .quote { padding: 7vh 0; }
  .facts { grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 44px; }
  .fact { min-height: 160px; padding: 16px; }
  .fact span { font-size: 13.5px; }

  .head--split { grid-template-columns: 1fr; }
  .head__text { justify-self: start; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .bento__photo { grid-column: auto; grid-row: auto; min-height: 0; aspect-ratio: 16 / 10; }
  .card h3 { margin-top: 28px; }
  .showcase { grid-template-columns: 1fr; }
  .brands { grid-template-columns: 1fr 1fr; gap: 8px; }
  .brand { padding: 10px 10px 14px; }
  .brand__logo { height: 84px; padding: 12px; }
  .brand__logo img { max-height: 46px; }
  .brand__name { font-size: 19px; }
  .brand__what { font-size: 13.5px; min-height: 0; }
  .brand__links a { font-size: 12.5px; padding: 5px 10px; }

  .ruler { grid-template-columns: repeat(3, 1fr); row-gap: 8px; padding-top: 0; }
  .ruler__ticks, .ruler__bar, .ruler__stop::before { display: none; }
  .ruler__stop { background: var(--surface); border-radius: var(--radius-s); padding: 10px 12px; margin-right: 8px; font-size: 16px; }
  .ruler__stop[aria-selected="true"] { background: var(--dark); color: #fff; }
  .zone { grid-template-columns: 1fr; padding: 20px; }

  .team { grid-template-columns: 1fr 1fr; gap: 8px; }
  .person h3 { font-size: 18px; }
  .faq { grid-template-columns: 1fr; gap: 20px; }
  .contacts { grid-template-columns: 1fr 1fr; }
  .ask input { height: 52px; font-size: 16px; padding: 0 18px; }
  .ask button { width: 52px; height: 52px; }
  .foot__row { grid-template-columns: 1fr; }
  .foot__links { justify-content: flex-start; }
}

@media (max-width: 420px) {
  .team, .brands { grid-template-columns: 1fr 1fr; }
  .contacts { grid-template-columns: 1fr; }
  .sectors__list { grid-template-columns: 1fr; }
}

/* ── movimento ridotto: tutto fermo e leggibile ───────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .words .w { opacity: 1; }
}

