/* AppSviluppo, direction A "Palco": a dark keynote stage. The approved sketch (direzioni/a-palco)
   extended to the whole site. Motion follows Emil Kowalski: transform and opacity only, a strong
   ease-out for things that enter, UI feedback under 300 ms, hover only on real pointers, everything
   still under prefers-reduced-motion, content visible without JS. */

/* ------------------------------------------------------------------ tokens */
:root {
  --bg: #07080b; --surface: #101219; --surface-2: #151822; --ink: #eef0f4; --muted: #8d93a3;
  --accent: #58b9da; --accent-ink: #04131b;
  --ink-2: #c9cdd6; --soft: #b6bbc7; --soft-2: #a9aebb; --error: #ff9d92;
  --line: rgba(255, 255, 255, .1); --line-2: rgba(255, 255, 255, .16); --line-3: rgba(255, 255, 255, .22);
  --field: #0b0d12; --focus: #58b9da;
  --font-text: "Geist", system-ui, sans-serif; --font-mono: "Geist Mono", ui-monospace, monospace;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1360px;
  --nav-h: 72px;
  --r-card: 20px; --r-img: 16px; --r-shot: 14px; --r-field: 12px;
  --sec: clamp(96px, 11vw, 170px);
  --glow: 0 0 0 1px rgba(255,255,255,.12), 0 40px 80px -20px rgba(0,0,0,.9), 0 0 120px -40px rgba(88,185,218,.35);
  color-scheme: dark;
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); scrollbar-color: #2a2f3a var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-text); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; font-feature-settings: "ss01" 0; }
::selection { background: rgba(88, 185, 218, .34); color: #fff; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, p, ul, ol, figure, dl, dd, blockquote, address { margin: 0; }
address { font-style: normal; }
ul, ol { padding: 0; list-style: none; }
.wrap { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.mono { font-family: var(--font-mono); font-size: 13px; line-height: 1.35; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); font-weight: 400; }
.mono a { text-decoration: none; color: var(--ink-2); display: inline-flex; align-items: center; min-height: 44px; }
@media (hover: hover) and (pointer: fine) { .mono a { transition: color 160ms var(--ease-out); } .mono a:hover { color: var(--accent); } }
.tnum { font-variant-numeric: tabular-nums; }
.accent { color: var(--accent); }

.skip { position: fixed; left: 12px; top: 12px; z-index: 100; padding: 12px 18px; border-radius: 999px; background: var(--ink); color: #07080b;
  font-weight: 600; text-decoration: none; transform: translateY(-160%); transition: transform 160ms var(--ease-out); }
.skip:focus-visible { transform: none; }

/* ------------------------------------------------------------------ type roles */
.h1 { font-size: clamp(40px, 5vw, 80px); line-height: .98; letter-spacing: -.042em; font-weight: 600; text-wrap: balance; }
.h1--stage { font-size: clamp(50px, 7.6vw, 124px); line-height: .92; letter-spacing: -.046em; }
.h1--read { font-size: clamp(34px, 4.2vw, 60px); line-height: 1.04; letter-spacing: -.034em; }
.h2 { font-size: clamp(34px, 4.2vw, 64px); line-height: 1; letter-spacing: -.04em; font-weight: 600; text-wrap: balance; }
.h3 { font-size: clamp(24px, 2.2vw, 32px); line-height: 1.12; letter-spacing: -.028em; font-weight: 500; text-wrap: balance; }
.h4 { font-size: 21px; line-height: 1.25; letter-spacing: -.018em; font-weight: 500; }
.lead { font-size: clamp(17px, 1.25vw, 20px); line-height: 1.55; color: var(--soft); max-width: 34em; text-wrap: pretty; }
.body { color: var(--soft); max-width: 36em; text-wrap: pretty; }
.small { font-size: 15px; color: var(--soft-2); }
.muted { color: var(--muted); }

/* ------------------------------------------------------------------ buttons (Emil: press .97 in 160 ms) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; text-decoration: none; cursor: pointer;
  border: 0; border-radius: 999px; font-weight: 600; font-size: 16px; line-height: 1; white-space: nowrap;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease, box-shadow 200ms ease; }
.btn:active { transform: scale(0.97); }
.btn svg { width: 16px; height: 16px; flex: none; transition: transform 200ms var(--ease-out); }
.btn--primary { background: var(--ink); color: #07080b; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-3); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover svg { transform: translateX(3px); }
  .btn--primary:hover { background: var(--accent); color: var(--accent-ink); }
  .btn--ghost:hover { box-shadow: inset 0 0 0 1px rgba(255,255,255,.6); }
}
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 14px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
/* a text link with an arrow that steps */
.go { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 500; color: var(--ink); text-decoration: none; }
.go svg { width: 15px; height: 15px; transition: transform 200ms var(--ease-out); }
.go span { position: relative; padding-bottom: 2px; }
.go span::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 240ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .go:hover svg { transform: translateX(3px); } .go:hover span::after { transform: scaleX(1); } .go:hover { color: #fff; } }

/* ------------------------------------------------------------------ nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 60; border-bottom: 1px solid transparent;
  transition: background-color 200ms ease, border-color 200ms ease; }
.nav.is-scrolled, .nav.is-panel, .nav.is-menu { background: rgba(7, 8, 11, .78); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border-color: var(--line); }
.nav.is-menu, .nav.is-panel { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }   /* bar and panel: one solid surface */
.nav__bar { display: flex; align-items: center; height: var(--nav-h); gap: 32px; position: relative; }
.nav__logo { display: inline-flex; align-items: center; min-height: 44px; flex: none; }
.nav__logo img { height: 30px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 28px; margin-left: auto; font-size: 15px; }
.nav__link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0; background: none; border: 0; cursor: pointer;
  text-decoration: none; color: var(--ink-2); transition: color 160ms ease; }
.nav__link[aria-current="page"], .nav__link[aria-current="true"] { color: #fff; }
.nav__link[aria-current] { box-shadow: inset 0 -1px 0 var(--accent); }
.nav__link svg { width: 12px; height: 12px; transition: transform 200ms var(--ease-out); }
.nav__link[aria-expanded="true"] { color: #fff; }
.nav__link[aria-expanded="true"] svg { transform: rotate(180deg); }
@media (hover: hover) and (pointer: fine) { .nav__link:hover { color: #fff; } }
.nav__cta { flex: none; }
.nav__toggle { display: none; align-items: center; justify-content: center; gap: 8px; min-width: 44px; min-height: 44px; padding: 0 14px; border-radius: 999px;
  background: transparent; border: 0; box-shadow: inset 0 0 0 1px var(--line-3); cursor: pointer; font-size: 15px; font-weight: 500;
  transition: transform 160ms var(--ease-out), box-shadow 200ms var(--ease-out); }
.nav__toggle:active { transform: scale(0.97); }
.nav__toggle svg { width: 18px; height: 18px; }
.nav__toggle .i-close { display: none; }
.nav__toggle[aria-expanded="true"] .i-open { display: none; }
.nav__toggle[aria-expanded="true"] .i-close { display: block; }

/* services panel (desktop): opens under the bar, from the button, in 200 ms; closes faster */
/* a solid ground: a backdrop-filter nested in the bar's own one is ignored by Chromium, and the page showed through */
.svcp { position: absolute; left: 0; right: 0; top: 100%; padding: 8px 0 26px; background: var(--bg); border-bottom: 1px solid var(--line);
  box-shadow: 0 28px 60px -20px rgba(0, 0, 0, .7);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 150ms var(--ease-out), transform 150ms var(--ease-out), visibility 0s linear 150ms; }
.svcp.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out), visibility 0s; }
.svcp__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
/* every card on one grid: number and arrow on top, the titles on one line, the descriptions start together */
.svcp__card { position: relative; display: flex; flex-direction: column; min-height: 156px; padding: 18px 20px 22px; border-radius: 16px;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; overflow: hidden; isolation: isolate; }
.svcp__card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 220ms var(--ease-out);
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(88,185,218,.16), transparent 65%); }
.svcp__num { font-family: var(--font-mono); font-size: 12px; line-height: 20px; letter-spacing: .08em; color: var(--accent); }
.svcp__card > svg { position: absolute; top: 20px; right: 20px; width: 16px; height: 16px; color: var(--muted); transition: transform 200ms var(--ease-out), color 200ms var(--ease-out); }
.svcp__card strong { margin-top: 34px; font-size: 19px; font-weight: 500; line-height: 1.25; letter-spacing: -.02em; }
.svcp__desc { margin-top: 8px; color: var(--soft-2); font-size: 15px; line-height: 1.45; text-wrap: pretty; }
@media (hover: hover) and (pointer: fine) { .svcp__card:hover > svg { color: #fff; transform: translateX(3px); } }
.svcp__card[aria-current] { box-shadow: inset 0 0 0 1px rgba(88,185,218,.5); }
@media (hover: hover) and (pointer: fine) { .svcp__grid:hover .svcp__card::before { opacity: 1; } }

/* phone menu: full screen under the bar, solid ground, links rise in 260 ms */
.menu { position: fixed; inset: var(--nav-h) 0 0; z-index: 59; background: var(--bg); overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; visibility: hidden; transition: opacity 180ms var(--ease-out), visibility 0s linear 180ms; }
.menu.is-open { opacity: 1; visibility: visible; transition: opacity 220ms var(--ease-out), visibility 0s; }
.menu__in { display: flex; flex-direction: column; gap: 28px; padding-top: 20px; padding-bottom: 40px; min-height: 100%; }
.menu__group .mono { margin-bottom: 6px; }
.menu__list a { display: flex; align-items: center; min-height: 52px; font-size: 30px; font-weight: 600; letter-spacing: -.03em; text-decoration: none; border-bottom: 1px solid var(--line); }
.menu__list--svc a { min-height: 48px; font-size: 20px; font-weight: 500; letter-spacing: -.015em; color: var(--ink-2); }
.menu__list a[aria-current] { color: var(--accent); }
.menu__cta .btn { width: 100%; }
.menu__contacts { display: grid; gap: 4px; }
.menu__contacts a { display: inline-flex; align-items: center; min-height: 44px; }
.menu .menu__group, .menu .menu__cta, .menu .menu__contacts { transform: translateY(10px); opacity: 0; transition: transform 160ms var(--ease-out), opacity 160ms var(--ease-out); }
.menu.is-open .menu__group, .menu.is-open .menu__cta, .menu.is-open .menu__contacts { transform: none; opacity: 1; transition-duration: 260ms; }
/* opened from the keyboard: no animation (Emil: never animate keyboard-initiated actions) */
.svcp.is-instant, .menu.is-instant, .menu.is-instant .menu__group, .menu.is-instant .menu__cta, .menu.is-instant .menu__contacts { transition: none !important; }
.menu.is-open > .menu__in > :nth-child(2) { transition-delay: 30ms; }
.menu.is-open > .menu__in > :nth-child(3) { transition-delay: 60ms; }
.menu.is-open > .menu__in > :nth-child(4) { transition-delay: 90ms; }
html.is-locked { overflow: hidden; }

@media (max-width: 999px) {
  .nav__links { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav__cta { margin-left: auto; }
  .nav__bar { gap: 12px; }
}
@media (max-width: 559px) { .nav__toggle { padding: 0; width: 44px; } .nav__toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }
@media (max-width: 374px) { .nav__cta-x { display: none; } .nav__logo img { height: 26px; } .nav__bar { gap: 10px; } }
@media (min-width: 1000px) { .menu { display: none; } }

/* ------------------------------------------------------------------ sections */
.sec { padding-block: calc(var(--sec) * .5); }
.sec--top { padding-top: calc(var(--nav-h) + clamp(48px, 7vw, 96px)); }
.sec--flush { padding-top: calc(var(--sec) * .5); }
main > .sec:last-of-type { padding-bottom: 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 4vw, 48px); flex-wrap: wrap; }
.section-head > :first-child { max-width: min(100%, 900px); }
.section-head .h2 { max-width: 18ch; }
.section-head--wide .h2 { max-width: 24ch; }
.section-head__side { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.section-head .lead { margin-top: 18px; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* enter on view: content is visible without JS; the script adds .js-motion first (used on headings and the close only) */
.js-motion [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: var(--d, 0ms); }
.js-motion [data-reveal].is-in { opacity: 1; transform: none; }

/* ------------------------------------------------------------------ home hero (the approved comp) */
.hero { position: relative; isolation: isolate; min-height: max(100svh, 760px); display: flex; flex-direction: column; padding-top: var(--nav-h); overflow: hidden; }
.hero::after, .shero::after { content: ""; position: absolute; inset: auto 0 0; height: 160px; background: linear-gradient(to bottom, transparent, var(--bg)); z-index: -1; pointer-events: none; }
.hero__grid { flex: 1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: 40px; }
.hero__copy { position: relative; z-index: 2; padding-block: 32px; }
.hero h1 { font-size: clamp(46px, 5.6vw, 94px); line-height: .96; letter-spacing: -.048em; font-weight: 600; margin: 22px 0 26px; text-wrap: balance; }
.hero h1 em { font-style: normal; background: linear-gradient(95deg, #58b9da 0%, #9be7ff 45%, #8c7bff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }   /* the same gradient as the Mission titles (.iv__h em) */

.stage { position: relative; height: min(58vh, 560px); perspective: 1600px; }
.shot { position: absolute; margin: 0; border-radius: var(--r-shot); overflow: hidden; background: #000; box-shadow: var(--glow);
  transform: translate3d(calc(var(--px, 0) * 14px), calc(var(--py, 0) * 10px), 0) rotateY(calc(-16deg + var(--px, 0) * 4deg)) rotateX(calc(7deg - var(--py, 0) * 3deg));
  transform-style: preserve-3d; }
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot__tag { position: absolute; left: 14px; bottom: 12px; font: 500 12px/1 var(--font-mono); letter-spacing: .05em; text-transform: uppercase; color: #fff; background: rgba(0,0,0,.6); padding: 7px 9px; border-radius: 6px; }
.shot--a { width: 66%; aspect-ratio: 16 / 10; right: 2%; top: 4%; }
.shot--b { width: 58%; aspect-ratio: 16 / 10; right: 26%; top: 34%; z-index: 2; }
.shot--c { width: 40%; aspect-ratio: 4 / 3; right: -4%; top: 56%; z-index: 3; }
.js-motion [data-enter] .shot { animation: rise 1100ms var(--ease-out) both; }
.js-motion [data-enter] .shot--a { animation-delay: 120ms; } .js-motion [data-enter] .shot--b { animation-delay: 220ms; } .js-motion [data-enter] .shot--c { animation-delay: 320ms; }
@keyframes rise { from { opacity: 0; translate: 0 70px; } to { opacity: 1; translate: 0 0; } }
.js-motion [data-enter] .enter > * { animation: copy 800ms var(--ease-out) both; }
.js-motion [data-enter] .enter > :nth-child(2) { animation-delay: 60ms; } .js-motion [data-enter] .enter > :nth-child(3) { animation-delay: 120ms; }
.js-motion [data-enter] .enter > :nth-child(4) { animation-delay: 180ms; } .js-motion [data-enter] .enter > :nth-child(5) { animation-delay: 230ms; }
.js-motion [data-enter] .enter > :nth-child(n+6) { animation-delay: 270ms; }
@keyframes copy { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }

.proof { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.proof > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: 22px 16px 30px 0; }
.proof dd { font-size: clamp(30px, 3vw, 46px); font-weight: 500; letter-spacing: -.03em; line-height: 1; margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.proof dd small { font-size: max(14px, .55em); color: var(--muted); margin-left: 2px; }
.proof--sm dd { font-size: clamp(24px, 2.2vw, 34px); }

@media (max-width: 899px) {
  .hero__grid { grid-template-columns: 1fr; gap: 0; }
  .hero__copy { padding: 36px 0 8px; }
  .stage { height: 340px; margin: 8px -8px 0; }
  .shot--a { width: 78%; right: -6%; top: 2%; }
  .shot--b { width: 74%; right: 22%; top: 30%; }
  .shot--c { width: 46%; right: -2%; top: 58%; }
  .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 380px) { .hero h1 { font-size: 42px; } }
@media (max-width: 899px) { .hero .proof dt, .shero .proof dt { color: var(--ink-2); } }

/* ------------------------------------------------------------------ home hero: the showroom (24/11/2026)
   From the trial «Vetrina», chosen by Vittorio "un po' più opacizzato e più lento", hero only. Muted: the coloured light
   at about half the trial's strength and less saturated, the names in outline barely there, the side phones dimmed, a
   thin matte veil on the screens. Slow: an app every 9 s, its screens every 4 s, crossfades over a second and more. */
@property --c { syntax: "<color>"; inherits: true; initial-value: #58b9da; }

/* the iPhone, drawn in CSS: used by the home hero and the trials of /prove/home-…/. Since 25/11/2026 an iPhone 18 Pro, measured on
   the iOS simulator's: body 71.9 × 150 mm (the 6.3" Pro), screen 402 × 874 points inside an even 3.66% edge, screen corners
   15.6% of its width, the narrower Dynamic Island (94.7 × 36.7 points, 14 from the top), the Camera Control on the right. */
.iph { --w: 280px; position: relative; width: var(--w); aspect-ratio: 719 / 1500; margin: 0; flex: none; container-type: inline-size; }
.iph__body { position: absolute; inset: 0; border-radius: 18.1cqw; background: var(--iph-band);
  box-shadow: inset 0 0 0 .32cqw rgba(255, 255, 255, .3), inset 0 0 1.4cqw rgba(0, 0, 0, .55),
    0 3cqw 7cqw -2cqw rgba(0, 0, 0, .55), 0 16cqw 30cqw -12cqw rgba(0, 0, 0, .9); }
.iph__body::before { content: ""; position: absolute; inset: 1cqw; border-radius: 17.1cqw; background: #040405;
  box-shadow: inset 0 0 0 .22cqw rgba(255, 255, 255, .07); }
.iph__screen { position: absolute; inset: 3.66cqw; border-radius: 14.45cqw; overflow: hidden; background: #000; isolation: isolate; transform: translateZ(0); }
.iph__shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
/* Safari on iPhone stops clipping a rounded screen once a <video> is inside it (overflow hidden is not enough, and the
   glare and the video poke out square): a mask on the screen makes it clip everything again. Only screens with a video. */
.iph__screen:has(> video) { -webkit-mask-image: -webkit-radial-gradient(white, black); mask-image: radial-gradient(white, black); }
.iph__screen > video { border-radius: inherit; }
.iph__screen[data-slides] > .iph__shot, [data-slides] > .iph__shot { opacity: 0; transform: scale(1.04); transition: opacity 700ms var(--ease-out), transform 1100ms var(--ease-out); }
.iph__screen[data-slides] > .iph__shot.is-on, [data-slides] > .iph__shot.is-on { opacity: 1; transform: none; }
.iph__island { position: absolute; z-index: 5; top: 3.23cqw; left: 50%; width: 21.8cqw; height: 8.45cqw; transform: translateX(-50%); border-radius: 99px; background: #000;
  box-shadow: inset 0 0 0 .2cqw rgba(255, 255, 255, .04); }
.iph__glare { position: absolute; inset: 0; z-index: 6; pointer-events: none; mix-blend-mode: screen;
  background: linear-gradient(calc(112deg + var(--gx, 0) * 24deg), rgba(255, 255, 255, .17) 0%, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0) 72%, rgba(255, 255, 255, .06) 100%); }
.iph__btn { position: absolute; width: 1.25cqw; border-radius: .7cqw; background: var(--iph-btn); }
.iph__btn--act { left: -.7cqw; top: 17.5%; height: 4.6%; }
.iph__btn--vol { left: -.7cqw; top: 24.5%; height: 15%; background: linear-gradient(var(--iph-btn) 0 44%, transparent 44% 56%, var(--iph-btn) 56%); }
.iph__btn--pow { right: -.7cqw; top: 26%; height: 11%; }
.iph__btn--cam { right: -.42cqw; top: 55%; height: 8%; width: .85cqw; border-radius: .45cqw; background: linear-gradient(90deg, var(--iph-btn), #16171a 70%); }
.iph--titanio { --iph-band: linear-gradient(135deg, #b0aca3, #5e5b55 17%, #dcd8cf 41%, #6b6862 65%, #bdb9b0 87%, #7d7a73); --iph-btn: #8d8981; }
.iph--nero { --iph-band: linear-gradient(135deg, #55575e, #17181b 18%, #62656c 42%, #1c1d20 66%, #484a50 89%, #26272b); --iph-btn: #34363b; }
.iph--argento { --iph-band: linear-gradient(135deg, #f4f5f7, #9ea2a9 18%, #ffffff 42%, #a7abb2 66%, #e8eaed 88%, #b3b6bc); --iph-btn: #c4c7cc; }
.iph--blu { --iph-band: linear-gradient(135deg, #6d7f99, #233041 18%, #8c9fb9 42%, #293546 66%, #6b7d97 89%, #334054); --iph-btn: #45536a; }

.hero--vt { --c: #58b9da; --vh-dur: 9s; transition: --c 1800ms var(--ease-in-out); }
.hero--vt .hero__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.vh__glow { position: absolute; inset: -12% -10% 0; z-index: -1; pointer-events: none; opacity: .5; filter: saturate(.62);
  background: radial-gradient(30% 40% at 71% 46%, color-mix(in srgb, var(--c) 30%, transparent), transparent 72%),
    radial-gradient(30% 12% at 71% 80%, color-mix(in srgb, var(--c) 24%, transparent), transparent 72%);
  animation: vh-breathe 14s ease-in-out infinite alternate; }
@keyframes vh-breathe { from { transform: scale(1); opacity: .42; } to { transform: scale(1.06); opacity: .56; } }
.vh__names { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: clip; }
.vh__names span { position: absolute; left: 0; right: 0; top: 47%; text-align: center; white-space: nowrap; font-size: clamp(110px, 18vw, 320px); font-weight: 700;
  letter-spacing: -.06em; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .05); opacity: 0;
  transform: translate(4%, -50%); transition: opacity 1600ms var(--ease-out), transform 9s linear; }
.vh__names span.is-on { opacity: 1; transform: translate(-4%, -50%); }
.vh__stage { position: relative; display: grid; justify-items: center; align-content: center; gap: 14px; padding-block: 24px 8px; }
.vh__set { position: relative; display: grid; place-items: center; perspective: 1400px; }
.vh__sway { position: relative; z-index: 3; transform-style: preserve-3d; animation: vh-sway 16s ease-in-out infinite alternate; }
@keyframes vh-sway { from { transform: rotateY(-5deg); } to { transform: rotateY(5deg); } }
.vh__main { --w: min(272px, 26vh); transform: rotateY(calc(var(--ry, 0) * 1deg)) rotateX(calc(var(--rx, 0) * 1deg)); transition: transform 900ms var(--ease-out); }
.vh__main .iph__screen::after, .vh__side .iph__screen::after { content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none; background: rgba(7, 8, 11, .1); }
.vh__main .iph__glare { opacity: .55; }
.vh__layer { position: absolute; inset: 0; opacity: 0; transition: opacity 1400ms var(--ease-out); }
.vh__layer.is-on { opacity: 1; }
.vh__layer > .iph__shot { opacity: 0; transform: scale(1.03); transition: opacity 1300ms var(--ease-out), transform 2200ms var(--ease-out); }
.vh__layer > .iph__shot.is-on { opacity: 1; transform: none; }
.vh__side { position: absolute; z-index: 2; --w: min(186px, 18vh); opacity: 0; filter: brightness(.6) saturate(.7);
  transition: opacity 1600ms var(--ease-out), transform 2000ms var(--ease-out); }
.vh__side--l { transform: translate(-96%, 12%) rotate(-12deg) scale(.86); }
.vh__side--r { transform: translate(96%, 12%) rotate(12deg) scale(.86); }
.vh__side--l.is-on { opacity: .72; transform: translate(-80%, 7%) rotate(-7deg) scale(.9); animation: vh-bob 10s ease-in-out infinite; }
.vh__side--r.is-on { opacity: .72; transform: translate(80%, 9%) rotate(7deg) scale(.9); animation: vh-bob 10s ease-in-out -5s infinite; }
@keyframes vh-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.vh__floor { position: absolute; left: 50%; bottom: -14px; width: 76%; height: 34px; transform: translateX(-50%); border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--c) 28%, transparent), transparent); filter: blur(10px) saturate(.6); opacity: .8; }
.vh__now { display: grid; justify-items: center; min-height: 52px; margin-top: 10px; }
.vh__cap { grid-area: 1 / 1; display: grid; justify-items: center; gap: 2px; text-align: center; opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity 900ms var(--ease-out), transform 1100ms var(--ease-out), visibility 0s 900ms; }
.vh__cap.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: 300ms, 300ms, 0s; }
.vh__cap a { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; color: var(--ink); font-size: 18px; font-weight: 500; letter-spacing: -.01em; text-decoration: none; }
.vh__arrow { color: var(--c); transition: transform 300ms var(--ease-out); }
.vh__dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px; }
.vh__dot { position: relative; min-height: 40px; padding: 0 10px; border: 0; background: none; color: var(--muted); font-size: 11px; cursor: pointer; transition: color 400ms; }
.vh__dot::before, .vh__dot::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 6px; height: 2px; border-radius: 2px; }
.vh__dot::before { background: currentColor; opacity: .25; }
.vh__dot::after { background: var(--c); transform: scaleX(0); transform-origin: left; }
.vh__dot.is-on { color: var(--ink-2); }
.vh__dot.is-on::after { transform: scaleX(1); }
.js-motion .hero--vt.is-auto .vh__dot.is-on::after { transform: scaleX(0); animation: vh-prog var(--vh-dur) linear forwards; }
.hero--vt.is-held .vh__dot.is-on::after, .is-still .hero--vt .vh__dot.is-on::after { animation-play-state: paused; }
@keyframes vh-prog { to { transform: scaleX(1); } }
@media (hover: hover) and (pointer: fine) {
  .vh__cap a:hover .vh__arrow { transform: translateX(3px); }
  .vh__dot:hover { color: var(--ink); }
}
.is-still .vh__glow, .is-still .vh__sway, .is-still .vh__side { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .vh__glow, .vh__sway, .vh__side--l.is-on, .vh__side--r.is-on { animation: none; }
  .vh__names span, .vh__names span.is-on { transition: opacity 600ms; transform: translate(0, -50%); }
}
@media (max-width: 899px) {
  .hero--vt .hero__grid { grid-template-columns: 1fr; }
  .vh__stage { padding-block: 8px 16px; }
  .vh__main { --w: min(210px, 52vw); }
  .vh__side { --w: min(140px, 34vw); }
  .vh__names span { top: 64%; font-size: 30vw; }
  .vh__dots { gap: 0; }
  .vh__dot { padding: 0 7px; font-size: 10px; }
}

/* ------------------------------------------------------------------ stage hero of the inner pages */
.shero { position: relative; isolation: isolate; padding-top: var(--nav-h); overflow: hidden; }
.shero__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); align-items: center; gap: 40px; min-height: min(calc(100svh - var(--nav-h)), 820px); padding-block: 48px 40px; }
.shero__grid--57 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.shero__copy { position: relative; z-index: 2; }
.shero__copy .h1, .shero__copy .h1--stage { margin-bottom: 22px; }
.shero__sub { margin: -6px 0 22px; }
.shero__foot { padding-bottom: 8px; }
.shero--short .shero__grid { min-height: 0; padding-block: clamp(56px, 8vw, 110px) clamp(40px, 5vw, 64px); grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); align-items: end; }
.shero--center { text-align: center; }
.stage--svc { height: min(60vh, 580px); }
.stage--svc .shot--a { width: 72%; right: 0; top: 2%; }
.stage--svc .shot--b { width: 60%; right: 30%; top: 36%; }
.stage--svc .shot--c { width: 38%; right: -2%; top: 58%; aspect-ratio: 3 / 4; }
/* a live UI on the stage (cloud and deploy) */
.stage--ui { height: auto; min-height: 420px; display: grid; place-items: center; }
.uipanel { position: relative; width: min(100%, 640px); border-radius: var(--r-card); padding: clamp(18px, 2.4vw, 32px); background: var(--surface); box-shadow: var(--glow);
  transform: translate3d(calc(var(--px, 0) * 10px), calc(var(--py, 0) * 8px), 0) rotateY(calc(-9deg + var(--px, 0) * 3deg)) rotateX(calc(5deg - var(--py, 0) * 2deg));
  --fx-bg: #0c0e14; --fx-surface: #151822; --fx-ink: #eef0f4; --fx-muted: #8d93a3; --fx-accent: #58b9da; --fx-accent-ink: #04131b;
  --ui-font: var(--font-text); --ui-mono: var(--font-mono); --ui-radius: 12px; }
.uipanel .ui-pipe { width: 100%; }
.js-motion [data-enter] .uipanel { animation: rise 1100ms var(--ease-out) 160ms both; }
@media (max-width: 899px) {
  .shero__grid, .shero__grid--57 { grid-template-columns: 1fr; min-height: 0; gap: 12px; padding-block: 40px 32px; }
  .stage--svc { height: 330px; margin: 8px -8px 0; }
  .stage--svc .shot--a { width: 80%; right: -6%; }
  .stage--svc .shot--b { width: 70%; right: 24%; top: 34%; }
  .stage--svc .shot--c { width: 36%; right: 0; top: 50%; }
  .shero--short .shero__grid { grid-template-columns: 1fr; align-items: start; }
  .stage--ui { min-height: 0; margin-top: 12px; }
  .uipanel { transform: none; padding: 14px; }
}

/* a lamp for the reading pages: one soft pool of light at the top, no WebGL */
.lamp { position: relative; isolation: isolate; }
.lamp::before { content: ""; position: absolute; inset: 0 0 auto; height: min(760px, 120%); z-index: -1; pointer-events: none;
  background: radial-gradient(60% 70% at 72% 0%, rgba(88, 185, 218, .10), transparent 70%), radial-gradient(40% 50% at 70% 0%, rgba(238, 240, 244, .06), transparent 70%); }

/* ------------------------------------------------------------------ chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li, .chip { display: inline-flex; align-items: center; font: 500 12px/1 var(--font-mono); letter-spacing: .05em; text-transform: uppercase; padding: 9px 11px; border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink-2); text-decoration: none; }
.chips li:has(> a.chip) { padding: 0; box-shadow: none; }
/* a linked chip keeps its 36px pill but a 44px target: the ring is drawn 4px inside the link */
a.chip { position: relative; min-height: 44px; padding: 0 12px; box-shadow: none; transition: color 200ms var(--ease-out); }
a.chip::before { content: ""; position: absolute; inset: 4px 0; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow 200ms var(--ease-out); }
a.chip[aria-current] { color: #fff; }
a.chip[aria-current]::before { box-shadow: inset 0 0 0 1px var(--accent); }
a.chip small { color: var(--muted); font-size: 11px; margin-left: 6px; letter-spacing: .04em; }
@media (hover: hover) and (pointer: fine) { a.chip:hover { color: #fff; } a.chip:hover::before { box-shadow: inset 0 0 0 1px rgba(255,255,255,.5); } }
.chips:has(a.chip) { row-gap: 0; }
.chips--links a.chip { padding: 0 16px; font-size: 12px; }
.chips--links a.chip::before { inset: 0; }
.chips--links { row-gap: 8px !important; }

/* ------------------------------------------------------------------ projects: the pinned row (home) */
.hs { position: relative; --hs-gap: 28px; padding-bottom: clamp(48px, 7vw, 96px); }
.hs .section-head { padding-top: 40px; }
/* 02/12/2026: no longer pinned; the row moves by itself and with the page's scroll (site.js), the page never stops */
.hs__sticky { position: relative; overflow: hidden; }
.hs__track { display: flex; gap: var(--hs-gap); will-change: transform; padding-left: max(var(--gutter), calc((100vw - var(--maxw)) / 2)); padding-right: var(--gutter);
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--maxw)) / 2)) var(--gutter); touch-action: pan-y; cursor: grab; }
.hs__track.is-drag { cursor: grabbing; }
.hs__track img { -webkit-user-drag: none; user-select: none; }
.hs__bar { height: 2px; background: var(--line); margin-top: 36px; position: relative; overflow: hidden; }
.hs__bar::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(var(--k, 0)); }
.hs .work { flex: 0 0 min(58vw, 880px); }
/* the arrows by the counter (02/12/2026) */
.hs__nav { display: flex; gap: 8px; }
.hs__btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--ink);
  cursor: pointer; transition: background-color 200ms var(--ease-out), border-color 200ms var(--ease-out); }
.hs__btn svg { width: 16px; height: 16px; }
.hs__btn:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .3); }
.hs__btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
/* the stronger drift of the gallery's pictures (data-park 0.12): more picture around the frame, so the edge never shows */
.js-motion .hs [data-par] .work__pic { scale: 1.3; }
@media (max-width: 899px) {
  .hs .work { flex-basis: 84vw; }
  .hs__bar { display: none; }
}
/* by hand («Ferma tutte le animazioni», reduced motion): a row to scroll, the copy of the loop out */
.hs.is-static .hs__track { overflow-x: auto; transform: none !important; scroll-snap-type: x mandatory; padding-bottom: 12px; cursor: auto; touch-action: auto; scrollbar-width: none; }
.hs.is-static .hs__track::-webkit-scrollbar { display: none; }
.hs.is-static .hs__track > * { scroll-snap-align: start; }
.hs.is-static .is-clone { display: none; }
.hs.is-static .hs__bar { display: none; }

/* ------------------------------------------------------------------ the work card (one card for every project) */
.work { position: relative; display: block; text-decoration: none; }
.work__img { position: relative; border-radius: var(--r-img); overflow: hidden; aspect-ratio: 16 / 10; background: var(--surface); box-shadow: 0 0 0 1px var(--line);
  transition: transform 300ms var(--ease-out); isolation: isolate; }
.work__img::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 300ms var(--ease-out);
  box-shadow: inset 0 0 0 1px rgba(88,185,218,.55), inset 0 -80px 120px -60px rgba(88,185,218,.25); }
.work__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .work:hover .work__img { transform: translateY(-2px); }
  .work:hover .work__img img { transform: scale(1.03); }
  .work:hover .work__img::after { opacity: 1; }
}
.work__meta { display: flex; justify-content: space-between; gap: 24px; padding-top: 18px; }
.work h3 { font-size: 24px; font-weight: 500; letter-spacing: -.02em; line-height: 1.2; }
.work p { color: var(--muted); font-size: 15px; max-width: 34em; margin-top: 4px; }
.work .mono { white-space: nowrap; padding-top: 6px; }
.work--lg h3 { font-size: clamp(26px, 2.4vw, 34px); letter-spacing: -.03em; }
.work--lg p { font-size: 16px; color: var(--soft-2); }
@media (max-width: 899px) { .work__meta { flex-direction: column; gap: 6px; } .work .mono { white-space: normal; } }

.grid-work { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(40px, 4vw, 56px) clamp(20px, 2vw, 28px); }
.grid-work > * { grid-column: span 2; }
.grid-work > .is-half { grid-column: span 3; }
.grid-work .work h3 { font-size: 21px; }
.grid-work .work__meta { flex-direction: column; gap: 4px; }
.grid-work .work .mono { white-space: normal; padding-top: 0; order: -1; }
@media (max-width: 1099px) { .grid-work > *, .grid-work > .is-half { grid-column: span 3; } }
@media (max-width: 639px) { .grid-work { grid-template-columns: 1fr; } .grid-work > *, .grid-work > .is-half { grid-column: auto; } }

/* the newest project, large on a lit panel */
.lead-work { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(28px, 4vw, 56px); align-items: end; text-decoration: none; perspective: 1600px; }
.lead-work__img { border-radius: var(--r-card); overflow: hidden; box-shadow: var(--glow); background: #000;
  transform: translate3d(calc(var(--px, 0) * 8px), calc(var(--py, 0) * 6px), 0) rotateY(calc(var(--px, 0) * 2.5deg)) rotateX(calc(var(--py, 0) * -2deg)); }
.lead-work__img img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 600ms var(--ease-out); }
.lead-work__txt { padding-bottom: 8px; }
.lead-work__txt .h3 { margin: 14px 0 12px; font-size: clamp(30px, 3vw, 44px); letter-spacing: -.035em; font-weight: 600; }
.lead-work__txt p { color: var(--soft); }
.lead-work__txt .go { margin-top: 18px; }
@media (hover: hover) and (pointer: fine) { .lead-work:hover .lead-work__img img { transform: scale(1.02); } .lead-work:hover .go span::after { transform: scaleX(1); } .lead-work:hover .go svg { transform: translateX(3px); } }
@media (max-width: 899px) { .lead-work { grid-template-columns: 1fr; } .lead-work__img { transform: none; } }

/* ------------------------------------------------------------------ services bento, the light follows the pointer */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.svc { position: relative; grid-column: span 6; border-radius: var(--r-card); padding: 34px; min-height: 300px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  display: flex; flex-direction: column; text-decoration: none; overflow: hidden; isolation: isolate; }
.bento--4 > .svc:nth-child(1) { grid-column: span 7; } .bento--4 > .svc:nth-child(2) { grid-column: span 5; }
.bento--4 > .svc:nth-child(3) { grid-column: span 5; } .bento--4 > .svc:nth-child(4) { grid-column: span 7; }
.bento--3 > .svc { grid-column: span 4; }
/* the six services on the home (30/11/2026): compact, two rows of three («rendere più piccolo l'ingombro»); app mobile and
   gestionali open the first row */
.bento--6 { gap: 12px; }
.bento--6 > .svc { grid-column: span 4; min-height: 0; padding: 24px 24px 22px; }
.bento--6 .svc h3 { margin-top: 0; padding-top: 0; font-size: clamp(21px, 1.7vw, 26px); }
.bento--6 .svc .svc__tag { margin-top: 6px; }
.bento--6 .svc p { font-size: 15px; line-height: 1.5; margin-top: 8px; }
.bento--6 .svc ul:not(.ticks) { margin-top: auto; padding-top: 16px; gap: 6px; }
.bento--6 .svc ul:not(.ticks) li { padding: 7px 9px; font-size: 11px; }
@media (max-width: 1100px) { .bento--6 > .svc { grid-column: span 6; } }
@media (max-width: 899px) { .bento--6 > .svc { min-height: 0 !important; padding: 22px; } }
.bento--2 > .svc { grid-column: span 6; }
.svc::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 300ms var(--ease-out);
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(88,185,218,.18), transparent 60%); }
@media (hover: hover) and (pointer: fine) { .bento:hover .svc::before { opacity: 1; } }
.svc h3 { font-size: clamp(26px, 2.4vw, 36px); font-weight: 500; letter-spacing: -.03em; line-height: 1.1; margin-top: auto; padding-top: 28px; }
.svc p { color: var(--soft-2); max-width: 30em; margin-top: 10px; }
.svc ul:not(.ticks) { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.svc ul:not(.ticks) li { display: inline-flex; align-items: center; gap: 8px; font: 500 12px/1 var(--font-mono); letter-spacing: .05em; text-transform: uppercase; padding: 9px 11px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink-2); }
.svc .num { display: flex; justify-content: space-between; gap: 16px; }
.svc--text h3 { margin-top: 0; padding-top: 22px; }
.svc--text { min-height: 0; }
.svc .go { margin-top: auto; padding-top: 18px; }
a.svc .go { pointer-events: none; }
@media (hover: hover) and (pointer: fine) { a.svc:hover .go span::after { transform: scaleX(1); } a.svc:hover .go svg { transform: translateX(3px); } }
.ticks { display: grid; gap: 10px; margin-top: 22px; }
.ticks li { position: relative; padding-left: 26px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 8px; border-left: 1.6px solid var(--accent); border-bottom: 1.6px solid var(--accent); transform: translateY(-40%) rotate(-45deg); }
@media (max-width: 899px) { .bento > .svc { grid-column: 1 / -1 !important; min-height: 240px; padding: 26px; } .svc--text { min-height: 0; } }

/* ------------------------------------------------------------------ numbered rows (a real sequence) */
.rows { border-bottom: 1px solid var(--line); counter-reset: row; }
.row { display: grid; grid-template-columns: 88px minmax(0, 5fr) minmax(0, 7fr); gap: 24px; padding: 30px 0 32px; border-top: 1px solid var(--line); align-items: baseline; }
.row__n { font: 400 14px/1 var(--font-mono); letter-spacing: .04em; color: var(--accent); }
.row__t { font-size: clamp(22px, 2vw, 28px); font-weight: 500; letter-spacing: -.025em; line-height: 1.15; }
.row__d { color: var(--soft); max-width: 40em; }
.rows--tight .row { padding: 22px 0 24px; }
@media (max-width: 767px) { .row { grid-template-columns: 1fr; gap: 10px; padding: 24px 0 26px; } }

/* a split: heading and words on the left, the content on the right */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.split__side { position: sticky; top: calc(var(--nav-h) + 32px); }
.split__side .lead, .split__side .body { margin-top: 18px; }
.split__side .cta, .split__side .go { margin-top: 26px; }
@media (max-width: 899px) { .split { grid-template-columns: 1fr; } .split__side { position: static; } }

/* tiers (the MVP's own price bands) */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tier { position: relative; border-radius: var(--r-card); padding: 30px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 14px; }
.tier--on { box-shadow: inset 0 0 0 1px rgba(88,185,218,.55); }
.tier__price { font-size: clamp(32px, 3vw, 44px); font-weight: 500; letter-spacing: -.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.tier h3 { font-size: 22px; font-weight: 500; letter-spacing: -.02em; }
@media (max-width: 899px) { .tiers { grid-template-columns: 1fr; } }

/* a long read inside a page: the heading stays beside the words */
.dossier { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 96px); }
.dossier__head { position: sticky; top: calc(var(--nav-h) + 32px); align-self: start; }
@media (max-width: 899px) { .dossier { grid-template-columns: 1fr; } .dossier__head { position: static; } }

/* ------------------------------------------------------------------ reading */
.prose { max-width: 36em; font-size: 18px; line-height: 1.72; color: #d3d6de; }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { font-size: clamp(26px, 2.4vw, 34px); line-height: 1.15; letter-spacing: -.03em; font-weight: 600; color: var(--ink); margin-top: 2.1em; text-wrap: balance; }
.prose h3 { font-size: 22px; line-height: 1.25; letter-spacing: -.02em; font-weight: 500; color: var(--ink); margin-top: 1.8em; }
.prose h4 { font-size: 13px; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 400; margin-top: 2em; }
.prose h2 + *, .prose h3 + *, .prose h4 + * { margin-top: .6em; }
.prose > :first-child { margin-top: 0; }
.prose ul:not(.chips):not(.ticks) { display: grid; gap: .5em; padding-left: 0; }
.prose ul:not(.chips):not(.ticks) > li { position: relative; padding-left: 1.4em; }
.prose ul:not(.chips):not(.ticks) > li::before { content: ""; position: absolute; left: 0; top: .82em; width: .7em; height: 1.5px; background: var(--accent); }
.prose a { color: var(--ink); text-decoration-color: var(--accent); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose .lead { font-size: 20px; color: var(--soft); }
.prose--sm { font-size: 17px; line-height: 1.68; }
.prose .chips { margin-top: 1.2em; }
.prose blockquote { border-left: 1px solid var(--accent); padding-left: 20px; color: var(--ink); font-size: 20px; line-height: 1.5; }
.prose figcaption { margin-top: 10px; }

.quote { margin: 0; }
.quote blockquote { font-size: clamp(20px, 1.8vw, 26px); line-height: 1.4; letter-spacing: -.015em; color: var(--ink); text-wrap: pretty; }
.quote figcaption { margin-top: 14px; }

/* facts in a row of mono labels */
.meta { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.meta > div { display: grid; gap: 4px; }
.meta dt { font: 400 12px/1.3 var(--font-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.meta dd { font-size: 16px; color: var(--ink-2); }
.meta dd a { color: var(--ink); text-decoration-color: var(--accent); }

/* ------------------------------------------------------------------ project page */
.cover { position: relative; margin: 0; border-radius: var(--r-card); overflow: hidden; background: #000; box-shadow: var(--glow);
  transform: translate3d(0, 0, 0) rotateY(calc(var(--px, 0) * 1.6deg)) rotateX(calc(var(--py, 0) * -1.2deg)); }
.cover img { width: 100%; height: auto; }
.cover-stage { perspective: 2000px; }
.js-motion [data-enter] .cover { animation: rise 1100ms var(--ease-out) 140ms both; }
.story { display: grid; gap: clamp(72px, 9vw, 140px); }
.chapter { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.chapter__head { position: sticky; top: calc(var(--nav-h) + 32px); }
.chapter__head .h2 { font-size: clamp(30px, 3.2vw, 48px); letter-spacing: -.035em; }
.chapter__n { margin-bottom: 18px; }
.chapter .prose { max-width: 36em; }
.feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 1.6em !important; }
.feat { border-radius: 16px; padding: 20px 22px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.feat h3 { font-size: 18px !important; margin: 0 0 6px !important; font-weight: 500; letter-spacing: -.015em; }
.feat p { font-size: 15px; line-height: 1.5; color: var(--soft-2); margin: 0; }
.feat .chip { margin-bottom: 10px; }
.gal { margin: 0 auto; width: 100%; border-radius: var(--r-card); overflow: hidden; box-shadow: var(--glow); background: var(--surface); padding: clamp(10px, 1.6vw, 24px); }
.gal img { width: 100%; height: auto; border-radius: 10px; }
.gal-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.gal--tall { max-width: 520px; margin-inline: auto; }
@media (max-width: 899px) { .chapter { grid-template-columns: 1fr; } .chapter__head { position: static; } .feats { grid-template-columns: 1fr; } .gal-pair { grid-template-columns: 1fr; } }

/* previous and next as big cards */
.pn { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pn__card { position: relative; display: grid; grid-template-rows: auto 1fr; border-radius: var(--r-card); overflow: hidden; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; isolation: isolate; }
.pn__img { aspect-ratio: 16 / 9; overflow: hidden; }
.pn__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
.pn__txt { display: flex; flex-direction: column; gap: 10px; padding: 24px 28px 28px; }
.pn__txt strong { font-size: clamp(22px, 2.2vw, 32px); font-weight: 500; letter-spacing: -.028em; line-height: 1.15; }
.pn__card--next .pn__txt { align-items: flex-end; text-align: right; }
.pn__card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(88,185,218,.55); opacity: 0; transition: opacity 300ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .pn__card:hover .pn__img img { transform: scale(1.03); } .pn__card:hover::after { opacity: 1; } }
@media (max-width: 767px) { .pn { grid-template-columns: 1fr; } .pn__card--next .pn__txt { align-items: flex-start; text-align: left; } }

/* ------------------------------------------------------------------ blog */
.feature { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 56px); align-items: center; position: relative; }
.feature__img { border-radius: var(--r-card); overflow: hidden; box-shadow: var(--glow); background: #000; aspect-ratio: 1200 / 680; }
.feature__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
.feature__txt h2, .feature__txt h3 { font-size: clamp(28px, 2.8vw, 42px); line-height: 1.08; letter-spacing: -.034em; font-weight: 600; margin: 14px 0 14px; text-wrap: balance; }
.feature__txt h2 a, .feature__txt h3 a { text-decoration: none; }
.feature__txt h2 a::after, .feature__txt h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.feature__txt p.small { color: var(--soft); font-size: 16px; }
.feature__txt .chips { margin-top: 18px; position: relative; z-index: 2; }
.feature__txt .go { margin-top: 10px; }
@media (hover: hover) and (pointer: fine) { .feature:hover .feature__img img { transform: scale(1.02); } .feature:hover .go span::after { transform: scaleX(1); } .feature:hover .go svg { transform: translateX(3px); } }
@media (max-width: 899px) { .feature { grid-template-columns: 1fr; } }

.prows { border-bottom: 1px solid var(--line); }
.prow { position: relative; display: grid; grid-template-columns: 220px minmax(0, 1fr) auto; gap: clamp(20px, 3vw, 40px); padding: 26px 0; border-top: 1px solid var(--line); align-items: center; }
.prow__img { border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.prow__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
.prow h3 { font-size: clamp(20px, 1.8vw, 26px); line-height: 1.2; letter-spacing: -.022em; font-weight: 500; margin: 8px 0 6px; text-wrap: balance; }
.prow h3 a { text-decoration: none; }
.prow h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.prow p.small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; max-width: 62ch; }
.prow .chips { position: relative; z-index: 2; justify-content: flex-end; max-width: 260px; }
.prow::after { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 300ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .prow:hover .prow__img img { transform: scale(1.03); } .prow:hover::after { transform: scaleX(1); } .prow:hover h3 { color: #fff; } }
@media (max-width: 899px) { .prow { grid-template-columns: 140px minmax(0, 1fr); align-items: start; } .prow .chips { grid-column: 2; justify-content: flex-start; max-width: none; } }
@media (max-width: 559px) { .prow { grid-template-columns: 1fr; } .prow .chips { grid-column: auto; } .prow__img { aspect-ratio: 16 / 9; } }

.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2vw, 28px); }
.pcard { position: relative; display: flex; flex-direction: column; gap: 12px; text-decoration: none; }
.pcard__img { border-radius: var(--r-img); overflow: hidden; aspect-ratio: 16 / 10; background: var(--surface); box-shadow: 0 0 0 1px var(--line); transition: transform 300ms var(--ease-out); }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
.pcard strong { font-size: 20px; font-weight: 500; letter-spacing: -.02em; line-height: 1.25; text-wrap: balance; }
@media (hover: hover) and (pointer: fine) { .pcard:hover .pcard__img { transform: translateY(-2px); } .pcard:hover .pcard__img img { transform: scale(1.03); } }
@media (max-width: 899px) { .cards3 { grid-template-columns: 1fr; } .cards3--keep { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 559px) { .cards3--keep { grid-template-columns: 1fr; } }

.pager { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 56px; }
.pager a, .pager span { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; min-height: 48px; padding: 0 16px; border-radius: 999px;
  font: 500 14px/1 var(--font-mono); letter-spacing: .04em; text-decoration: none; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink-2);
  transition: box-shadow 200ms var(--ease-out), color 200ms var(--ease-out), transform 160ms var(--ease-out); }
.pager a:active { transform: scale(.97); }
.pager [aria-current] { background: var(--ink); color: #07080b; box-shadow: none; }
.pager .pager__count { box-shadow: none; color: var(--muted); padding: 0 6px; text-transform: uppercase; }
@media (hover: hover) and (pointer: fine) { .pager a:hover { box-shadow: inset 0 0 0 1px rgba(255,255,255,.55); color: #fff; } }

.empty { border-radius: var(--r-card); padding: clamp(28px, 4vw, 56px); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 16px; justify-items: start; }
.empty .h3 { max-width: 22ch; }

/* article */
.article-head { max-width: 1040px; }
.article-head .h1--read { margin: 0 0 22px; }
.article-head .lead { max-width: 40em; }
.article-head .meta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 26px; }
.article-cover { margin: clamp(40px, 5vw, 64px) 0 0; border-radius: var(--r-card); overflow: hidden; box-shadow: var(--glow); background: #000; max-width: 1040px; }
.article-cover img { width: 100%; height: auto; }
.article { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.toc { position: sticky; top: calc(var(--nav-h) + 32px); }
.toc .mono { margin-bottom: 12px; }
.toc ol { display: grid; gap: 2px; border-left: 1px solid var(--line); }
.toc a { display: flex; align-items: center; min-height: 44px; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 1px solid transparent; font-size: 15px; line-height: 1.35; color: var(--muted); text-decoration: none;
  transition: color 160ms var(--ease-out), border-color 160ms var(--ease-out); }
.toc a[aria-current="true"] { color: var(--ink); border-left-color: var(--accent); }
@media (hover: hover) and (pointer: fine) { .toc a:hover { color: var(--ink); } }
.toc-m { display: none; }
.article__tags { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
@media (max-width: 1099px) {
  .article { grid-template-columns: 1fr; }
  .toc { display: none; }
  .toc-m { display: block; border-radius: 16px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 36px; }
  .toc-m summary { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 18px; cursor: pointer; list-style: none; }
  .toc-m summary::-webkit-details-marker { display: none; }
  .toc-m summary svg { width: 12px; height: 12px; transition: transform 200ms var(--ease-out); }
  .toc-m[open] summary svg { transform: rotate(180deg); }
  .toc-m ol { padding: 0 18px 14px; display: grid; }
  .toc-m a { display: flex; align-items: center; min-height: 44px; color: var(--ink-2); text-decoration: none; border-top: 1px solid var(--line); font-size: 15px; }
}

/* ------------------------------------------------------------------ about */
.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2vw, 28px); }
.person__img { border-radius: var(--r-img); overflow: hidden; aspect-ratio: 1; background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.person__img img { width: 100%; height: 100%; object-fit: cover; }
.person h3 { font-size: 20px; font-weight: 500; letter-spacing: -.02em; margin-top: 16px; }
.person .mono { margin-top: 6px; font-size: 12px; }
@media (max-width: 899px) { .team { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.offices { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 4fr) minmax(0, 4fr); gap: 16px; align-items: stretch; }
.office { border-radius: var(--r-card); padding: 30px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 12px; }
.office h3 { font-size: clamp(26px, 2.4vw, 36px); font-weight: 500; letter-spacing: -.03em; }
.office address { color: var(--soft); font-size: 18px; }
.office .go { margin-top: auto; }
.office-photo { border-radius: var(--r-card); overflow: hidden; box-shadow: var(--glow); }
.office-photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
@media (max-width: 899px) { .offices { grid-template-columns: 1fr; } .office-photo img { aspect-ratio: 4 / 3; } }
.logos { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.logos li { display: grid; place-items: center; aspect-ratio: 3 / 2; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 8px; }
.logos img { width: 100%; max-width: 200px; height: auto; filter: brightness(0) invert(1); opacity: .7; }
@media (max-width: 899px) { .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 479px) { .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ------------------------------------------------------------------ built websites */
.sites { border-bottom: 1px solid var(--line); }
.site { position: relative; display: grid; grid-template-columns: 72px minmax(0, 5fr) minmax(0, 6fr); gap: 24px clamp(24px, 3vw, 48px); padding: clamp(36px, 4vw, 56px) 0; border-top: 1px solid var(--line); }
.site::after { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 300ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .site:hover::after { transform: scaleX(1); } }
.site__n { padding-top: 10px; color: var(--accent); }
.site__name { font-size: clamp(30px, 3.4vw, 52px); line-height: 1; letter-spacing: -.04em; font-weight: 600; text-wrap: balance; }
.site__facts { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin-top: 16px; }
.site__url { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font: 500 14px/1 var(--font-mono); letter-spacing: .03em; color: var(--ink); text-decoration: none; }
.site__url svg { width: 13px; height: 13px; transition: transform 200ms var(--ease-out); }
.site__url span { background: linear-gradient(var(--accent), var(--accent)) 0 100% / 100% 1px no-repeat; padding-bottom: 3px; }
@media (hover: hover) and (pointer: fine) { .site__url:hover svg { transform: translate(2px, -2px); } .site__url:hover { color: var(--accent); } }
.site .prose { font-size: 17px; }
@media (max-width: 899px) { .site { grid-template-columns: 1fr; gap: 14px; } .site__n { padding-top: 0; } }

/* ------------------------------------------------------------------ forms (the one key object: the panel carries the edge glow) */
.formwrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.formpanel { position: relative; isolation: isolate; border-radius: var(--r-card); padding: clamp(24px, 3vw, 40px); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
.field { display: grid; gap: 8px; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label, .field .label { font-size: 15px; font-weight: 500; color: var(--ink-2); }
.field label small { color: var(--muted); font-weight: 400; font-size: 14px; }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 14px 16px; border: 0; border-radius: var(--r-field); background: var(--field); color: var(--ink);
  font-size: 16px; line-height: 1.4; box-shadow: inset 0 0 0 1px var(--line-2); caret-color: var(--accent); transition: box-shadow 160ms var(--ease-out); appearance: none; -webkit-appearance: none; }
.field textarea { min-height: 150px; resize: vertical; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5l3 3 3-3' fill='none' stroke='%238d93a3' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 12px; padding-right: 40px; }
.field ::placeholder { color: #6f7584; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; box-shadow: inset 0 0 0 1px var(--accent), 0 0 0 3px rgba(88,185,218,.22); }
.field [aria-invalid="true"] { box-shadow: inset 0 0 0 1px var(--error); }
.field__err { font-size: 14px; line-height: 1.4; color: var(--error); }
.field__err:empty { display: none; }
.field__hint { font-size: 14px; color: var(--muted); }
.check { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--accent); }
.check label { font-size: 15px; font-weight: 400; color: var(--soft); line-height: 1.5; }
.check label a { color: var(--ink); text-decoration-color: var(--accent); }
.check .field__err { grid-column: 2; }
.form__end { grid-column: 1 / -1; display: grid; gap: 14px; justify-items: start; margin-top: 6px; }
.form__note { font-size: 14px; color: var(--muted); max-width: 46ch; }
.form__status { font-size: 15px; color: var(--ink-2); }
.form__status:empty { display: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form.is-sending button[type="submit"] { opacity: .6; cursor: progress; }
.form.is-sent .form__status { color: var(--ink); font-weight: 600; }
.field input[type="file"] { padding: 10px 12px; font: inherit; font-size: 15px; color: var(--soft); cursor: pointer; }
.field input[type="file"]::file-selector-button { margin-right: 14px; padding: 8px 16px; border: 0; border-radius: 99px; background: var(--ink); color: #07080b; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.form-facts { margin-top: 34px; }
.steps { margin-top: 34px; }
.steps .row { grid-template-columns: 56px minmax(0, 1fr); gap: 8px 16px; padding: 20px 0 22px; }
.steps .row__t { font-size: 20px; }
.steps .row__d { grid-column: 2; font-size: 16px; }
.contacts { display: grid; gap: 2px; margin-top: 30px; }
.contacts a, .contacts p { display: flex; align-items: center; min-height: 44px; gap: 12px; text-decoration: none; color: var(--ink-2); font-size: 16px; }
.contacts .mono { min-width: 84px; }
@media (hover: hover) and (pointer: fine) { .contacts a:hover { color: var(--accent); } }
@media (max-width: 899px) { .formwrap { grid-template-columns: 1fr; } }
@media (max-width: 559px) { .form { grid-template-columns: 1fr; } .form .btn { width: 100%; } }

/* ------------------------------------------------------------------ clients: one slow row */
.clients { border-block: 1px solid var(--line); padding-block: 36px; }
.marquee { overflow: hidden; }
.marquee__track { display: flex; width: max-content; gap: 72px; align-items: center; animation: marquee var(--marquee-dur, 40s) linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee.is-paused .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
/* the logo files carry wide built-in margins (400x266 canvas), so the image box is large to give the marks a readable size */
.clients img { height: 116px; width: auto; filter: brightness(0) invert(1); opacity: .78; }
.clients .marquee__track { gap: 16px; }
@media (max-width: 899px) { .clients img { height: 92px; } }
.clients__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; }
.pausebtn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 0; background: transparent; box-shadow: inset 0 0 0 1px var(--line-2);
  font: 500 12px/1 var(--font-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2); cursor: pointer; transition: transform 160ms var(--ease-out); }
.pausebtn:active { transform: scale(.97); }
.pausebtn svg { width: 12px; height: 12px; }

/* ------------------------------------------------------------------ team teaser and sister brands (home) */
.teaser { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.teaser__photo { border-radius: var(--r-card); overflow: hidden; box-shadow: var(--glow); }
.teaser__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 40%; }
.faces { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 34px; }
.faces li { display: grid; gap: 8px; }
.faces img { border-radius: 12px; aspect-ratio: 1; object-fit: cover; width: 100%; box-shadow: 0 0 0 1px var(--line); }
.faces span { font-size: 14px; color: var(--ink-2); line-height: 1.3; }
@media (max-width: 899px) { .teaser { grid-template-columns: 1fr; } .teaser__photo img { aspect-ratio: 4 / 3; } }
.brands { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.brand { position: relative; display: flex; flex-direction: column; gap: 14px; min-height: 260px; padding: 34px; border-radius: var(--r-card); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; overflow: hidden; isolation: isolate; }
.brand::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 300ms var(--ease-out); background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(88,185,218,.16), transparent 60%); }
@media (hover: hover) and (pointer: fine) { .brands:hover .brand::before { opacity: 1; } .brand:hover .go span::after { transform: scaleX(1); } .brand:hover .go svg { transform: translate(2px, -2px); } }
.brand strong { font-size: clamp(28px, 2.8vw, 40px); font-weight: 600; letter-spacing: -.035em; line-height: 1; margin-top: auto; }
.brand p { color: var(--soft-2); max-width: 32em; }
.brand .go { pointer-events: none; min-height: 0; }
@media (max-width: 899px) { .brands { grid-template-columns: 1fr; } .brand { min-height: 220px; padding: 26px; } }

/* ------------------------------------------------------------------ close and footer */
.close { padding-block: clamp(110px, 14vw, 200px) clamp(80px, 9vw, 130px); text-align: center; }
.close h2 { font-size: clamp(56px, 11vw, 190px); line-height: .9; letter-spacing: -.06em; font-weight: 600; }
.close h2 span { color: var(--accent); }
.close p { color: var(--soft); margin: 26px auto 34px; max-width: 32em; font-size: 19px; text-wrap: balance; }
.close .cta { justify-content: center; margin-top: 0; }
.foot { border-top: 1px solid var(--line); padding: 56px 0 40px; font-size: 15px; }
.foot__grid { display: grid; grid-template-columns: minmax(0, 4fr) repeat(4, minmax(0, 2fr)); gap: 40px 24px; }
.foot__brand img { height: 30px; width: auto; }
.foot__brand .nav__logo img { height: 40px; }   /* our mark, a bit larger than in the bar (Vittorio, 27/11/2026) */
.foot__brand p { color: var(--soft-2); margin-top: 18px; max-width: 30ch; }
.foot__brand .contacts { margin-top: 14px; }
.foot__col .mono { margin-bottom: 12px; font-size: 12px; }
.foot__col ul { display: grid; }
.foot__col a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-2); text-decoration: none; transition: color 160ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .foot__col a:hover, .foot__legal a:hover { color: var(--accent); } }
/* the bottom row (27/11/2026, Vittorio: «ora vanno a sinistra e lasciano un buco enorme»): who we are on the left, two lines;
   the four legal links on the right, on one line, level with them */
.foot__legal { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px 48px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.foot__id { display: grid; gap: 6px; }
.foot__legal a { text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.foot__legal nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0 24px; }
@media (max-width: 999px) { .foot__legal { grid-template-columns: minmax(0, 1fr); } .foot__legal nav { justify-content: flex-start; } }
@media (max-width: 639px) { .foot__legal nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; } }
@media (max-width: 1099px) { .foot__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .foot__brand { grid-column: 1 / -1; } }
@media (max-width: 639px) { .foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot__col a { min-height: 44px; } .foot__legal a { min-height: 44px; } }

/* ------------------------------------------------------------------ link in bio */
.bio { position: relative; isolation: isolate; min-height: 100svh; display: grid; place-items: start center; padding: clamp(48px, 9vh, 110px) 0 48px; text-align: center; overflow: hidden; }
.bio__in { width: min(100% - 2 * var(--gutter), 480px); display: grid; gap: 14px; justify-items: center; }
.bio__mark { width: 96px; height: 96px; border-radius: 50%; filter: invert(1); box-shadow: 0 0 0 1px rgba(0,0,0,.2); }
.bio h1 { font-size: clamp(34px, 8vw, 44px); line-height: 1; letter-spacing: -.04em; font-weight: 600; margin-top: 12px; }
.bio__tag { font-size: 22px; font-weight: 500; letter-spacing: -.02em; }
.bio__tag span { color: var(--accent); }
.bio__line { color: var(--soft); max-width: 34ch; }
.bio__links { display: grid; gap: 10px; width: 100%; margin-top: 18px; }
.bio__links .btn { width: 100%; min-height: 56px; justify-content: space-between; padding: 0 24px; white-space: normal; text-align: left; line-height: 1.2; }
.bio__social { justify-content: center; margin-top: 22px; }
.bio__site { margin-top: 10px; text-align: center; }
.bio__site a { display: inline-flex; align-items: center; min-height: 44px; }
.bio__legal { margin-top: 26px; }

/* ------------------------------------------------------------------ reduced motion: everything rests, nothing stays hidden */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; transition-delay: 0ms !important; scroll-behavior: auto !important; }
  .js-motion [data-reveal] { opacity: 1; transform: none; transition: none; }
  .work__img, .work__img img, .pcard__img, .pcard__img img, .pn__img img, .prow__img img, .feature__img img, .lead-work__img img, .btn svg, .go svg, .site__url svg,
  .menu .menu__group, .menu .menu__cta, .menu .menu__contacts, .svcp { transform: none !important; }
  .skip { transition: none; }
  .go span::after, .prow::after, .site::after { transition: none; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; gap: 28px 56px; }
  .marquee__track [aria-hidden="true"] { display: none; }
  .pausebtn { display: none; }
}

/* fixes after the first look */
.feats > .feat:last-child:nth-child(odd) { grid-column: 1 / -1; }
.tier__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 30px; }
.row--2 { grid-template-columns: 88px minmax(0, 1fr); padding: 22px 0 24px; }
@media (max-width: 767px) { .row--2 { grid-template-columns: 56px minmax(0, 1fr); } }
.prose .ticks { gap: 8px; margin-top: 12px; font-size: 15px; line-height: 1.5; }
.prose .chips { gap: 8px; }
.lit { position: relative; isolation: isolate; }
.lit > .fx-canvas { -webkit-mask-image: linear-gradient(transparent, #000 22%, #000 78%, transparent); mask-image: linear-gradient(transparent, #000 22%, #000 78%, transparent); }
.check input { appearance: auto; -webkit-appearance: checkbox; min-height: 0; padding: 0; border-radius: 4px; background: none; box-shadow: none; }
.form-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 420px; }
.bio__links .btn--ghost { background: var(--surface); }
.bio__line { color: var(--ink-2); }
.phead { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 48px; align-items: end; }
.h1--proj { font-size: clamp(46px, 6.4vw, 104px); }
.meta-proj { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; margin: 34px 0 clamp(36px, 4vw, 56px); padding-top: 10px; border-top: 1px solid var(--line); }
.meta-proj .mono { display: flex; flex-wrap: wrap; align-items: center; column-gap: 6px; }
.meta-proj__go { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.store-badge { display: inline-flex; min-height: 0; border-radius: 9px; transition: transform 200ms var(--ease-out); }
.store-badge img { display: block; width: auto; height: 40px; }
.store-badge--android { margin: -9px -10px; }   /* Google's badge carries its own clear space around it */
.store-badge--android img { height: 58px; }
@media (hover: hover) { .store-badge:hover { transform: translateY(-1px); } }
.store-badge:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
/* DupliCats: the brand and the interface (build.py duplicats_brand) */
.bk { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(16px, 2vw, 28px); margin-top: clamp(28px, 3vw, 44px); }
.bk figure { margin: 0; }
.bk figcaption { margin-top: 14px; color: var(--ink-2); max-width: 60ch; }
.bk figcaption strong { display: block; margin-bottom: 4px; color: var(--ink); font-weight: 600; }
.bk__icon > img, .bk__props > img { display: block; width: 100%; height: auto; border-radius: var(--r-card); }
.bk__icon > img { aspect-ratio: 1; padding: 14%; background: radial-gradient(70% 70% at 50% 40%, #fff4e0 0%, #f3e2c4 100%); box-shadow: 0 0 0 1px var(--line); }
.bk__props > img { box-shadow: 0 0 0 1px var(--line); }
.bk__brand { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr) auto; align-items: center; gap: 20px 32px;
  padding: clamp(18px, 2vw, 28px); border-radius: var(--r-card); background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.bk__sw { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.bk__sw li { display: grid; gap: 2px; }
.bk__sw span { height: 56px; margin-bottom: 8px; border-radius: 12px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.bk__sw strong { font-weight: 600; font-size: .95rem; }
.bk__sw code { color: var(--muted); font: 400 .8rem var(--font-mono); }
.bk__type { margin: 0; color: var(--ink-2); }
.bk__type strong { color: var(--ink); font-weight: 600; }
.bk__wire { grid-column: 1 / -1; padding: clamp(14px, 2vw, 28px); border-radius: var(--r-card); background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.bk__wire figcaption { max-width: none; }
.bk__legend { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 28px; }
.bk__legend li { display: flex; gap: 12px; align-items: baseline; }
.wf-n { flex: none; display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #ec8f33; color: #1d1209; font: 600 .8rem var(--font-mono); transform: translateY(-1px); }
.wire { display: block; width: 100%; height: auto; }
.wire .wf-frame { fill: #0c0e13; stroke: var(--line-3); stroke-width: 1.5; }
.wire .wf-side { fill: rgba(255, 255, 255, .025); }
.wire .wf-l { fill: none; stroke: var(--line-3); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.wire .wf-dot { fill: none; stroke: var(--line-3); stroke-width: 1.5; }
.wire .wf-f { fill: rgba(255, 255, 255, .2); }
.wire .wf-d { fill: rgba(255, 255, 255, .09); }
.wire .wf-o { fill: #ec8f33; }
.wire .wf-sel { fill: rgba(236, 143, 51, .16); stroke: rgba(236, 143, 51, .5); }
.wire .wf-btn { fill: none; stroke: var(--line-3); stroke-width: 1.5; }
.wire .wf-card { fill: rgba(255, 255, 255, .03); stroke: var(--line-2); stroke-width: 1.5; }
.wire .wf-keep { fill: rgba(76, 195, 138, .06); stroke: #4cc38a; stroke-width: 2; }
.wire .wf-del { fill: rgba(255, 107, 107, .05); stroke: #ff6b6b; stroke-width: 2; }
.wire .wf-g { fill: #4cc38a; }
.wire .wf-rt { fill: #ff6b6b; }
.wire .wf-t { fill: var(--ink-2); font: 500 11px var(--font-mono); }
.wire .wf-t--s { fill: var(--muted); font-size: 10px; letter-spacing: .08em; }
.wire .wf-t--tag, .wire .wf-t--tagr { fill: #0c0e13; font-size: 9px; font-weight: 700; }
.wire .wf-t--link { fill: #58b9da; }
.wire .wf-t--on { fill: #1d1209; font-weight: 700; }
.wire .wf-mark circle { fill: #ec8f33; stroke: #0c0e13; stroke-width: 3; }
.wire .wf-mark text { fill: #1d1209; font: 700 13px var(--font-mono); text-anchor: middle; }
@media (max-width: 899px) { .bk { grid-template-columns: 1fr; } .bk__icon { max-width: 360px; } .bk__brand { grid-template-columns: 1fr; } .bk__legend { grid-template-columns: 1fr; } }
@media (max-width: 559px) { .bk__sw { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 899px) { .phead { grid-template-columns: 1fr; } }
.bio__legal, .bio__legal a { color: var(--ink-2); }
.hs .section-head .h2 { max-width: none; }

/* after the finish review */
.hero__sub { margin: -8px 0 24px; }
.hero h1 { margin-top: 0; }
.hero__copy { padding-top: 48px; }
.grid-work .work .mono { order: 0; padding-top: 6px; }
.prow h3 { margin-top: 0; }
.prow .mono { margin-bottom: 6px; }
.feature__txt h2, .feature__txt h3 { margin-top: 0; }
.feature__txt .mono { margin-bottom: 12px; }
.pcard .mono { margin-top: -4px; }
.lead-work__txt .h3 { margin-top: 0; }
.lead-work__txt .mono { margin-bottom: 12px; }
.pn__txt { gap: 12px; }
.pn__dir { display: inline-flex; align-items: center; gap: 8px; }
.pn__dir svg, .pager svg { width: 15px; height: 15px; }
.brand strong { margin-top: 0; }
.brand p { margin-bottom: auto; }
.tier__top h3 { font-size: 22px; font-weight: 500; letter-spacing: -.02em; }
.rows--ticks .row { padding: 18px 0 20px; }
.row__tick { width: 14px; height: 8px; margin-top: 6px; border-left: 1.6px solid var(--accent); border-bottom: 1.6px solid var(--accent); transform: rotate(-45deg); }
.rows--ticks .row--2 { grid-template-columns: 40px minmax(0, 1fr); align-items: start; }
.rows--ticks .row__t { font-size: clamp(19px, 1.6vw, 22px); }
.svc--text h3 { padding-top: 0; }
.svc__body { margin-top: 8px; }
.bento--wide > .svc { grid-column: span 6; }
.bento--wide > .svc:first-child { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px 48px; align-items: start; }
.bento--wide > .svc:first-child .svc__body { margin-top: 0; }
.bento--wide > .svc:first-child .svc__body p:first-child { margin-top: 0; }
@media (max-width: 899px) { .bento--wide > .svc:first-child { display: flex; } }
.site { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
@media (max-width: 899px) { .site { grid-template-columns: 1fr; } }
.office h3 { margin-top: 0; }
.cover { background: var(--surface); padding: clamp(10px, 1.6vw, 24px); }
.cover img { border-radius: 10px; }
.svc__tag { margin-top: 8px; }
.svc .svc__tag + p { margin-top: 12px; }

/* ================================================================== Palco foto: the client's 2026 photos on stage, and the site moves.
   Every continuous motion below runs on transform and opacity only, stops off screen and with the tab hidden,
   answers the one "Ferma il movimento" button (html.is-still) and rests under prefers-reduced-motion. */

/* the label of the client's Instagram creative: a small cyan block, mono caps, dark ink (9.1:1). On photos only. */
.tag { display: inline-flex; align-items: center; min-height: 26px; padding: 0 9px; border-radius: 4px; background: var(--accent); color: var(--accent-ink);
  font: 500 12px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }

/* ------------------------------------------------------------------ the team on stage (home and chi siamo heroes) */
.shot__in { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; }
/* parallax inside the frame: the picture moves against the panel's lean */
.shot__in img { width: 100%; height: 100%; object-fit: cover; translate: calc(var(--px, 0) * -12px) calc(var(--py, 0) * -9px); scale: 1.1; }
.stage--team { height: min(66vh, 610px); }
.shot--team { width: 54%; aspect-ratio: 4 / 5; right: 13%; top: 0; z-index: 1; }
.stage--team .shot--team img { object-position: 50% 88%; transform-origin: 50% 78%; scale: 1.34; }
.shot--team::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(to top, rgba(7, 8, 11, .82) 0, rgba(7, 8, 11, .25) 32%, transparent 52%), radial-gradient(120% 70% at 50% 0%, transparent 55%, rgba(7, 8, 11, .35)); }
.shot--team .tag { position: absolute; left: 16px; top: 16px; z-index: 2; }
.shot--app { width: 44%; aspect-ratio: 16 / 10; right: 52%; top: 58%; z-index: 3; }
.shot--app .shot__tag { z-index: 2; }
.shot--bn { width: 25%; aspect-ratio: 4 / 5; right: -4%; top: 50%; z-index: 2; }
/* a slow push in on the lit panel, the one continuous motion of the first screen */
.shot--team .shot__in img { animation: kenburns 18s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: none; } to { transform: scale(1.07) translate3d(-1.6%, -1.2%, 0); } }
.js-motion [data-enter] .shot--team { animation-delay: 100ms; } .js-motion [data-enter] .shot--app { animation-delay: 240ms; } .js-motion [data-enter] .shot--bn { animation-delay: 330ms; }
.stage--about { height: min(62vh, 600px); }
.stage--about .shot--app { width: 44%; aspect-ratio: 4 / 3; right: 52%; top: 50%; }
@media (max-width: 899px) {
  .stage--team { height: min(118vw, 470px); margin: 12px -8px 0; }
  .shot--team { width: 60%; right: 17%; }
  .shot--app { width: 56%; right: 42%; top: 58%; }
  .shot--bn { width: 32%; right: -2%; top: 50%; }
  .stage--about .shot--app { width: 50%; right: 46%; top: 54%; }
}

/* ------------------------------------------------------------------ bands: a track written once, doubled by the script, moved by one loop */
[data-band] { display: flex; overflow: hidden; width: 100%; }
[data-band] > * { flex: none; display: flex; }
.js-motion [data-band] > * { will-change: transform; }
.band--names { padding-block: clamp(20px, 2.6vw, 36px); border-block: 1px solid var(--line); }
.band--names .band__track { align-items: center; gap: clamp(22px, 2.6vw, 44px); padding-right: clamp(22px, 2.6vw, 44px); }
.band--names span { font-size: clamp(42px, 6.6vw, 108px); line-height: 1; letter-spacing: -.05em; font-weight: 600; white-space: nowrap; color: transparent; -webkit-text-stroke: 1.2px rgba(238, 240, 244, .42); }
.band--names span:nth-of-type(3n+1) { color: var(--ink); -webkit-text-stroke: 0; }
.band--names i { width: clamp(12px, 1.2vw, 18px); height: clamp(12px, 1.2vw, 18px); border-radius: 50%; background: var(--accent); box-shadow: 0 0 22px var(--accent); flex: none; }

/* the work photos of the retreat, after the zoom: a strip that runs, faster while you scroll, still under the pointer */
.dq-band { padding-top: clamp(28px, 3vw, 48px); }
.band--photos .band__track { gap: 16px; padding-right: 16px; align-items: flex-start; }
.wph { margin: 0; display: grid; gap: 12px; }
.wph__img { height: clamp(250px, 29vw, 420px); border-radius: var(--r-img); overflow: hidden; background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.wph__img img { height: 100%; width: auto; max-width: none; }
.wph figcaption { color: var(--ink-2); max-width: 30ch; }

/* ------------------------------------------------------------------ dietro le quinte: the keynote zoom. A small screen on a dark stage grows to the full room. */
.dq { position: relative; height: 230svh; margin-top: calc(var(--sec) * .5); --zoom: 1; }
.dq__sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; place-items: center; perspective: 1600px; }
.dq__sticky::before { content: ""; position: absolute; inset: 0 0 auto; height: 70%; pointer-events: none; opacity: calc(1 - var(--zoom));
  background: radial-gradient(40% 70% at 50% 0%, rgba(200, 240, 255, .12), transparent 70%); }
.dq__frame { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 28px; background: var(--surface); isolation: isolate;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 0 160px -30px rgba(88, 185, 218, .5);
  transform: translate3d(0, calc((1 - var(--zoom)) * 5svh), 0) rotateX(calc((1 - var(--zoom)) * 16deg)) scale(calc(.44 + .56 * var(--zoom))); }
.dq__img { position: absolute; inset: 0; z-index: -2; }
.dq__img img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 45%; transform: scale(calc(1.3 - .3 * var(--zoom))); }
.dq__frame::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: var(--zoom);
  background: linear-gradient(to top, rgba(7, 8, 11, .94) 0, rgba(7, 8, 11, .72) 26%, rgba(7, 8, 11, .1) 58%, transparent 70%), linear-gradient(to bottom, rgba(7, 8, 11, .55), transparent 24%); }
.dq__tag { position: absolute; top: calc(var(--nav-h) + 24px); left: max(var(--gutter), calc((100% - var(--maxw)) / 2)); }
.dq__txt { position: absolute; inset: auto 0 0; padding: 0 max(var(--gutter), calc((100% - var(--maxw)) / 2)) clamp(44px, 8vh, 96px);
  opacity: clamp(0, calc((var(--zoom) - .6) * 3.2), 1); transform: translate3d(0, calc((1 - var(--zoom)) * 60px), 0); }
.dq__txt .h2 { font-size: clamp(48px, 7.4vw, 128px); line-height: .92; letter-spacing: -.05em; max-width: none; }
.dq__txt .h2 span { color: var(--accent); }
.dq__txt p { margin-top: 22px; max-width: 34em; font-size: clamp(17px, 1.35vw, 21px); line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.dq.is-static { height: auto; --zoom: 1; }
.dq.is-static .dq__sticky { position: relative; height: min(100svh, 900px); }
@media (max-width: 899px) { .dq { height: 200svh; } .dq__frame { border-radius: 20px; } .dq__img img { object-position: 60% 45%; } }
/* the porch photo chosen for «Dietro le quinte» (24/11/2026): the heads of the two standing stay in on wide screens; on a phone
   the frame is tall, so it keeps the «Think twice» back and the two standing at the laptop */
.dq__img .is-portico { object-position: 55% 6%; transform-origin: 50% 0; }   /* the zoom grows from the top: the faces stay in */
@media (max-width: 899px) { .dq__img .is-portico { object-position: 24% 6%; transform-origin: 30% 0; } }

/* ------------------------------------------------------------------ the people behind the apps: the portraits in the dark, one under the follow light */
.pps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; padding-top: 28px; }
.pp { position: relative; }
.pp__img { position: relative; border-radius: var(--r-img); overflow: hidden; aspect-ratio: 4 / 5; background: #0c0d11; box-shadow: 0 0 0 1px var(--line); isolation: isolate; }
.pp__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); transition: transform 900ms var(--ease-out); }
.pp__img::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 1; transition: opacity 520ms var(--ease-out);
  background: radial-gradient(120% 90% at 50% 10%, rgba(7, 8, 11, .58), rgba(7, 8, 11, .9) 72%); }
/* the cone of the follow light, from above the frame */
.pp::before { content: ""; position: absolute; left: -22%; right: -22%; top: -64px; height: 86%; z-index: 1; pointer-events: none; opacity: 0; transition: opacity 520ms var(--ease-out);
  background: radial-gradient(34% 62% at 50% 0%, rgba(225, 246, 255, .3), rgba(88, 185, 218, .08) 58%, transparent 76%); mix-blend-mode: screen; }
/* the lit frame's halo, drawn once and shown by opacity */
.pp::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-img); pointer-events: none; opacity: 0; transition: opacity 520ms var(--ease-out);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .18), 0 30px 70px -30px rgba(0, 0, 0, .9), 0 0 110px -26px rgba(88, 185, 218, .6); }
.pp.is-lit::before, .pp.is-lit::after { opacity: 1; }
.pp.is-lit .pp__img::after { opacity: 0; }
.pp.is-lit .pp__img img { transform: none; }
/* the name and the role of the one in the light (26/11/2026): they rise at the foot of the frame, over a shade */
.pp__cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; margin: 0; padding: 56px 18px 16px; display: grid; gap: 4px;
  background: linear-gradient(to top, rgba(7, 8, 11, .82), rgba(7, 8, 11, .5) 52%, transparent); pointer-events: none;
  opacity: 0; transform: translateY(14px); transition: opacity 420ms var(--ease-out), transform 520ms var(--ease-out); }
.pp__cap strong { font-size: 19px; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; color: #fff; }
.pp__cap .mono { font-size: 11px; line-height: 1.35; color: rgba(225, 246, 255, .78); }
.pp.is-lit .pp__cap { opacity: 1; transform: none; transition-delay: 120ms; }
@media (max-width: 1099px) { .pp__cap { padding: 44px 14px 13px; } .pp__cap strong { font-size: 16px; } .pp__cap .mono { font-size: 10px; } }
@media (max-width: 899px) {
  .pps { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(62vw, 300px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .pps::-webkit-scrollbar { display: none; }
  .pps > * { scroll-snap-align: start; }
}

/* ------------------------------------------------------------------ the retreat: a short story on a strip the scroll slides sideways */
.retreat { overflow: hidden; }
.strip { overflow: hidden; padding-block: 12px 8px; }
.strip__track { display: flex; gap: clamp(14px, 1.6vw, 24px); width: max-content; padding-inline: max(var(--gutter), calc((100vw - var(--maxw)) / 2)); }
.js-motion .strip__track { will-change: transform; }
.rt { margin: 0; width: clamp(210px, 23vw, 340px); display: grid; gap: 14px; align-content: start; }
.rt:nth-child(even) { margin-top: clamp(36px, 5vw, 84px); }
.rt__img { border-radius: var(--r-img); overflow: hidden; aspect-ratio: 9 / 14; background: var(--surface); box-shadow: var(--glow); }
.rt__img img { width: 100%; height: 100%; object-fit: cover; }
.rt figcaption { display: flex; gap: 10px; color: var(--ink-2); }
.rt figcaption .tnum { color: var(--accent); }
.retreat__quote { max-width: 25em; }
.retreat__quote blockquote { font-size: clamp(19px, 1.6vw, 23px); }
.retreat .section-head { align-items: end; }

/* ------------------------------------------------------------------ a lit photo panel (services, forms) */
.lit-photo { position: relative; margin: 40px 0 0; border-radius: var(--r-card); overflow: hidden; box-shadow: var(--glow); background: var(--surface); aspect-ratio: var(--ratio, 4 / 5); isolation: isolate; max-width: 540px; }
.lit-photo__img { position: absolute; inset: 0; z-index: -2; }
.lit-photo__img img { width: 100%; height: 100%; object-fit: cover; }
.lit-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(to top, rgba(7, 8, 11, .7) 0, transparent 38%); }
.lit-photo .tag { position: absolute; left: 18px; bottom: 18px; }
.split--photo .lit-photo { max-width: none; margin-top: 48px; }
.lit-photo--form { margin: 0; max-width: none; align-self: start; }
.formwrap--photo { grid-template-areas: "intro form" "photo form"; grid-template-rows: auto 1fr; row-gap: 36px; }
.formwrap--photo > .form-intro { grid-area: intro; }
.formwrap--photo > .lit-photo { grid-area: photo; }
.formwrap--photo > .formpanel { grid-area: form; }

/* ------------------------------------------------------------------ the "Think twice, code once" mark from the team's T-shirts */
.motto-mark { margin: 0; width: min(100%, 340px); color: var(--ink); }
.motto-mark svg { display: block; width: 100%; height: auto; overflow: visible; }
.mm__words, .mm__url { font-family: "Montserrat", var(--font-text); font-weight: 700; }
.mm__url { letter-spacing: .04em; }
.formwrap--photo > .motto-mark { grid-area: photo; align-self: start; margin-top: clamp(4px, 1.5vw, 20px); }
@media (max-width: 899px) { .formwrap--photo > .motto-mark { width: min(64vw, 280px); margin-top: 12px; } }
/* when the mark comes into view (data-reveal adds .is-in) the corners close in from their own corner
   and the words rise one after the other; then a light runs down both dotted sides, again and again,
   like a build in progress. The figure itself does not fade: only its pieces move. */
@keyframes mm-corner { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
@keyframes mm-word { from { opacity: 0; transform: translateY(70px); } to { opacity: 1; transform: none; } }
@keyframes mm-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes mm-dot { 0%, 46%, 100% { opacity: .22; } 12% { opacity: 1; } }
.js-motion .motto-mark[data-reveal] { opacity: 1; transform: none; transition: none; }
.mm__corner, .mm__word { transform-box: fill-box; }
.mm__corner--tl { transform-origin: 0 0; } .mm__corner--tr { transform-origin: 100% 0; }
.mm__corner--bl { transform-origin: 0 100%; } .mm__corner--br { transform-origin: 100% 100%; }
.js-motion .motto-mark:not(.is-in) :is(.mm__corner, .mm__word, .mm__url) { opacity: 0; }
.js-motion .motto-mark:not(.is-in) .mm__dot { opacity: .22; }
.js-motion .motto-mark.is-in .mm__corner { animation: mm-corner 900ms var(--ease-out) both; animation-delay: calc(100ms + var(--i) * 90ms); }
.js-motion .motto-mark.is-in .mm__word { animation: mm-word 800ms var(--ease-out) both; animation-delay: calc(250ms + var(--i) * 120ms); }
.js-motion .motto-mark.is-in .mm__url { animation: mm-fade 600ms var(--ease-out) 850ms both; }
.js-motion .motto-mark.is-in .mm__dot { animation: mm-dot 2400ms ease-in-out infinite backwards; animation-delay: calc(950ms + var(--i) * 150ms); }
.is-still .motto-mark * { animation: none !important; opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) { .motto-mark * { animation: none !important; opacity: 1 !important; transform: none !important; } }
.form-more { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.form-more .form-facts { margin-top: 0; }
.form-more .steps { margin-top: 0; }
.contacts--grid { margin-top: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
@media (max-width: 899px) {
  .formwrap--photo { grid-template-areas: "intro" "form" "photo"; grid-template-columns: 1fr; grid-template-rows: auto; }
  .form-more { grid-template-columns: 1fr; }
}
@media (max-width: 559px) { .contacts--grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ parallax inside a frame: the picture drifts against the scroll (or the strip) */
[data-par] { overflow: hidden; }
.js-motion [data-par] img { translate: var(--parx, 0px) var(--par, 0px); scale: 1.12; }

/* ------------------------------------------------------------------ from our socials: the client's posts, whole, on a moving stage row */
.social { overflow: hidden; }
.social__stage { position: relative; display: block; margin-top: 8px; padding-block: 18px 54px; text-decoration: none; isolation: isolate; }
.social__stage::before { content: ""; position: absolute; inset: auto 0 0; height: 70%; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 80% at 50% 100%, rgba(88, 185, 218, .13), transparent 70%); }
.social__stage::after { content: ""; position: absolute; left: 0; right: 0; bottom: 30px; height: 1px; background: linear-gradient(90deg, transparent, var(--line-3), transparent); }
.social__stage:focus-visible { outline-offset: -2px; border-radius: 20px; }
.band--social .band__track { gap: 18px; padding-right: 18px; align-items: flex-end; }
.ig { margin: 0; height: clamp(320px, 34vw, 480px); }
.ig__img { height: 100%; width: auto; max-width: none; border-radius: 14px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 30px 60px -24px rgba(0, 0, 0, .9); }
@media (hover: hover) and (pointer: fine) { .social__stage .ig__img { transition: transform 300ms var(--ease-out); } .social__stage .ig:hover .ig__img { transform: translateY(-6px); } }

/* ------------------------------------------------------------------ the close over the motto: the photo as a lit backdrop */
.close { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: min(100svh, 960px); text-align: left;
  padding-block: clamp(120px, 14vw, 200px) clamp(96px, 10vw, 140px); }
.close__bg { position: absolute; inset: 0; z-index: -1; margin: 0; overflow: hidden; }
.close__img { width: 100%; height: 100%; object-fit: cover; object-position: 66% 42%; transform: translate3d(0, var(--bgy, 0px), 0) scale(var(--bgs, 1)); }
.close__bg::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(7, 8, 11, .95) 0%, rgba(7, 8, 11, .86) 32%, rgba(7, 8, 11, .38) 60%, rgba(7, 8, 11, .2) 100%),
              linear-gradient(to bottom, var(--bg) 0%, rgba(7, 8, 11, 0) 20%, rgba(7, 8, 11, 0) 72%, var(--bg) 100%),
              radial-gradient(50% 60% at 70% 30%, rgba(200, 240, 255, .08), transparent 70%); }
.close__in { position: relative; width: 100%; }
.close h2 { font-size: clamp(56px, 9vw, 156px); line-height: .9; letter-spacing: -.06em; font-weight: 600; }
.close p { margin: 28px 0 34px; max-width: 30em; color: var(--ink-2); text-wrap: pretty; }
.close .cta { justify-content: flex-start; }
@media (max-width: 899px) {
  .close { align-items: flex-end; min-height: max(100svh, 640px); padding-block: 120px 72px; }
  .close__img { object-position: 62% 30%; }
  .close__bg::after { background: linear-gradient(to top, rgba(7, 8, 11, .97) 0, rgba(7, 8, 11, .88) 38%, rgba(7, 8, 11, .25) 70%, rgba(7, 8, 11, .55) 100%),
                                  linear-gradient(to bottom, var(--bg) 0%, rgba(7, 8, 11, 0) 16%); }
}

.foot__still { margin-top: 14px; padding: 0; border: 0; background: none; color: var(--muted); font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.foot__still:hover { color: var(--ink); }
/* calm (the default): what slides sideways rests, as when the motion is stopped, and the bands scroll by hand */
.is-calm .marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; gap: 28px 56px; }
.is-calm .marquee__track [aria-hidden="true"] { display: none; }
.is-calm [data-band] > .is-clone { display: none; }
.is-calm [data-band] > * { transform: none !important; }
.is-calm .band--photos, .is-calm .band--social { overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: #2a2f3a transparent; }
.is-calm .band--photos .band__track > *, .is-calm .band--social .band__track > * { scroll-snap-align: start; }
.is-calm .band--photos .band__track, .is-calm .band--social .band__track { padding-left: var(--gutter); }
.is-calm .band--names { overflow-x: auto; scrollbar-width: none; }
.is-calm .strip { overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: #2a2f3a transparent; }
.is-calm .strip__track { transform: none !important; }
.foot { padding-bottom: 84px; }

/* ------------------------------------------------------------------ still: the visitor stopped the motion (or asked for less). Loops rest, rows become rows you scroll by hand. */
.is-still .shot--team .shot__in img, .is-still .marquee__track { animation-play-state: paused; }
.is-still [data-band] > .is-clone { display: none; }
.is-still [data-band] > * { transform: none !important; }
.is-still .band--photos, .is-still .band--social { overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: #2a2f3a transparent; }
.is-still .band--photos .band__track > *, .is-still .band--social .band__track > * { scroll-snap-align: start; }
.is-still .band--photos .band__track, .is-still .band--social .band__track { padding-left: var(--gutter); }
.is-still .strip { overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: #2a2f3a transparent; }
.is-still .strip__track { transform: none !important; }
.is-still [data-par] img { translate: none; }
.is-still .pp::before, .is-still .pp::after { opacity: 0; }
.is-still .pp .pp__img::after { opacity: 0; }
.is-still .pp .pp__img img { transform: none; }
.is-still .pp .pp__cap { opacity: 1; transform: none; }   /* no light to follow: every name shows */
.is-still .close__img { transform: none; }

@media (prefers-reduced-motion: reduce) {
  .shot--team .shot__in img { animation: none; }
  .shot__in img { translate: none; }
  .pp__img img, .pp__img::after, .pp::before, .pp__cap { transition: none; }
  .social__stage .ig__img { transition: none; }
}

/* staggered entrance of a group of photos, once */
.js-motion [data-rise] > * { opacity: 0; transform: translateY(40px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
.js-motion [data-rise].is-in > * { opacity: 1; transform: none; }
.is-still [data-rise] > * { opacity: 1 !important; transform: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) { .js-motion [data-rise] > * { opacity: 1; transform: none; transition: none; } }
.stage--about .shot--team img { scale: 1.12; transform-origin: 50% 50%; }
/* rows scrolled by hand when the motion is stopped: the snap lands on the page gutter, not on the screen edge */
.is-still .band--photos, .is-still .band--social { scroll-padding-inline: var(--gutter); }
.is-still .strip { scroll-padding-inline: max(var(--gutter), calc((100vw - var(--maxw)) / 2)); }
/* the follow light's cone is wider than its frame: the row keeps it inside the page's width */
.people { overflow-x: clip; }
/* phones: the photo holds the top of the close, so the printed motto sits above the words, not under them */
@media (max-width: 899px) { .close__bg { inset: 0 0 30% 0; } }

/* ------------------------------------------------------------------ nav: "Servizi" opens the overview; the arrow beside it opens the panel */
.nav__item { display: flex; align-items: center; gap: 2px; }
.nav__chev { min-width: 26px; justify-content: center; }
.svcp__all { margin-top: 16px; color: var(--ink-2); font-size: 15px; }
@media (hover: hover) and (pointer: fine) { .svcp__all:hover { color: #fff; } .svcp__all:hover span::after { transform: scaleX(1); } .svcp__all:hover svg { transform: translateX(3px); } }

/* ------------------------------------------------------------------ /servizi/: the overview */
.ov-hero { position: relative; isolation: isolate; padding-bottom: clamp(40px, 6vw, 80px); }
.ov-hero__in { max-width: 900px; }
.ov-hero__eyebrow { color: var(--accent); margin-bottom: 20px; }
.ov-hero .lead { margin-top: 24px; max-width: 40em; }
.ov-jump { margin-top: 30px; }

/* the scenes: without the script (or with less motion asked) they are four tall blocks one after the other,
   the work standing still in front of each photo; site.js adds .js-scenes, pins the stage and plays them like a
   film driven by the scroll (camera push on the photo, the work coming out of the dark, the next scene through it) */
.scenes { position: relative; }
.scene { position: relative; min-height: min(100svh, 1000px); display: grid; align-items: end; overflow: hidden; isolation: isolate; background: var(--bg); }
.scene__bg { position: absolute; inset: 0; z-index: -5; transform-origin: var(--focus, 50% 50%); }
.scene__bg img { width: 100%; height: 100%; object-fit: cover; }
.scene__shade { position: absolute; inset: 0; z-index: -4; pointer-events: none; background: #05060a; opacity: .45; }
.scene::before { content: ""; position: absolute; inset: 0; z-index: -3; pointer-events: none;
  background: linear-gradient(90deg, rgba(7,8,11,.9) 0, rgba(7,8,11,.6) 26%, rgba(7,8,11,0) 52%),
              linear-gradient(0deg, rgba(7,8,11,.88) 0, rgba(7,8,11,0) 38%), linear-gradient(180deg, rgba(7,8,11,.6) 0, rgba(7,8,11,0) 20%); }
.scene__work { position: absolute; inset: 0; z-index: -2; pointer-events: none; perspective: 1700px; perspective-origin: 72% 42%; }
.scene__rig { position: absolute; right: calc(max(var(--gutter), (100vw - var(--maxw)) / 2) + clamp(40px, 6vw, 110px)); top: 50%; width: min(44vw, 760px);
  translate: 0 -52%; transform-style: preserve-3d; transform: rotateY(-12deg) rotateX(4deg); }
.scene__piece { margin: 0; border-radius: 18px; overflow: hidden; background: var(--surface);
  box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 60px 120px -30px rgba(0,0,0,.95), 0 0 180px -30px rgba(88,185,218,.5); }
.scene__piece img { display: block; width: 100%; height: auto; }
.scene__second { position: absolute; left: -11%; bottom: -16%; width: 38%; transform: translateZ(120px); border-radius: 14px; }
.scene__second.scene__piece--tall { width: 23%; left: -7%; bottom: -20%; }
.scene__piece--browser { background: #0e1016; }
.scene__bar { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; background: #171a23; box-shadow: inset 0 -1px 0 rgba(255,255,255,.07); }
.scene__bar i { width: 9px; height: 9px; border-radius: 50%; background: #2e3340; }
.scene__bar span { margin-left: 12px; height: 13px; flex: 0 1 46%; border-radius: 999px; background: #232734; }
.scene__piece--ui { overflow: visible; background: none; box-shadow: none; border-radius: 0; }
.scene__piece--ui .uipanel { width: 100%; box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 60px 120px -30px rgba(0,0,0,.95), 0 0 180px -30px rgba(88,185,218,.55); }
.scene__piece--ui .uipanel { pointer-events: auto; }
/* the stage light over the work: a cone from above and the pool it leaves */
.scene__cone { position: absolute; top: -12%; right: calc(max(var(--gutter), (100vw - var(--maxw)) / 2) + clamp(40px, 6vw, 110px) + min(22vw, 380px) - 22vw); width: 44vw; height: 118%;
  background: linear-gradient(180deg, rgba(222,240,255,.2) 0, rgba(160,215,240,.07) 55%, transparent 80%);
  clip-path: polygon(44% 0, 56% 0, 100% 100%, 0 100%); opacity: .6; }
.scene__glow { position: absolute; right: 2%; top: 14%; width: 60vw; height: 76%; background: radial-gradient(closest-side, rgba(88,185,218,.3), rgba(88,185,218,.08) 55%, transparent); opacity: .7; }
.scene__chips { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; }
.scene__chips li { position: absolute; left: var(--x); top: var(--y); }
.scene__chips span { display: inline-block; font: 500 12px/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; color: var(--ink);
  padding: 10px 14px; border-radius: 999px; background: rgba(12,14,20,.74); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), 0 14px 34px rgba(0,0,0,.55);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); animation: ov-bob 5.2s ease-in-out infinite; animation-delay: calc(var(--i) * -1.3s); }
@keyframes ov-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.is-still .scene__chips span { animation: none; }
.scene__copy { position: relative; padding-block: 140px clamp(72px, 12svh, 140px); }
.scene__copy > * { max-width: 540px; }
.scene__eyebrow { color: var(--accent); }
.scene__count { color: var(--ink); }
.scene__h { font-size: clamp(46px, 6vw, 104px); line-height: .93; letter-spacing: -.048em; font-weight: 600; margin-top: 18px; text-wrap: balance; }
.scene__p { color: var(--ink-2); font-size: clamp(17px, 1.35vw, 21px); line-height: 1.5; margin-top: 20px; max-width: 28em; }
.scene__go { display: flex; flex-wrap: wrap; gap: 4px 28px; margin-top: 22px; }
@media (hover: hover) and (pointer: fine) { .scene__go .go:hover span::after { transform: scaleX(1); } .scene__go .go:hover svg { transform: translateX(3px); } }
.scenes__dots, .scenes__hint { display: none; }

.js-scenes { height: calc(var(--n) * 150svh); }
.js-scenes .scenes__pin { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.js-scenes .scene { position: absolute; inset: 0; min-height: 0; pointer-events: none; background: transparent; }
.js-scenes .scene::before { opacity: var(--o, 0); }
.js-scenes .scene__bg, .js-scenes .scene__work { opacity: 0; }
.js-scenes .scene__bg, .js-scenes .scene__rig, .js-scenes .scene__chips li { will-change: transform, opacity; }
/* the words follow the (smoothed) scroll in site.js: opacity and a slow drift, set on the block */
.js-scenes .scene__copy { opacity: 0; will-change: opacity, transform; }
.js-scenes .scene.is-current .scene__copy { pointer-events: auto; }
.js-scenes .scenes__dots { position: absolute; right: max(18px, calc((100vw - var(--maxw)) / 2 - 40px)); top: 50%; translate: 0 -50%; z-index: 2;
  display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.scenes__dot { position: relative; display: flex; align-items: center; justify-content: flex-end; gap: 12px; min-height: 30px; min-width: 30px; color: var(--ink); text-decoration: none; }
.scenes__dot i { display: block; width: 8px; height: 8px; margin-right: 11px; border-radius: 50%; background: rgba(255,255,255,.35); transition: transform 300ms var(--ease-out), background-color 300ms var(--ease-out); }
.scenes__dot[aria-current] i { background: var(--accent); transform: scale(1.5); box-shadow: 0 0 0 4px rgba(88,185,218,.18); }
.scenes__label { font-size: 13px; font-weight: 500; padding: 6px 12px; border-radius: 999px; background: rgba(7,8,11,.72); box-shadow: inset 0 0 0 1px var(--line-2);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; translate: 8px 0; transition: opacity 260ms var(--ease-out), translate 260ms var(--ease-out); white-space: nowrap; }
.scenes__dot[aria-current] .scenes__label { opacity: 1; translate: 0 0; }
@media (hover: hover) and (pointer: fine) { .scenes__dot:hover .scenes__label { opacity: 1; translate: 0 0; } .scenes__dot:hover i { background: #fff; } }
.js-scenes .scenes__hint { display: flex; flex-direction: column; align-items: center; gap: 10px; position: absolute; left: 50%; bottom: 22px; translate: -50% 0; z-index: 2;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); }
.js-scenes .scenes__hint::after { content: ""; width: 1px; height: 34px; background: linear-gradient(var(--soft), transparent); transform-origin: top; animation: ov-hint 1.8s var(--ease-in-out) infinite; }
@keyframes ov-hint { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
.is-still .scenes__hint::after { animation: none; }

@media (max-width: 899px) {
  .scene::before { background: linear-gradient(0deg, rgba(7,8,11,.97) 0, rgba(7,8,11,.86) 36%, rgba(7,8,11,.1) 62%, rgba(7,8,11,.5) 100%); }
  .scene__copy { padding-block: 120px 64px; }
  .scene__work { perspective-origin: 50% 30%; }
  .scene__rig { right: 50%; top: 13%; width: min(80vw, 480px); translate: 50% 0; transform: rotateY(-8deg) rotateX(3deg); }
  .scene__second { width: 34%; left: -5%; bottom: -12%; }
  .scene__second.scene__piece--tall { width: 22%; left: -4%; bottom: -14%; }
  .scene__cone { right: 50%; translate: 50% 0; width: 90vw; height: 70%; }
  .scene__glow { right: -10%; top: 4%; width: 120vw; height: 56%; }
  .scene__chips li:nth-child(n+4) { display: none; }
  .scene__chips { top: auto; bottom: calc(100% - 57%); left: var(--gutter); right: var(--gutter); inset-inline: var(--gutter); display: flex; flex-wrap: wrap; gap: 8px; height: auto; }
  .scene__chips li { position: static; }
  .scene__chips span { font-size: 11px; padding: 8px 11px; }
  .scene__piece--ui .uipanel { padding: 12px; }
  .js-scenes .scenes__dots { top: auto; bottom: 14px; translate: none; flex-direction: row; gap: 2px; right: auto; left: calc(var(--gutter) - 11px); }
  .scenes__label { display: none; }
  .js-scenes .scenes__hint { display: none; }
}

/* the title is the film's first scene: bigger words, the jump chips, the hint to scroll */
.scene__h--intro { font-size: clamp(46px, 6.4vw, 112px); max-width: 11ch; }
.scene__copy--intro > * { max-width: 620px; }
.scene__copy--intro .scene__p { color: var(--soft); }
.scene__copy--intro .ov-jump { margin-top: 26px; }
.scene--intro .scene__shade { opacity: .5; }

/* the live 3D film behind the words, once scenes3d.js is running: the photos and the flat work step aside */
.scenes__gl { display: none; }
.js-scenes.has-3d .scenes__gl { display: block; position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.has-3d .scene { z-index: 1; }
.has-3d .scene__bg, .has-3d .scene__shade, .has-3d .scene__work, .has-3d .scene::before { display: none; }
/* one shade for the words over the whole film (a shade per scene would add up while they change) */
.js-scenes.has-3d .scenes__pin::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(7,8,11,.78) 0, rgba(7,8,11,.38) 28%, rgba(7,8,11,0) 48%), linear-gradient(0deg, rgba(7,8,11,.7) 0, rgba(7,8,11,0) 28%); }
/* the blueprint films: the shade for the words is the sheet's own blue */
.scenes--blueprint.js-scenes.has-3d .scenes__pin::after { background: linear-gradient(90deg, rgba(4,22,44,.72) 0, rgba(4,22,44,.32) 30%, rgba(4,22,44,0) 50%), linear-gradient(0deg, rgba(4,22,44,.6) 0, rgba(4,22,44,0) 26%); }
.scenes--blueprint .scene__eyebrow { color: #bfe3ff; }
@media (max-width: 899px) { .js-scenes.has-3d .scenes__pin::after { background: linear-gradient(0deg, rgba(7,8,11,.94) 0, rgba(7,8,11,.78) 34%, rgba(7,8,11,0) 56%); } }
@media (max-width: 899px) { .scenes--blueprint.js-scenes.has-3d .scenes__pin::after { background: linear-gradient(0deg, rgba(4,22,44,.94) 0, rgba(4,22,44,.78) 34%, rgba(4,22,44,0) 56%); } }

.ov-proof .proof { border-bottom: 1px solid var(--line); }
.ov-svc { position: relative; }
.ov-svc--alt { background: linear-gradient(180deg, rgba(255,255,255,.012), rgba(255,255,255,.03)); box-shadow: inset 0 1px 0 var(--line), inset 0 -1px 0 var(--line); }
.ov-svc__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.ov-svc__head { position: sticky; top: calc(var(--nav-h) + 36px); }
.ov-svc__n { color: var(--accent); margin-bottom: 16px; }
.ov-svc__head .lead { margin-top: 20px; }
.ov-svc__head .cta { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.ov-svc__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ov-svc__cards .svc { grid-column: auto; padding: 28px; }
.ov-card h3 { font-size: clamp(21px, 1.7vw, 26px); }
.ov-card--list { grid-row: span 2; }
.ov-card .svc__body p { margin-top: 12px; }
@media (hover: hover) and (pointer: fine) { .ov-svc__cards:hover .svc::before { opacity: 1; } }
.ov-svc__cards > .ov-card--list ~ .ov-card:nth-child(4) { grid-column: 1 / -1; }
@media (max-width: 899px) {
  .ov-svc__grid { grid-template-columns: 1fr; }
  .ov-svc__head { position: static; }
  .ov-svc__cards { grid-template-columns: 1fr; }
  .ov-card--list { grid-row: auto; }
}

/* ------------------------------------------------------------------ device mockups: iPhone Duo and MacBook Pro (2026), drawn in CSS
   Real screens of the projects inside. Proportions from the real devices: the Duo is 84.1 × 117.8 mm folded and
   164.6 mm wide open, its outer screen squarer on the hinge side; the MacBook Pro 14" screen is 3024 × 1964 with the
   Dynamic Island in place of the notch. The Duo unfolds as the page scrolls (--fold, 0 closed → 1 open, set by
   site.js); the MacBook lid opens once in view and a long page scrolls inside its screen. Under "Ferma il movimento"
   and prefers-reduced-motion both rest open and still; without JS the Duo shows its outer screen. Transform and opacity only. */
.dev-stage { position: relative; perspective: 2400px; margin-top: clamp(32px, 5vw, 64px); }
.dev-stage--hero { max-width: 1120px; margin-inline: auto; }
.dev-stage [data-depth] { transform: rotateY(calc(var(--px, 0) * 1.4deg)) rotateX(calc(var(--py, 0) * -1deg)); }

/* MacBook Pro */
.mbp { --edge: #3b3d42; --b1: #55575d; --b2: #232428; --b3: #0d0e10; position: relative; margin: 0; width: 100%; perspective: 1800px; }
.mbp--silver { --edge: #d7d9dc; --b1: #f4f5f7; --b2: #c3c5c9; --b3: #8a8d93; }
.mbp__lid { position: relative; width: 89%; margin-inline: auto; aspect-ratio: 1.538; padding: 1.7% 1.7% 2.3%; background: #050506;
  border-radius: 2.6% 2.6% 0.6% 0.6% / 4% 4% 1% 1%; box-shadow: 0 0 0 1.5px var(--edge), inset 0 0 0 1px rgba(255,255,255,.05), 0 50px 90px -30px rgba(0,0,0,.9);
  transform-origin: 50% 100%; transform: rotateX(var(--lid, 0deg)); }
.mbp__screen { position: relative; height: 100%; overflow: hidden; border-radius: 1.2% / 1.8%; background: #1b1c20; }   /* the dark macOS menu bar */
.mbp__view { position: absolute; inset: 4.4% 0 0; overflow: hidden; background: #0b0c0f; container-type: size; }   /* below the menu bar */
.mbp__screen::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255,255,255,.07) 0%, rgba(255,255,255,0) 38%); pointer-events: none; }
.mbp__island { position: absolute; z-index: 2; top: .5%; left: 50%; width: 9.5%; height: 3.4%; transform: translateX(-50%); border-radius: 999px; background: #000; }
.mbp__shot { position: absolute; left: 0; top: 0; width: 100%; height: auto; max-width: none; }
.mbp__shot--fit { height: 100%; object-fit: cover; object-position: top; }
.mbp__base { position: relative; width: 100%; aspect-ratio: 36; background: linear-gradient(180deg, var(--b1) 0%, var(--b2) 38%, var(--b3) 100%);
  border-radius: 0 0 2.4% 2.4% / 0 0 70% 70%; box-shadow: 0 34px 50px -24px rgba(0,0,0,.95); }
.mbp__base::before { content: ""; position: absolute; top: 0; left: 50%; width: 13%; height: 45%; transform: translateX(-50%);
  border-radius: 0 0 30% 30% / 0 0 100% 100%; background: linear-gradient(180deg, rgba(0,0,0,.5), rgba(0,0,0,.15)); }
.mbp__base::after { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: rgba(255,255,255,.4); }
/* the lid opens once in view (site.js adds .is-lid-down first, then .is-open) */
.mbp.is-lid-down .mbp__lid { --lid: -86deg; }
.mbp.is-open .mbp__lid { --lid: 0deg; transition: transform 1700ms var(--ease-out); }
/* a long page scrolls inside the screen while the device is in view; two fixed screens cross-fade */
.mbp__shot--scroll { animation: mbp-scroll var(--dur, 26s) cubic-bezier(.45, 0, .55, 1) infinite alternate; animation-play-state: paused; will-change: transform; }
.mbp__shot--b { opacity: 0; animation: mbp-fade 12s ease-in-out infinite; animation-play-state: paused; }
.mbp.is-live .mbp__shot--scroll, .mbp.is-live .mbp__shot--b { animation-play-state: running; }
@keyframes mbp-scroll { 0%, 12% { transform: translate3d(0, 0, 0); } 88%, 100% { transform: translate3d(0, calc(-100% + 100cqh), 0); } }
@keyframes mbp-fade { 0%, 40% { opacity: 0; } 50%, 90% { opacity: 1; } 100% { opacity: 0; } }

/* iPhone Duo */
.duo { --frame: #2b3653; --frame-hi: rgba(170, 186, 222, .55); --body: #121827; --fold: 1; position: relative; margin: 0; width: 100%; aspect-ratio: 1.397; perspective: 2200px; }
.duo[data-duo="scroll"] { --fold: 0; }   /* starts closed and opens with the scroll (open at once when still, below) */
.duo--star { --frame: #cfccc5; --frame-hi: rgba(255, 255, 255, .9); --body: #e9e6df; }
.duo__body { position: absolute; inset: 0; transform-style: preserve-3d;
  transform: translateX(calc((1 - var(--fold)) * -25%)) rotateX(calc((1 - var(--fold)) * 8deg)) scale(calc(1 + (1 - var(--fold)) * .12)); }
.duo__half, .duo__cover { position: absolute; top: 0; bottom: 0; left: 50%; width: 50%; }
.duo__half, .duo__face { background: var(--body); box-shadow: inset 0 0 0 1.5px var(--frame), inset 0 0 0 3px var(--frame-hi); }
.duo__half { border-radius: 0 12% 12% 0 / 0 8.4% 8.4% 0; }
.duo__cover { transform-style: preserve-3d; transform-origin: 0 50%; transform: rotateY(calc(var(--fold) * -180deg)); }
.duo__face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 2.4% 12% 12% 2.4% / 1.7% 8.4% 8.4% 1.7%; }
.duo__face--back { transform: rotateY(180deg); border-radius: 12% 0 0 12% / 8.4% 0 0 8.4%; }
.duo__screen { position: absolute; overflow: hidden; background: #000; }
.duo__screen--out { inset: 2.1% 2.8%; border-radius: 1.7% 12.7% 12.7% 1.7% / 1.2% 8.7% 8.7% 1.2%; }
.duo__screen--in-r { top: 2.85%; bottom: 2.85%; left: 0; right: 4.1%; border-radius: 0 11.5% 11.5% 0 / 0 8.2% 8.2% 0; }
.duo__screen--in-l { top: 2.85%; bottom: 2.85%; left: 4.1%; right: 0; border-radius: 11.5% 0 0 11.5% / 8.2% 0 0 8.2%; }
.duo__screen--in-r::before, .duo__screen--in-l::before { content: ""; position: absolute; z-index: 2; top: 0; bottom: 0; width: 1.6%; pointer-events: none; }
.duo__screen--in-r::before { left: 0; background: linear-gradient(90deg, rgba(0,0,0,.28), rgba(255,255,255,.05) 55%, transparent); }
.duo__screen--in-l::before { right: 0; background: linear-gradient(270deg, rgba(0,0,0,.28), rgba(255,255,255,.05) 55%, transparent); }
.duo__shot { width: 100%; height: 100%; object-fit: cover; object-position: top; max-width: none; }
.duo__island { position: absolute; z-index: 2; top: 1.7%; left: 50%; width: 27%; height: 5.2%; transform: translateX(-50%); border-radius: 999px; background: #000; }
.duo__shade { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,.1));
  opacity: calc(var(--fold) * (1 - var(--fold)) * 2.4); }
.duo::after { content: ""; position: absolute; left: 8%; right: 8%; bottom: -7%; height: 9%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.7), transparent); z-index: -1;
  transform: translateX(calc((1 - var(--fold)) * -12%)) scaleX(calc(.55 + var(--fold) * .45)); }
.duo--closed { aspect-ratio: .699; }
.duo--closed .duo__face { inset: 0; }
.duo--closed::after { left: 4%; right: 4%; transform: none; }

/* compositions */
.dev-combo { position: relative; padding-bottom: 14%; }
.dev-combo--closed { padding-bottom: 6%; }
.dev-combo .mbp { width: 84%; }
.dev-combo__duo { position: absolute !important; right: -1%; bottom: 2%; width: 40%; }
.dev-combo__duo--closed { right: 3%; bottom: 0; width: 17%; }
.dev-combo--solo .mbp { width: 100%; }
.dev-solo { max-width: 860px; margin-inline: auto; }
@media (max-width: 699px) {
  .dev-combo .mbp { width: 100%; }
  .dev-combo__duo { position: relative !important; right: auto; bottom: auto; width: 86%; margin: -6% auto 0; }
  .dev-combo__duo--closed { position: absolute !important; right: 2%; bottom: -8%; width: 24%; margin: 0; }
}

/* ExpoAlert: the example floor plan, in front of the MacBook on the left (ea_mappa() in build.py). Light like the app: the
   gradient bar, green badges, the red bell. Every 12 s the ring in case 2 goes into alarm and the push comes down. Still (no
   motion, "Ferma il movimento", out of view) it shows the alarm. */
.dev-combo--extra .mbp { margin-left: 8%; width: 80%; }
.dev-combo__map { position: absolute !important; left: 0; bottom: 3%; width: 27%; z-index: 3; }
@media (max-width: 699px) {
  .dev-combo--extra .mbp { margin-left: 0; width: 100%; }
  .dev-combo .dev-combo__map { position: relative !important; left: auto; bottom: auto; width: 92%; margin: 7% auto 0; }
}
.eam { margin: 0; container-type: inline-size; position: relative; overflow: hidden; border-radius: 16px; background: #fff; color: #23262f;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 34px 60px -22px rgba(0, 0, 0, .8), 0 10px 24px -10px rgba(40, 10, 60, .5); }
.eam__top { display: flex; align-items: center; gap: 3cqw; padding: 4cqw 4.6cqw; color: #fff;
  background: linear-gradient(112deg, #7e4293 0%, #96357f 55%, #b81660 100%); }
.eam__top p { margin: 0; display: grid; gap: .6cqw; line-height: 1.15; }
.eam__top b { font-size: 4.6cqw; font-weight: 700; letter-spacing: -.01em; }
.eam__top p span { font-size: 3.1cqw; opacity: .82; }
.eam__live { margin-left: auto; display: inline-flex; align-items: center; gap: 1.6cqw; flex: none; padding: 1.2cqw 2.6cqw; border-radius: 99px;
  font-size: 3cqw; background: rgba(255, 255, 255, .17); }
.eam__live i { width: 1.9cqw; height: 1.9cqw; border-radius: 50%; background: #8ff0a4; }
.eam__map { display: block; width: 100%; height: auto; }
.eam__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1.4cqw 3.6cqw; padding: 2.8cqw 4.6cqw 3.6cqw; border-top: 1px solid #eef0f4;
  font-size: 2.9cqw; line-height: 1.3; color: #6b7180; }
.eam__foot span { display: inline-flex; align-items: center; gap: 1.2cqw; }
.eam__foot svg { width: 3.6cqw; height: 3.6cqw; flex: none; }
.eam__note { flex-basis: 100%; color: #9aa0ad; }
.eam__toast { position: absolute; z-index: 2; left: 3cqw; right: 3cqw; top: 2.6cqw; display: flex; align-items: center; gap: 2.8cqw;
  padding: 2.4cqw 3cqw; border-radius: 3.6cqw; background: #fff; color: #23262f; font-size: 3cqw; line-height: 1.25;
  box-shadow: 0 12px 28px -10px rgba(30, 10, 40, .55), 0 0 0 1px rgba(244, 67, 54, .22); }
.eam__bell { flex: none; display: grid; place-items: center; width: 8cqw; height: 8cqw; border-radius: 50%; background: #f44336; }
.eam__bell svg { width: 62%; height: 62%; }
.eam__msg { display: grid; gap: .5cqw; min-width: 0; }
.eam__msg b { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.eam__msg small { font-size: 2.8cqw; color: #6b7180; }
.eam__toast em { margin-left: auto; align-self: flex-start; font-style: normal; font-size: 2.6cqw; color: #9aa0ad; }
.eam__halo, .eam__rip, .eam__hg { transform-box: fill-box; transform-origin: center; }
.eam__halo { opacity: 0; }
.eam__ok { opacity: 0; }
.eam__rip:nth-child(2) { transform: scale(1.9); opacity: .35; }
.eam__rip:not(:nth-child(2)) { opacity: 0; }
.js-motion .eam.is-live .eam__al { animation: eam-al 12s linear infinite; }
.js-motion .eam.is-live .eam__ok { animation: eam-ok 12s linear infinite; }
.js-motion .eam.is-live .eam__teca2 { animation: eam-glass 12s linear infinite; }
.js-motion .eam.is-live .eam__toast { animation: eam-toast 12s var(--ease-out) infinite; }
.js-motion .eam.is-live .eam__rip { animation: eam-rip 1.6s ease-out infinite; animation-delay: var(--d, 0s); }
.js-motion .eam.is-live .eam__halo { animation: eam-halo 3.2s ease-out infinite; animation-delay: var(--d, 0s); }
.js-motion .eam.is-live .eam__hg { animation: eam-hg 4s ease-in-out infinite; }
.js-motion .eam.is-live .eam__live i { animation: eam-dot 2s ease-out infinite; }
@keyframes eam-al { 0%, 54% { opacity: 0; } 57%, 90% { opacity: 1; } 94%, 100% { opacity: 0; } }
@keyframes eam-ok { 0%, 54% { opacity: 1; } 57%, 90% { opacity: 0; } 94%, 100% { opacity: 1; } }
@keyframes eam-glass { 0%, 54%, 94%, 100% { stroke: #7C3AED; stroke-opacity: .35; } 57%, 90% { stroke: #f44336; stroke-opacity: .9; } }
@keyframes eam-toast { 0%, 57% { opacity: 0; transform: translateY(-130%); } 61%, 88% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: translateY(-130%); } }
@keyframes eam-rip { from { transform: scale(1); opacity: .6; } to { transform: scale(3.4); opacity: 0; } }
@keyframes eam-halo { 0% { transform: scale(1); opacity: .4; } 70%, 100% { transform: scale(2.2); opacity: 0; } }
@keyframes eam-hg { 0%, 40% { transform: rotate(0); } 50%, 90% { transform: rotate(180deg); } 100% { transform: rotate(360deg); } }
@keyframes eam-dot { 0% { box-shadow: 0 0 0 0 rgba(143, 240, 164, .7); } 100% { box-shadow: 0 0 0 2.4cqw rgba(143, 240, 164, 0); } }
.is-still .eam *, .is-still .eam *::before { animation: none !important; }
@media (prefers-reduced-motion: reduce) { .eam * { animation: none !important; } }

/* still: open, no scrolling screens */
.is-still .mbp__shot--scroll, .is-still .mbp__shot--b { animation: none; }
.is-still .mbp__lid { --lid: 0deg !important; }
.is-still .duo { --fold: 1 !important; }
@media (prefers-reduced-motion: reduce) {
  .mbp__shot--scroll, .mbp__shot--b { animation: none; }
  .mbp__lid { --lid: 0deg !important; }
  .duo { --fold: 1 !important; }
}
.dev-pair { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 64px); align-items: end; margin-top: clamp(32px, 5vw, 64px); perspective: 2400px; }
.dev-pair__item { margin: 0; display: grid; gap: 22px; }
.dev-pair__item figcaption { color: var(--muted); }
.dev-pair__item figcaption a { color: var(--ink); min-height: 0; }
.stage--dev { height: auto; display: grid; align-content: center; margin-top: 0; }
.stage--dev > .duo { width: 100%; }
.svc-tab .tab { width: 100%; }   /* UX/UI: BigApp's tablet in the hero */
.svc-tab .tab__cap { margin-top: 18px; color: var(--muted); }
.svc-tab .tab__cap a { color: var(--ink); min-height: 0; }
.mbp--small { max-width: 440px; margin-top: 28px; }

/* DupliCats on the Mac App Store, inside the MacBook of its project page (build.py dcs_screen): the store page, Ottieni,
   Installa, the download ring, Apri, then the app comes out of the Dock (riepilogo, then doppioni). One 16 s loop, sized in
   container units of .mbp__view, paused while the MacBook is off screen; still (motion stopped, reduced motion) it rests on the
   store page with "Ottieni". Transform and opacity, plus the ring's stroke and the Dock slot's width. */
.dcs { position: absolute; inset: 0; overflow: hidden; color: #1d1d1f; font: 400 1.25cqw/1.3 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased; text-align: left;
  background: radial-gradient(90% 80% at 12% 8%, rgba(246, 180, 106, .95) 0%, rgba(246, 180, 106, 0) 60%),
              radial-gradient(90% 90% at 92% 100%, rgba(46, 63, 99, .95) 0%, rgba(46, 63, 99, 0) 62%),
              linear-gradient(155deg, #c8641e 0%, #7a3f4c 48%, #22303c 100%); }
.dcs *, .dcs *::before, .dcs *::after { box-sizing: border-box; }
:where(.dcs) :where(p, ul, dl, dd) { margin: 0; }
.dcs img { display: block; max-width: none; }
.dcs__win { position: absolute; overflow: hidden; border-radius: 1.1cqw; background: #fff;
  box-shadow: 0 0 0 .08cqw rgba(0, 0, 0, .28), 0 2.2cqw 5cqw rgba(10, 12, 20, .42); }
.dcs__dots { display: flex; gap: .5cqw; }
.dcs__dots i { width: .9cqw; height: .9cqw; border-radius: 50%; background: #ff5f57; }
.dcs__dots i:nth-child(2) { background: #febc2e; }
.dcs__dots i:nth-child(3) { background: #28c840; }
/* the store window */
.dcs__store { left: 8cqw; top: 4cqh; width: 84cqw; height: 80cqh; display: flex; }
.dcs__side { width: 17cqw; flex: none; padding: 1.1cqw 1cqw; background: #f2f1f4; border-right: .08cqw solid #dddce1; }
.dcs__side .dcs__dots { margin-bottom: 1.5cqw; }
.dcs__search { display: flex; align-items: center; height: 2.2cqw; margin-bottom: 1.1cqw; padding-left: .8cqw; border-radius: .6cqw; background: #e4e3e8; color: #8a8a8e; font-size: 1.05cqw; }
.dcs__side ul { list-style: none; padding: 0; display: grid; gap: .2cqw; }
.dcs__side li { padding: .45cqw .7cqw; border-radius: .5cqw; color: #3a3a3c; font-size: 1.12cqw; }
.dcs__side li.is-on { background: #dcdbe2; color: #1d1d1f; font-weight: 600; }
.dcs__main { position: relative; flex: 1; padding: 3.2cqw 3cqw 0; }
.dcs__head { display: flex; align-items: center; gap: 1.8cqw; }
.dcs__icon { width: 8.5cqw; height: 8.5cqw; flex: none; }
.dcs__name { font-size: 2.5cqw; font-weight: 700; line-height: 1.1; letter-spacing: -.02em; }
.dcs__sub { margin-top: .3cqw; color: #6e6e73; font-size: 1.35cqw; }
.dcs__dev { margin-top: .35cqw; color: #0071e3; font-size: 1.1cqw; }
.dcs__btn { position: absolute; left: 55.6cqw; top: 6.15cqw; width: 8.4cqw; height: 2.6cqw; }
.dcs__btn > * { position: absolute; inset: 0; }
.dcs__btn span { display: grid; place-items: center; border-radius: 999px; background: #0071e3; color: #fff; font-size: 1.15cqw; font-weight: 600; }
.dcs__inst, .dcs__open, .dcs__ring { opacity: 0; }
.dcs__ring { left: 50%; width: 2.6cqw; height: 2.6cqw; transform: translateX(-50%) rotate(-90deg); }
.dcs__ring circle { fill: none; stroke-width: 3.2; }
.dcs__ring-bg { stroke: #d9d9de; }
.dcs__ring-fg { stroke: #0071e3; stroke-dasharray: 100; stroke-dashoffset: 100; stroke-linecap: round; }
.dcs__ring rect { fill: #0071e3; }
.dcs__facts { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 2.6cqw; padding: 1.1cqw 0; border-block: .08cqw solid #e5e5ea; text-align: center; }
.dcs__facts div + div { border-left: .08cqw solid #e5e5ea; }
.dcs__facts dt { color: #8a8a8e; font-size: .85cqw; letter-spacing: .06em; text-transform: uppercase; }
.dcs__facts dd { margin-top: .25cqw; color: #3a3a3c; font-size: 1.2cqw; font-weight: 600; }
.dcs__shots { display: flex; gap: 1.2cqw; margin-top: 2cqw; }
.dcs__shots img { width: 19.6cqw; height: auto; aspect-ratio: 16 / 10; border-radius: .6cqw; box-shadow: 0 0 0 .08cqw rgba(0, 0, 0, .12); }
.dcs__desc { max-width: 54cqw; margin-top: 1.6cqw; color: #3a3a3c; font-size: 1.15cqw; }
.dcs__h { margin-top: 2.2cqw; font-size: 1.5cqw; font-weight: 700; letter-spacing: -.01em; }
.dcs__card { display: grid; gap: .3cqw; width: 26cqw; margin-top: .9cqw; padding: 1.2cqw 1.3cqw; border-radius: .8cqw; background: #f5f5f7; }
.dcs__card b { font-size: 1.2cqw; }
.dcs__card span { color: #6e6e73; font-size: 1.05cqw; }
/* the Dock, with the slot DupliCats lands in */
.dcs__dock { position: absolute; left: 50%; bottom: 1.4cqh; display: flex; gap: .9cqw; padding: .8cqw; transform: translateX(-50%);
  border-radius: 1.6cqw; background: rgba(255, 255, 255, .26); box-shadow: inset 0 0 0 .08cqw rgba(255, 255, 255, .38), 0 1cqw 3cqw rgba(0, 0, 0, .25); }
.dcs__dock i { width: 4.2cqw; height: 4.2cqw; border-radius: 1cqw; background: linear-gradient(160deg, #8fb7ff, #3d6fe0); }
.dcs__dock i:nth-child(2) { background: linear-gradient(160deg, #ffe08a, #f2a93b); }
.dcs__dock i:nth-child(3) { background: linear-gradient(160deg, #a2f0b5, #2fb36a); }
.dcs__dock i:nth-child(4) { background: linear-gradient(160deg, #f7f7f9, #c9c9cf); }
.dcs__dock i:nth-child(5) { background: linear-gradient(160deg, #ffa3a3, #e0463f); }
.dcs__dock i:nth-child(6) { background: linear-gradient(160deg, #6fd0ff, #1679e8); }
.dcs__dockapp { position: relative; width: 0; height: 4.2cqw; margin-left: -.9cqw; opacity: 0; }
.dcs__dockapp img { width: 4.2cqw; height: 4.2cqw; }
.dcs__dockapp::after { content: ""; position: absolute; left: 50%; bottom: -.62cqw; width: .42cqw; height: .42cqw; margin-left: -.21cqw; border-radius: 50%; background: rgba(255, 255, 255, .85); }
/* the app, out of the Dock: it grows from the DupliCats slot (65.3cqw across, on the Dock's middle line) */
.dcs__app { left: 11cqw; top: 3cqh; width: 78cqw; opacity: 0; transform: scale(.05); transform-origin: 54.3cqw calc(95.6cqh - 2.9cqw); }
.dcs__appbar { display: flex; align-items: center; height: 2.2cqw; padding-left: 1cqw; background: #fff; }
.dcs__appview { position: relative; }
.dcs__shot { width: 100%; height: auto; }
.dcs__shot--b { position: absolute; inset: 0; opacity: 0; }
.dcs__cursor { position: absolute; left: 0; top: 0; width: 2.4cqw; height: 2.4cqw; opacity: 0; filter: drop-shadow(0 .15cqw .3cqw rgba(0, 0, 0, .35)); }
/* the loop */
.dcs__store, .dcs__btn > *, .dcs__ring-fg, .dcs__dockapp, .dcs__app, .dcs__shot--b, .dcs__cursor {
  animation-duration: 16s; animation-iteration-count: infinite; animation-timing-function: linear; animation-fill-mode: both; animation-play-state: paused; }
.mbp.is-live .dcs__store, .mbp.is-live .dcs__btn > *, .mbp.is-live .dcs__ring-fg, .mbp.is-live .dcs__dockapp, .mbp.is-live .dcs__app,
.mbp.is-live .dcs__shot--b, .mbp.is-live .dcs__cursor { animation-play-state: running; }
.dcs__store { animation-name: dcs-store; }
.dcs__get { animation-name: dcs-get; }
.dcs__inst { animation-name: dcs-inst; }
.dcs__ring { animation-name: dcs-ring; }
.dcs__ring-fg { animation-name: dcs-fill; }
.dcs__open { animation-name: dcs-open; }
.dcs__dockapp { animation-name: dcs-dock; }
.dcs__app { animation-name: dcs-app; }
.dcs__shot--b { animation-name: dcs-app2; }
.dcs__cursor { animation-name: dcs-cursor; }
@keyframes dcs-store { 0%, 46% { opacity: 1; transform: none; animation-timing-function: cubic-bezier(.4, 0, .2, 1); }
  51%, 93% { opacity: 0; transform: scale(.94); } 100% { opacity: 1; transform: none; } }
@keyframes dcs-get { 0%, 13.6% { opacity: 1; } 13.7%, 93% { opacity: 0; } 94%, 100% { opacity: 1; } }
@keyframes dcs-inst { 0%, 13.6% { opacity: 0; } 13.7%, 21% { opacity: 1; } 21.1%, 100% { opacity: 0; } }
@keyframes dcs-ring { 0%, 21% { opacity: 0; } 21.1%, 39.4% { opacity: 1; } 39.5%, 100% { opacity: 0; } }
@keyframes dcs-fill { 0%, 22% { stroke-dashoffset: 100; } 27% { stroke-dashoffset: 72; } 31% { stroke-dashoffset: 55; }
  36% { stroke-dashoffset: 16; } 39%, 100% { stroke-dashoffset: 0; } }
@keyframes dcs-open { 0%, 39.4% { opacity: 0; } 39.5%, 93% { opacity: 1; } 94%, 100% { opacity: 0; } }
@keyframes dcs-dock { 0%, 45% { width: 0; margin-left: -.9cqw; opacity: 0; transform: none; }
  48% { width: 4.2cqw; margin-left: 0; opacity: 1; transform: none; animation-timing-function: cubic-bezier(.3, 0, .5, 1); }
  50.5% { transform: translateY(-2.2cqw); animation-timing-function: cubic-bezier(.5, 0, .7, 1); } 53% { transform: none; animation-timing-function: cubic-bezier(.3, 0, .5, 1); }
  55% { transform: translateY(-1.1cqw); animation-timing-function: cubic-bezier(.5, 0, .7, 1); }
  57%, 93% { width: 4.2cqw; margin-left: 0; opacity: 1; transform: none; } 98%, 100% { width: 0; margin-left: -.9cqw; opacity: 0; transform: none; } }
@keyframes dcs-app { 0%, 53% { opacity: 0; transform: scale(.05); animation-timing-function: cubic-bezier(.2, .8, .2, 1); }
  55% { opacity: 1; } 60%, 94% { opacity: 1; transform: none; } 99%, 100% { opacity: 0; transform: none; } }
@keyframes dcs-app2 { 0%, 77% { opacity: 0; } 81%, 100% { opacity: 1; } }
@keyframes dcs-cursor {
  0% { opacity: 0; transform: translate(96cqw, 92cqh) scale(1); }
  3% { opacity: 1; transform: translate(96cqw, 92cqh) scale(1); animation-timing-function: cubic-bezier(.45, 0, .2, 1); }
  12% { transform: translate(84.2cqw, calc(4cqh + 7.2cqw)) scale(1); }
  13% { transform: translate(84.2cqw, calc(4cqh + 7.2cqw)) scale(.82); }
  14.2%, 19.6% { transform: translate(84.2cqw, calc(4cqh + 7.2cqw)) scale(1); }
  20.6% { transform: translate(84.2cqw, calc(4cqh + 7.2cqw)) scale(.82); }
  21.8% { transform: translate(84.2cqw, calc(4cqh + 7.2cqw)) scale(1); animation-timing-function: cubic-bezier(.45, 0, .2, 1); }
  26%, 38% { transform: translate(87.5cqw, calc(4cqh + 12.5cqw)) scale(1); animation-timing-function: cubic-bezier(.45, 0, .2, 1); }
  42% { transform: translate(84.2cqw, calc(4cqh + 7.2cqw)) scale(1); }
  43.4% { transform: translate(84.2cqw, calc(4cqh + 7.2cqw)) scale(.82); }
  44.6% { opacity: 1; transform: translate(84.2cqw, calc(4cqh + 7.2cqw)) scale(1); }
  47%, 100% { opacity: 0; transform: translate(84.2cqw, calc(4cqh + 7.2cqw)) scale(1); } }
.is-still .dcs *, .is-still .dcs *::after { animation: none !important; }
@media (prefers-reduced-motion: reduce) { .dcs *, .dcs *::after { animation: none !important; } }
@media (max-width: 899px) { .dev-pair { grid-template-columns: 1fr; } }
/* built websites: the fact sheet of each site above its description */
.site__spec { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px 24px; margin: 0 0 22px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.site__spec > div { display: grid; gap: 4px; }
.site__spec dt { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.site__spec dd { margin: 0; font-size: 15px; line-height: 1.4; color: var(--ink); }
/* ------------------------------------------------------------------ BigApp: the kart's tablet, the route of a ride, wireframe and design, the system, the people
   The tablet plays the restyle «Giallo Biga» (the mockups of bigapp-root, docs/redesign-giallo-biga): its screen is drawn on
   the mockups' grid of 1194×834 points, --u being one point. One 20 s loop ("bgt"), paused while the tablet is off screen;
   with the motion stopped or reduced it rests on the tour map, as in the mockup. Hubot Sans is the restyle's typeface: it
   is downloaded only on this page, where it is used. */
@font-face { font-family: "Hubot Sans"; font-weight: 400; font-display: swap; src: url(/assets/img/bg-hubot-400.ttf) format("truetype"); }
@font-face { font-family: "Hubot Sans"; font-weight: 500; font-display: swap; src: url(/assets/img/bg-hubot-500.ttf) format("truetype"); }
.dev-combo--tab { padding-bottom: 0; }
.tab { position: relative; width: 94%; margin: 0 auto; }
.tab__body { position: relative; padding: 2.1%; border-radius: 3.4% / 4.9%; background: linear-gradient(150deg, #2c2e34 0%, #141519 45%, #08090b 100%);
  box-shadow: inset 0 0 0 1.5px #4b4e56, inset 0 0 0 4px #0b0c0e, 0 60px 120px -40px rgba(0, 0, 0, .9), 0 30px 70px -40px rgba(255, 188, 0, .22); }
.tab__screen { position: relative; aspect-ratio: 1194 / 834; overflow: hidden; border-radius: 1.7% / 2.45%; background: #efebe1; }
.tab__screen::after { content: ""; position: absolute; inset: 0; z-index: 5; pointer-events: none; background: linear-gradient(118deg, rgba(255, 255, 255, .09) 0%, rgba(255, 255, 255, 0) 36%); }
.tab__view { position: absolute; inset: 0; overflow: hidden; container-type: size; }
.tab__cam { position: absolute; top: .92%; left: 50%; width: .8%; aspect-ratio: 1; border-radius: 50%; transform: translateX(-50%);
  background: radial-gradient(circle at 35% 35%, #3b4a63 0%, #0a0c10 60%); box-shadow: 0 0 0 1px #1d1f24; }
.tab__cap { margin: 22px 0 0; text-align: center; }

.bgt { --u: calc(100cqw / 1194); --gi: #15130f; --gy: #ffbc00; --gs: #ffe9a8; --gg: #fffbf2; --gsub: #5e5a52; --gm: #4a463f; --gt: #e3dccb;
  --gsh: 0 calc(var(--u) * 8) calc(var(--u) * 24) rgba(21, 19, 15, .14);
  position: absolute; inset: 0; overflow: hidden; font-family: "Hubot Sans", var(--font-text); font-weight: 500; line-height: 1.2; color: var(--gi); }
.bgt :where(p, ol, li) { margin: 0; padding: 0; }
.bgt__s { position: absolute; inset: 0; }
.bgt__s1, .bgt__s2 { opacity: 0; }
.bgt__shot, .bgt__map { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.bgt__pulse { position: absolute; left: calc(var(--u) * 56); top: calc(var(--u) * 570); width: calc(var(--u) * 16); height: calc(var(--u) * 16); border-radius: 50%; background: var(--gi); opacity: 0; }
.bgt__tap { position: absolute; width: calc(var(--u) * 96); height: calc(var(--u) * 96); margin: calc(var(--u) * -48) 0 0 calc(var(--u) * -48); border-radius: 50%;
  background: rgba(21, 19, 15, .18); box-shadow: 0 0 0 calc(var(--u) * 3) rgba(21, 19, 15, .3); opacity: 0; transform: scale(.2); }
.bgt__tap--it { left: calc(var(--u) * 184); top: calc(var(--u) * 395); }
.bgt__tap--go { left: calc(var(--u) * 1037); top: calc(var(--u) * 750); }
.bgt__tap--bigy { left: calc(var(--u) * 1068); top: calc(var(--u) * 710); background: rgba(255, 188, 0, .5); box-shadow: 0 0 0 calc(var(--u) * 4) rgba(255, 255, 255, .75); }
/* the map: the route (ink border, yellow, and the grey of what is done), the stops, the kart; SVG units are mockup points */
.bgt__route { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.bgt__r { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.bgt__r--ink { stroke: var(--gi); stroke-width: 13; stroke-dasharray: 0 .3235 1 2; }
.bgt__r--yel { stroke: var(--gy); stroke-width: 7; stroke-dasharray: 0 .3235 1 2; }
.bgt__r--done { stroke: #8a857a; stroke-width: 7; stroke-dasharray: .3235 2; }
.bgt__num { fill: #fff; stroke: var(--gi); stroke-width: 3; }
.bgt__numt { fill: var(--gi); font: 500 22px "Hubot Sans", var(--font-text); text-anchor: middle; }
.bgt__done { fill: var(--gsub); stroke: var(--gg); stroke-width: 3; }
.bgt__dchk { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.bgt__here { fill: var(--gy); stroke: var(--gi); stroke-width: 4; }
.bgt__ring { fill: var(--gy); opacity: 0; transform-box: fill-box; transform-origin: center; }
.bgt__mk { transform-box: fill-box; transform-origin: center; }
.bgt__kart { transform: translate(842px, 402px); }
.bgt__kart-in { filter: drop-shadow(0 6px 6px rgba(21, 19, 15, .3)); }
.bgt__kart-bg { fill: var(--gi); }
/* the tour and the route panel */
.bgt__head { position: absolute; left: calc(var(--u) * 24); top: calc(var(--u) * 24); width: calc(var(--u) * 380); height: calc(var(--u) * 76); box-sizing: border-box;
  display: flex; align-items: center; gap: calc(var(--u) * 14); padding: 0 calc(var(--u) * 20) 0 calc(var(--u) * 12); background: #fff; border-radius: calc(var(--u) * 24); box-shadow: var(--gsh); }
.bgt__logo { flex: none; width: calc(var(--u) * 52); height: calc(var(--u) * 52); border-radius: calc(var(--u) * 16); }
.bgt__ht { display: flex; flex-direction: column; gap: calc(var(--u) * 2); min-width: 0; }
.bgt__ht b { font-weight: 500; font-size: calc(var(--u) * 19); white-space: nowrap; }
.bgt__ht small, .bgt__pt small { font-size: calc(var(--u) * 15); color: var(--gsub); }
.bgt__panel { position: absolute; left: calc(var(--u) * 24); top: calc(var(--u) * 112); width: calc(var(--u) * 380); box-sizing: border-box; display: flex; flex-direction: column; gap: calc(var(--u) * 12);
  padding: calc(var(--u) * 20) calc(var(--u) * 16) calc(var(--u) * 12); background: #fff; border-radius: calc(var(--u) * 28); box-shadow: var(--gsh); }
.bgt__pt { display: flex; justify-content: space-between; align-items: baseline; padding: 0 calc(var(--u) * 8); }
.bgt__t, .bgt__dots, .bgt__lb, .bgt__dkv, .bgt__reply { display: grid; }
.bgt__t > *, .bgt__dots > *, .bgt__lb > *, .bgt__dkv > *, .bgt__reply > * { grid-area: 1 / 1; }
.bgt__t { font-size: calc(var(--u) * 22); }
.bgt__segs { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: calc(var(--u) * 5); margin-top: calc(var(--u) * -2); padding: 0 calc(var(--u) * 8); }
.bgt__seg { height: calc(var(--u) * 8); border-radius: 999px; background: var(--gt); }
.bgt__seg--1, .bgt__seg--2 { background: var(--gi); }
.bgt__seg--3 { background: var(--gy); box-shadow: 0 0 0 calc(var(--u) * 2) var(--gi); }
.bgt__rows { list-style: none; display: flex; flex-direction: column; }
.bgt__row { position: relative; height: calc(var(--u) * 50); display: flex; align-items: center; gap: calc(var(--u) * 12); padding: 0 calc(var(--u) * 12) 0 calc(var(--u) * 8); }
.bgt__hl { position: absolute; inset: 0; border-radius: calc(var(--u) * 18); background: var(--gs); }
.bgt__dots { position: relative; }
.bgt__dot { width: calc(var(--u) * 36); height: calc(var(--u) * 36); box-sizing: border-box; display: grid; place-items: center; border-radius: 50%;
  font-size: calc(var(--u) * 16); background: #fff; border: calc(var(--u) * 2) solid var(--gi); }
.bgt__dot.is-cur { background: var(--gy); border-width: calc(var(--u) * 3); }
.bgt__dot.is-done { background: var(--gsub); border: 0; }
.bgt__chk { width: calc(var(--u) * 20); height: calc(var(--u) * 20); fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.bgt__nm { position: relative; flex: 1 1 0; min-width: 0; font-size: calc(var(--u) * 18); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bgt__lb { position: relative; justify-items: end; font-size: calc(var(--u) * 14); color: var(--gm); }
.bgt__next { position: absolute; left: calc(var(--u) * 914); top: calc(var(--u) * 237); height: calc(var(--u) * 36); display: flex; align-items: center; padding: 0 calc(var(--u) * 14);
  border-radius: 999px; background: var(--gi); color: #fff; font-size: calc(var(--u) * 15); }
/* the dock: the stop where the kart is, Ascolta, Scopri la tappa, Chiedi a Bigy */
.bgt__dock { position: absolute; left: calc(var(--u) * 24); top: calc(var(--u) * 610); width: calc(var(--u) * 1146); height: calc(var(--u) * 200); box-sizing: border-box;
  display: flex; align-items: center; gap: calc(var(--u) * 28); padding: calc(var(--u) * 20) calc(var(--u) * 28) calc(var(--u) * 20) calc(var(--u) * 20);
  background: #fff; border-radius: calc(var(--u) * 36); box-shadow: 0 calc(var(--u) * 12) calc(var(--u) * 32) rgba(21, 19, 15, .18); }
.bgt__dkv { flex: 1 1 0; min-width: 0; }
.bgt__dk { display: flex; align-items: center; gap: calc(var(--u) * 28); min-width: 0; }
.bgt__arch { flex: none; width: calc(var(--u) * 160); height: calc(var(--u) * 160); object-fit: cover; border-radius: calc(var(--u) * 80) calc(var(--u) * 80) calc(var(--u) * 20) calc(var(--u) * 20); }
.bgt__dkt { display: flex; flex-direction: column; gap: calc(var(--u) * 8); min-width: 0; }
.bgt__chip { align-self: flex-start; height: calc(var(--u) * 32); display: flex; align-items: center; padding: 0 calc(var(--u) * 14); border-radius: 999px; background: var(--gy);
  font-size: calc(var(--u) * 14); letter-spacing: .06em; text-transform: uppercase; }
.bgt__h { font-size: calc(var(--u) * 38); line-height: 1.05; letter-spacing: -.02em; }
.bgt__p { font-size: calc(var(--u) * 18); line-height: 1.35; font-weight: 400; color: var(--gm); }
.bgt__acts { flex: none; width: calc(var(--u) * 232); display: flex; flex-direction: column; gap: calc(var(--u) * 12); }
.bgt__b { height: calc(var(--u) * 60); box-sizing: border-box; display: flex; align-items: center; justify-content: center; gap: calc(var(--u) * 10);
  border: calc(var(--u) * 2) solid var(--gi); border-radius: 999px; background: #fff; font-size: calc(var(--u) * 19); }
.bgt__b--y { height: calc(var(--u) * 72); background: var(--gy); font-size: calc(var(--u) * 21); }
.bgt__b svg { width: calc(var(--u) * 24); height: calc(var(--u) * 24); fill: currentColor; }
.bgt__bigy { flex: none; width: calc(var(--u) * 148); height: calc(var(--u) * 160); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: calc(var(--u) * 6);
  border-radius: calc(var(--u) * 28); background: var(--gi); color: #fff; font-size: calc(var(--u) * 17); }
.bgt__bigy img { width: calc(var(--u) * 84); height: calc(var(--u) * 94); object-fit: contain; }
/* the chat with Bigy, as the restyle draws it */
.bgt__chat { position: absolute; left: calc(var(--u) * 764); top: calc(var(--u) * 24); width: calc(var(--u) * 406); height: calc(var(--u) * 566); box-sizing: border-box;
  display: flex; flex-direction: column; gap: calc(var(--u) * 14); padding: calc(var(--u) * 18); background: #fff; border-radius: calc(var(--u) * 28);
  box-shadow: 0 calc(var(--u) * 12) calc(var(--u) * 36) rgba(21, 19, 15, .22); opacity: 0; transform-origin: 80% 100%; }
.bgt__ch { display: flex; align-items: center; gap: calc(var(--u) * 12); padding-bottom: calc(var(--u) * 14); border-bottom: calc(var(--u) * 1.5) solid #e9e2d2; }
.bgt__chav { flex: none; width: calc(var(--u) * 52); height: calc(var(--u) * 52); display: grid; place-items: center; border-radius: 50%; background: var(--gg); overflow: hidden; }
.bgt__chav img { width: 72%; height: auto; }
.bgt__ch b { display: block; font-weight: 500; font-size: calc(var(--u) * 20); }
.bgt__ch small { font-size: calc(var(--u) * 14); color: var(--gsub); }
.bgt__msgs { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: flex-end; gap: calc(var(--u) * 12); }
.bgt__msg { max-width: 86%; box-sizing: border-box; padding: calc(var(--u) * 14) calc(var(--u) * 18); border-radius: calc(var(--u) * 22); font-size: calc(var(--u) * 17); line-height: 1.38; font-weight: 400; }
.bgt__msg--me { align-self: flex-end; background: var(--gy); border-bottom-right-radius: calc(var(--u) * 6); }
.bgt__reply { align-items: end; }
.bgt__msg--bigy, .bgt__msg--typing { justify-self: start; background: var(--gg); border-bottom-left-radius: calc(var(--u) * 6); box-shadow: inset 0 0 0 calc(var(--u) * 1.5) #e9e2d2; }
.bgt__msg--typing { display: flex; gap: calc(var(--u) * 6); padding: calc(var(--u) * 18); opacity: 0; }
.bgt__msg--typing i { width: calc(var(--u) * 9); height: calc(var(--u) * 9); border-radius: 50%; background: var(--gsub); }
.bgt__in { height: calc(var(--u) * 60); display: flex; align-items: center; justify-content: space-between; padding: 0 calc(var(--u) * 8) 0 calc(var(--u) * 22);
  border-radius: 999px; box-shadow: inset 0 0 0 calc(var(--u) * 1.5) #d8d0be; color: var(--gsub); font-size: calc(var(--u) * 17); font-weight: 400; }
.bgt__send { width: calc(var(--u) * 44); height: calc(var(--u) * 44); display: grid; place-items: center; border-radius: 50%; background: var(--gi); }
.bgt__send svg { width: 50%; height: 50%; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
/* the loop: the swaps are named after the moment of the 20 s loop they happen at (a53 until 53%, b53 from then on) */
.bgt .a53, .bgt .a57, .bgt .a63, .bgt .w5763 { opacity: 0; }
.bgt__s1 { animation: bgt-s1 20s linear infinite; }
.bgt__s2 { animation: bgt-s2 20s linear infinite; }
.bgt__s3 { animation: bgt-s3 20s linear infinite; }
.bgt__pulse { animation: bgt-pulse 1.8s ease-out infinite; }
.bgt__tap--it { animation: bgt-tap-it 20s linear infinite; }
.bgt__tap--go { animation: bgt-tap-go 20s linear infinite; }
.bgt__tap--bigy { animation: bgt-tap-bigy 20s linear infinite; }
.bgt__head, .bgt__panel { animation: bgt-fade 20s linear infinite; }
.bgt__dock { animation: bgt-up 20s linear infinite; }
.bgt__r--ink, .bgt__r--yel { animation: bgt-route 20s linear infinite; }
.bgt__r--done { animation: bgt-done 20s linear infinite; }
.bgt__kart { animation: bgt-kart 20s linear infinite; }
.bgt__kart-in, .bgt__bigy img { animation: bgt-bob 3s ease-in-out infinite; }
.bgt__ring { animation: bgt-ring 2s ease-out infinite; }
.bgt__pop { animation: bgt-pop 20s linear infinite; }
.bgt__pop--5 { animation-delay: .29s; }
.bgt__pop--6 { animation-delay: .92s; }
.bgt__pop--7 { animation-delay: 1.16s; }
.bgt .a53 { animation: bgt-a53 20s linear infinite; }
.bgt .b53 { animation: bgt-b53 20s linear infinite; }
.bgt .a57 { animation: bgt-a57 20s linear infinite; }
.bgt .b57 { animation: bgt-b57 20s linear infinite; }
.bgt .a63 { animation: bgt-a63 20s linear infinite; }
.bgt .b63 { animation: bgt-b63 20s linear infinite; }
.bgt .w5763 { animation: bgt-w5763 20s linear infinite; }
.bgt__seg--1 { animation: bgt-seg1 20s linear infinite; }
.bgt__seg--2 { animation: bgt-seg2 20s linear infinite; }
.bgt__seg--3 { animation: bgt-seg3 20s linear infinite; }
.bgt__chat { animation: bgt-chat 20s linear infinite; }
.bgt__msg--me { animation: bgt-me 20s linear infinite; }
.bgt__msg--typing { animation: bgt-typing 20s linear infinite; }
.bgt__msg--bigy { animation: bgt-ans 20s linear infinite; }
.bgt__msg--typing i { animation: bgt-dot 1s ease-in-out infinite; }
.bgt__msg--typing i:nth-child(2) { animation-delay: .15s; }
.bgt__msg--typing i:nth-child(3) { animation-delay: .3s; }
@keyframes bgt-s1 { 0%, 16.5% { opacity: 1; } 19%, 95% { opacity: 0; } 98.5%, 100% { opacity: 1; } }
@keyframes bgt-s2 { 0%, 16.5% { opacity: 0; transform: translateX(5%); animation-timing-function: cubic-bezier(.2, .8, .2, 1); }
  19.5%, 33.5% { opacity: 1; transform: none; } 36%, 100% { opacity: 0; transform: none; } }
@keyframes bgt-s3 { 0%, 33% { opacity: 0; } 35.5%, 99.5% { opacity: 1; } 100% { opacity: 0; } }
@keyframes bgt-pulse { 0% { opacity: .55; transform: scale(1); } 100% { opacity: 0; transform: scale(2.6); } }
@keyframes bgt-tap-it { 0%, 23% { opacity: 0; transform: scale(.2); } 23.6% { opacity: 1; transform: scale(.6); } 25.5%, 100% { opacity: 0; transform: scale(1.25); } }
@keyframes bgt-tap-go { 0%, 29% { opacity: 0; transform: scale(.2); } 29.6% { opacity: 1; transform: scale(.6); } 31.5%, 100% { opacity: 0; transform: scale(1.25); } }
@keyframes bgt-tap-bigy { 0%, 69% { opacity: 0; transform: scale(.2); } 69.6% { opacity: 1; transform: scale(.6); } 71.5%, 100% { opacity: 0; transform: scale(1.4); } }
@keyframes bgt-fade { 0%, 35% { opacity: 0; } 38.5%, 100% { opacity: 1; } }
@keyframes bgt-up { 0%, 36% { opacity: 0; transform: translateY(calc(var(--u) * 48)); animation-timing-function: cubic-bezier(.2, .8, .2, 1); } 40%, 100% { opacity: 1; transform: none; } }
@keyframes bgt-route { 0%, 37.5% { stroke-dasharray: 0 0 0 2; } 48%, 52.8% { stroke-dasharray: 0 0 1 2; }
  57.3% { stroke-dasharray: 0 .1355 1 2; animation-timing-function: cubic-bezier(.33, .33, .5, 1); } 62% { stroke-dasharray: 0 .2328 1 2; } 63%, 100% { stroke-dasharray: 0 .3235 1 2; } }
@keyframes bgt-done { 0%, 52.8% { stroke-dasharray: 0 2; } 57.3% { stroke-dasharray: .1355 2; animation-timing-function: cubic-bezier(.33, .33, .5, 1); }
  62% { stroke-dasharray: .2328 2; } 63%, 100% { stroke-dasharray: .3235 2; } }
@keyframes bgt-kart { 0%, 50% { transform: translate(1124px, 588px); animation-timing-function: cubic-bezier(.5, 0, .67, .67); }
  52.8% { transform: translate(1060px, 540px); } 57.3% { transform: translate(940px, 450px); animation-timing-function: cubic-bezier(.33, .33, .5, 1); }
  62%, 100% { transform: translate(842px, 402px); } }
@keyframes bgt-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes bgt-ring { 0% { opacity: .6; transform: scale(1); } 100% { opacity: 0; transform: scale(1.57); } }
@keyframes bgt-pop { 0%, 41.6% { opacity: 0; transform: scale(.3); } 42.8% { opacity: 1; transform: scale(1.12); } 43.8%, 100% { opacity: 1; transform: none; } }
@keyframes bgt-a53 { 0%, 52.6% { opacity: 1; } 53.4%, 100% { opacity: 0; } }
@keyframes bgt-b53 { 0%, 52.6% { opacity: 0; } 53.4%, 100% { opacity: 1; } }
@keyframes bgt-a57 { 0%, 56.9% { opacity: 1; } 57.7%, 100% { opacity: 0; } }
@keyframes bgt-b57 { 0%, 56.9% { opacity: 0; } 57.7%, 100% { opacity: 1; } }
@keyframes bgt-a63 { 0%, 62.6% { opacity: 1; } 63.4%, 100% { opacity: 0; } }
@keyframes bgt-b63 { 0%, 62.6% { opacity: 0; } 63.4%, 100% { opacity: 1; } }
@keyframes bgt-w5763 { 0%, 56.9% { opacity: 0; } 57.7%, 62.6% { opacity: 1; } 63.4%, 100% { opacity: 0; } }
@keyframes bgt-seg1 { 0%, 52.6% { background: var(--gy); box-shadow: 0 0 0 calc(var(--u) * 2) var(--gi); } 53.4%, 100% { background: var(--gi); box-shadow: 0 0 0 0 var(--gi); } }
@keyframes bgt-seg2 { 0%, 56.9% { background: var(--gt); } 57.7%, 100% { background: var(--gi); } }
@keyframes bgt-seg3 { 0%, 62.6% { background: var(--gt); box-shadow: 0 0 0 0 var(--gi); } 63.4%, 100% { background: var(--gy); box-shadow: 0 0 0 calc(var(--u) * 2) var(--gi); } }
@keyframes bgt-chat { 0%, 71% { opacity: 0; transform: translateY(calc(var(--u) * 28)) scale(.96); animation-timing-function: cubic-bezier(.2, .8, .2, 1); }
  74%, 94% { opacity: 1; transform: none; } 96.5%, 100% { opacity: 0; transform: none; } }
@keyframes bgt-me { 0%, 74.5% { opacity: 0; transform: translateY(calc(var(--u) * 14)); } 76%, 100% { opacity: 1; transform: none; } }
@keyframes bgt-typing { 0%, 76.6% { opacity: 0; } 77.4%, 80.2% { opacity: 1; } 81%, 100% { opacity: 0; } }
@keyframes bgt-ans { 0%, 80.6% { opacity: 0; transform: translateY(calc(var(--u) * 14)); } 82.2%, 100% { opacity: 1; transform: none; } }
@keyframes bgt-dot { 0%, 100% { transform: none; opacity: .45; } 50% { transform: translateY(calc(var(--u) * -5)); opacity: 1; } }
.tab:not(.is-live) .bgt * { animation-play-state: paused !important; }
.is-still .bgt * { animation: none !important; }
@media (prefers-reduced-motion: reduce) { .bgt * { animation: none !important; } }

/* the route of a ride: a road down the left side, drawn as the page scrolls, the kart at its tip (site.js sets --p) */
.jr { --p: 1; position: relative; margin-top: clamp(8px, 2vw, 24px); }
.jr__road { position: absolute; left: 21px; top: 24px; bottom: 24px; width: 6px; border-radius: 3px;
  background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, .16) 0 14px, transparent 14px 26px); }
.jr__fill { position: absolute; left: 0; right: 0; top: 0; height: calc(var(--p) * 100%); border-radius: 3px; background: var(--jr, #ffbc00); box-shadow: 0 0 18px color-mix(in srgb, var(--jr, #ffbc00) 45%, transparent); }
.jr__kart { position: absolute; z-index: 2; left: 50%; top: calc(var(--p) * 100%); width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 14px; overflow: hidden;
  box-shadow: 0 0 0 3px #15130f, 0 12px 26px rgba(0, 0, 0, .55); }
.jr__kart img { display: block; width: 100%; height: 100%; }
.jr__steps { list-style: none; margin: 0; padding: 0 0 0 80px; display: grid; gap: clamp(40px, 6vw, 88px); }
.jr__step { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px clamp(28px, 4vw, 64px); align-items: center; max-width: 1100px; }
.jr__step--shot { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.jr__txt { position: relative; max-width: 52ch; transition: opacity .5s var(--ease-out); }
.js-motion .jr__step:not(.is-on) .jr__txt { opacity: .42; }
.jr__dot { position: absolute; left: -80px; top: -12px; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%;
  font: 600 16px var(--font-mono); color: var(--muted); background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--line-3); transition: background .4s, color .4s, box-shadow .4s; }
.jr__step.is-on .jr__dot { background: var(--jr, #ffbc00); color: #15130f; box-shadow: 0 0 0 7px color-mix(in srgb, var(--jr, #ffbc00) 16%, transparent); }
.jr__where { margin: 0 0 8px; color: var(--jr, #ffbc00); }
.jr__h { margin: 0 0 10px; font-size: clamp(24px, 2.4vw, 34px); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.jr__txt > p:last-child { margin: 0; color: var(--ink-2); }
.jr__shot { margin: 0; }
.jr__shot img { display: block; width: 100%; height: auto; border-radius: 12px; box-shadow: 0 0 0 7px #121318, 0 0 0 8px var(--line-2), 0 40px 80px -40px rgba(0, 0, 0, .9); }
@media (max-width: 899px) {
  .jr__step--shot { grid-template-columns: minmax(0, 1fr); }
  .jr__steps { padding-left: 64px; }
  .jr__road { left: 15px; }
  .jr__dot { left: -64px; width: 36px; height: 36px; top: -6px; font-size: 13px; }
  .jr__kart { width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 11px; }
}

/* wireframe and design one over the other: the slider moves the edge (--cut); then the palette, the typeface, the arch, the screens */
.gb { display: grid; gap: clamp(28px, 4vw, 56px); }
.cmp { margin: 0; }
.cmp__stage { position: relative; aspect-ratio: 1194 / 834; overflow: hidden; border-radius: var(--r-card); box-shadow: 0 0 0 1px var(--line-2), 0 40px 80px -40px rgba(0, 0, 0, .8); }
.cmp__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cmp__wire { position: absolute; inset: 0; background: #0c0e13; clip-path: inset(0 calc(100% - var(--cut)) 0 0); }
.cmp__wire .wire { height: 100%; }
.cmp__bar { position: absolute; top: 0; bottom: 0; left: var(--cut); width: 2px; margin-left: -1px; background: #ffbc00; pointer-events: none; }
.cmp__knob { position: absolute; top: 50%; left: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px; display: grid; place-items: center; border-radius: 50%;
  background: #ffbc00; box-shadow: 0 0 0 5px rgba(255, 188, 0, .25), 0 10px 24px rgba(0, 0, 0, .45); }
.cmp__knob svg { width: 24px; height: 24px; fill: none; stroke: #15130f; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.cmp__lab { position: absolute; top: 14px; margin: 0; padding: 7px 11px; border-radius: 999px; font-size: 11px; color: #eef0f4; background: rgba(7, 8, 11, .74); pointer-events: none; }
.cmp__lab--l { left: 14px; }
.cmp__lab--r { right: 14px; background: rgba(21, 19, 15, .8); }
.cmp__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; touch-action: pan-y; }
.cmp__stage:has(.cmp__range:focus-visible) .cmp__knob { outline: 3px solid #fff; outline-offset: 4px; }
.cmp figcaption { margin-top: 16px; color: var(--ink-2); }
.cmp figcaption strong { display: block; margin-bottom: 4px; color: var(--ink); font-weight: 600; }
.wire--biga .wf-river { fill: none; stroke: rgba(88, 185, 218, .14); stroke-width: 34; stroke-linecap: round; }
.wire--biga .wf-street { fill: none; stroke: rgba(255, 255, 255, .06); stroke-width: 12; stroke-linecap: round; }
.wire--biga .wf-done { fill: none; stroke: rgba(255, 255, 255, .4); stroke-width: 5; stroke-dasharray: 1 11; stroke-linecap: round; }
.wire--biga .wf-todo { fill: none; stroke: #ffbc00; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.wire--biga .wf-visited { fill: rgba(255, 255, 255, .16); stroke: var(--line-3); stroke-width: 1.5; }
.wire--biga .wf-stop { fill: #0c0e13; stroke: rgba(255, 255, 255, .55); stroke-width: 2; }
.wire--biga .wf-here, .wire--biga .wf-kart { fill: rgba(255, 188, 0, .12); stroke: #ffbc00; stroke-width: 2.5; }
.wire--biga .wf-ring { fill: rgba(255, 188, 0, .22); stroke: #ffbc00; stroke-width: 2; }
.wire--biga .wf-pill { fill: rgba(255, 255, 255, .1); stroke: var(--line-3); stroke-width: 1.5; }
.wire--biga .wf-card { fill: rgba(16, 18, 25, .94); stroke: var(--line-3); stroke-width: 1.5; }
.wire--biga .wf-ph { fill: rgba(255, 255, 255, .04); stroke: var(--line-3); stroke-width: 1.5; }
.wire--biga .wf-ink { fill: rgba(255, 255, 255, .06); stroke: var(--line-3); stroke-width: 1.5; }
.wire--biga .wf-o { fill: #ffbc00; }
.wire--biga .wf-sel { fill: rgba(255, 188, 0, .12); stroke: rgba(255, 188, 0, .5); stroke-width: 1.5; }
.wire--biga .wf-t { font-size: 13px; }
.wire--biga .wf-t--c { text-anchor: middle; }
.wire--biga .wf-t--on { fill: #15130f; font-weight: 700; }
.wire--biga .wf-mark circle { fill: #ffbc00; }
.wire--biga .wf-mark text { fill: #15130f; font-size: 15px; }
.wf-n--biga { background: #ffbc00; color: #15130f; }
.gb__brand { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 3fr); gap: clamp(22px, 3vw, 44px); align-items: start;
  padding: clamp(18px, 2.4vw, 32px); border-radius: var(--r-card); background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.gb__col { margin: 0; }
.gb__k { margin: 0 0 14px; }
.gb__sw { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.gb__note { margin: 14px 0 0; color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.gb__note strong { display: block; margin-bottom: 2px; color: var(--ink); font-weight: 600; }
.gb__type { margin: 0; font: 500 clamp(64px, 7vw, 104px) / 1 "Hubot Sans", var(--font-text); letter-spacing: -.02em; color: #ffbc00; }
.gb__arch img { display: block; width: 100%; max-width: 200px; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 50% 50% 14px 14px / 40% 40% 14px 14px; }
.gb__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 32px); }
.gb__scr { margin: 0; }
.gb__scr img { display: block; width: 100%; height: auto; border-radius: 10px; box-shadow: 0 0 0 6px #121318, 0 0 0 7px var(--line-2), 0 28px 56px -30px rgba(0, 0, 0, .85); }
.gb__scr figcaption { margin-top: 18px; }
.gb__src { margin: -12px 0 0; }
@media (hover: hover) and (pointer: fine) {
  .gb__scr img { transition: transform 500ms var(--ease-out); }
  .gb__scr:hover img { transform: translateY(-4px) scale(1.015); }
}
@media (max-width: 899px) {
  .gb__brand { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .gb__brand > :first-child { grid-column: 1 / -1; }
  .gb__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .cmp .bk__legend { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 559px) {
  .gb__sw { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gb__grid { grid-template-columns: minmax(0, 1fr); }
  .cmp__lab { top: 8px; padding: 5px 8px; font-size: 10px; }
  .cmp__lab--l { left: 8px; } .cmp__lab--r { right: 8px; }
  .cmp__knob { width: 38px; height: 38px; margin: -19px 0 0 -19px; }
}

/* the system: the data moves along the lines while the diagram is on screen */
.arw { margin: 0; padding: clamp(14px, 3vw, 40px); border-radius: var(--r-card); box-shadow: 0 0 0 1px var(--line);
  background: radial-gradient(70% 80% at 50% 48%, rgba(255, 188, 0, .07), transparent 70%), var(--surface); }
.ar { display: block; width: 100%; height: auto; overflow: visible; }
.ar--m { display: none; max-width: 420px; margin-inline: auto; }
.ar-e { fill: none; stroke: var(--line-3); stroke-width: 1.5; }
.ar-f { fill: none; stroke: #ffbc00; stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: 1 14; }
.arw.is-live .ar-f { animation: ar-flow 1.4s linear infinite; }
@keyframes ar-flow { to { stroke-dashoffset: -15; } }
.ar-l { fill: var(--muted); font: 400 11.5px var(--font-mono); letter-spacing: .04em; text-transform: uppercase; }
.ar-n rect { fill: var(--bg); stroke: var(--line-3); stroke-width: 1.5; }
.ar-n--hub rect { fill: rgba(255, 188, 0, .07); stroke: #ffbc00; }
.ar-t { fill: var(--ink); font-family: var(--font-text); font-weight: 600; letter-spacing: -.01em; }
.ar-s { fill: #ffbc00; font-family: var(--font-mono); letter-spacing: .02em; }
.ar-c { fill: var(--muted); font-family: var(--font-text); }
.ar-p rect { fill: var(--surface-2); stroke: var(--line-2); stroke-width: 1.5; }
.ar-p text { fill: var(--ink-2); font-family: var(--font-mono); text-anchor: middle; }
.stk { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); margin-top: clamp(20px, 3vw, 36px); }
.stk__c { padding: 22px 24px 26px; border-radius: var(--r-card); background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.stk__h { margin: 0 0 14px; font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.stk ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.stk li { position: relative; padding-left: 18px; color: var(--ink-2); font-size: 15.5px; line-height: 1.45; }
.stk li::before { content: ""; position: absolute; left: 0; top: .58em; width: 7px; height: 7px; border-radius: 2px; background: #ffbc00; }
@media (max-width: 899px) { .stk { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 699px) { .ar--d { display: none; } .ar--m { display: block; } }
.is-still .ar-f { animation: none !important; }
@media (prefers-reduced-motion: reduce) { .ar-f { animation: none !important; } }

/* the people: round portraits in a dashed yellow ring that turns while the cards are on screen */
.crew { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.crew__p { display: grid; gap: 22px; align-content: start; padding: clamp(22px, 2.4vw, 32px); border-radius: var(--r-card); background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.crew__av { position: relative; width: 132px; aspect-ratio: 1; }
.crew__av img { position: absolute; inset: 11px; width: calc(100% - 22px); height: calc(100% - 22px); border-radius: 50%; object-fit: cover; }
.crew__ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.crew__ring circle { fill: none; stroke: #ffbc00; stroke-width: 2.2; stroke-dasharray: 3 8; stroke-linecap: round; transform-box: fill-box; transform-origin: center; }
.crew.is-live .crew__ring circle { animation: crew-spin 30s linear infinite; }
@keyframes crew-spin { to { transform: rotate(360deg); } }
.crew__n { margin: 0 0 6px; font-size: 24px; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.crew__n a { color: inherit; text-decoration: none; }
.crew__w { margin: 14px 0 0; color: var(--ink-2); }
.crew__on { margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.crew__on span { padding: 6px 10px; border-radius: 999px; font: 500 11.5px var(--font-mono); letter-spacing: .04em; text-transform: uppercase; color: #15130f; background: #ffbc00; }
.crew__on .crew__when { color: var(--muted); background: none; box-shadow: inset 0 0 0 1px var(--line-3); }
.crew__stack { display: flex; }
.crew__stack img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--bg); }
.crew__stack img + img { margin-left: -12px; }
@media (hover: hover) and (pointer: fine) {
  .crew__av img { transition: transform 500ms var(--ease-out); }
  .crew__p:hover .crew__av img { transform: scale(1.05); }
  .crew.is-live .crew__p:hover .crew__ring circle { animation-duration: 5s; }
  .crew__n a:hover { color: var(--accent); }
}
@media (max-width: 899px) {
  .crew { grid-template-columns: minmax(0, 1fr); }
  .crew__p { grid-template-columns: 104px minmax(0, 1fr); align-items: start; }
  .crew__av { width: 104px; }
}
.is-still .crew__ring circle { animation: none !important; }
@media (prefers-reduced-motion: reduce) { .crew__ring circle { animation: none !important; } }

.site__url--off { color: var(--muted); }
.site__url--off span { background: none; }
/* the technologies and the people of any project: as many columns as parts and people (up to three) */
.stk--1 { grid-template-columns: minmax(0, 640px); }
.stk--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.crew--1 { grid-template-columns: minmax(0, 1fr); }
/* one person: a wide card, the portrait large on the left, so it does not get lost at the bottom of the page */
@media (min-width: 900px) {
  .crew--1 .crew__p { grid-template-columns: 220px minmax(0, 1fr); gap: clamp(32px, 4.5vw, 72px); align-items: center; padding: clamp(32px, 3.6vw, 56px); }
  .crew--1 .crew__av { width: 220px; }
  .crew--1 .crew__av img { inset: 14px; width: calc(100% - 28px); height: calc(100% - 28px); }
  .crew--1 .crew__n { font-size: clamp(30px, 2.8vw, 42px); }
  .crew--1 .crew__w { font-size: clamp(17px, 1.3vw, 20px); line-height: 1.55; max-width: 62ch; }
}
.crew--2, .crew--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }   /* four people: two by two, not three and one alone */
@media (max-width: 899px) { .stk--2, .crew--2, .crew--4 { grid-template-columns: minmax(0, 1fr); } }
.stk--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1199px) { .stk--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 699px) { .stk--4 { grid-template-columns: minmax(0, 1fr); } }
/* ------------------------------------------------------------------ Cloud e deploy: the tools as logos in two moving bands, the road from a commit to the cloud
   (three stations lit in turn, a packet running along the wires, a 6 s loop while seen), and where our projects are released */
.tools__bands { display: grid; gap: 14px; margin-top: clamp(8px, 1.6vw, 20px); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.band--tools .band__track { gap: 14px; padding-right: 14px; align-items: stretch; }
.lt { display: flex; align-items: center; gap: 14px; padding: 12px 24px 12px 12px; border-radius: 18px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); white-space: nowrap; }
.lt__ic { flex: none; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 15px; background: #f4f5f7; box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .6); }
.lt__ic img { width: 34px; height: 34px; object-fit: contain; }
.lt__t { display: grid; gap: 3px; }
.lt--g .lt__ic svg { width: 30px; height: 30px; fill: none; stroke: #101219; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.lt__t b { font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.lt__t small { font: 400 11.5px var(--font-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 699px) { .lt { padding: 10px 18px 10px 10px; } .lt__ic { width: 48px; height: 48px; border-radius: 13px; } .lt__ic img { width: 28px; height: 28px; } }

.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr) clamp(48px, 7vw, 120px) minmax(0, 1fr) clamp(48px, 7vw, 120px) minmax(0, 1fr); align-items: center; }
.flow__st { position: relative; height: 100%; box-sizing: border-box; padding: clamp(20px, 2vw, 28px); border-radius: var(--r-card); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.flow__top { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.flow__n { color: var(--accent); }
.flow__logos { display: flex; }
.flow__logos span { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: #f4f5f7; box-shadow: 0 0 0 3px var(--surface); }
.flow__logos span + span { margin-left: -8px; }
.flow__logos img { width: 26px; height: 26px; object-fit: contain; }
.flow__live { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; padding: 6px 11px; border-radius: 999px; font-size: 11px; color: #c9f5dc; background: rgba(76, 195, 138, .12); box-shadow: inset 0 0 0 1px rgba(76, 195, 138, .35); }
.flow__live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #4cc38a; box-shadow: 0 0 10px #4cc38a; }
.flow__st h3 { margin: 0 0 8px; font-size: clamp(22px, 2vw, 28px); font-weight: 600; letter-spacing: -.02em; }
.flow__st p { margin: 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.5; }
.flow__wire { position: relative; height: 2px; margin: 0 -1px; background: repeating-linear-gradient(90deg, var(--line-3) 0 7px, transparent 7px 14px); }
.flow__wire i { position: absolute; left: 0; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(88, 185, 218, .18), 0 0 18px var(--accent); opacity: 0; }
.flow.is-live .flow__wire { animation: flow-march .7s linear infinite; }
.flow.is-live .flow__st--1 { animation: flow-st1 6s ease-in-out infinite; }
.flow.is-live .flow__st--2 { animation: flow-st2 6s ease-in-out infinite; }
.flow.is-live .flow__st--3 { animation: flow-st3 6s ease-in-out infinite; }
.flow.is-live .flow__wire--1 i { animation: flow-p1 6s ease-in-out infinite; }
.flow.is-live .flow__wire--2 i { animation: flow-p2 6s ease-in-out infinite; }
.flow.is-live .flow__live::before { animation: flow-dot 6s ease-out infinite; }
@keyframes flow-march { to { background-position: 14px 0; } }
@keyframes flow-st1 { 0%, 100% { box-shadow: inset 0 0 0 1px var(--line); } 6%, 22% { box-shadow: inset 0 0 0 1px rgba(88, 185, 218, .7), 0 30px 70px -30px rgba(88, 185, 218, .55); } 32% { box-shadow: inset 0 0 0 1px var(--line); } }
@keyframes flow-st2 { 0%, 36%, 100% { box-shadow: inset 0 0 0 1px var(--line); } 44%, 58% { box-shadow: inset 0 0 0 1px rgba(88, 185, 218, .7), 0 30px 70px -30px rgba(88, 185, 218, .55); } 68% { box-shadow: inset 0 0 0 1px var(--line); } }
@keyframes flow-st3 { 0%, 72% { box-shadow: inset 0 0 0 1px var(--line); } 80%, 94% { box-shadow: inset 0 0 0 1px rgba(76, 195, 138, .75), 0 30px 70px -30px rgba(76, 195, 138, .5); } 100% { box-shadow: inset 0 0 0 1px var(--line); } }
@keyframes flow-p1 { 0%, 22% { left: 0; opacity: 0; } 25% { opacity: 1; } 40% { left: 100%; opacity: 1; } 43%, 100% { left: 100%; opacity: 0; } }
@keyframes flow-p2 { 0%, 58% { left: 0; opacity: 0; } 61% { opacity: 1; } 76% { left: 100%; opacity: 1; } 79%, 100% { left: 100%; opacity: 0; } }
@keyframes flow-dot { 0%, 78% { box-shadow: 0 0 10px #4cc38a; } 84% { box-shadow: 0 0 0 7px rgba(76, 195, 138, .25), 0 0 16px #4cc38a; } 100% { box-shadow: 0 0 10px #4cc38a; } }
@media (max-width: 899px) {
  .flow { grid-template-columns: minmax(0, 1fr); }
  .flow__wire { width: 2px; height: 44px; margin: 0 auto; background: repeating-linear-gradient(180deg, var(--line-3) 0 7px, transparent 7px 14px); }
  .flow__wire i { left: 50%; top: 0; margin: -6px 0 0 -6px; }
  @keyframes flow-march { to { background-position: 0 14px; } }
  @keyframes flow-p1 { 0%, 22% { top: 0; opacity: 0; } 25% { opacity: 1; } 40% { top: 100%; opacity: 1; } 43%, 100% { top: 100%; opacity: 0; } }
  @keyframes flow-p2 { 0%, 58% { top: 0; opacity: 0; } 61% { opacity: 1; } 76% { top: 100%; opacity: 1; } 79%, 100% { top: 100%; opacity: 0; } }
}
.wh-title { margin: clamp(40px, 5vw, 64px) 0 18px; }
.where { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.wh { padding: clamp(20px, 2vw, 28px); border-radius: var(--r-card); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.wh__head { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.wh__head h4 { margin: 0; font-size: 24px; font-weight: 600; letter-spacing: -.02em; }
.wh__logos { display: flex; }
.wh__logos span { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: #f4f5f7; box-shadow: 0 0 0 3px var(--surface); }
.wh__logos span + span { margin-left: -9px; }
.wh__logos img { width: 28px; height: 28px; object-fit: contain; }
.wh > p { margin: 0 0 18px; color: var(--ink-2); font-size: 15.5px; line-height: 1.5; max-width: 60ch; }
.wh__list { display: flex; flex-wrap: wrap; gap: 10px; }
.wc { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 5px 14px 5px 5px; border-radius: 999px; color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500;
  background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow 200ms var(--ease-out), color 200ms var(--ease-out); }
.wc__img { width: 34px; height: 34px; border-radius: 50%; overflow: hidden; flex: none; background: #0c0e13; }
.wc__img img { width: 100%; height: 100%; object-fit: cover; }
.wc__img--site { display: grid; place-items: center; background: #f4f5f7; }
.wc__img--site img { width: 20px; height: 20px; object-fit: contain; }
.wc__go { width: 14px; height: 14px; opacity: .55; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .wc:hover { box-shadow: inset 0 0 0 1px var(--accent); color: var(--accent); } .wc:hover .wc__go { transform: translateX(3px); opacity: 1; } }
@media (max-width: 899px) { .where { grid-template-columns: minmax(0, 1fr); } }
.is-still .flow *, .is-still .flow { animation: none !important; }
@media (prefers-reduced-motion: reduce) { .flow, .flow * { animation: none !important; } }
/* the deploy creatives: drawn in the style of the team's Instagram posts (photo, cyan label, a line with its key word in cyan) */
.cr { position: relative; flex: none; margin: 0; height: clamp(320px, 34vw, 480px); aspect-ratio: 4 / 5; overflow: hidden; border-radius: 14px; container-type: size;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 30px 60px -24px rgba(0, 0, 0, .9); }
.cr__bg, .cr__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cr::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(7, 8, 11, .55) 0%, rgba(7, 8, 11, 0) 22%, rgba(7, 8, 11, 0) 40%, rgba(7, 8, 11, .78) 68%, rgba(7, 8, 11, .96) 100%); }
.cr__top { position: absolute; z-index: 1; left: 6cqw; right: 6cqw; top: 5.5cqw; display: flex; align-items: center; justify-content: space-between; }
.cr__top img { width: 25cqw; height: auto; }
.cr__top .mono { font-size: 2.6cqw; color: rgba(255, 255, 255, .85); }
.cr__txt { position: absolute; z-index: 1; left: 6cqw; right: 6cqw; bottom: 7cqw; display: grid; gap: 2.6cqw; }
.cr__tag { justify-self: start; padding: 1cqw 1.8cqw; border-radius: .7cqw; background: #58b9da; color: #04131b; font-size: 2.8cqw; font-weight: 600; letter-spacing: .08em; }
.cr__h { font-size: 8.4cqw; line-height: 1.04; letter-spacing: -.035em; font-weight: 600; color: #fff; text-wrap: balance; }
.cr__h em { font-style: normal; color: #58b9da; }
.cr__sub { font-size: 3.5cqw; line-height: 1.4; color: rgba(255, 255, 255, .82); }
@media (hover: hover) and (pointer: fine) { .social__stage .cr { transition: transform 300ms var(--ease-out); } .social__stage .cr:hover { transform: translateY(-6px); } }
/* ------------------------------------------------------------------ /servizi/, trial «Viaggio interstellare» (prove-interstellare.js): an Apple-style flight
   through the four services. The stage sticks; each stop comes from far away, holds, flies past; a starfield stretches into
   warp between stops. Big headlines with a gradient, the real devices with the work inside. Still: the stops stacked. */
.iv { position: relative; height: calc(var(--n) * 130vh); background: #000; }
.iv__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; isolation: isolate; background: radial-gradient(120% 80% at 50% 110%, #07131b 0%, #000 60%); }
.iv__stars { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.iv__nebula { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.iv__nebula i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .42; animation: iv-drift 34s ease-in-out infinite alternate; }
.iv__nebula i:nth-child(1) { left: -10%; top: 4%; width: 48vw; height: 36vw; background: radial-gradient(closest-side, rgba(88, 185, 218, .55), transparent); }
.iv__nebula i:nth-child(2) { right: -12%; top: 40%; width: 52vw; height: 40vw; background: radial-gradient(closest-side, rgba(110, 76, 220, .45), transparent); animation-duration: 42s; }
.iv__nebula i:nth-child(3) { left: 30%; bottom: -20%; width: 46vw; height: 30vw; background: radial-gradient(closest-side, rgba(40, 140, 150, .4), transparent); animation-duration: 38s; }
@keyframes iv-drift { to { transform: translate3d(6vw, -3vw, 0) scale(1.12); } }
.iv__scene { position: absolute; inset: 0; z-index: 2; visibility: hidden; }
.iv__vis { position: absolute; inset: 0; transform-origin: 50% 64%; will-change: transform, opacity; }
.iv__copy { position: absolute; z-index: 3; left: 0; right: 0; top: calc(var(--nav-h) + 3.5vh); padding: 0 var(--gutter); text-align: center; will-change: transform, opacity; }
.iv__copy > * { transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); }
.iv__scene:not(.is-on) .iv__copy > * { opacity: 0; transform: translateY(18px); }
.iv__copy > :nth-child(2) { transition-delay: 80ms; } .iv__copy > :nth-child(3) { transition-delay: 160ms; } .iv__copy > :nth-child(4) { transition-delay: 240ms; } .iv__copy > :nth-child(5) { transition-delay: 320ms; }
.iv__eyebrow { margin: 0 0 14px; color: #9be7ff; letter-spacing: .12em; }
.iv__h { margin: 0 auto; max-width: 16ch; font-size: clamp(38px, 6vw, 96px); line-height: .98; letter-spacing: -.045em; font-weight: 700; text-wrap: balance;
  background: linear-gradient(180deg, #fff 30%, #b9c4cf 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.iv__h em { font-style: normal; background: linear-gradient(95deg, #58b9da 0%, #9be7ff 45%, #8c7bff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.iv__h--xl { font-size: clamp(46px, 8.4vw, 136px); max-width: 14ch; }
.iv__p { margin: 18px auto 0; max-width: 46ch; color: #c9cdd6; font-size: clamp(16px, 1.35vw, 20px); line-height: 1.5; }
.iv__cap { margin: 12px auto 0; max-width: 70ch; color: var(--muted); }
.iv__go { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 6px 26px; margin-top: 8px; }
.iv__copy--intro { top: calc(var(--nav-h) + 9vh); }
.iv__copy--intro .ov-jump { justify-content: center; margin-top: 26px; }
.iv__hint { margin-top: 28px; color: var(--muted); animation: iv-hint 2.4s ease-in-out infinite; }
@keyframes iv-hint { 50% { transform: translateY(6px); opacity: .55; } }
.iv__copy--home .cta { justify-content: center; margin-top: 26px; }

/* planets: a glossy sphere with its atmosphere; the home planet rises at the bottom like a sunrise from orbit */
.iv-planet { position: absolute; border-radius: 50%; background: radial-gradient(circle at 32% 28%, #c9f1fb 0%, #5ab6d6 12%, #17506a 36%, #071823 62%, #020608 82%);
  box-shadow: inset -2.6vw -2vw 5vw rgba(0, 0, 0, .8), 0 0 5vw rgba(88, 185, 218, .35); }
.iv-planet i { position: absolute; inset: -3%; border-radius: 50%; box-shadow: 0 0 0 1.5px rgba(155, 231, 255, .28), 0 0 70px 14px rgba(88, 185, 218, .22); }
.iv-planet--home { left: 50%; top: 76vh; width: 170vmax; aspect-ratio: 1; transform: translateX(-50%);
  background: radial-gradient(ellipse 40% 6% at 50% 0%, rgba(205, 245, 255, .75), transparent 70%), radial-gradient(circle at 50% 30%, #0e3446 0%, #071722 30%, #02070a 60%);
  box-shadow: 0 -1px 0 rgba(205, 245, 255, .7), 0 -24px 90px rgba(88, 185, 218, .5), 0 -80px 240px rgba(88, 185, 218, .25); }
.iv-planet--home i { inset: 0; box-shadow: none; background: repeating-radial-gradient(circle at 50% 0%, rgba(155, 231, 255, .05) 0 2px, transparent 2px 40px); }
.iv-planet--small { left: 50%; top: 66%; width: clamp(110px, 12vw, 200px); aspect-ratio: 1; transform: translate(-50%, -50%); }
.iv-planet--cloud { left: 50%; top: 50%; width: clamp(84px, 8vw, 130px); aspect-ratio: 1; transform: translate(-50%, -50%); }

/* 01, apps: the iPhone Duos of our apps on an orbit (placed by the script) */
.iv-ring { position: absolute; left: 50%; top: 66%; width: min(76vw, 1160px); aspect-ratio: 1 / .26; border-radius: 50%; transform: translate(-50%, -50%);
  border: 1px solid rgba(155, 231, 255, .16); box-shadow: inset 0 0 40px rgba(88, 185, 218, .08); }
.iv-orbit { position: absolute; left: 50%; top: 66%; width: 0; height: 0; }
.iv-orb { position: absolute; left: 0; top: 0; width: clamp(96px, 10.5vw, 170px); will-change: transform, opacity; }
.iv-orb .duo { width: 100%; }
.iv-orb__name { position: absolute; left: 50%; top: calc(100% + 14px); transform: translateX(-50%); font-size: 11px; color: var(--muted); white-space: nowrap; }

/* 02, UX/UI: the BigApp tablet playing its tour, four screens of the restyle drifting around it */
.iv-tab { position: absolute; left: 50%; top: 67%; width: min(56vw, 780px); transform: translate(-50%, -50%); filter: drop-shadow(0 40px 80px rgba(0, 0, 0, .7)); }
.iv-tab .tab { width: 100%; }
.iv-cards { position: absolute; inset: 0; }
.iv-card { position: absolute; margin: 0; width: clamp(150px, 17vw, 290px); border-radius: 10px; overflow: hidden; opacity: .5; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 30px 60px -20px rgba(0, 0, 0, .9);
  animation: iv-float 9s ease-in-out infinite alternate; }
.iv-card img { display: block; width: 100%; height: auto; }
.iv-card--1 { left: 4%; top: 44%; transform: rotate(-8deg); }
.iv-card--3 { right: 4%; top: 40%; transform: rotate(7deg); animation-delay: -3s; }
.iv-card--4 { left: 9%; top: 74%; transform: rotate(5deg); animation-delay: -5s; }
.iv-card--6 { right: 8%; top: 76%; transform: rotate(-6deg); animation-delay: -7s; }
@keyframes iv-float { to { translate: 0 -18px; } }

/* 03, MVP: DupliCats launched from the Mac App Store, a trail of light rising behind */
.iv-mac { position: absolute; left: 50%; top: 67%; width: min(58vw, 860px); transform: translate(-50%, -50%); filter: drop-shadow(0 40px 80px rgba(0, 0, 0, .7)); }
.iv-trail { position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; transform: translateX(-50%); background: linear-gradient(to top, transparent 4%, rgba(155, 231, 255, .85) 46%, transparent 96%);
  box-shadow: 0 0 34px 8px rgba(88, 185, 218, .35); }
.iv-trail i { position: absolute; left: 50%; bottom: 30%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #c9f1fb; box-shadow: 0 0 12px #9be7ff; animation: iv-rise 2.6s linear infinite; }
.iv-trail i:nth-child(2) { margin-left: -14px; animation-delay: -.9s; animation-duration: 3.1s; }
.iv-trail i:nth-child(3) { margin-left: 9px; animation-delay: -1.7s; animation-duration: 2.2s; }
@keyframes iv-rise { from { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } to { transform: translateY(-62vh); opacity: 0; } }

/* 04, cloud: the tools we use as a constellation around a small planet, the data running along the lines */
.iv-sky { position: absolute; left: 50%; top: 67%; width: min(86vw, 1100px); height: min(54vh, 560px); transform: translate(-50%, -50%); }
.iv-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.iv-lines line { stroke: rgba(155, 231, 255, .32); stroke-width: 1.2px; vector-effect: non-scaling-stroke; stroke-dasharray: 2 7; animation: iv-dash 1.6s linear infinite; animation-delay: var(--d, 0s); }
@keyframes iv-dash { to { stroke-dashoffset: -18; } }
.iv-star { position: absolute; left: var(--x); top: var(--y); width: clamp(38px, 4.2vw, 58px); aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: #f4f5f7;
  transform: translate(-50%, -50%); box-shadow: 0 0 0 4px rgba(155, 231, 255, .08), 0 0 26px rgba(155, 231, 255, .4); animation: iv-twinkle 4.2s ease-in-out infinite; animation-delay: calc(var(--i) * -.37s); }
.iv-star img { width: 58%; height: 58%; object-fit: contain; }
@keyframes iv-twinkle { 50% { box-shadow: 0 0 0 7px rgba(155, 231, 255, .12), 0 0 40px rgba(155, 231, 255, .65); } }
.iv-online { position: absolute; left: 50%; top: calc(50% + clamp(56px, 5.4vw, 84px)); transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; padding: 6px 11px; border-radius: 999px;
  font-size: 11px; color: #c9f5dc; background: rgba(76, 195, 138, .12); box-shadow: inset 0 0 0 1px rgba(76, 195, 138, .35); }
.iv-online::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #4cc38a; box-shadow: 0 0 10px #4cc38a; }

/* arrival: the team's porthole, with the sky and the moon inside */
.iv-port { position: absolute; left: 50%; top: 69%; width: min(42vh, 440px); aspect-ratio: 1; margin: 0; transform: translate(-50%, -50%); border-radius: 50%;
  box-shadow: 0 0 0 10px #15181f, 0 0 0 12px rgba(255, 255, 255, .14), 0 40px 140px rgba(88, 185, 218, .4); }
.iv-port__win { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; }
.iv-port__win img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.6); transform-origin: 47% 43%; }
.iv-port figcaption { position: absolute; left: 50%; top: calc(100% + 28px); transform: translateX(-50%); white-space: nowrap; color: var(--muted); }

/* the stops on the right, the speed at the bottom left */
.iv__dots { position: absolute; z-index: 5; right: clamp(12px, 2vw, 28px); top: 50%; transform: translateY(-50%); display: grid; gap: 6px; }
.iv__dot { display: flex; align-items: center; justify-content: flex-end; gap: 12px; min-height: 30px; padding: 0; border: 0; background: none; color: var(--muted); cursor: pointer; }
.iv__dot span { font-size: 11px; opacity: 0; transform: translateX(6px); transition: opacity 300ms, transform 300ms var(--ease-out); }
.iv__dot i { width: 8px; height: 8px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45); transition: background 300ms, box-shadow 300ms; }
.iv__dot.is-on i { background: #9be7ff; box-shadow: 0 0 12px #58b9da; }
.iv__dot:hover span, .iv__dot:focus-visible span { opacity: 1; transform: none; color: var(--ink); }
.iv__hud { position: absolute; z-index: 5; left: var(--gutter); bottom: 20px; margin: 0; display: flex; gap: 14px; color: var(--muted); }
.iv__hud b { color: #9be7ff; font-weight: 400; }

@media (max-width: 899px) {
  .iv-card--4, .iv-card--6 { display: none; }
  .iv-card--1 { left: -6%; top: 50%; } .iv-card--3 { right: -6%; top: 48%; }
  .iv-tab { width: 88vw; top: 70%; } .iv-mac { width: 90vw; top: 70%; }
  .iv-sky { width: 94vw; height: 46vh; top: 72%; }
  .iv-orbit, .iv-ring, .iv-planet--small { top: 72%; }
  .iv__dots { display: none; }
  .iv__go { gap: 0 18px; }
}
@media (max-width: 559px) { .iv__cap { display: none; } .iv-port { width: 70vw; top: 70%; } .iv-port figcaption { white-space: normal; width: 80vw; text-align: center; } }

/* wide screens, Apple style: the words on the left, the object on the right, nothing on top of the other */
@media (min-width: 1100px) {
  .iv__scene--apps .iv__copy, .iv__scene--ux .iv__copy, .iv__scene--mvp .iv__copy, .iv__scene--cloud .iv__copy {
    top: var(--nav-h); bottom: 0; left: clamp(var(--gutter), 9vw, 180px); right: auto; width: min(33vw, 520px); padding: 0;
    display: flex; flex-direction: column; justify-content: center; align-items: flex-start; text-align: left; }
  .iv__scene--apps .iv__h, .iv__scene--ux .iv__h, .iv__scene--mvp .iv__h, .iv__scene--cloud .iv__h { margin: 0; max-width: 11ch; font-size: clamp(46px, 4.9vw, 86px); }
  .iv__scene--apps .iv__p, .iv__scene--ux .iv__p, .iv__scene--mvp .iv__p, .iv__scene--cloud .iv__p,
  .iv__scene--apps .iv__cap, .iv__scene--ux .iv__cap, .iv__scene--mvp .iv__cap, .iv__scene--cloud .iv__cap { margin-left: 0; margin-right: 0; }
  .iv__scene--apps .iv__go, .iv__scene--ux .iv__go, .iv__scene--mvp .iv__go, .iv__scene--cloud .iv__go { justify-content: flex-start; }
  .iv__scene--apps .iv__vis, .iv__scene--ux .iv__vis, .iv__scene--mvp .iv__vis, .iv__scene--cloud .iv__vis { transform-origin: 68% 55%; }
  .iv-orbit, .iv-ring, .iv-planet--small { left: 71%; top: 56%; }
  .iv-ring { width: min(48vw, 760px); }
  .iv-planet--small { width: clamp(130px, 11vw, 190px); }
  .iv-orb { width: clamp(116px, 10.5vw, 186px); }
  .iv-tab { left: 69%; top: 55%; width: min(50vw, 760px); }
  .iv-card--1 { left: 39%; top: 12%; } .iv-card--3 { left: auto; right: 2%; top: 9%; }
  .iv-card--4 { left: 41%; top: 74%; } .iv-card--6 { left: auto; right: 3%; top: 77%; }
  .iv-mac { left: 69%; top: 56%; width: min(54vw, 820px); }
  .iv-trail { left: 69%; }
  .iv-sky { left: 68%; top: 55%; width: min(56vw, 860px); height: min(74vh, 660px); }
}

/* still (the button, or reduced motion): no pin, the stops one under the other, nothing moves */
.iv--still { height: auto; }
.iv--still .iv__pin { position: relative; height: auto; }
.iv--still .iv__scene { position: relative; visibility: visible; height: 100vh; height: 100svh; min-height: 640px; }
.iv--still .iv__copy > * { opacity: 1; transform: none; }
.iv--still .iv__dots, .iv--still .iv__hud, .iv--still .iv__hint { display: none; }
.iv--still .iv-orb { transform: translate(-50%, -50%) translate(calc((var(--k) - 2.5) * min(8.6vw, 128px)), 0) scale(.82); }
.iv--still *, .iv--still .iv__nebula i { animation: none !important; }
@media (prefers-reduced-motion: reduce) { .iv * { animation: none !important; } }

/* ------------------------------------------------------------------ home, «Ogni giorno, sul codice»: a year of commits
   The grid is GitHub's contribution graph in the site's cyan: it lights up week by week when it comes into view, a scan line
   keeps running across it while it is seen, today's square breathes. Still under "Ferma il movimento" and reduced motion. */
.code-life { overflow: hidden; }
.code-life .section-head { align-items: end; }
/* the size of a square is --cell, not --c: --c is the vetrina's colour, registered as <color> with @property, and a length there is thrown away */
.cg { --cell: 13px; --g: 3px; margin: 0; border-radius: var(--r-card); background: linear-gradient(180deg, #0d1017, #0a0c11);
  box-shadow: inset 0 0 0 1px var(--line), 0 40px 80px -30px rgba(0,0,0,.9), 0 0 120px -50px rgba(88,185,218,.35); overflow: hidden; }
.cg__bar { display: flex; align-items: center; gap: 16px; padding: 14px 20px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; letter-spacing: .02em; }
.cg__dots { display: inline-flex; gap: 7px; }
.cg__dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.14); }
.cg__cmd { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cg__cmd::before { content: "$ "; color: var(--accent); }
.cg__cmd, .cg__foot > span:first-child { text-transform: none; letter-spacing: 0; }   /* a command and a sentence: not in caps */
.cg__foot > span:first-child { max-width: 62em; line-height: 1.5; }
.cg__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; border-bottom: 1px solid var(--line); }
.cg__stats > div { padding: 22px 24px 24px; }
.cg__stats > div + div { border-left: 1px solid var(--line); }
.cg__stats dt { font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.cg__stats dd { margin: 10px 0 0; font-size: clamp(30px, 3.4vw, 46px); font-weight: 600; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.cg__stats dd small { font: 400 13px/1.3 var(--font-mono); letter-spacing: 0; color: var(--ink-2); }
.cg__stats > div:first-child dd { color: var(--accent); }
.cg__scroll { overflow-x: auto; scrollbar-width: thin; scrollbar-color: #2a2f3a transparent; padding: 26px 24px 8px; }
.cg__grid { display: grid; grid-template-columns: 34px max-content; grid-template-rows: auto auto; gap: 8px 6px; width: max-content; margin-inline: auto; }
.cg__months { grid-column: 2; display: grid; grid-template-columns: repeat(var(--weeks), var(--cell)); column-gap: var(--g); font: 400 11px/1 var(--font-mono); color: var(--muted); }
.cg__months span { white-space: nowrap; }
.cg__wd { grid-column: 1; grid-row: 2; display: grid; grid-template-rows: repeat(7, var(--cell)); row-gap: var(--g); font-size: 10px; line-height: var(--cell); color: var(--muted); }
.cg__cells { grid-column: 2; grid-row: 2; position: relative; display: grid; grid-template-rows: repeat(7, var(--cell)); grid-auto-flow: column; grid-auto-columns: var(--cell); gap: var(--g); }
.cg__cells i { border-radius: 3px; background: var(--lv); }
.cg .l0 { --lv: rgba(255,255,255,.055); }
.cg .l1 { --lv: rgba(88,185,218,.24); }
.cg .l2 { --lv: rgba(88,185,218,.46); }
.cg .l3 { --lv: rgba(88,185,218,.72); }
.cg .l4 { --lv: #7fd3ef; box-shadow: 0 0 10px rgba(88,185,218,.55); }
.cg__cells i.is-today { outline: 1px solid var(--ink); outline-offset: 2px; }
.js-motion .cg__cells i { opacity: 0; transform: scale(.3); transition: opacity 500ms var(--ease-out), transform 700ms var(--ease-out); transition-delay: calc(var(--w) * 24ms + 250ms); }
.js-motion .cg.is-in .cg__cells i { opacity: 1; transform: none; }
.cg__cells::after { content: ""; position: absolute; top: -6px; bottom: -6px; left: 0; width: calc(var(--cell) * 3); pointer-events: none; opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(127,211,239,.22), transparent); mix-blend-mode: screen; }
.js-motion .cg.is-in.is-live .cg__cells::after { opacity: 1; animation: cg-scan 7s linear 1.8s infinite; }
@keyframes cg-scan { from { transform: translateX(calc(var(--cell) * -3)); } to { transform: translateX(calc(var(--weeks) * (var(--cell) + var(--g)))); } }
.js-motion .cg.is-in.is-live .cg__cells i.is-today { animation: cg-today 1.8s ease-in-out infinite; }
@keyframes cg-today { 50% { box-shadow: 0 0 0 4px rgba(88,185,218,.25), 0 0 16px rgba(88,185,218,.8); } }
@media (hover: hover) and (pointer: fine) { .cg__cells i:hover { outline: 1px solid var(--ink); outline-offset: 1px; } }
.cg__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px 28px; flex-wrap: wrap; padding: 14px 24px 20px; font-size: 12px; color: var(--muted); }
.cg__legend { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.cg__legend i { width: 11px; height: 11px; border-radius: 3px; background: var(--lv); }
.cg__legend i:first-child { margin-left: 4px; } .cg__legend i:last-child { margin-right: 4px; }
@media (max-width: 899px) {
  .cg { --cell: 11px; --g: 3px; }
  .cg__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cg__stats > div:nth-child(3) { border-left: 0; }
  .cg__stats > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .cg__stats > div { padding: 18px 18px 20px; }
  .cg__grid { margin-inline: 0; }
  .cg__scroll { padding-inline: 18px; }
  .cg__foot { padding-inline: 18px; }
}
.is-still .cg__cells i { opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important; }
.is-still .cg__cells::after { display: none; }
@media (prefers-reduced-motion: reduce) { .cg__cells i { opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important; } .cg__cells::after { display: none; } }

/* ------------------------------------------------------------------ /prove/chi-siamo-v2/: «Chi siamo», version 2 (trial)
   Hero: five work photos crossfading slowly (Ken Burns) under a dark shade. The story: a rail that fills with the scroll,
   a node per year that lights up, cards that come in once, and a sticky panel with the year that rolls, that year's
   commits counting and the bars of every year. Then the named team, cut out on the same light wall, and a photo wall. */
.cs2-hero { position: relative; min-height: 100svh; display: grid; grid-template-rows: 1fr auto; overflow: hidden; isolation: isolate; padding-top: 96px; }
.cs2-hero__slides { position: absolute; inset: 0; z-index: -2; background: #0a0c11; }
.cs2-slide { position: absolute; inset: 0; margin: 0; opacity: 0; }
.cs2-slide:first-child { opacity: 1; }
.cs2-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.js-motion .cs2-slide { animation: cs2-fade 35s linear infinite; animation-delay: calc(var(--i) * 7s - 1.5s); }
.js-motion .cs2-slide img { animation: cs2-kb 35s linear infinite; animation-delay: calc(var(--i) * 7s - 1.5s); }
@keyframes cs2-fade { 0% { opacity: 0; } 5% { opacity: 1; } 20% { opacity: 1; } 25% { opacity: 0; } 100% { opacity: 0; } }
@keyframes cs2-kb { 0% { transform: scale(1.04) translate(0, 0); } 25% { transform: scale(1.14) translate(-1.5%, -1%); } 100% { transform: scale(1.14) translate(-1.5%, -1%); } }
.cs2-hero__shade { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(7,8,11,.92) 0%, rgba(7,8,11,.72) 38%, rgba(7,8,11,.18) 75%), linear-gradient(0deg, rgba(7,8,11,.95) 0%, rgba(7,8,11,0) 40%); }
.cs2-hero__copy { align-self: center; padding-block: 40px; }
.cs2-eyebrow { color: var(--accent); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 22px; }
.cs2-h1 { font-size: clamp(46px, 7.4vw, 112px); line-height: .95; letter-spacing: -.05em; font-weight: 600; margin: 0; max-width: 11ch; text-wrap: balance; }
.cs2-h1 em { font-style: normal; color: var(--accent); }
.cs2-lead { max-width: 34em; margin: 28px 0 32px; color: var(--ink-2); }
.cs2-hero__foot { padding-bottom: 28px; }
.cs2-proof { border-top-color: rgba(255,255,255,.16); }
.is-still .cs2-slide, .is-still .cs2-slide img { animation: none !important; }
@media (prefers-reduced-motion: reduce) { .cs2-slide, .cs2-slide img { animation: none !important; } }
@media (max-width: 899px) {
  .cs2-hero { padding-top: 84px; }
  .cs2-hero__shade { background: linear-gradient(0deg, rgba(7,8,11,.96) 0%, rgba(7,8,11,.78) 45%, rgba(7,8,11,.35) 100%); }
  .cs2-hero__copy { align-self: end; }
}

/* the story */
.cs2-tl__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.cs2-tl__side { align-self: stretch; }   /* as tall as the list, so the panel inside can stick */
.cs2-tl__sticky { position: sticky; top: 104px; }
.cs2-tl__lab { color: var(--muted); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; margin: 0; }
.cs2-year { overflow: hidden; height: 1em; font-size: clamp(84px, 11vw, 168px); line-height: 1; font-weight: 600; letter-spacing: -.06em; font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, var(--ink) 30%, #7fd3ef); -webkit-background-clip: text; background-clip: text; color: transparent; margin: 6px 0 8px; }
.cs2-year span { display: block; }
.cs2-year span.is-out { transform: translateY(-100%); opacity: 0; transition: transform 160ms ease-in, opacity 160ms ease-in; }
.cs2-year span.is-in { animation: cs2-year-in 420ms var(--ease-out); }
@keyframes cs2-year-in { from { transform: translateY(70%); opacity: 0; } to { transform: none; opacity: 1; } }
.cs2-tl__count { margin: 0 0 26px; font-size: 26px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.cs2-tl__count .mono { font-size: 12px; font-weight: 400; letter-spacing: .04em; color: var(--muted); }
.cs2-bars { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); gap: 6px; align-items: end; height: 132px; }
.cs2-bars li { display: grid; grid-template-rows: 1fr auto; gap: 6px; height: 100%; }
.cs2-bars i { align-self: end; display: block; height: calc(max(var(--v), .02) * 100%); border-radius: 4px 4px 2px 2px; background: rgba(255,255,255,.1); transform-origin: bottom;
  transition: background 300ms ease, box-shadow 300ms ease; }
.cs2-bars li.is-done i { background: rgba(88,185,218,.45); }
.cs2-bars li.is-on i { background: #7fd3ef; box-shadow: 0 0 18px rgba(88,185,218,.6); }
.cs2-bars span { font-size: 10px; color: var(--muted); text-align: center; }
.cs2-bars li.is-on span { color: var(--ink); }
.cs2-tl__src { margin: 16px 0 0; font-size: 11px; line-height: 1.5; color: var(--muted); text-transform: none; letter-spacing: 0; max-width: 30em; }
.cs2-tl__main { position: relative; padding-left: 44px; }
.cs2-tl__rail { position: absolute; left: 11px; top: 8px; bottom: 60px; width: 2px; background: rgba(255,255,255,.1); border-radius: 2px; overflow: hidden; }
.cs2-tl__rail i { position: absolute; inset: 0; background: linear-gradient(180deg, #58b9da, #7fd3ef); transform-origin: top; transform: scaleY(0); box-shadow: 0 0 12px rgba(88,185,218,.7); }
.cs2-tl__list { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(40px, 6vw, 88px); }
.cs2-ev { position: relative; }
.cs2-ev__node { position: absolute; left: -44px; top: 6px; width: 24px; height: 24px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 2px rgba(255,255,255,.22);
  transition: box-shadow 300ms ease, background 300ms ease; }
.cs2-ev__node::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: rgba(255,255,255,.22); transition: background 300ms ease, transform 300ms var(--ease-out); }
.cs2-ev.is-past .cs2-ev__node, .cs2-ev__node.is-lit { box-shadow: inset 0 0 0 2px #7fd3ef, 0 0 0 6px rgba(88,185,218,.14), 0 0 22px rgba(88,185,218,.55); }
.cs2-ev.is-past .cs2-ev__node::after, .cs2-ev__node.is-lit::after { background: #7fd3ef; transform: scale(1.15); }
.cs2-ev__card { max-width: 640px; }
.cs2-ev__when { margin: 0 0 10px; font-size: 13px; letter-spacing: .04em; color: var(--muted); }
.cs2-ev__y { color: var(--accent); }
.cs2-ev__t { margin: 0 0 12px; font-size: clamp(26px, 2.6vw, 38px); line-height: 1.08; letter-spacing: -.035em; font-weight: 600; text-wrap: balance; }
.cs2-ev__p { margin: 0 0 22px; color: var(--ink-2); max-width: 36em; }
.cs2-ev__img { margin: 0 0 18px; border-radius: var(--r-img); overflow: hidden; aspect-ratio: 16 / 9; background: var(--surface); box-shadow: var(--glow); }
.cs2-ev__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.cs2-ev__links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 26px; }
.js-motion .cs2-tl .is-js .cs2-ev__card { opacity: 0; transform: translateY(36px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); }
.js-motion .cs2-tl .is-js .cs2-ev.is-seen .cs2-ev__card { opacity: 1; transform: none; }
.js-motion .cs2-tl .is-js .cs2-ev__img img { transform: scale(1.12); }
.js-motion .cs2-tl .is-js .cs2-ev.is-seen .cs2-ev__img img { transform: none; }
.cs2-code { margin: 0 0 18px; border-radius: var(--r-img); background: #0b0e14; box-shadow: inset 0 0 0 1px var(--line), var(--glow); overflow: hidden; }
.cs2-code__bar { display: flex; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.cs2-code__bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.14); }
.cs2-code pre { margin: 0; padding: 20px 22px 24px; font-size: clamp(13px, 1.2vw, 15px); line-height: 1.8; color: var(--ink-2); white-space: pre-wrap; text-transform: none; letter-spacing: 0; }
.cs2-code .c-p { color: var(--accent); }
.cs2-code .c-o { color: var(--ink); }
.cs2-code .c-cur { display: inline-block; width: .6em; height: 1.1em; vertical-align: -.2em; margin-left: 6px; background: var(--accent); animation: cs2-blink 1.1s steps(1) infinite; }
@keyframes cs2-blink { 50% { opacity: 0; } }
.cs2-tl__now { position: relative; margin-top: clamp(48px, 6vw, 88px); }
.cs2-tl__now .cs2-ev__node { top: 2px; }
.cs2-tl__now .mono { margin: 0 0 8px; color: var(--accent); font-size: 13px; }
.cs2-tl__now .cta { margin-top: 18px; }
.is-still .cs2-ev__card, .is-still .cs2-ev__img img { opacity: 1 !important; transform: none !important; transition: none !important; }
.is-still .cs2-year span { animation: none !important; transition: none !important; transform: none !important; opacity: 1 !important; }
.is-still .cs2-code .c-cur { animation: none; }
@media (prefers-reduced-motion: reduce) { .cs2-ev__card, .cs2-ev__img img { opacity: 1 !important; transform: none !important; transition: none !important; } .cs2-year span { animation: none !important; } }
@media (max-width: 899px) {
  .cs2-tl__grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .cs2-tl__side { position: sticky; top: 64px; z-index: 5; margin-inline: calc(var(--gutter) * -1); padding: 10px var(--gutter) 12px;
    background: rgba(7, 8, 11, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
  .cs2-tl__sticky { position: static; display: grid; grid-template-columns: auto 1fr; align-items: end; column-gap: 16px; }
  .cs2-tl__lab, .cs2-tl__src { display: none; }
  .cs2-year { font-size: 52px; margin: 0; grid-row: span 2; }
  .cs2-tl__count { margin: 0 0 4px; font-size: 18px; }
  .cs2-bars { height: 34px; gap: 3px; }
  .cs2-bars span { display: none; }
  .cs2-bars li { gap: 0; }
  .cs2-tl__main { padding-left: 36px; margin-top: 28px; }
  .cs2-tl__rail { left: 9px; }
  .cs2-ev__node { left: -36px; width: 20px; height: 20px; }
  .cs2-ev__node::after { inset: 6px; }
}

/* the team as a biosketch: one person on stage at a time. Without the script the eight are simply listed one under the other. */
.cs2-bios__panels { display: grid; gap: 56px; }
.cs2-bio { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 84px); align-items: center; }
.cs2-bio__img { position: relative; width: min(100%, calc(66svh * .8)); justify-self: end; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 5; background: #d9d9d7; box-shadow: 0 50px 90px -40px rgba(0,0,0,.95), 0 0 140px -60px rgba(88,185,218,.45); }
.cs2-bio__img img { width: 100%; height: 100%; object-fit: cover; }
.cs2-bio__n { margin: 0 0 18px; font-size: 13px; color: var(--muted); letter-spacing: .06em; }
.cs2-bio__n span { color: var(--accent); }
.cs2-bio__name { margin: 0; font-size: clamp(44px, 6vw, 92px); line-height: .98; letter-spacing: -.05em; font-weight: 600; text-wrap: balance; }
.cs2-bio__name .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .06em; }
.cs2-bio__name .w > span { display: inline-block; }
.cs2-bio__role { margin: 18px 0 0; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.cs2-bio__line { margin: 22px 0 0; font-size: clamp(19px, 1.7vw, 24px); line-height: 1.4; color: var(--ink-2); max-width: 26em; text-wrap: pretty; }
.cs2-bio__lab { margin: 30px 0 10px; font-size: 12px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.cs2-bio__blog { margin: 22px 0 0; }
.cs2-bios__nav { display: none; }
/* with the script: the panels share one cell, only the one on stage shows */
.cs2-bios__stage.is-js .cs2-bios__panels { gap: 0; }
.cs2-bios__stage.is-js .cs2-bio { grid-area: 1 / 1; visibility: hidden; pointer-events: none; }
.cs2-bios__stage.is-js .cs2-bio.is-on, .cs2-bios__stage.is-js .cs2-bio.is-off { visibility: visible; }
.cs2-bios__stage.is-js .cs2-bio.is-on { pointer-events: auto; z-index: 2; }
.cs2-bios__stage.is-js .cs2-bios__panels { display: grid; }
/* the portrait: wiped in from the bottom like a shutter, zooming back; the one leaving fades and shrinks a little */
.cs2-bios__stage.is-js .cs2-bio__img { clip-path: inset(100% 0 0 0 round 22px); transition: clip-path 900ms cubic-bezier(.7,0,.2,1); }
.cs2-bios__stage.is-js .cs2-bio__img img { transform: scale(1.18); transition: transform 1400ms var(--ease-out); }
.cs2-bios__stage.is-js .cs2-bio.is-on .cs2-bio__img { clip-path: inset(0 0 0 0 round 22px); }
.cs2-bios__stage.is-js .cs2-bio.is-on .cs2-bio__img img { transform: scale(1); }
.cs2-bios__stage.is-js .cs2-bio.is-off .cs2-bio__img { clip-path: inset(0 0 0 0 round 22px); opacity: 0; transform: scale(.96); transition: opacity 600ms ease, transform 700ms var(--ease-out); }
/* the words of the name rise one after the other; the rest follows */
.cs2-bios__stage.is-js .cs2-bio__name .w > span { transform: translateY(105%); transition: transform 800ms var(--ease-out); transition-delay: calc(250ms + var(--k) * 90ms); }
.cs2-bios__stage.is-js .cs2-bio.is-on .cs2-bio__name .w > span { transform: none; }
.cs2-bios__stage.is-js .cs2-bio__txt > :not(.cs2-bio__name) { opacity: 0; transform: translateY(18px); transition: opacity 500ms ease, transform 700ms var(--ease-out); }
.cs2-bios__stage.is-js .cs2-bio.is-on .cs2-bio__txt > :not(.cs2-bio__name) { opacity: 1; transform: none; }
.cs2-bios__stage.is-js .cs2-bio.is-on .cs2-bio__role { transition-delay: 450ms; }
.cs2-bios__stage.is-js .cs2-bio.is-on .cs2-bio__line { transition-delay: 550ms; }
.cs2-bios__stage.is-js .cs2-bio.is-on .cs2-bio__prj { transition-delay: 650ms; }
.cs2-bios__stage.is-js .cs2-bio.is-on .cs2-bio__blog { transition-delay: 720ms; }
.cs2-bios__stage.is-js .cs2-bio.is-off .cs2-bio__txt > * { opacity: 0; transition: opacity 300ms ease; }
.cs2-bios__stage.is-js .cs2-bio.is-off .cs2-bio__name .w > span { transform: translateY(-105%); transition-delay: 0ms; transition-duration: 400ms; }
/* the eight faces, a ring running round the one on stage */
.cs2-bios__stage.is-js .cs2-bios__nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: clamp(32px, 4vw, 56px); padding-top: 24px; border-top: 1px solid var(--line); }
.cs2-bios__tabs { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.cs2-bios__tab { position: relative; display: grid; justify-items: center; gap: 8px; padding: 0; border: 0; background: none; color: var(--muted); cursor: pointer; font: inherit; min-width: 64px; }
.cs2-bios__face { display: block; width: 56px; height: 56px; border-radius: 50%; overflow: hidden; background: #d9d9d7; opacity: .55; transform: scale(.92); transition: opacity 300ms ease, transform 400ms var(--ease-out); }
.cs2-bios__face img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; transform: scale(1.5); transform-origin: 50% 30%; }
.cs2-bios__tab .mono { font-size: 11px; letter-spacing: .04em; transition: color 300ms ease; }
.cs2-bios__ring { position: absolute; left: 50%; top: -4px; width: 64px; height: 64px; margin-left: -32px; transform: rotate(-90deg); pointer-events: none; }
.cs2-bios__ring circle { fill: none; stroke: #7fd3ef; stroke-width: 2.2; stroke-dasharray: 188.5; stroke-dashoffset: 188.5; opacity: 0; }
.cs2-bios__tab[aria-selected="true"] .cs2-bios__face { opacity: 1; transform: none; }
.cs2-bios__tab[aria-selected="true"] .mono { color: var(--ink); }
.cs2-bios__tab[aria-selected="true"] .cs2-bios__ring circle { opacity: 1; stroke-dashoffset: 0; }
.cs2-bios__stage.is-auto .cs2-bios__tab[aria-selected="true"] .cs2-bios__ring circle { animation: cs2-ring var(--bio-dur, 6.5s) linear forwards; }
.cs2-bios__stage.is-auto.is-paused .cs2-bios__tab[aria-selected="true"] .cs2-bios__ring circle { animation-play-state: paused; }
@keyframes cs2-ring { from { stroke-dashoffset: 188.5; } to { stroke-dashoffset: 0; } }
@media (hover: hover) and (pointer: fine) { .cs2-bios__tab:hover .cs2-bios__face { opacity: .9; transform: none; } .cs2-bios__tab:hover .mono { color: var(--ink-2); } }
.cs2-bios__tab:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; border-radius: 12px; }
.cs2-bios__arrows { display: flex; gap: 10px; flex: none; }
.cs2-bios__arrow { width: 48px; height: 48px; border-radius: 50%; border: 0; background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-3); font-size: 18px; cursor: pointer; transition: background 200ms ease, color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .cs2-bios__arrow:hover { background: var(--ink); color: #07080b; } }
.is-still .cs2-bios__stage.is-js * { transition: none !important; animation: none !important; }
@media (prefers-reduced-motion: reduce) { .cs2-bios__stage.is-js * { transition: none !important; animation: none !important; } }
@media (max-width: 899px) {
  .cs2-bio { grid-template-columns: minmax(0, 1fr); gap: 22px; align-items: start; }
  .cs2-bio__img { width: min(100%, 420px); justify-self: start; aspect-ratio: 5 / 5.4; }
  .cs2-bio__name { font-size: clamp(40px, 11vw, 56px); }
  .cs2-bios__stage.is-js .cs2-bios__nav { flex-direction: column; align-items: stretch; }
  .cs2-bios__tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 6px; }
  .cs2-bios__tab { min-width: 0; }
  .cs2-bios__arrows { justify-content: flex-end; }
}

/* the wall of work photos */
.cs2-wall { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(180px, 19vw, 280px); gap: clamp(12px, 1.4vw, 20px); grid-auto-flow: dense; }
.cs2-wall__it { position: relative; margin: 0; border-radius: var(--r-img); overflow: hidden; background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.cs2-wall__it--w { grid-column: span 2; grid-row: span 2; }
.cs2-wall__it--t { grid-row: span 2; }
.cs2-wall__img { position: absolute; inset: 0; }
.cs2-wall__img img { width: 100%; height: 100%; object-fit: cover; }
.cs2-wall__it figcaption { position: absolute; left: 12px; bottom: 12px; right: 12px; padding: 7px 10px; border-radius: 8px; width: fit-content; max-width: calc(100% - 24px);
  background: rgba(7,8,11,.72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 11px; letter-spacing: .04em; color: var(--ink-2); }
@media (max-width: 899px) { .cs2-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 44vw; } .cs2-wall__it--w { grid-column: span 2; grid-row: span 1; } }
.offices--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 899px) { .offices--2 { grid-template-columns: minmax(0, 1fr); } }

/* the offices with their map beside them: the office on stage is outlined in cyan, its map comes forward; the map drifts
   slowly while it is seen, the pin pulses at the address. Still under "Ferma il movimento" and reduced motion. */
.cs2-off { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px; align-items: stretch; }
.cs2-off__list { display: grid; gap: 16px; align-content: stretch; }
.cs2-office { cursor: pointer; transition: box-shadow 300ms ease, background 300ms ease; }
.cs2-office.is-on { box-shadow: inset 0 0 0 1px var(--accent), 0 0 60px -30px rgba(88,185,218,.6); }
.cs2-office__go { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px; margin-top: auto; }
.cs2-office__show { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent;
  box-shadow: inset 0 0 0 1px var(--line-3); color: var(--ink); font: 500 15px/1 var(--font-text); cursor: pointer; transition: background 200ms ease, color 200ms ease, box-shadow 200ms ease; }
.cs2-office__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); transition: background 200ms ease, box-shadow 200ms ease; }
.cs2-office.is-on .cs2-office__show { box-shadow: inset 0 0 0 1px var(--accent); }
.cs2-office.is-on .cs2-office__dot { background: #7fd3ef; box-shadow: 0 0 10px rgba(88,185,218,.9); }
.cs2-map { position: relative; margin: 0; min-height: 360px; border-radius: var(--r-card); overflow: hidden; background: #0c0e13; box-shadow: inset 0 0 0 1px var(--line), var(--glow); isolation: isolate; }
.cs2-map::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit;
  background: radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(7,8,11,.75) 100%); box-shadow: inset 0 0 0 1px var(--line); }
.cs2-map__view { position: absolute; inset: 0; opacity: 0; transform: scale(1.14); transition: opacity 700ms ease, transform 1300ms var(--ease-out); }
.cs2-map__view.is-on { opacity: 1; transform: none; z-index: 1; }
.cs2-map__in { position: absolute; inset: 0; }
.cs2-map__in img { width: 100%; height: 100%; object-fit: cover; }
.js-motion .cs2-map.is-live .cs2-map__view.is-on .cs2-map__in { animation: cs2-drift 26s ease-in-out infinite alternate; }
@keyframes cs2-drift { from { transform: scale(1.03) translate(-1.2%, .8%); } to { transform: scale(1.1) translate(1.2%, -.8%); } }
.cs2-pin { position: absolute; left: 50%; top: 50%; width: 0; height: 0; }
.cs2-pin b { position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; border-radius: 50%; background: #7fd3ef; box-shadow: 0 0 0 4px rgba(7,8,11,.9), 0 0 0 5px rgba(127,211,239,.5), 0 0 24px rgba(88,185,218,.9); }
.cs2-pin i { position: absolute; left: -40px; top: -40px; width: 80px; height: 80px; border-radius: 50%; border: 1.5px solid rgba(127,211,239,.7); opacity: 0; }
.js-motion .cs2-map.is-live .cs2-pin i { animation: cs2-pulse 2.6s var(--ease-out) infinite; }
.js-motion .cs2-map.is-live .cs2-pin i + i { animation-delay: 1.3s; }
@keyframes cs2-pulse { 0% { transform: scale(.2); opacity: .9; } 100% { transform: scale(2.2); opacity: 0; } }
.cs2-map__label { position: absolute; left: 50%; top: calc(50% - 22px); transform: translate(-50%, -100%); padding: 8px 12px; border-radius: 8px; white-space: nowrap;
  background: rgba(7,8,11,.86); box-shadow: inset 0 0 0 1px rgba(127,211,239,.35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); font-size: 12px; letter-spacing: .04em; color: var(--ink); }
.cs2-map__cap { position: absolute; right: 12px; bottom: 10px; z-index: 4; margin: 0; font-size: 10px; letter-spacing: .03em; color: var(--muted); text-transform: none; }
.cs2-map__cap a { color: var(--ink-2); min-height: 0; }
.is-still .cs2-map__in, .is-still .cs2-pin i { animation: none !important; }
.is-still .cs2-map__view { transition: none; }
@media (prefers-reduced-motion: reduce) { .cs2-map__in, .cs2-pin i { animation: none !important; } .cs2-map__view { transition: none; } }
@media (max-width: 899px) { .cs2-off { grid-template-columns: minmax(0, 1fr); } .cs2-map { order: -1; min-height: 0; aspect-ratio: 4 / 3.4; } }   /* on a phone the map comes first, the offices under it */
.cs2-office__go .go { margin-top: 0; }

/* ------------------------------------------------------------------ GORA, Rooz, XBe Wallet, Altair (24/11/2026)
   The photographic mockups (the libreria's PSDs with the real screens) in a band; the board of the project, with its
   frames, the flow and the prototype; the wireframes on a phone, with the slider; the moon of Altair. */
.band--mock { margin-top: clamp(28px, 3vw, 44px); }
.band--mock .band__track { gap: 18px; padding-right: 18px; align-items: flex-start; }
.mk { margin: 0; display: grid; gap: 12px; }
.mk__img { height: clamp(240px, 30vw, 460px); border-radius: var(--r-img); overflow: hidden; background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.mk__img img { height: 100%; width: auto; max-width: none; }
.mk figcaption { max-width: 40ch; }
.band--mock { touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.band--mock img { -webkit-user-drag: none; }
@media (hover: hover) and (pointer: fine) { .band--mock { cursor: grab; } .band--mock.is-drag { cursor: grabbing; } }
.is-still .band--mock { overflow-x: auto; scrollbar-width: thin; scrollbar-color: #2a2f3a transparent; }   /* no snapping: the wheel moves it by hand */
.is-still .band--mock .band__track { padding-left: var(--gutter); }

/* the board: a design tool's window, drawn in CSS; the canvas is a world of 390 × 844 frames, moved by one transform */
.tv { --tv-sel: #0d99ff; margin-top: 8px; border-radius: 18px; overflow: hidden; background: #2c2c2c; color: #e6e6e6;
  box-shadow: 0 0 0 1px var(--line-2), 0 50px 100px -50px rgba(0, 0, 0, .9); font-size: 12.5px; line-height: 1.35; }
.tv__bar { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 6px 10px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.tv__tools { display: flex; gap: 2px; }
.tv__tool { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 6px; }
.tv__tool svg { width: 18px; height: 18px; fill: none; stroke: #d6d6d6; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tv__tool.is-on { background: var(--tv-sel); }
.tv__tool.is-on svg { stroke: #fff; }
.tv__file { margin: 0 auto 0 6px; color: #bdbdbd; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tv__modes { display: flex; gap: 3px; padding: 3px; border-radius: 9px; background: rgba(255, 255, 255, .07); }
.tv__mode { min-height: 32px; padding: 0 12px; border: 0; border-radius: 7px; background: transparent; color: #c4c4c4; font: 500 12.5px var(--font-text); cursor: pointer;
  transition: background 200ms var(--ease-out), color 200ms var(--ease-out); }
.tv__mode.is-on { background: #f3f3f3; color: #111; }
.tv__mode:focus-visible { outline: 2px solid var(--tv-sel); outline-offset: 2px; }
.tv__body { display: grid; grid-template-columns: 190px minmax(0, 1fr) 216px; height: clamp(440px, 44vw, 620px); }
.tv__side { padding: 14px 12px; overflow: hidden; background: #2c2c2c; }
.tv__side--l { border-right: 1px solid rgba(255, 255, 255, .08); }
.tv__side--r { border-left: 1px solid rgba(255, 255, 255, .08); }
.tv__k { margin: 0 0 8px; color: #9a9a9a; font-size: 11px; font-weight: 600; }
.tv__layers { display: grid; gap: 1px; }
.tv__layers li { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 6px; color: #cfcfcf; white-space: nowrap; transition: background 250ms var(--ease-out), color 250ms var(--ease-out); }
.tv__layers li.is-on { background: rgba(13, 153, 255, .24); color: #fff; }
.tv__layers svg { flex: none; width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.tv__frame-n { margin: 0 0 10px; color: #fff; font-weight: 600; font-size: 13px; }
.tv__dims { display: flex; gap: 6px; margin: 0 0 18px; }
.tv__dims div { flex: 1; display: flex; gap: 8px; padding: 6px 8px; border-radius: 6px; background: rgba(255, 255, 255, .06); }
.tv__dims dt { color: #8d8d8d; }
.tv__dims dd { margin: 0; }
.tv__sw { display: grid; gap: 7px; margin: 0 0 18px; }
.tv__sw li { display: grid; grid-template-columns: 18px auto minmax(0, 1fr); align-items: center; gap: 8px; }
.tv__sw span { width: 18px; height: 18px; border-radius: 4px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.tv__sw code { font: 11.5px var(--font-mono); }
.tv__sw em { overflow: hidden; font-style: normal; color: #959595; text-align: right; white-space: nowrap; text-overflow: ellipsis; }
.tv__font { margin: 0 0 18px; color: #fff; }
.tv__proto { margin: 0; padding: 8px 10px; border-radius: 6px; background: rgba(13, 153, 255, .16); color: #d3ebff; }
.tv__canvas { position: relative; overflow: hidden; background-color: #1e1e1e; background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1.4px); background-size: 22px 22px; }
.tv__world { position: absolute; left: 0; top: 0; width: var(--tv-ww, 3400px); height: 1100px; transform-origin: 0 0;
  transform: translate3d(var(--tx, 0px), var(--ty, 0px), 0) scale(var(--ts, .25)); transition: transform 1300ms var(--ease-in-out); }
.tv.is-jump .tv__world { transition: none; }
.tv__frame { position: absolute; top: 150px; left: calc(90px + var(--i) * 590px); width: 390px; margin: 0; }
.tv__frame figcaption { position: absolute; left: 0; bottom: 100%; margin-bottom: 14px; color: #a8a8a8; font-size: 30px; white-space: nowrap; transition: color 300ms; }
.tv__frame.is-on figcaption { color: var(--tv-sel); }
.tv__scr { position: relative; width: 390px; height: 844px; overflow: hidden; border-radius: 4px; background: #26272b; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); }
.tv__ph { position: absolute; inset: 0; display: grid; place-content: center; gap: 14px; padding: 30px; text-align: center; border-radius: 4px;
  background: repeating-linear-gradient(135deg, #2a2b30 0 18px, #2d2e34 18px 36px); box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .16); }
.tv__ph b { color: #ececec; font-size: 46px; font-weight: 600; letter-spacing: -.02em; line-height: 1.05; }
.tv__ph span { color: #8d8d8d; font: 26px var(--font-mono); }
.tv__shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; clip-path: inset(0); transition: clip-path 900ms var(--ease-out) calc(var(--i) * 140ms); }
.tv[data-mode="flusso"] .tv__shot { clip-path: inset(0 0 100% 0); transition-delay: 0ms; }
.tv__links { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.tv__links path { fill: none; stroke: var(--tv-sel); stroke-width: 5; stroke-linecap: round; opacity: 0; transition: opacity 300ms; }
.tv__links circle { fill: var(--tv-sel); stroke: #fff; stroke-width: 4; opacity: 0; transition: opacity 300ms; }
.tv__links .tv__arrow { fill: var(--tv-sel); stroke: none; }
.tv[data-mode="flusso"] .tv__links path, .tv[data-mode="flusso"] .tv__links circle,
.tv[data-mode="prototipo"] .tv__links .is-done, .tv[data-mode="prototipo"] .tv__links .is-on { opacity: 1; }
.tv__links path.is-on { stroke-dasharray: var(--len) var(--len); stroke-dashoffset: var(--len); animation: tv-draw 700ms var(--ease-out) forwards; }
@keyframes tv-draw { to { stroke-dashoffset: 0; } }
.tv__sel { position: absolute; left: 0; top: 0; width: 390px; height: 844px; opacity: 0; pointer-events: none; box-shadow: 0 0 0 4px var(--tv-sel);
  transition: transform 900ms var(--ease-in-out), opacity 300ms; }
.tv[data-mode="prototipo"] .tv__sel, .tv[data-mode="design"] .tv__sel.is-on { opacity: 1; }
.tv__sel i { position: absolute; width: 18px; height: 18px; background: #fff; box-shadow: 0 0 0 4px var(--tv-sel); }
.tv__sel i:nth-child(1) { left: -9px; top: -9px; } .tv__sel i:nth-child(2) { right: -9px; top: -9px; }
.tv__sel i:nth-child(3) { left: -9px; bottom: -9px; } .tv__sel i:nth-child(4) { right: -9px; bottom: -9px; }
.tv__sel b { position: absolute; left: 50%; top: 100%; margin-top: 22px; padding: 6px 14px; border-radius: 6px; transform: translateX(-50%); background: var(--tv-sel); color: #fff;
  font: 500 26px var(--font-mono); white-space: nowrap; }
.tv__hot { position: absolute; left: 0; top: 0; width: 70px; height: 70px; margin: -35px 0 0 -35px; border-radius: 50%; opacity: 0; pointer-events: none; background: rgba(13, 153, 255, .3); box-shadow: 0 0 0 4px var(--tv-sel); }
.tv__hot.is-tap { animation: tv-tap 650ms var(--ease-out); }
@keyframes tv-tap { 0% { opacity: 0; transform: scale(.3); } 30% { opacity: 1; } 100% { opacity: 0; transform: scale(1.5); } }
.tv__tag { position: absolute; left: 0; top: 0; padding: 8px 16px; border-radius: 999px; opacity: 0; background: var(--tv-sel); color: #fff; font: 500 26px var(--font-text);
  white-space: nowrap; transform: translate(-50%, -150%); transition: opacity 300ms; pointer-events: none; }
.tv__tag.is-on { opacity: 1; }
.tv__cursor { position: absolute; left: 0; top: 0; width: 46px; height: 46px; opacity: 0; pointer-events: none; transition: transform 900ms var(--ease-in-out), opacity 300ms; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .5)); }
.tv[data-mode="prototipo"] .tv__cursor { opacity: 1; }
.tv__note { margin-top: 16px; text-transform: none; letter-spacing: 0; }
.is-still .tv__world, .is-still .tv__shot, .is-still .tv__sel, .is-still .tv__cursor { transition: none; }
@media (max-width: 1099px) { .tv__body { grid-template-columns: 170px minmax(0, 1fr); } .tv__side--r { display: none; } }
@media (max-width: 759px) {
  .tv__body { grid-template-columns: minmax(0, 1fr); height: clamp(360px, 108vw, 520px); }
  .tv__side--l, .tv__tools { display: none; }
  .tv__file { margin-left: 2px; font-size: 12px; }
  .tv__mode { padding: 0 9px; }
}

/* the wireframes on a phone: the slider of BigApp, on a 390 × 844 screen */
.dz { --wf-acc: #ec8f33; --wf-on: #1d1209; display: grid; gap: clamp(44px, 6vw, 88px); }
.cmp--phone { display: grid; grid-template-columns: minmax(0, 330px) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.cmp--phone:nth-child(2n) { grid-template-columns: minmax(0, 1fr) minmax(0, 330px); }
.cmp--phone:nth-child(2n) .cmp__phone { order: 2; }
.cmp__phone { padding: 11px; border-radius: 56px; background: linear-gradient(135deg, #55575e, #17181b 18%, #62656c 42%, #1c1d20 66%, #484a50 89%, #26272b);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 50px 90px -40px rgba(0, 0, 0, .85); }
.cmp--phone .cmp__stage { aspect-ratio: 390 / 844; border-radius: 45px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); background: #000; }
.cmp--phone .cmp__img { object-position: 50% 0; }
.cmp--phone .cmp__wire { background: #0c0e13; }
.cmp--phone .cmp__wire > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.cmp--phone .cmp__wire .wire { width: 100%; height: 100%; }
.cmp--phone .cmp__bar { background: var(--wf-acc); }
.cmp--phone .cmp__knob { background: var(--wf-acc); }
.cmp--phone .cmp__knob svg { stroke: var(--wf-on); }
.cmp--phone .cmp__lab { top: 52px; }
.cmp--phone figcaption { margin: 0; font-size: 17px; }
.cmp--phone figcaption strong { font-size: clamp(22px, 2vw, 28px); letter-spacing: -.02em; margin-bottom: 10px; }
.cmp--phone .bk__legend { grid-template-columns: minmax(0, 1fr); margin-top: 22px; }
.dz .wf-n { background: var(--wf-acc); color: var(--wf-on); }
/* UX/UI design: three of our apps side by side, the phone above its caption; the numbers of the wireframe belong to the legends
   of the project pages, here there are none */
.uxw { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(22px, 3vw, 44px); margin-top: clamp(28px, 3vw, 44px); }
.uxw .cmp--phone, .uxw .cmp--phone:nth-child(2n) { grid-template-columns: minmax(0, 1fr); gap: 22px; align-items: start; }
.uxw .cmp--phone:nth-child(2n) .cmp__phone { order: 0; }
.uxw .cmp__phone { width: min(100%, 300px); margin-inline: auto; }
.uxw .wf-mark { display: none; }
.uxw figcaption { font-size: 15.5px; color: var(--muted); }
.uxw figcaption strong { display: block; color: var(--ink); font-size: clamp(20px, 1.7vw, 24px); margin-bottom: 6px; }
@media (max-width: 899px) {
  .uxw { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .uxw .cmp--phone, .uxw .cmp--phone:nth-child(2n) { grid-template-columns: minmax(0, 46%) minmax(0, 1fr); align-items: center; gap: 18px; }
  .uxw .cmp--phone .cmp__phone, .uxw .cmp--phone:nth-child(2n) .cmp__phone { width: 100%; padding: 7px; border-radius: 34px; }
  .uxw .cmp--phone .cmp__stage { border-radius: 28px; }
  .uxw .cmp--phone .cmp__lab { display: none; }
  .uxw .cmp__knob { scale: .8; }
}
.wire--app .wf-frame { fill: #0c0e13; }
.wire--app .wf-ph { fill: rgba(255, 255, 255, .04); stroke: var(--line-3); stroke-width: 1.5; }
.wire--app .wf-l { fill: none; stroke: var(--line-3); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.wire--app .wf-btn { fill: none; stroke: var(--line-3); stroke-width: 1.5; }
.wire--app .wf-card { fill: rgba(255, 255, 255, .035); stroke: var(--line-2); stroke-width: 1.5; }
.wire--app .wf-pill { fill: rgba(255, 255, 255, .08); stroke: var(--line-3); stroke-width: 1.2; }
.wire--app .wf-ink { fill: rgba(255, 255, 255, .07); stroke: var(--line-3); stroke-width: 1.5; }
.wire--app .wf-ink--solid { fill: rgba(255, 255, 255, .12); }
.wire--app .wf-f { fill: rgba(255, 255, 255, .26); }
.wire--app .wf-d { fill: rgba(255, 255, 255, .11); }
.wire--app .wf-o { fill: var(--wf-acc); stroke: none; }
.wire--app circle.wf-o { stroke: none; }
.wire--app .wf-oink { fill: var(--wf-on); opacity: .8; }
.wire--app .wf-chk { fill: none; stroke: var(--wf-on); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.wire--app .wf-qr { fill: none; stroke: rgba(255, 255, 255, .3); stroke-width: 6; }
.wire--app .wf-mark circle { fill: var(--wf-acc); stroke: #0c0e13; stroke-width: 3; }
.wire--app .wf-mark text { fill: var(--wf-on); font: 700 13px var(--font-mono); text-anchor: middle; }
.dz__brand { margin-top: clamp(40px, 5vw, 72px); grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
.dz__brand .gb__type { color: var(--wf-acc); }
@media (max-width: 899px) {
  .cmp--phone, .cmp--phone:nth-child(2n) { grid-template-columns: minmax(0, 1fr); }
  .cmp--phone .cmp__phone, .cmp--phone:nth-child(2n) .cmp__phone { order: 0; width: min(330px, 86vw); margin-inline: auto; }
  .dz__brand { grid-template-columns: minmax(0, 1fr); }
}

/* the flight as the home's hero (/prove/home-interstellare/): its two buttons sit under the centred title */
.iv__copy--intro .cta { justify-content: center; margin-top: 28px; }

/* Duzzo: three phone screens in the design section */
.dzz__scr img { border-radius: 22px; max-width: 300px; margin-inline: auto; }
.dzz__scr figcaption { text-align: center; text-transform: none; letter-spacing: 0; }

/* the moon of Altair: the app's own recording in a CSS iPhone, under a slow sky */
.lu { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: center;
  padding: clamp(28px, 5vw, 72px); border-radius: var(--r-card); overflow: hidden; background: radial-gradient(110% 90% at 26% 42%, #23183a 0, #0b0912 46%, #050508 100%);
  box-shadow: 0 0 0 1px var(--line); }
.lu__sky { position: absolute; inset: -10%; z-index: -1; opacity: .9;
  background-image: radial-gradient(1.4px 1.4px at 12% 18%, #fff 50%, transparent 52%), radial-gradient(1px 1px at 32% 72%, #dcd6ff 50%, transparent 52%),
    radial-gradient(1.2px 1.2px at 64% 12%, #fff 50%, transparent 52%), radial-gradient(1px 1px at 82% 46%, #fff 50%, transparent 52%),
    radial-gradient(1.6px 1.6px at 90% 84%, #e9e4ff 50%, transparent 52%), radial-gradient(1px 1px at 48% 38%, #fff 50%, transparent 52%),
    radial-gradient(1.2px 1.2px at 22% 90%, #fff 50%, transparent 52%), radial-gradient(1px 1px at 72% 64%, #cfc6ff 50%, transparent 52%);
  background-size: 340px 300px; }
.js-motion .lu.is-live .lu__sky { animation: lu-drift 60s linear infinite; }
@keyframes lu-drift { to { transform: translate3d(-340px, 60px, 0); } }
.lu__stage { display: grid; place-items: center; }
.lu__phone { --w: min(300px, 66vw); filter: drop-shadow(0 40px 60px rgba(70, 40, 140, .35)); }
.lu__copy .body { margin-top: 18px; }
.lu__still { margin: 28px 0 0; display: grid; gap: 10px; }
.lu__still img { width: 100%; max-width: 520px; border-radius: var(--r-img); box-shadow: 0 0 0 1px var(--line); }
.lu__still figcaption { text-transform: none; letter-spacing: 0; }
.is-still .lu__sky { animation: none !important; }
@media (prefers-reduced-motion: reduce) { .lu__sky { animation: none !important; } }
@media (max-width: 899px) { .lu { grid-template-columns: minmax(0, 1fr); } }

/* a cover with a part that moves (COVER_LIVE in build.py): Altair's Moon turns on the first phone. The film sits in a soft
   circle over the same Moon in the still; it fades in once playing, and out a moment before the end and whenever it stops
   (out of view, «Ferma il movimento»), so the loop and the pause both rest on the still. */
.cover__img { position: relative; display: block; }
.cover__live { position: absolute; border-radius: 50%; overflow: hidden; pointer-events: none;
  -webkit-mask-image: radial-gradient(circle closest-side, #000 80%, transparent 99%); mask-image: radial-gradient(circle closest-side, #000 80%, transparent 99%); }
.cover__live video { display: block; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 450ms var(--ease-out); }
.cover__live video.is-on { opacity: 1; }
/* the Moon in the «luna» mockup of a card (CARD_LIVE in build.py, 02/12/2026): the film is already in the phone's perspective and,
   away from the Moon, has the picture's own pixels; so the box is a plain rectangle and only its edges melt into the picture */
.cover__live--mockup { border-radius: 0; -webkit-mask-image: radial-gradient(ellipse closest-side, #000 84%, transparent 100%);
  mask-image: radial-gradient(ellipse closest-side, #000 84%, transparent 100%); }
/* the same in a project card of the home (Altair): picture and film in one box with the picture's proportions, covering the
   card like the picture did, and it is the box that takes the parallax and the hover, so the moon stays on its phone */
.work__img:has(.work__pic) { container-type: size; }
.work__pic { position: absolute; left: 50%; top: 50%; width: max(100cqw, calc(100cqh * var(--ar))); aspect-ratio: var(--ar);
  translate: -50% -50%; transition: transform 600ms var(--ease-out); }
.work__pic > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.js-motion [data-par] .work__pic { translate: calc(-50% + var(--parx, 0px)) calc(-50% + var(--par, 0px)); scale: 1.12; }
.js-motion [data-par] .work__pic > img, .is-still [data-par] .work__pic > img { translate: none; scale: none; }
.is-still [data-par] .work__pic { translate: -50% -50%; }
@media (hover: hover) and (pointer: fine) {
  .work:hover .work__img .work__pic > img { transform: none; }
  .work:hover .work__pic { transform: scale(1.03); }
}

/* a website in a browser window, filmed while it scrolls (BetWe) */
.sitevid { max-width: 1080px; margin: 0 auto; border-radius: var(--r-card); overflow: hidden; background: #0d1017; box-shadow: var(--glow), inset 0 0 0 1px var(--line); }
.sitevid__bar { display: flex; align-items: center; gap: 14px; height: 40px; padding: 0 16px; border-bottom: 1px solid var(--line); background: #11141c; }
.sitevid__dots { display: inline-flex; gap: 6px; }
.sitevid__dots i { width: 10px; height: 10px; border-radius: 50%; background: #2a2f3a; }
.sitevid__url { flex: 1; max-width: 360px; margin-inline: auto; padding: 5px 12px; border-radius: 999px; background: #0b0d12; color: var(--muted); font-size: 12px; text-align: center; text-transform: none; }
.sitevid video { display: block; width: 100%; aspect-ratio: 1152 / 720; background: #fff; }
.sitevid figcaption { padding: 14px 18px 16px; color: var(--muted); font-size: 12px; text-transform: none; letter-spacing: 0; border-top: 1px solid var(--line); }

/* ------------------------------------------------------------------ a client's video (yt_section() in build.py, ExpoAlert)
   Until the click: the video's own thumbnail, served by us, drifting against the scroll like the other framed pictures, and
   one real button over the whole frame, with a ring that breathes around the play mark. The click puts in YouTube's
   player (site.js, [data-yt]); nothing is asked of YouTube before. «Ferma il movimento» and less motion stop the ring. */
.yt { margin: 0; }
.yt__frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-card); overflow: hidden; background: #000; box-shadow: var(--glow); isolation: isolate; }
.yt__poster { position: absolute; inset: 0; }
.yt__poster img { width: 100%; height: 100%; object-fit: cover; }
.yt__play { position: absolute; inset: 0; z-index: 1; display: grid; place-content: center; justify-items: center; gap: 16px; padding: 0; border: 0; border-radius: inherit;
  background: transparent; color: #fff; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.yt__play::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .8; transition: opacity 300ms var(--ease-out);
  background: radial-gradient(closest-side at 50% 50%, rgba(7,8,11,.42), transparent), linear-gradient(to top, rgba(7,8,11,.55), transparent 42%); }
.yt__icon { position: relative; display: grid; place-items: center; width: clamp(64px, 7vw, 92px); aspect-ratio: 1; border-radius: 50%;
  background: var(--yt-acc, var(--accent)); color: #fff; box-shadow: 0 18px 44px -12px rgba(0,0,0,.75); transition: transform 200ms var(--ease-out); }
.yt__icon svg { width: 40%; height: 40%; margin-left: 6%; }
.yt__icon::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 2px var(--yt-acc, var(--accent)); opacity: 0;
  animation: yt-ring 2600ms var(--ease-out) infinite; }
@keyframes yt-ring { 0% { transform: scale(1); opacity: .85; } 70%, 100% { transform: scale(1.7); opacity: 0; } }
.yt__label { display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 999px; font-weight: 600; font-size: 15px; line-height: 1;
  background: rgba(7,8,11,.7); box-shadow: inset 0 0 0 1px var(--line-2); }
.yt__label .mono { font-size: 12px; color: var(--ink-2); }
.yt__play:active .yt__icon { transform: scale(.96); }
.yt__play:focus-visible { outline: 2px solid var(--focus); outline-offset: -8px; border-radius: var(--r-card); }
@media (hover: hover) and (pointer: fine) {
  .yt__play:hover .yt__icon { transform: scale(1.07); }
  .yt__play:hover::before { opacity: 1; }
}
.yt__player { position: absolute; inset: 0; z-index: 2; display: block; width: 100%; height: 100%; border: 0; background: #000; }
.yt__cap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 16px; }
.yt__links { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.yt__cap a { display: inline-flex; align-items: center; gap: 6px; min-height: 24px; color: var(--ink-2); text-decoration: none; }
.yt__cap a svg { width: 12px; height: 12px; flex: none; }
@media (hover: hover) and (pointer: fine) { .yt__cap a:hover { color: #fff; } }
.is-still .yt__icon::after { animation: none; }
@media (prefers-reduced-motion: reduce) {
  .yt__icon::after { animation: none; }
  .yt__icon, .yt__play::before { transition: none; }
}
@media (max-width: 599px) {
  .yt__play { gap: 12px; }
  .yt__label { padding: 8px 12px; font-size: 14px; }
  .yt__cap { flex-direction: column; }
}

/* a group of choices as pills (the quote form: what to build, languages) */
.choices { border: 0; margin: 0; padding: 0; min-width: 0; }
.choices legend { padding: 0; margin-bottom: 10px; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.choices legend small { color: var(--muted); font-weight: 400; font-size: 14px; }
.choices__set { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; display: inline-flex; }
.choice input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; border-radius: 999px; background: var(--field); color: var(--ink-2);
  font-size: 15px; line-height: 1.3; box-shadow: inset 0 0 0 1px transparent; transition: background-color 160ms var(--ease-out), box-shadow 160ms var(--ease-out), color 160ms var(--ease-out); }
.choice input:checked + span { background: rgba(88,185,218,.16); color: var(--ink); box-shadow: inset 0 0 0 1px var(--accent); }
.choice input:checked + span::before { content: ""; width: 7px; height: 7px; margin-right: 9px; border-radius: 50%; background: var(--accent); }
.choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .choice:hover span { color: var(--ink); } }
.choices[aria-invalid="true"] .choice span { box-shadow: inset 0 0 0 1px var(--error); }

/* the logo or glyph in front of a technology chip */
.chip__ico { flex: none; width: 16px; height: 16px; object-fit: contain; }

/* ---- Agentity (25/11/2026): the identity card of the site, redrawn, going through the 11 open positions (site.js, [data-agc]).
   The card is a 680 × 428 board: --u is one design pixel, from the width of its box (as in the site's card.css). */
.sec--agc { overflow: clip; }
.agc { --g: #8c9bff; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.agc__stage { position: relative; perspective: 1600px; }
.agc__glow { position: absolute; left: 6%; top: 14%; width: 88%; height: 70%; border-radius: 40px; background: rgb(140 155 255 / .24); filter: blur(70px); pointer-events: none; transition: background .9s; }
.agc__float { transform-style: preserve-3d; }
.agc.is-live .agc__float { animation: agc-float 9s ease-in-out infinite; }
@keyframes agc-float { 0%, 100% { transform: translateY(0) rotateZ(-.4deg); } 50% { transform: translateY(-10px) rotateZ(.4deg); } }
.agc__wrap { container-type: inline-size; width: 100%; max-width: 680px; margin-inline: auto; }
.agc__card {
  --u: calc(100cqw / 680); --tx: 0deg; --ty: 0deg;
  position: relative; width: 100%; aspect-ratio: 680 / 428; overflow: hidden; border-radius: calc(26 * var(--u));
  background: linear-gradient(150deg, #1d2129 0%, #0f1116 55%, #15181e 100%); border: 1px solid rgb(255 255 255 / .14);
  box-shadow: 0 1px 0 rgb(255 255 255 / .12) inset, 0 calc(40 * var(--u)) calc(80 * var(--u)) rgb(0 0 0 / .6);
  color: #f4f5f7; line-height: 1.2; text-align: left;
  transform: rotateX(calc(7deg + var(--ty))) rotateY(calc(-11deg + var(--tx))); transition: transform .7s cubic-bezier(.2, .8, .2, 1);
}
.agc__waves { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: #fff; stroke-opacity: .05; stroke-width: 1; }
.agc__band { position: absolute; top: 0; left: calc(520 * var(--u)); width: calc(64 * var(--u)); height: 100%; opacity: .55; mix-blend-mode: screen;
  background: linear-gradient(180deg, #ff7ad9 0%, #9d8bff 22%, #7ae7ff 45%, #c8ff7a 70%, #ffd37a 100%); background-size: 100% 200%;
  filter: hue-rotate(calc(var(--hue, 0) * 1deg)); transition: filter 1.2s var(--ease-out); }
.agc.is-live .agc__band { animation: agc-band 6s ease-in-out infinite alternate; }
@keyframes agc-band { to { background-position: 0 100%; } }
.agc__sheen { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgb(255 255 255 / 0) 30%, rgb(255 255 255 / .09) 45%, rgb(255 255 255 / 0) 60%); background-size: 260% 100%; background-position: 80% 0; }
.agc.is-swap .agc__sheen { animation: agc-sheen 1.1s var(--ease-out); }
@keyframes agc-sheen { from { background-position: 120% 0; } to { background-position: -20% 0; } }
.agc__glare { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen; opacity: var(--glare, 0); transition: opacity .35s;
  background: radial-gradient(circle at var(--gx, 30%) var(--gy, 20%), rgb(255 255 255 / .22) 0%, rgb(255 255 255 / .06) 18%, transparent 42%); }
.agc__iri { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: color-dodge; opacity: var(--iri, 0); transition: opacity .35s;
  background: linear-gradient(calc(var(--ang, 115) * 1deg), rgb(255 122 217 / .35), rgb(122 231 255 / .35), rgb(200 255 122 / .35)); }
.agc__head { position: absolute; top: calc(28 * var(--u)); left: calc(32 * var(--u)); right: calc(32 * var(--u)); display: flex; align-items: center; justify-content: space-between; }
.agc__brand { font-size: calc(18 * var(--u)); font-weight: 600; letter-spacing: -.03em; }
.agc__kind { font-family: var(--font-mono); font-size: calc(11 * var(--u)); letter-spacing: .14em; color: #9097a3; }
.agc__photo { position: absolute; top: calc(84 * var(--u)); left: calc(32 * var(--u)); width: calc(150 * var(--u)); height: calc(190 * var(--u)); overflow: hidden;
  border-radius: calc(14 * var(--u)); background: rgb(255 255 255 / .04); border: 1px solid rgb(255 255 255 / .1); }
.agc__photo svg { display: block; width: 100%; height: 100%; fill: #e8eaf0; }
.agc.is-live .agc__photo circle { animation: agc-dot 2.4s ease-in-out infinite; animation-delay: var(--d); }
@keyframes agc-dot { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
.agc__scan { position: absolute; left: 0; right: 0; top: -30%; height: 30%; pointer-events: none; opacity: 0;
  background: linear-gradient(180deg, transparent, rgb(140 155 255 / .35) 70%, rgb(200 210 255 / .7) 100%); }
.agc.is-swap .agc__scan { animation: agc-scan .9s var(--ease-out); }
@keyframes agc-scan { 0% { opacity: 1; top: -30%; } 85% { opacity: 1; } 100% { opacity: 0; top: 100%; } }
.agc__fields { position: absolute; top: calc(84 * var(--u)); left: calc(212 * var(--u)); width: calc(290 * var(--u)); display: flex; flex-direction: column; gap: calc(12 * var(--u)); }
.agc__row { display: flex; gap: calc(32 * var(--u)); }
.agc__lab { display: block; font-family: var(--font-mono); font-size: calc(10 * var(--u)); letter-spacing: .12em; text-transform: uppercase; color: #7d8491; }
.agc__name { font-size: calc(30 * var(--u)); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; white-space: nowrap; }
.agc__doc { font-family: var(--font-mono); font-size: calc(15 * var(--u)); line-height: 2.2; white-space: nowrap; }
.agc__val { font-size: calc(15 * var(--u)); font-weight: 500; line-height: 1.25; }
.agc.is-swap .agc__val { animation: agc-in .6s var(--ease-out) both; }
.agc.is-swap .agc__fields > div:nth-child(3) .agc__val { animation-delay: .08s; }
@keyframes agc-in { from { opacity: 0; transform: translateY(calc(6 * var(--u))); filter: blur(3px); } }
.agc__bars { display: flex; gap: calc(4 * var(--u)); margin-top: calc(6 * var(--u)); }
.agc__bars i { width: calc(34 * var(--u)); height: calc(5 * var(--u)); border-radius: calc(3 * var(--u)); background: rgb(255 255 255 / .14); position: relative; overflow: hidden; }
.agc__bars i::after { content: ""; position: absolute; inset: 0; background: #8c9bff; transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-out); }
.agc__bars i.on::after { transform: none; }
.agc__bars i:nth-child(2)::after { transition-delay: .06s; } .agc__bars i:nth-child(3)::after { transition-delay: .12s; }
.agc__bars i:nth-child(4)::after { transition-delay: .18s; } .agc__bars i:nth-child(5)::after { transition-delay: .24s; }
.agc__status { position: absolute; top: calc(292 * var(--u)); left: calc(32 * var(--u)); display: flex; align-items: center; gap: calc(10 * var(--u)); font-size: calc(13 * var(--u)); color: #b7bdc7; }
.agc__dot { width: calc(8 * var(--u)); height: calc(8 * var(--u)); border-radius: 50%; background: #5be49b; box-shadow: 0 0 calc(10 * var(--u)) #5be49b; }
.agc.is-live .agc__dot { animation: agc-pulse 2s ease-in-out infinite; }
@keyframes agc-pulse { 50% { box-shadow: 0 0 calc(18 * var(--u)) #5be49b; opacity: .7; } }
.agc__mrz { position: absolute; bottom: 0; left: 0; width: 100%; padding: calc(14 * var(--u)) calc(32 * var(--u)); border-top: 1px solid rgb(255 255 255 / .08);
  background: rgb(0 0 0 / .25); font-family: var(--font-mono); font-size: calc(15 * var(--u)); letter-spacing: .16em; line-height: 1.5; color: #7d8491; white-space: pre; overflow: hidden; }
.agc__mrz.is-typing::after { content: ""; display: inline-block; width: .6em; height: 1.05em; margin-left: .1em; vertical-align: -.15em; background: #8c9bff; animation: agc-caret .5s steps(1) infinite; }
@keyframes agc-caret { 50% { opacity: 0; } }
.agc__short { position: relative; margin: clamp(22px, 2.6vw, 34px) auto 0; max-width: 52ch; text-align: center; color: var(--ink-2); font-size: clamp(16px, 1.25vw, 19px); line-height: 1.5; min-height: 3em; }
.agc.is-swap .agc__short { animation: agc-in .7s .1s var(--ease-out) both; }
.agc__k { margin: 0 0 14px; color: var(--muted); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.agc__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.agc__pick { --on: 0; position: relative; width: 100%; display: grid; grid-template-columns: 78px minmax(0, 1fr) auto; grid-template-areas: "c n a" "c r a"; column-gap: 14px; align-items: center;
  padding: 8px 14px; border: 0; border-radius: 12px; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; overflow: hidden;
  box-shadow: inset 0 0 0 1px transparent; transition: background .3s, box-shadow .3s; }
.agc__pick:hover { background: rgb(255 255 255 / .04); }
.agc__pick.is-on { background: rgb(140 155 255 / .09); box-shadow: inset 0 0 0 1px rgb(140 155 255 / .35); }
.agc__pick:focus-visible { outline: 2px solid #8c9bff; outline-offset: 2px; }
.agc__pc { grid-area: c; font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.agc__pn { grid-area: n; font-weight: 600; font-size: 16px; letter-spacing: -.01em; }
.agc__pr { grid-area: r; font-size: 13.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.agc__pick.is-on .agc__pc { color: #8c9bff; }
.agc__pa { grid-area: a; display: flex; gap: 3px; }
.agc__pa i { width: 12px; height: 4px; border-radius: 2px; background: rgb(255 255 255 / .14); }
.agc__pa i.on { background: #8c9bff; opacity: .85; }
.agc__pick::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: linear-gradient(90deg, #ff7ad9, #9d8bff, #7ae7ff, #c8ff7a); transform: scaleX(0); transform-origin: left; }
.agc.is-run .agc__pick.is-on::after { animation: agc-prog var(--agc-t) linear forwards; }
@keyframes agc-prog { to { transform: scaleX(1); } }
.agc__princ { list-style: none; margin: clamp(40px, 5vw, 72px) 0 0; padding: clamp(22px, 2.4vw, 30px) 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 36px); }
.agc__princ span { display: block; color: #8c9bff; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.agc__princ p { margin: 10px 0 0; color: var(--ink-2); }
@media (max-width: 1099px) {
  .agc { grid-template-columns: minmax(0, 1fr); }
  .agc__list { grid-auto-flow: column; grid-auto-columns: 196px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
  .agc__list li { scroll-snap-align: start; display: grid; }
  .agc__pick { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "c a" "n n" "r r"; row-gap: 4px; padding: 14px; box-shadow: inset 0 0 0 1px var(--line); }
  .agc__pr { white-space: normal; }
  .agc__princ { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 599px) {
  .agc__card { transform: rotateX(calc(4deg + var(--ty))) rotateY(calc(-6deg + var(--tx))); }
  .agc__princ { grid-template-columns: minmax(0, 1fr); }
}
.is-still .agc *, .is-still .agc *::after { animation: none !important; }
@media (prefers-reduced-motion: reduce) { .agc *, .agc *::after { animation: none !important; transition: none !important; } .agc__card { transform: rotateX(7deg) rotateY(-11deg); } }

/* the 43 connectors of Agentity, in their families; a light runs along them while seen */
.agx { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.agx__f { padding: clamp(18px, 1.8vw, 24px); border-radius: var(--r-card); background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.agx__k { margin: 0 0 14px; display: flex; justify-content: space-between; color: var(--muted); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; }
.agx__k span { color: #8c9bff; }
.agx ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.agx li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--ink-2); }
.agx__m { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: rgb(255 255 255 / .05); box-shadow: inset 0 0 0 1px var(--line); color: #e8eaf0; }
.agx__m svg { width: 16px; height: 16px; fill: currentColor; }
.agx__m b { font: 600 11px var(--font-mono); letter-spacing: .02em; }
.agx.is-live .agx__m { animation: agx-lit calc(var(--n) * .16s) linear infinite; animation-delay: calc(var(--k) * .16s); }
@keyframes agx-lit { 0%, 6% { background: rgb(140 155 255 / .32); box-shadow: inset 0 0 0 1px rgb(140 155 255 / .7), 0 0 18px rgb(140 155 255 / .45); color: #fff; } 16%, 100% { background: rgb(255 255 255 / .05); box-shadow: inset 0 0 0 1px var(--line); } }
@media (max-width: 1099px) { .agx { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .agx { grid-template-columns: minmax(0, 1fr); } }
.is-still .agx__m { animation: none !important; }
@media (prefers-reduced-motion: reduce) { .agx__m { animation: none !important; } }

/* ---- Smartlet (25/11/2026): six years on a rail, the notes of the project, the integrations, the people over the years */
.slt-tl { --acc: #219ebc; --p: 0; position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.slt-tl::before, .slt-tl::after { content: ""; position: absolute; left: calc(var(--yw) + var(--cg) + 9px); top: 8px; bottom: 8px; width: 2px; border-radius: 2px; }
.slt-tl { --yw: clamp(70px, 9vw, 130px); --cg: clamp(16px, 2vw, 28px); }
.slt-tl::before { background: var(--line-2); }
.slt-tl::after { background: linear-gradient(180deg, #76e5ea, var(--acc) 60%, #105e87); transform: scaleY(var(--p)); transform-origin: top; }
.slt-tl__i { position: relative; display: grid; grid-template-columns: var(--yw) 20px minmax(0, 1fr); column-gap: var(--cg); padding: 0 0 clamp(26px, 3vw, 40px); }
.slt-tl__y { font-size: clamp(30px, 3.4vw, 52px); font-weight: 600; letter-spacing: -.04em; line-height: 1; color: var(--ink); text-align: right; }
.slt-tl__dot { position: relative; z-index: 1; width: 20px; height: 20px; margin-top: 4px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 2px var(--line-3); transition: box-shadow .5s, background .5s; }
.slt-tl__i.is-on .slt-tl__dot { background: var(--acc); box-shadow: inset 0 0 0 2px var(--acc), 0 0 0 6px rgb(33 158 188 / .18), 0 0 22px rgb(33 158 188 / .55); }
.slt-tl__c { max-width: 62ch; }
.slt-tl__c .mono { margin: 2px 0 6px; color: var(--acc); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.slt-tl__c h3 { margin: 0 0 8px; font-size: clamp(20px, 1.7vw, 26px); font-weight: 600; letter-spacing: -.02em; }
.slt-tl__c p:last-child { margin: 0; color: var(--ink-2); }
@media (max-width: 599px) { .slt-tl { --yw: 54px; --cg: 12px; } .slt-tl__y { font-size: 22px; } }

.slt-doc { --acc: #219ebc; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(18px, 2vw, 28px); align-items: start; }
.slt-doc__page { padding: clamp(22px, 2.6vw, 38px); border-radius: var(--r-card); background: #f6f8fa; color: #1f2a33; box-shadow: 0 30px 80px rgb(0 0 0 / .45); transform: rotate(-.6deg); }
.slt-doc__file { display: flex; align-items: center; gap: 6px; margin: 0 0 22px; color: #6b7785; font-size: 12px; }
.slt-doc__file span { width: 10px; height: 10px; border-radius: 50%; background: #d7dde3; }
.slt-doc__file span:nth-child(1) { background: #ff6159; } .slt-doc__file span:nth-child(2) { background: #ffbd2e; } .slt-doc__file span:nth-child(3) { background: #28c840; margin-right: 10px; }
.slt-doc__page h3 { margin: 0 0 8px; font-size: clamp(24px, 2.2vw, 32px); letter-spacing: -.03em; color: #0b1a24; }
.slt-doc__lead { margin: 0 0 24px; color: #4a5763; }
.slt-doc__page h4 { margin: 0 0 12px; padding-bottom: 8px; border-bottom: 1px solid #dfe4e9; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #105e87; }
.slt-doc__glo { margin: 0; display: grid; }
.slt-doc__glo > div { display: grid; grid-template-columns: minmax(0, 15ch) minmax(0, 1fr); gap: 14px; padding: 9px 0; border-bottom: 1px dashed #dfe4e9; }
.slt-doc__glo dt code { font: 600 13px var(--font-mono); color: #105e87; background: #e3f4f8; padding: 2px 6px; border-radius: 5px; }
.slt-doc__glo dd { margin: 0; font-size: 14.5px; color: #33414d; }
.slt-doc__side { display: grid; gap: clamp(18px, 2vw, 28px); }
.slt-doc__map { margin: 0; padding: clamp(16px, 2vw, 24px); border-radius: var(--r-card); background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.slt-doc__map figcaption { margin: 0 0 10px; color: var(--muted); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.slt-doc__map em { margin-left: 8px; padding: 2px 8px; border-radius: 999px; font-style: normal; color: #15130f; background: #ffbc00; letter-spacing: .04em; }
.sm { display: block; width: 100%; height: auto; overflow: visible; font-family: var(--font-text); }
.sm-l { fill: none; stroke: rgb(33 158 188 / .55); stroke-width: 1.6; stroke-dasharray: 4 5; }
.sm-n rect { fill: var(--surface-2); stroke: var(--line-3); stroke-width: 1.2; }
.sm-n--core rect { fill: rgb(33 158 188 / .14); stroke: #219ebc; }
.sm-t { fill: var(--ink); font-size: 16px; font-weight: 600; }
.sm-s { fill: var(--muted); font-size: 11.5px; font-family: var(--font-mono); }
.sm-side text { fill: var(--muted); font-size: 11px; font-family: var(--font-mono); }
.sm-side text:first-child { fill: #76e5ea; text-transform: uppercase; letter-spacing: .08em; }
.sm-p { fill: #76e5ea; filter: drop-shadow(0 0 4px #219ebc); }
.slt-doc__notes { padding: clamp(18px, 2vw, 26px); border-radius: var(--r-card); background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.slt-doc__k { margin: 0 0 12px; color: var(--muted); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.slt-doc__rules { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.slt-doc__rules li { padding: 12px 14px; border-radius: 12px; background: #fff7c2; color: #3a3418; transform: rotate(var(--r, -.8deg)); box-shadow: 0 10px 24px rgb(0 0 0 / .3); }
.slt-doc__rules li:nth-child(2) { --r: .9deg; background: #d2fbf7; color: #0b3a42; } .slt-doc__rules li:nth-child(3) { --r: .5deg; background: #e7e1ff; color: #2c2350; } .slt-doc__rules li:nth-child(4) { --r: -1deg; background: #ffe1d6; color: #4a2316; }
.slt-doc__rules span { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; opacity: .75; }
.slt-doc__rules p { margin: 6px 0 0; font-size: 14px; line-height: 1.4; }
.slt-doc__skills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.slt-doc__skills code { display: inline-block; padding: 6px 10px; border-radius: 8px; font: 12.5px var(--font-mono); color: #76e5ea; background: rgb(33 158 188 / .12); box-shadow: inset 0 0 0 1px rgb(33 158 188 / .35); }
@media (max-width: 1099px) { .slt-doc { grid-template-columns: minmax(0, 1fr); } .slt-doc__page { transform: none; } }
@media (max-width: 599px) {
  .slt-doc__glo > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .slt-doc__rules { grid-template-columns: minmax(0, 1fr); }
  .slt-doc__map { overflow-x: auto; }
  .slt-doc__map .sm { min-width: 520px; }
}

/* the integrations: the Agentity grid with a line under each name, three families a row */
.agx { --agx: #8c9bff; }
.agx--d { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.agx__t { display: grid; gap: 2px; }
.agx__t small { font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.agx--d li { align-items: flex-start; }
.agx--d .agx__m { margin-top: 2px; }
.agx--d.is-live .agx__m { animation-name: agx-lit-d; }
@keyframes agx-lit-d { 0%, 6% { background: rgb(33 158 188 / .35); box-shadow: inset 0 0 0 1px rgb(118 229 234 / .8), 0 0 18px rgb(33 158 188 / .5); color: #fff; } 16%, 100% { background: rgb(255 255 255 / .05); box-shadow: inset 0 0 0 1px var(--line); } }
@media (max-width: 1099px) { .agx--d { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .agx--d { grid-template-columns: minmax(0, 1fr); } }

/* who worked on it, year by year: a bar per person */
.cy { --acc: #219ebc; margin: 0 0 clamp(28px, 3vw, 44px); padding: clamp(18px, 2vw, 26px); border-radius: var(--r-card); background: var(--surface); box-shadow: 0 0 0 1px var(--line); overflow-x: auto; }
.cy__head, .cy__rows li { display: grid; grid-template-columns: minmax(190px, 1.1fr) minmax(420px, 3fr); align-items: center; gap: 16px; }
.cy__years { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); color: var(--muted); font-size: 12px; }
.cy__years span { padding-left: 6px; border-left: 1px solid var(--line); }
.cy__rows { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 10px; }
.cy__who { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 15px; white-space: nowrap; }
.cy__who img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px rgb(33 158 188 / .6); }
.cy__bar { position: relative; height: 30px; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr));
  background-image: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px calc(100% / var(--n))); }
.cy__bar i { grid-column: calc(var(--a) + 1) / calc(var(--b) + 1); position: relative; display: flex; align-items: center; padding: 0 10px; border-radius: 999px;
  background: linear-gradient(90deg, #105e87, var(--acc) 55%, #76e5ea); transform-origin: left; transform: scaleX(.02); opacity: .4; transition: transform 1.1s var(--ease-out), opacity .6s; }
.cy__bar i span { font-size: 11.5px; color: #04131b; font-weight: 600; white-space: nowrap; opacity: 0; transition: opacity .5s .7s; }
.cy.is-live .cy__bar i, .cy.is-in .cy__bar i, .is-still .cy__bar i { transform: none; opacity: 1; }
.cy.is-live .cy__bar i span, .cy.is-in .cy__bar i span, .is-still .cy__bar i span { opacity: 1; }
.cy__rows li:nth-child(2) i { transition-delay: .08s; } .cy__rows li:nth-child(3) i { transition-delay: .16s; } .cy__rows li:nth-child(4) i { transition-delay: .24s; }
.cy__rows li:nth-child(5) i { transition-delay: .32s; } .cy__rows li:nth-child(6) i { transition-delay: .4s; }
@media (max-width: 599px) {
  .cy { overflow: visible; }
  .cy__head, .cy__rows li { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .cy__head > span:first-child { display: none; }
  .cy__years { font-size: 10.5px; }
  .cy__years span { padding-left: 4px; }
  .cy__rows { gap: 16px; }
  .cy__bar { height: 24px; }
  .cy__bar i span { font-size: 10.5px; }
}
@media (prefers-reduced-motion: reduce) { .cy__bar i { transform: none; opacity: 1; transition: none; } .cy__bar i span { opacity: 1; transition: none; } }
/* where to see Smartlet: four links */
.slt-lns { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 18px); }
.slt-ln { position: relative; display: grid; gap: 8px; height: 100%; padding: 22px 22px 54px; border-radius: var(--r-card); background: var(--surface); box-shadow: 0 0 0 1px var(--line); color: inherit; text-decoration: none; overflow: hidden; transition: box-shadow .3s, transform .3s var(--ease-out); }
.slt-ln::before { content: ""; position: absolute; inset: auto -20% -60% -20%; height: 120%; background: radial-gradient(closest-side, rgb(33 158 188 / .28), transparent); opacity: 0; transition: opacity .4s; }
.slt-ln .mono { color: #76e5ea; font-size: 12px; overflow-wrap: anywhere; }
.slt-ln strong { font-size: 22px; letter-spacing: -.02em; }
.slt-ln > span:not(.mono):not(.slt-ln__go) { color: var(--ink-2); font-size: 15px; }
.slt-ln__go { position: absolute; right: 18px; bottom: 16px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-3); transition: background .3s, color .3s; }
.slt-ln__go svg { width: 14px; height: 14px; }
@media (hover: hover) and (pointer: fine) {
  .slt-ln:hover { box-shadow: 0 0 0 1px rgb(33 158 188 / .6); transform: translateY(-3px); }
  .slt-ln:hover::before { opacity: 1; }
  .slt-ln:hover .slt-ln__go { background: #219ebc; color: #04131b; }
}
.slt-ln:focus-visible { outline: 2px solid #219ebc; outline-offset: 3px; }
@media (max-width: 1099px) { .slt-lns { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .slt-lns { grid-template-columns: minmax(0, 1fr); } }

/* ------------------------------------------------------------------ real projects, one after another ([data-xshow], 26/11/2026)
   On the quote page in place of the laptop photo: each mockup comes in by opacity, pushes in slowly while on, keeps its label */
.xshow::after { display: none; }
.xshow__item { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity 900ms var(--ease-out); }
.xshow__item.is-on { opacity: 1; pointer-events: auto; }
.xshow__item img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 6.5s linear; }
.xshow__item.is-on img { transform: none; }
.xshow__item::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(7, 8, 11, .62) 0, transparent 34%); }
.xshow__item .tag { position: absolute; left: 18px; bottom: 18px; z-index: 1; }
.xshow__item:focus-visible { outline: 2px solid var(--accent); outline-offset: -4px; }
.is-still .xshow__item img { transform: none; transition: none; }
@media (prefers-reduced-motion: reduce) { .xshow__item, .xshow__item img { transition: none; } .xshow__item img { transform: none; } }

/* ------------------------------------------------------------------ /prove/preventivo/: the quote page made to convert (26/11/2026) */
/* on a wide screen the title and the reasons on the left, the form on the right; on a phone the form right after the title */
.pq-hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); grid-template-areas: "intro form" "reasons form"; grid-template-rows: auto 1fr; column-gap: clamp(32px, 5vw, 80px); align-items: start; }
.pq-intro { grid-area: intro; }
.pq-panel { grid-area: form; }
.pq-reasons { grid-area: reasons; }
.pq-kick { color: var(--accent); }
.pq h1 { font-size: clamp(44px, 5vw, 80px); margin-top: 18px; }
.pq h1 em { font-style: normal; background: linear-gradient(95deg, #58b9da 0%, #9be7ff 45%, #8c7bff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pq-intro .lead { margin-top: 22px; max-width: 34ch; }
.pq-ticks { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.pq-ticks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; color: var(--ink-2); font-size: 16px; line-height: 1.45; }
.pq-tick { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: rgba(88, 185, 218, .16); fill: none; stroke: var(--accent); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.pq-ticks--lg li { font-size: 18px; }
.pq-team { display: flex; align-items: center; gap: 14px; margin-top: 32px; }
.pq-faces { display: flex; flex-shrink: 0; }
.pq-face { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--bg); filter: grayscale(1) contrast(1.05); }
.pq-face + .pq-face { margin-left: -10px; }
.pq-team p { font-size: 14px; color: var(--soft); line-height: 1.4; }
.pq-team span { color: var(--muted); }
/* the form, in three steps */
.pq-form { display: block; }
.pq-panel { scroll-margin-top: calc(var(--nav-h) + 20px); }
.pq-progress { display: grid; gap: 10px; margin-bottom: 26px; }
.pq-progress .mono { color: var(--muted); }
.pq-progress [data-pq-n] { color: var(--ink); }
.pq-bar { display: block; height: 3px; border-radius: 3px; background: var(--line-2); overflow: hidden; }
.pq-bar i { display: block; height: 100%; background: linear-gradient(90deg, #58b9da, #8c7bff); transform: scaleX(.333); transform-origin: left; transition: transform 600ms var(--ease-out); }
.pq-step { outline: none; }
.pq-step.is-on { animation: pq-in 420ms var(--ease-out) both; }
@keyframes pq-in { from { opacity: 0; transform: translateX(18px); } }
.pq-step .choices legend, .pq-q { font-size: clamp(22px, 2vw, 28px); font-weight: 500; letter-spacing: -.025em; line-height: 1.15; color: var(--ink); margin-bottom: 18px; }
.pq-step .choices + .choices { margin-top: 28px; }
.pq-step .choices + .choices legend { font-size: 17px; margin-bottom: 12px; }
.pq-step--tiles .choices:first-child .choices__set { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pq-step--tiles .choices:first-child .choice { display: block; }
.pq-step--tiles .choices:first-child .choice span { display: flex; width: 100%; min-height: 66px; padding: 14px 44px 14px 18px; border-radius: 16px; font-size: 16px; line-height: 1.3; position: relative; }
.pq-step--tiles .choices:first-child .choice span::after { content: ""; position: absolute; right: 16px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-3); }
.pq-step--tiles .choices:first-child .choice input:checked + span::after { box-shadow: inset 0 0 0 5px var(--accent); }
.pq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; }
.pq-grid + .pq-grid, .pq-more + .pq-grid { margin-top: 18px; }
.pq-step .field textarea { min-height: 0; height: 108px; }
.pq-consent { margin-top: 22px; }
.pq-more { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 14px; }
.pq-more summary { cursor: pointer; font-size: 15px; color: var(--ink-2); list-style: none; display: inline-flex; gap: 8px; align-items: center; }
.pq-more summary::before { content: "+"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-3); font-size: 15px; }
.pq-more[open] summary::before { content: "–"; }
.pq-more summary small { color: var(--muted); }
.pq-more summary::-webkit-details-marker { display: none; }
.pq-more .pq-grid { margin-top: 16px; }
.pq-nav { display: flex; gap: 10px; justify-content: space-between; margin-top: 28px; }
.pq-nav .btn--primary { margin-left: auto; }
.pq-safe { margin-top: 14px; color: var(--muted); text-align: right; }
.pq-form .form__end { margin-top: 18px; }
/* proof */
.pq-proof { padding: clamp(40px, 6vw, 80px) 0 0; }
.pq-clients { margin-top: 28px; border-bottom: 0; padding-block: 28px 0; }
.pq-proof__cap { margin-bottom: 8px; color: var(--muted); }
/* what the quote contains: an example drawn in the page */
.pq-what__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 5vw, 72px); align-items: center; margin-top: 40px; }
.pq-doc { margin: 0; border-radius: var(--r-card); background: #f4f6f9; color: #0b0d12; padding: clamp(22px, 3vw, 36px); box-shadow: var(--glow), 0 40px 90px -40px rgba(0, 0, 0, .9); transform: rotate(-1.2deg); }
.pq-doc__head { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid rgba(11, 13, 18, .12); color: #3a4150; }
.pq-doc__ex { padding: 2px 8px; border-radius: 6px; background: rgba(11, 13, 18, .08); }
.pq-doc__rows { list-style: none; margin: 0; padding: 0; }
.pq-doc__rows li { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) auto; gap: 18px; align-items: center; padding: 16px 0; border-bottom: 1px solid rgba(11, 13, 18, .08); }
.pq-doc__what b { display: block; font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.pq-doc__what small { display: block; margin-top: 3px; font-size: 13px; color: #5b6272; }
.pq-gantt { position: relative; height: 10px; border-radius: 5px; background: rgba(11, 13, 18, .06); }
.pq-gantt i { position: absolute; top: 0; bottom: 0; left: var(--x); width: var(--w); border-radius: 5px; background: linear-gradient(90deg, #58b9da, #8c7bff); transform: scaleX(0); transform-origin: left; transition: transform 900ms var(--ease-out); }
.pq-doc.is-in .pq-gantt i { transform: none; }
.pq-doc.is-in li:nth-child(2) .pq-gantt i { transition-delay: 150ms; } .pq-doc.is-in li:nth-child(3) .pq-gantt i { transition-delay: 300ms; } .pq-doc.is-in li:nth-child(4) .pq-gantt i { transition-delay: 450ms; }
.pq-cost { font-family: var(--font-mono); font-size: 13px; color: #8a90a0; filter: blur(2.5px); }
.pq-doc__tech { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; color: #3a4150; }
.pq-doc__tech span { padding: 4px 10px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px rgba(11, 13, 18, .12); color: #0b0d12; text-transform: none; letter-spacing: 0; }
.pq-what__side .btn { margin-top: 32px; }
/* three projects */
.pq-work__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.pq-work__card { display: grid; gap: 6px; color: inherit; text-decoration: none; }
.pq-work__img { display: block; aspect-ratio: 3 / 2; border-radius: var(--r-img); overflow: hidden; background: var(--surface); margin-bottom: 12px; box-shadow: 0 0 0 1px var(--line); }
.pq-work__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.pq-work__card .mono { color: var(--accent); }
.pq-work__card strong { font-size: 22px; font-weight: 500; letter-spacing: -.02em; }
.pq-work__line { color: var(--soft); font-size: 15px; }
@media (hover: hover) and (pointer: fine) { .pq-work__card:hover .pq-work__img img { transform: scale(1.04); } }
/* how it works, and the questions */
.pq-how__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); }
.pq-steps { margin-top: 28px; }
.pq-faq h2 { margin-bottom: 16px; }
.pq-faq__item { border-bottom: 1px solid var(--line); }
.pq-faq__item summary { cursor: pointer; list-style: none; display: grid; grid-template-columns: minmax(0, 1fr) 24px; gap: 16px; align-items: center; padding: 20px 0; font-size: 17px; font-weight: 500; color: var(--ink); }
.pq-faq__item summary::-webkit-details-marker { display: none; }
.pq-faq__item summary::after { content: "+"; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-3); color: var(--soft); transition: transform 300ms var(--ease-out); }
.pq-faq__item[open] summary::after { transform: rotate(45deg); }
.pq-faq__item p { padding: 0 40px 20px 0; color: var(--soft); line-height: 1.55; }
/* the close */
.pq-end { text-align: center; display: grid; justify-items: center; gap: 18px; }
.pq-end .cta { justify-content: center; }
.pq-end__tel { color: var(--muted); }
.pq-end__tel a { color: var(--ink); }
/* the bar at the foot of a phone */
.pq-sticky { display: none; }
@media (max-width: 899px) {
  .pq-hero { grid-template-columns: 1fr; grid-template-areas: "intro" "form" "reasons"; grid-template-rows: auto; row-gap: 28px; }
  .pq h1 { font-size: 46px; }
  .pq-intro .lead { max-width: none; }
  .pq-team { margin-top: 22px; }
  .pq-what__grid, .pq-how__grid { grid-template-columns: 1fr; }
  .pq-work__grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(78vw, 320px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .pq-work__grid::-webkit-scrollbar { display: none; }
  .pq-work__card { scroll-snap-align: start; }
  .pq-doc { transform: none; }
  .pq-doc__rows li { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; }
  .pq-gantt { grid-column: 1 / -1; grid-row: 2; }
  .pq-sticky { display: inline-flex; position: fixed; z-index: 40; left: 16px; right: 84px; bottom: max(16px, env(safe-area-inset-bottom)); justify-content: center;
    opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity 300ms var(--ease-out), transform 400ms var(--ease-out); box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .9); }
  .pq-sticky.is-on { opacity: 1; transform: none; pointer-events: auto; }
}
@media (max-width: 559px) {
  .pq-grid { grid-template-columns: 1fr; }
  .pq-step--tiles .choices:first-child .choices__set { grid-template-columns: 1fr; }
  .pq-step--tiles .choices:first-child .choice span { min-height: 56px; }
  .pq-nav .btn { width: auto; }
  .pq-safe { text-align: left; }
}
@media (prefers-reduced-motion: reduce) { .pq-step.is-on { animation: none; } .pq-bar i, .pq-gantt i, .pq-sticky { transition: none; } }

/* ------------------------------------------------------------------ the reviews on Google (26/11/2026, in place of the strip of work photos)
   The score of both listings in one row, its five stars lighting up one by one; under it the reviews run in two bands,
   the same loop as the photos they replace (faster while you scroll, still under the pointer, a row to scroll by hand when stopped) */
.rv__head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(24px, 4vw, 64px); align-items: center; }
.rv__num { font-size: clamp(96px, 10vw, 156px); font-weight: 600; letter-spacing: -.06em; line-height: .85; font-variant-numeric: tabular-nums;
  background: linear-gradient(95deg, #fff 30%, #9be7ff 70%, #8c7bff); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding: 0 .1em .14em 0; margin: 0 -.1em -.14em 0; }   /* the gradient only paints inside the box: room for the 0 (the tight letter-spacing
     ends the box before it) and for the comma's tail (line-height .85), given back with the margin so nothing moves (27/11/2026) */
.rv__score { display: grid; justify-items: center; }   /* the stars centred under the 5,0 (27/11/2026) */
.rv__stars { display: flex; gap: 6px; margin-top: 16px; }
.rv__stars svg { width: 30px; height: 30px; fill: #f6c344; filter: drop-shadow(0 0 14px rgba(246, 195, 68, .35)); }
.rv__sum .mono { color: var(--accent); }
.rv__sum h2 { margin-top: 10px; }
.rv__note { margin-top: 10px; color: var(--soft); max-width: 52ch; }
.rv__links { display: grid; gap: 10px; justify-items: start; }
.rv__links .go { margin: 0; }
/* the stars, one by one, as the head rises */
.js-motion .rv__head:not(.is-in) .rv__stars svg { opacity: .12; transform: scale(.6) rotate(-30deg); }
.js-motion .rv__head .rv__stars svg { transition: opacity 400ms var(--ease-out), transform 600ms cubic-bezier(.34, 1.56, .64, 1); transition-delay: calc(350ms + var(--k) * 110ms); }
.rv__bands { display: grid; gap: 16px; margin-top: clamp(36px, 4vw, 56px); }
.rv__band .band__track { gap: 16px; padding-right: 16px; align-items: stretch; }
.rv__card { margin: 0; width: 300px; display: grid; grid-template-rows: auto 1fr auto; gap: 14px; padding: 24px 26px; border-radius: var(--r-card); background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line); position: relative; overflow: hidden; }
.rv__card--m { width: 380px; }
.rv__card--l { width: 560px; }
.rv__card::before { content: "“"; position: absolute; right: 18px; top: -18px; font-size: 130px; line-height: 1; font-weight: 600; color: rgba(88, 185, 218, .12); pointer-events: none; }
.rv__card blockquote { margin: 0; }
.rv__card blockquote p { font-size: 17px; line-height: 1.5; color: var(--ink); letter-spacing: -.01em; }
.rv__card--l blockquote p { font-size: 19px; line-height: 1.45; }
.rv__card figcaption { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 12px; align-items: center; margin-top: 4px; }
.rv__top { display: flex; align-items: center; gap: 12px; margin: 0; }
.rv__top time { font-size: 11px; color: var(--muted); }
.rv__src { display: inline-flex; align-items: center; gap: 8px; }
.rv__src-g { width: 18px; height: 18px; flex: none; }
.rv__card figcaption b { display: block; font-weight: 500; }
.rv__card figcaption .mono { display: block; margin-top: 2px; font-size: 11px; color: var(--muted); }
.rv__av { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(140deg, #58b9da, #8c7bff); color: #07080b; font-weight: 600; font-size: 16px; }
.rv__mini { display: flex; gap: 2px; }
.rv__mini svg { width: 14px; height: 14px; fill: #f6c344; }
.rv--pq { padding-top: clamp(56px, 7vw, 96px); }
/* at rest (the calm site, the motion stopped): rows that scroll, by the arrows or a sideways swipe, starting at the page's edge (02/12/2026) */
.is-calm .rv__band, .is-still .rv__band { overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; overscroll-behavior-x: contain;
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--maxw)) / 2)); }
.is-calm .rv__band::-webkit-scrollbar, .is-still .rv__band::-webkit-scrollbar { display: none; }
.is-calm .rv__band .band__track, .is-still .rv__band .band__track { padding-inline: max(var(--gutter), calc((100vw - var(--maxw)) / 2)); }
.is-calm .rv__band .rv__card, .is-still .rv__band .rv__card { scroll-snap-align: start; }
.rv__nav { display: flex; justify-content: flex-end; gap: 8px; margin-top: clamp(28px, 3vw, 44px); }
.rv__nav + .rv__bands { margin-top: 16px; }
.hs__btn.is-end { opacity: .35; cursor: default; }
.hs__btn.is-end:hover { background: transparent; border-color: var(--line); }
@media (max-width: 899px) {
  .rv__head { grid-template-columns: auto minmax(0, 1fr); row-gap: 20px; }
  .rv__sum { grid-column: 1 / -1; grid-row: 2; }
  .rv__links { grid-column: 1 / -1; }
  .rv__num { font-size: 96px; }
  .rv__card, .rv__card--m { width: 280px; }
  .rv__card--l { width: 330px; }
  .rv__card--l blockquote p { font-size: 17px; }
}
.is-still .rv__head .rv__stars svg { opacity: 1 !important; transform: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) { .rv__stars svg { transition: none !important; opacity: 1 !important; transform: none !important; } }

/* ------------------------------------------------------------------ the route with a phone's screen (journey(), 27/11/2026) */
.jr__step--shot:has(.jr__shot--phone) { grid-template-columns: minmax(0, 7fr) minmax(0, 3fr); }
.jr__shot--phone img { border-radius: 26px; max-width: 260px; margin-inline: auto; }

/* ------------------------------------------------------------------ the tour: the product shown by itself in a device (tour(), 27/11/2026)
   The real screens one after another, a finger going to the button that leads on and pressing it, the step that is on beside.
   Under "Ferma il movimento" it stays on the screen chosen; every step can be chosen with a click */
.tour__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.tour--laptop .tour__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
.tour__kick { color: var(--tc); }
.tour__side h2 { margin-top: 12px; }
.tour__side .lead { margin-top: 16px; max-width: 46ch; }
.tour__steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 4px; }
.tour__step { position: relative; width: 100%; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 14px 18px; border: 0; border-radius: 16px;
  background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; overflow: hidden; transition: background-color 400ms var(--ease-out); }
.tour__step .mono { padding-top: 4px; color: var(--muted); transition: color 400ms; }
.tour__step b { display: block; font-size: 18px; font-weight: 500; letter-spacing: -.015em; color: var(--ink-2); transition: color 400ms; }
.tour__txt { display: block; max-height: 0; opacity: 0; overflow: hidden; margin-top: 4px; font-size: 15px; line-height: 1.5; color: var(--soft); transition: max-height 500ms var(--ease-out), opacity 400ms; }
.tour__step.is-on { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); }
.tour__step.is-on .mono { color: var(--tc); }
.tour__step.is-on b { color: var(--ink); }
.tour__step.is-on .tour__txt { max-height: 160px; opacity: 1; }
.tour__time { position: absolute; left: 18px; right: 18px; bottom: 0; height: 2px; border-radius: 2px; background: var(--tc); transform: scaleX(0); transform-origin: left; opacity: 0; }
.tour.is-run .tour__step.is-on .tour__time { opacity: .7; animation: tour-time var(--td, 3600ms) linear forwards; }
@keyframes tour-time { to { transform: none; } }
.tour__step:focus-visible { outline: 2px solid var(--tc); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .tour__step:not(.is-on):hover { background: rgba(255, 255, 255, .03); } }
.tour__dev { position: relative; justify-self: center; }
.tour__phone { width: min(320px, 72vw); aspect-ratio: 9 / 19.5; padding: 11px; border-radius: 52px; background: linear-gradient(150deg, #2e3037 0%, #141519 45%, #08090b 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 50px 100px -40px rgba(0, 0, 0, .95), 0 0 140px -30px color-mix(in srgb, var(--tc) 55%, transparent); }
.tour__phone .tour__screen { height: 100%; border-radius: 42px; }
.tour__island { position: absolute; z-index: 3; top: 21px; left: 50%; width: 30%; height: 24px; border-radius: 14px; background: #000; transform: translateX(-50%); }
.tour__laptop { width: 100%; max-width: 760px; }
.tour__lid { padding: 1.6% 1.6% 2.2%; border-radius: 18px 18px 6px 6px; background: linear-gradient(160deg, #24262c, #0c0d10); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 0 140px -40px color-mix(in srgb, var(--tc) 50%, transparent); }
.tour__laptop .tour__screen { aspect-ratio: 16 / 10; border-radius: 6px; }
.tour__base { display: block; height: 14px; margin: 0 -6.5%; border-radius: 0 0 16px 16px; background: linear-gradient(#d9dce2, #9da3ad 70%, #7d838d); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9); }
.tour__screen { position: relative; overflow: hidden; background: #0b0c0f; }
.tour__shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transform: translateX(12%);
  transition: opacity 500ms var(--ease-out), transform 700ms var(--ease-out); }
.tour__shot.is-on { opacity: 1; transform: none; }
.tour__shot.is-out { transform: translateX(-8%); }
.tour__tap { position: absolute; z-index: 4; left: var(--x, 50%); top: var(--y, 60%); width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%;
  background: rgba(255, 255, 255, .32); box-shadow: 0 0 0 2px rgba(255, 255, 255, .85), 0 10px 26px rgba(0, 0, 0, .35); opacity: 0; pointer-events: none;
  transition: left 900ms var(--ease-out), top 900ms var(--ease-out), opacity 300ms; }
.tour--laptop .tour__tap { width: 30px; height: 30px; margin: -15px 0 0 -15px; }
.tour__tap.is-on { opacity: 1; }
.tour__tap.is-press { animation: tour-press 520ms var(--ease-out); }
@keyframes tour-press { 40% { transform: scale(.72); background: rgba(255, 255, 255, .6); } }
@media (max-width: 899px) {
  .tour__grid, .tour--laptop .tour__grid { grid-template-columns: 1fr; }
  .tour__dev { order: -1; }
  .tour__phone { width: min(280px, 70vw); }
  .tour__steps { margin-top: 20px; }
}
.is-still .tour__shot, .is-still .tour__tap { transition: none; }
.is-still .tour__tap { opacity: 0 !important; }
@media (prefers-reduced-motion: reduce) { .tour__shot, .tour__tap, .tour__txt { transition: none; } .tour__tap { display: none; } .tour__time { display: none; } }

/* ------------------------------------------------------------------ Thingk Slab! (27/11/2026)
   The Weight viewer: the real screen without its digits, the grams drawn where «246» was (its centre at 49.9 % × 47 % of the
   screen, cap height 10.2 % of the screen's height) */
.slab-screen { container-type: size; }
.slab-scr { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.slab-num { position: absolute; left: 50%; top: 47%; z-index: 2; transform: translate(-50%, -52%); font-size: 14.4cqh; font-weight: 700; letter-spacing: -.035em; line-height: 1;
  color: #ededed; font-variant-numeric: tabular-nums; white-space: nowrap; }
/* the opening: the photo of the scale, and the phone standing in front of it */
.slab-hero { position: relative; padding: 0 0 6% 0; }
.slab-hero__photo { margin: 0; width: 82%; border-radius: var(--r-img); overflow: hidden; box-shadow: 0 0 0 1px var(--line), 0 40px 90px -40px rgba(0, 0, 0, .9); }
.slab-hero__photo img { display: block; width: 100%; height: auto; }
.slab-hero__phone { position: absolute; right: 2%; bottom: 0; width: min(250px, 30%); padding: 8px; border-radius: 40px; transform: rotate(4deg); }
.slab-hero__phone .tour__screen { border-radius: 33px; height: 100%; }
.slab-hero__phone .tour__island { top: 15px; height: 18px; }
.slab-hero .tour__tap { --x: 50%; --y: 67.4%; width: 34px; height: 34px; margin: -17px 0 0 -17px; }
@media (max-width: 899px) { .slab-hero__photo { width: 88%; } .slab-hero__phone { width: 36%; right: 0; } }

/* the wood that talks to the phone: a stage that stays while the page scrolls (--p from 0 to 1, site.js) */
.slw { position: relative; height: 230vh; --p: 0; }
.slw__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; grid-template-rows: auto 1fr; padding-top: calc(var(--nav-h) + 24px); overflow: clip; }
.slw__head .mono { color: #1eaba4; }
.slw__head h2 { margin-top: 10px; }
.slw__head .lead { margin-top: 12px; max-width: 52ch; }
.slw__stage { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 2fr) minmax(0, 3fr); align-items: center; gap: 2vw; width: min(1100px, 92vw); margin: 0 auto; }
.slw__scale { position: relative; justify-self: center; width: min(420px, 100%); padding-top: 150px; }
.slw__wood { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 16px;
  background: repeating-linear-gradient(97deg, rgba(120, 80, 40, .05) 0 3px, transparent 3px 11px), repeating-linear-gradient(91deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 7px),
    linear-gradient(170deg, #e9cfa5, #d8b483 55%, #c79f6d);
  box-shadow: inset 0 -10px 0 rgba(0, 0, 0, .12), inset 0 2px 0 rgba(255, 255, 255, .35), 0 40px 60px -30px rgba(0, 0, 0, .9); }
/* the grams, read through the wood: warm light behind a veneer */
.slw__digits { position: absolute; right: 9%; bottom: 14%; font: 600 clamp(26px, 3.2vw, 44px) / 1 var(--font-mono); letter-spacing: .06em; font-variant-numeric: tabular-nums;
  color: #fff7e6; text-shadow: 0 0 10px rgba(255, 214, 150, .9), 0 0 22px rgba(255, 190, 110, .6); mix-blend-mode: screen;
  opacity: clamp(0, calc((var(--p) - .26) * 8), .92); }
/* the bowl comes down onto the wood, then stays */
.slw__bowl { position: absolute; left: 30%; top: 0; width: 44%; aspect-ratio: 2.1; border-radius: 0 0 50% 50% / 0 0 100% 100%; background: linear-gradient(180deg, #2a2a2e, #111114);
  box-shadow: 0 18px 30px -12px rgba(0, 0, 0, .8); transform: translateY(calc(118px - (1 - min(1, var(--p) / .3)) * 160px)); opacity: clamp(0, calc(var(--p) * 10), 1); }
.slw__bowl i { position: absolute; left: 6%; right: 6%; top: -12%; height: 34%; border-radius: 50%; background: radial-gradient(closest-side, #f2d48a, #d9b25c 70%, #b98f3d); }
/* the Bluetooth wave, from the wood to the phone, only while the weight travels */
.slw__waves { position: relative; height: 120px; opacity: clamp(0, calc(min((var(--p) - .32) * 6, (.92 - var(--p)) * 6)), 1); }
.slw__waves i { position: absolute; left: 0; top: 50%; width: 46px; height: 46px; margin-top: -23px; border-radius: 50%; border: 2px solid #1eaba4; opacity: 0; animation: slw-wave 1.6s cubic-bezier(.2, .7, .3, 1) infinite; }
.slw__waves i:nth-child(2) { animation-delay: .5s; } .slw__waves i:nth-child(3) { animation-delay: 1s; }
@keyframes slw-wave { 0% { left: 0; opacity: 0; transform: scale(.6); } 20% { opacity: 1; } 100% { left: calc(100% - 46px); opacity: 0; transform: scale(1.1); } }
.slw__phone { position: relative; justify-self: center; width: min(250px, 100%); padding: 8px; border-radius: 40px; }
.slw__phone .tour__screen { border-radius: 33px; height: 100%; }
.slw__phone .tour__island { top: 15px; height: 18px; }
.slw__phone .slab-num { opacity: clamp(.18, calc((var(--p) - .38) * 6), 1); }
.slw__specs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: clamp(28px, 4vw, 48px) 0 0; }
.slw__specs div { padding: 22px 22px 24px; border-radius: var(--r-card); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.slw__specs dt { font-size: clamp(28px, 2.8vw, 40px); font-weight: 600; letter-spacing: -.03em; color: #1eaba4; }
.slw__specs dd { margin: 8px 0 0; color: var(--soft); line-height: 1.45; }
.slw__src { margin-top: 14px; color: var(--muted); }
@media (max-width: 899px) {
  .slw { height: 200vh; }
  .slw__stage { grid-template-columns: 1fr; grid-template-rows: auto 70px auto; gap: 0; justify-items: center; }
  .slw__head .lead { display: none; }
  .slw__scale { width: min(240px, 64vw); padding-top: 84px; }
  .slw__bowl { transform: translateY(calc(64px - (1 - min(1, var(--p) / .3)) * 96px)); }
  .slw__waves { width: 54px; height: 54px; transform: rotate(90deg); }
  .slw__waves i { width: 34px; height: 34px; margin-top: -17px; }
  .slw__phone { width: min(118px, 34vw); padding: 5px; border-radius: 22px; }
  .slw__phone .tour__screen { border-radius: 18px; }
  .slw__phone .tour__island { top: 10px; height: 12px; }
  .slw__specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-height: 760px) and (min-width: 900px) { .slw__scale { padding-top: 110px; } .slw__phone { width: 200px; } }
/* stopped: the stage in its final state, one screen high */
.is-still .slw { height: auto; --p: 1; }
.is-still .slw__sticky { position: relative; height: auto; padding-bottom: 32px; }
.is-still .slw__waves { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .slw { height: auto; --p: 1; } .slw__sticky { position: relative; height: auto; } .slw__waves { display: none; } }

/* ------------------------------------------------------------------ Squarefood (27/11/2026)
   The opening: the site on the laptop, its pages one after another, and the phone with the app's splash in front */
.sf-hero { position: relative; padding: 0 0 7% 0; }
.sf-hero__lap { width: 86%; max-width: none; }
.sf-hero__lap .xshow__item::after { display: none; }
.sf-hero__lap .xshow__item img { object-position: top; }
.sf-hero__phone { position: absolute; right: 1%; bottom: 0; width: min(200px, 26%); padding: 7px; border-radius: 36px; transform: rotate(3deg); }
.sf-hero__phone .tour__screen { height: 100%; border-radius: 30px; }
.sf-hero__phone .tour__screen img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.sf-hero__phone .tour__island { top: 13px; height: 15px; }
@media (max-width: 899px) {
  .sf-hero__lap { width: 92%; }
  .sf-hero__phone { width: 28%; right: 0; padding: 4px; border-radius: 22px; }
  .sf-hero__phone .tour__screen { border-radius: 18px; }
  .sf-hero__phone .tour__island { top: 8px; height: 9px; }
}
/* concept and app, one on each face of a card: the concept's boards were stretched to 19.5:9, the store pictures are 9:16, so
   the concept is cut back to 9:16 where the bands were added (62 % above, 38 % below) */
.flips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); margin: 0; padding: 0; list-style: none; }
.flip { display: block; width: 100%; padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; perspective: 1400px; }
.flip__in { position: relative; display: block; aspect-ratio: 9 / 16; transform-style: preserve-3d; transition: transform 900ms var(--ease-out); }
.flip.is-flipped .flip__in { transform: rotateY(180deg); }
.flip__f, .flip__b { position: absolute; inset: 0; overflow: hidden; border-radius: 22px; -webkit-backface-visibility: hidden; backface-visibility: hidden;
  box-shadow: 0 0 0 1px var(--line), 0 30px 70px -36px rgba(0, 0, 0, .9); }
.flip__b { transform: rotateY(180deg); }
.flip__f img, .flip__b img { display: block; width: 100%; height: 100%; object-fit: cover; }
.flip__f img { object-position: 50% 62%; }
.flip__tag { position: absolute; left: 10px; top: 10px; z-index: 1; padding: 5px 9px; border-radius: 999px; font-size: 11px; line-height: 1; background: rgba(7, 8, 11, .78); color: #fff; }
.flip__b .flip__tag { background: #49bcc4; color: #06282b; }
.flip:focus-visible { outline: 2px solid #49bcc4; outline-offset: 4px; border-radius: 24px; }
@media (hover: hover) and (pointer: fine) { .flip:hover .flip__f, .flip:hover .flip__b { box-shadow: 0 0 0 1px #49bcc4, 0 30px 70px -36px rgba(0, 0, 0, .9); } }
.flip__cap { margin: 14px 0 0; font-size: 15px; line-height: 1.35; }
.flip__cap b { display: block; }
.flip__cap span { color: var(--muted); font-size: 14px; }
@media (max-width: 899px) { .flips { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 26px; } .flip__f, .flip__b { border-radius: 16px; } }
.is-still .flip__in { transition: none; }
@media (prefers-reduced-motion: reduce) { .flip__in { transition: none; } }

/* ------------------------------------------------------------------ Foeuja (27/11/2026)
   The opening: the brand's picture, and the phone with the app in front of it */
.foe-hero { position: relative; padding: 0 0 5% 0; }
.foe-hero__photo { margin: 0; width: 80%; border-radius: var(--r-img); overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 40px 90px -40px rgba(0, 0, 0, .9); }
.foe-hero__photo img { display: block; width: 100%; height: auto; }
.foe-hero__phone { position: absolute; right: 2%; bottom: 0; width: min(250px, 28%); padding: 8px; border-radius: 40px; transform: rotate(-3deg); }
.foe-hero__phone .tour__screen { height: 100%; border-radius: 33px; }
.foe-hero__phone .tour__island { top: 15px; height: 18px; }
.foe-hero .xshow__item::after { display: none; }
@media (max-width: 899px) {
  .foe-hero__photo { width: 86%; }
  .foe-hero__phone { width: 34%; right: 0; padding: 5px; border-radius: 24px; }
  .foe-hero__phone .tour__screen { border-radius: 20px; }
  .foe-hero__phone .tour__island { top: 9px; height: 10px; }
}
/* one app, four languages: the language list beside two phones, home and menu */
.lng__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.lng__tabs { display: grid; gap: 8px; margin-top: 28px; }
.lng__b { display: flex; gap: 16px; align-items: center; width: 100%; padding: 14px 18px; border: 1px solid var(--line); border-radius: 16px; background: none;
  color: inherit; font: inherit; text-align: left; cursor: pointer; transition: border-color 300ms, background-color 300ms; }
.lng__b b { flex: none; width: 34px; color: var(--muted); transition: color 300ms; }
.lng__b > span { display: grid; gap: 2px; }
.lng__name { font-weight: 600; }
.lng__q { color: var(--muted); font-size: 14px; }
.lng__b.is-on { border-color: var(--tc); background: color-mix(in srgb, var(--tc) 9%, transparent); }
.lng__b.is-on b { color: var(--tc); }
.lng__b:focus-visible { outline: 2px solid var(--tc); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .lng__b:not(.is-on):hover { background: rgba(255, 255, 255, .03); } }
.lng__phones { display: flex; justify-content: center; gap: clamp(14px, 2.4vw, 32px); }
.lng__phone { width: min(250px, 40vw); padding: 8px; border-radius: 40px; }
.lng__phone .tour__screen { height: 100%; border-radius: 33px; }
.lng__phone .tour__island { top: 15px; height: 18px; }
.lng__phone--2 { margin-top: 56px; }
.lng__shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 600ms var(--ease-out); }
.lng__shot.is-on { opacity: 1; }
@media (max-width: 899px) {
  .lng__grid { grid-template-columns: 1fr; }
  .lng__phones { order: -1; }
  .lng__phone { width: 42vw; padding: 5px; border-radius: 26px; }
  .lng__phone .tour__screen { border-radius: 21px; }
  .lng__phone .tour__island { top: 9px; height: 10px; }
  .lng__phone--2 { margin-top: 36px; }
}
/* the catalogue in one file: the keys light up with what they hold */
.cf { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.cf__card { margin: 0; padding: 22px 24px 18px; border-radius: 22px; background: #0d0e11; box-shadow: 0 0 0 1px var(--line); }
.cf__card figcaption { color: var(--tc); margin-bottom: 14px; }
.cf__code { margin: 0; font-family: var(--mono, ui-monospace, SFMono-Regular, Menlo, monospace); font-size: clamp(12px, 1.15vw, 15px); line-height: 1.75; white-space: pre; overflow-x: auto; }
.cf__l { display: block; color: rgba(255, 255, 255, .34); transition: color 400ms, background-color 400ms; border-radius: 6px; padding: 0 8px; margin: 0 -8px; }
.cf__k { color: inherit; }
.cf__v { color: inherit; }
.cf[data-g="1"] .cf__l[data-g="1"], .cf[data-g="2"] .cf__l[data-g="2"], .cf[data-g="3"] .cf__l[data-g="3"] { color: #f3efe6; background: color-mix(in srgb, var(--tc) 12%, transparent); }
.cf[data-g="1"] .cf__l[data-g="1"] .cf__k, .cf[data-g="2"] .cf__l[data-g="2"] .cf__k, .cf[data-g="3"] .cf__l[data-g="3"] .cf__k { color: var(--tc); }
.cf__note { margin: 16px 0 0; color: var(--muted); font-size: 13px; }
.cf__list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.cf__b { display: grid; gap: 4px; width: 100%; padding: 18px 20px; border: 1px solid var(--line); border-radius: 18px; background: none; color: inherit; font: inherit;
  text-align: left; cursor: pointer; transition: border-color 300ms, background-color 300ms; }
.cf__b .mono { color: var(--muted); }
.cf__t { color: var(--muted); font-size: 15px; line-height: 1.5; }
.cf__b.is-on { border-color: var(--tc); background: color-mix(in srgb, var(--tc) 8%, transparent); }
.cf__b.is-on .mono { color: var(--tc); }
.cf__b:focus-visible { outline: 2px solid var(--tc); outline-offset: 2px; }
@media (max-width: 899px) { .cf { grid-template-columns: 1fr; } .cf__card { padding: 18px 16px 14px; } .cf__code { font-size: 11.2px; } }
.is-still .lng__shot, .is-still .cf__l { transition: none; }
@media (prefers-reduced-motion: reduce) { .lng__shot, .cf__l { transition: none; } }

/* ------------------------------------------------------------------ Beatrice Gherardini (27/11/2026)
   The palette: the site's colours as the pans of a make-up palette, the brush stroke sweeping in behind it; the real title beside */
.bgp { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.bgp__case { position: relative; margin: 0; padding: clamp(28px, 4vw, 56px) 0; }
.bgp__brush { position: absolute; inset: 0 -3%; display: block; overflow: hidden; border-radius: var(--r-img); }
.bgp__brush img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bgp__lid { position: relative; z-index: 1; margin: 0 auto; width: min(100%, 520px); padding: clamp(18px, 2.4vw, 28px); border-radius: 30px;
  background: linear-gradient(160deg, #2b2b2f, #121215); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 40px 80px -30px rgba(0, 0, 0, .8); }
.bgp__pans { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(8px, 1.4vw, 16px); margin: 0; padding: 0; list-style: none; }
.bgp__pans li { display: grid; justify-items: center; gap: 8px; text-align: center; }
.bgp__pan { position: relative; display: block; width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  background: radial-gradient(circle at 34% 30%, color-mix(in srgb, var(--c) 55%, #fff) 0, var(--c) 46%, color-mix(in srgb, var(--c) 78%, #000) 100%);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .08), inset 0 -6px 12px rgba(0, 0, 0, .25), 0 0 0 4px #0c0c0e; }
.bgp__pan::after { content: ""; position: absolute; inset: -40%; background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, .45) 50%, transparent 60%);
  transform: translateX(-60%); }
.bgp__hex { font-size: 11px; color: rgba(255, 255, 255, .7); }
.bgp__name { font-size: 12px; color: var(--muted); }
.bgp__type { margin: 0; }
.bgp__title { border-radius: var(--r-img); overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.bgp__title img { display: block; width: 100%; height: auto; }
.bgp__type figcaption { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; color: var(--muted); font-size: 14px; }
.bgp__type b { color: var(--fg, #fff); font-weight: 600; }
.js-motion .bgp:not(.is-in) .bgp__brush { clip-path: inset(0 100% 0 0); }
.js-motion .bgp:not(.is-in) .bgp__pan { transform: scale(.4); opacity: 0; }
.js-motion .bgp.is-in .bgp__brush { animation: bgp-sweep 1300ms cubic-bezier(.65, 0, .35, 1) both; }
.js-motion .bgp.is-in .bgp__pan { animation: bgp-pan 700ms var(--ease-out) both; animation-delay: calc(500ms + var(--i) * 110ms); }
.js-motion .bgp.is-in .bgp__pan::after { animation: bgp-glint 5200ms ease-in-out infinite; animation-delay: calc(1400ms + var(--i) * 260ms); }
@keyframes bgp-sweep { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes bgp-pan { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes bgp-glint { 0%, 70% { transform: translateX(-60%); } 85%, 100% { transform: translateX(60%); } }
@media (max-width: 899px) { .bgp { grid-template-columns: 1fr; } .bgp__brush { inset: 0; } .bgp__lid { border-radius: 22px; } .bgp__hex { font-size: 9.5px; } }
.is-still .bgp__pan::after { animation: none !important; }
@media (prefers-reduced-motion: reduce) { .bgp__brush, .bgp__pan, .bgp__pan::after { animation: none !important; clip-path: none !important; transform: none !important; opacity: 1 !important; } }

/* ------------------------------------------------------------------ Intranet SVR (27/11/2026)
   The opening reuses Squarefood's laptop and phone; the panel shows web screens wider than 16:10, kept from the left */
.svr-hero .sf-hero__lap .xshow__item img { object-position: left top; }
/* an event for some profiles: the chips light up, «Pubblica» is pressed, the push drops on their phones (an 8 s loop) */
.sve { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.sve__panel { display: grid; gap: 12px; padding: 24px; border-radius: 22px; background: #f6f3f4; color: #191315; box-shadow: 0 30px 70px -36px rgba(0, 0, 0, .9); }
.sve__kick { color: var(--tc); margin: 0; }
.sve__field { display: grid; gap: 6px; font-size: 13px; color: #6b5f63; }
.sve__field i { display: block; height: 34px; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px #e6dfe1; }
.sve__pdf { display: flex !important; align-items: center; padding-left: 12px; font-style: normal; font-weight: 700; font-size: 12px; color: var(--tc); }
.sve__lab { margin: 6px 0 0; font-size: 13px; color: #6b5f63; }
.sve__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.sve__chip { padding: 7px 12px; border-radius: 999px; font-size: 13px; background: #fff; box-shadow: inset 0 0 0 1px #e6dfe1; color: #6b5f63; }
.sve__btn { justify-self: start; margin-top: 6px; padding: 11px 22px; border-radius: 12px; background: var(--tc); color: #fff; font-weight: 600; font-size: 14px; }
.sve__phones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 2vw, 24px); }
.sve__ph { margin: 0; display: grid; justify-items: center; gap: 10px; }
.sve__ph figcaption { color: var(--muted); font-size: 12px; }
.sve__ph.is-on figcaption { color: var(--tc); }
.sve__phone { width: 100%; max-width: 210px; padding: 6px; border-radius: 30px; }
.sve__phone .tour__screen { height: 100%; border-radius: 25px; }
.sve__phone .tour__screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.sve__phone .tour__island { top: 11px; height: 12px; }
.sve__ph:not(.is-on) .tour__screen img { filter: saturate(.6) brightness(.8); }
.sve__push { position: absolute; z-index: 3; left: 6%; right: 6%; top: 5%; display: grid; gap: 3px; padding: 9px 10px; border-radius: 14px;
  background: rgba(248, 248, 250, .94); color: #111; font-size: clamp(8px, .75vw, 10.5px); line-height: 1.3; box-shadow: 0 10px 24px rgba(0, 0, 0, .25); }
.sve__push b { font-size: 1.08em; }
.sve__note { margin: 18px 0 0; color: var(--muted); font-size: 12px; }
.js-motion .sve.is-in .sve__chip.is-pick { animation: sve-chip 8s ease-in-out infinite both; animation-delay: calc(var(--i) * 140ms); }
.js-motion .sve.is-in .sve__btn { animation: sve-btn 8s ease-in-out infinite both; }
.js-motion .sve.is-in .sve__push { animation: sve-push 8s cubic-bezier(.2, .8, .2, 1) infinite both; animation-delay: calc(var(--k) * 160ms); }
@keyframes sve-chip { 0%, 8% { background: #fff; color: #6b5f63; box-shadow: inset 0 0 0 1px #e6dfe1; } 14%, 90% { background: var(--tc); color: #fff; box-shadow: none; } 100% { background: #fff; color: #6b5f63; } }
@keyframes sve-btn { 0%, 30% { transform: none; filter: none; } 33% { transform: scale(.93); filter: brightness(1.15); } 37%, 100% { transform: none; filter: none; } }
@keyframes sve-push { 0%, 38% { transform: translateY(-140%); opacity: 0; } 45%, 88% { transform: none; opacity: 1; } 95%, 100% { transform: translateY(-140%); opacity: 0; } }
.sve__chip.is-pick { background: var(--tc); color: #fff; box-shadow: none; }
.js-motion .sve:not(.is-in) .sve__push { opacity: 0; }
.is-still .sve__chip, .is-still .sve__btn, .is-still .sve__push { animation: none !important; }
.is-still .sve__push { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) { .sve__chip, .sve__btn, .sve__push { animation: none !important; } .sve__push { opacity: 1 !important; transform: none !important; } }
@media (max-width: 899px) {
  .sve { grid-template-columns: 1fr; }
  .sve__phone { padding: 4px; border-radius: 20px; }
  .sve__phone .tour__screen { border-radius: 17px; }
  .sve__phone .tour__island { top: 7px; height: 8px; }
  .sve__push { padding: 5px 6px; border-radius: 9px; font-size: 7px; }
  .sve__push > span { display: none; }
}

/* ------------------------------------------------------------------ FlyLux (27/11/2026): the price of a seat */
.fls { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.fls__stage { display: grid; gap: 18px; }
.fls__cabin { width: 100%; height: auto; display: block; overflow: visible; }
.fls__body { fill: #10131c; stroke: rgba(255, 255, 255, .14); stroke-width: 2; }
.fls__wing { fill: none; stroke: rgba(255, 255, 255, .1); stroke-width: 2; }
.fls__seat rect { fill: #1b2030; stroke: rgba(255, 255, 255, .16); stroke-width: 1.5; transition: fill 400ms, stroke 400ms; }
.fls__seat text { fill: rgba(255, 255, 255, .55); font: 600 18px var(--mono, ui-monospace, monospace); text-anchor: middle; transition: fill 400ms; }
.fls__seat.is-sold rect { fill: #0c0e14; stroke-dasharray: 4 4; }
.fls__seat.is-sold text { fill: rgba(255, 255, 255, .2); }
.fls__seat.is-take rect { fill: var(--tc); stroke: var(--tc); }
.fls__seat.is-take text { fill: #fff; }
.fls__seat.is-free rect { fill: #0c0e14; stroke: #3fd28b; stroke-dasharray: 5 4; }
.fls__seat.is-free text { fill: #3fd28b; }
.fls__bars .mono { margin: 0 0 8px; color: var(--muted); font-size: 12px; }
.fls__track { display: flex; gap: 4px; height: 22px; }
.fls__seg { flex: var(--w) 0 0; border-radius: 6px; background: rgba(255, 255, 255, .08); transition: background-color 400ms, box-shadow 400ms; }
.fls__seg.is-sold { background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .05) 0 4px, transparent 4px 8px); }
.fls__seg.is-pay { background: var(--tc); }
.fls__seg.is-free { background: transparent; box-shadow: inset 0 0 0 2px #3fd28b; }
.fls__ctl { display: grid; gap: 18px; }
.fls__pax { display: flex; align-items: center; gap: 14px; }
.fls__pax .mono { color: var(--muted); margin-right: auto; }
.fls__pax b { min-width: 2ch; text-align: center; font-size: 28px; font-variant-numeric: tabular-nums; }
.fls__b { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: none; color: inherit; font-size: 22px; cursor: pointer; }
.fls__b:focus-visible { outline: 2px solid var(--tc); outline-offset: 2px; }
.fls__tg { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.fls__tg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.fls__sw { flex: none; position: relative; width: 44px; height: 26px; border-radius: 999px; background: rgba(255, 255, 255, .14); transition: background-color 300ms; }
.fls__sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform 300ms var(--ease-out); }
.fls__tg input:checked + .fls__sw { background: #3fd28b; }
.fls__tg input:checked + .fls__sw::after { transform: translateX(18px); }
.fls__tg input:focus-visible + .fls__sw { outline: 2px solid var(--tc); outline-offset: 2px; }
.fls__say { margin: 0; min-height: 3em; font-size: 17px; line-height: 1.5; }
.fls__note { margin: 0; color: var(--muted); font-size: 12px; }
@media (max-width: 899px) { .fls { grid-template-columns: 1fr; } .fls__track { height: 16px; } }
.is-still .fls__seat rect, .is-still .fls__seg { transition: none; }

/* SMACE 3.0 (27/11/2026): the proposal for the client, its pages one over the other like sheets on a desk ([data-prp]) */
.prp { overflow-x: clip; }
.prp__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.prp__list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 6px; }
.prp__b { display: flex; gap: 14px; align-items: center; width: 100%; padding: 10px 16px; border: 1px solid var(--line); border-radius: 14px; background: none;
  color: inherit; font: inherit; text-align: left; cursor: pointer; transition: border-color 300ms, background-color 300ms; }
.prp__b b { flex: none; width: 26px; color: var(--muted); transition: color 300ms; }
.prp__b > span { display: grid; gap: 1px; }
.prp__name { font-weight: 600; }
.prp__q { color: var(--muted); font-size: 14px; }
.prp__b.is-on { border-color: var(--tc); background: color-mix(in srgb, var(--tc) 8%, transparent); }
.prp__b.is-on b { color: var(--tc); }
.prp__b:focus-visible { outline: 2px solid var(--tc); outline-offset: 2px; }
.prp__stack { position: relative; width: min(400px, 66vw); aspect-ratio: 900 / 1273; margin: 30px auto 40px; }
.prp__sheet { position: absolute; inset: 0; margin: 0; overflow: hidden; border-radius: 4px; background: #fff;
  box-shadow: 0 34px 60px -30px rgba(0, 0, 0, .85), 0 0 0 1px rgba(255, 255, 255, .06);
  transform: translate(calc(var(--d) * 18px), calc(var(--d) * -16px)) rotate(calc(var(--d) * 2.4deg)) scale(calc(1 - var(--d) * .03));
  transform-origin: 50% 100%; transition: transform 800ms var(--ease-out), opacity 500ms var(--ease-out), filter 500ms; }
.prp__sheet:not(.is-on) { filter: brightness(.82); }
.prp__sheet.is-far { opacity: 0; }
.prp__sheet.is-out { animation: prp-out 800ms var(--ease-out) both; }
@keyframes prp-out { from { transform: none; opacity: 1; filter: none; } to { transform: translate(-72%, 6%) rotate(-11deg); opacity: 0; } }
.prp__sheet img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 899px) {
  .prp__grid { grid-template-columns: minmax(0, 1fr); }
  .prp__q { display: none; }
  .prp__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prp__b { padding: 9px 12px; gap: 10px; }
  .prp__stack { width: min(300px, 64vw); }
  .prp__sheet { transform: translate(calc(var(--d) * 9px), calc(var(--d) * -10px)) rotate(calc(var(--d) * 1.6deg)) scale(calc(1 - var(--d) * .03)); }
}
@media (prefers-reduced-motion: reduce) { .prp__sheet, .prp__sheet.is-out { transition: none; animation: none; } }

/* «Prima del 3.0»: SMACE 2, from the API in 2022 to the 3.0, in three cards */
.sm2y { list-style: none; margin: clamp(22px, 3vw, 36px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); counter-reset: sm2; }
.sm2y__i { position: relative; padding: 24px 24px 26px; border-radius: var(--r-card); background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.sm2y__i::before { content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 2px; border-radius: 2px; background: #CCF656; opacity: .8; }
.sm2y__i:nth-child(2)::before { background: linear-gradient(90deg, #CCF656 0 33%, #43BBD5 33% 66%, #5FA39B 66%); }
.sm2y__when { color: #CCF656; }
.sm2y__h { margin: 8px 0 10px; font-size: 21px; font-weight: 600; letter-spacing: -.01em; }
.sm2y__i > p:not(.mono):not(.sm2y__chips) { color: var(--ink-2); line-height: 1.55; }
.sm2y__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.sm2y__chips span { padding: 4px 10px; border-radius: 99px; font-size: 13px; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
@media (max-width: 899px) { .sm2y { grid-template-columns: minmax(0, 1fr); } }

/* the footer: the Assintel logo, without a «Socio» label (Vittorio, 27/11/2026: «manca il logo di assintel nel footer a sinistra», then «togliere socio») */
.foot__assoc { display: inline-flex; align-items: center; gap: 16px; margin-top: 26px; opacity: .82; transition: opacity 200ms; text-decoration: none; }
.foot__assoc:hover, .foot__assoc:focus-visible { opacity: 1; }
.foot__brand .foot__assoc img { height: 68px; width: auto; }

/* the whistleblowing form, under the text */
.wb-panel { max-width: 760px; margin: clamp(32px, 4vw, 56px) auto 0; }

/* the social profiles as their marks (27/11/2026): round buttons, the mark in the text colour, lit on hover */
.soc-icons { display: flex; gap: 10px; list-style: none; margin: 0; padding: 0; }   /* not .social: that is the home's Instagram section */
.soc-icons a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--line-2); transition: color 200ms, background-color 200ms, box-shadow 200ms; }
.soc-icons a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .soc-icons a:hover { color: #07080b; background: var(--ink); box-shadow: none; } }
.foot__social { margin-top: 22px; }
.bk__stores { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }   /* DupliCats: App Store and Mac App Store */


/* ------------------------------------------------------------------ GesTurni (27/11/2026): the case study told the way Loud tells
   its shift apps (loudsrl.com, Shift2Cal and ShiftPilot): the facts between thin lines, the introduction with its status lines, a
   photo across the page with the product's cards on it and the strip of days, two pictures side by side, the money in the end. */
.gt-hero .sf-hero__lap .xshow__item img { object-position: left top; }
/* the phone screens are 390 × 844 points, as on an iPhone: the screen takes exactly their shape, so nothing is cut (Vittorio, 27/11/2026:
   «ma non vedi che è tagliato»). The device's 9/19.5 less its border was narrower, cover cut the sides; the slideshow's slow zoom
   (from 1.06, started again every few seconds) cut the status bar and the edges; its dark fade is for photos. */
#gt-app .tour__phone, .gt-hero .sf-hero__phone { aspect-ratio: auto; height: auto; }
#gt-app .tour__phone .tour__screen, .gt-hero .sf-hero__phone .tour__screen { height: auto; aspect-ratio: 390 / 844; }
.gt-hero .xshow__item img { transform: none; transition: none; }
.gt-hero .sf-hero__phone .xshow__item::after { display: none; }
/* the facts and the introduction */
.gti__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border-block: 1px solid var(--line-2); }
.gti__f { padding: 26px 28px 30px; border-left: 1px solid var(--line-2); }
.gti__f:first-child { border-left: 0; padding-left: 0; }
.gti__f dt { margin-bottom: 12px; }
.gti__f dd { margin: 0; font-size: clamp(17px, 1.3vw, 20px); line-height: 1.45; color: var(--ink); text-wrap: pretty; }
.gti__row { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(24px, 4vw, 64px); padding-top: clamp(36px, 5vw, 64px); align-items: start; }
.gti__chips { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; text-transform: none; letter-spacing: .01em; color: var(--ink-2); }
.gti__chips li { display: flex; align-items: center; gap: 10px; }
.gti__dot { flex: none; width: 10px; height: 10px; border-radius: 50%; }
.gti__dot--live { background: #3fd28b; animation: gti-pulse 2.4s var(--ease-out) infinite; }
.gti__dot--ring { box-shadow: inset 0 0 0 2px var(--tc); }
@keyframes gti-pulse { 0% { box-shadow: 0 0 0 0 rgba(63, 210, 139, .55); } 70%, 100% { box-shadow: 0 0 0 10px rgba(63, 210, 139, 0); } }
.gti__h h2 { margin: 0; font: 500 clamp(28px, 2.6vw, 40px)/1.1 var(--font-mono); letter-spacing: -.02em; }
.gti__h .mono { margin-top: 12px; }
.gti__h .mono span { color: var(--tc); padding-inline: 4px; }
.gti__p p { margin: 0 0 1em; color: var(--ink-2); font-size: clamp(16px, 1.15vw, 18px); line-height: 1.6; text-wrap: pretty; }
.gti__p p:last-child { margin-bottom: 0; }
@media (max-width: 899px) {
  .gti__facts { grid-template-columns: 1fr; }
  .gti__f { border-left: 0; padding: 20px 0 22px; }
  .gti__f + .gti__f { border-top: 1px solid var(--line-2); }
  .gti__row { grid-template-columns: 1fr; gap: 28px; }
}
/* the photo across the page, the week of shifts on it */
.gts { position: relative; display: grid; min-height: clamp(560px, 88vh, 920px); margin-top: calc(var(--sec) * .5); overflow: hidden; isolation: isolate; }
.gts__photo { position: absolute; inset: 0; margin: 0; z-index: -2; }
.gts__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gts::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(7, 8, 11, .7) 0%, rgba(7, 8, 11, .05) 32%, rgba(7, 8, 11, .2) 60%, rgba(7, 8, 11, .82) 100%); }
.gts__over { align-self: stretch; display: grid; grid-template-rows: auto 1fr auto; gap: 24px; padding-block: clamp(32px, 5vw, 64px); }
.gts__kick { margin: 0; color: var(--ink-2); }
.gts__decks { display: grid; align-self: end; }
.gts__deck { grid-area: 1 / 1; list-style: none; margin: 0; padding: 0; display: flex; gap: 16px; align-items: flex-end; flex-wrap: wrap; pointer-events: none; }
.gts__deck.is-on { pointer-events: auto; }
.gts__card { --k: 0; width: min(270px, 100%); display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 8px 12px; padding: 14px 16px 15px; border-radius: 16px;
  background: rgba(247, 248, 251, .96); color: #151822; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .85);
  opacity: 0; transform: translateY(18px) scale(.98); transition: opacity 450ms var(--ease-out), transform 650ms var(--ease-out); transition-delay: calc(var(--k) * 90ms); }
.gts__card:nth-child(2) { --k: 1; margin-bottom: 46px; }
.gts__card:nth-child(3) { --k: 2; margin-bottom: 16px; }
.gts__deck.is-on .gts__card { opacity: 1; transform: none; }
.gts__ic { grid-row: span 3; position: relative; width: 38px; height: 38px; border-radius: 11px; background: var(--c); }
.gts__ic::after { content: ""; position: absolute; inset: 11px 10px 10px; border: 2px solid #fff; border-top-width: 5px; border-radius: 3px; }
.gts__t { display: grid; gap: 1px; font-size: 13px; line-height: 1.3; color: #555b6c; }
.gts__t b { font-size: 15px; font-weight: 600; color: #151822; }
.gts__o { font-size: 12px; text-transform: none; letter-spacing: .02em; color: #3b4152; }
.gts__who { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #151822; }
.gts__who i { flex: none; width: 24px; height: 24px; border-radius: 50%; background: #151822; color: #fff; font: 600 10px/24px var(--font-mono); text-align: center; font-style: normal; }
.gts__foot { display: flex; align-items: end; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; }
.gts__week { list-style: none; margin: 0; padding: 6px; display: flex; gap: 2px; border-radius: 20px; background: rgba(7, 8, 11, .45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.gts__day { width: 58px; min-height: 76px; padding: 10px 0 12px; border: 0; border-radius: 15px; display: grid; justify-items: center; align-content: center; gap: 4px;
  background: transparent; color: rgba(255, 255, 255, .78); font: inherit; cursor: pointer; transition: background-color 350ms var(--ease-out), color 350ms var(--ease-out); }
.gts__day span { font-size: 13px; }
.gts__day b { font-size: 22px; font-weight: 500; font-variant-numeric: tabular-nums; }
.gts__day i { width: 5px; height: 5px; border-radius: 50%; background: var(--tc); }
.gts__day.is-on { background: #fff; color: #151822; }
.gts__day:focus-visible { outline: 2px solid var(--tc); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .gts__day:not(.is-on):hover { background: rgba(255, 255, 255, .12); } }
.gts__note { margin: 0; color: var(--ink-2); }
@media (max-width: 899px) {
  .gts { min-height: 0; }
  .gts__photo img { object-position: 62% center; }
  .gts__over { padding-top: 28px; }
  .gts__deck { display: grid; gap: 10px; }
  .gts__card { width: 100%; grid-template-columns: 34px minmax(0, 1fr) auto; padding: 12px 14px; }
  .gts__card:nth-child(n) { margin: 0; }
  .gts__ic { grid-row: span 2; width: 34px; height: 34px; }
  .gts__ic::after { inset: 10px 9px 9px; }
  .gts__o { grid-column: 3; grid-row: 1; align-self: start; }
  .gts__who { grid-column: 2 / -1; }
  .gts__week { width: 100%; justify-content: space-between; padding: 4px; }
  .gts__day { width: auto; flex: 1 1 0; min-height: 64px; padding: 8px 0 10px; }
  .gts__day b { font-size: 19px; }
}
/* two pictures side by side: the backoffice in a mockup, the doctors with the day's card */
.gtc__head { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: clamp(20px, 4vw, 64px); margin-bottom: clamp(32px, 4vw, 52px); }
.gtc__head .mono { margin: 8px 0 0; }
.gtc__say { margin: 0; font-size: clamp(22px, 2.3vw, 34px); line-height: 1.25; letter-spacing: -.02em; color: var(--ink); text-wrap: pretty; }
.gtc { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 28px); }
.gtc figure { position: relative; margin: 0; aspect-ratio: 4 / 3; border-radius: var(--r-img); overflow: hidden; background: var(--surface); }
.gtc figure > img, .gtc__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gtc__mock figcaption { position: absolute; left: 14px; bottom: 12px; padding: 6px 10px; border-radius: 999px; background: rgba(7, 8, 11, .6); color: var(--ink-2); font-size: 11px; }
.gtc__card { position: absolute; left: 6%; right: 16%; bottom: 7%; padding: 14px 16px 10px; border-radius: 16px; background: rgba(247, 248, 251, .96); color: #151822;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .85); animation: gtc-float 7s var(--ease-in-out) infinite alternate; }
.gtc__card .mono { margin: 0 0 8px; color: #555b6c; font-size: 11px; }
.gtc__card ul { list-style: none; margin: 0; padding: 0; }
.gtc__card li { display: grid; grid-template-columns: 10px minmax(0, .9fr) minmax(0, 1fr) minmax(0, 1.2fr); align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid #e3e5ec; font-size: 13px; }
.gtc__card li i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.gtc__card li .mono { margin: 0; font-size: 11px; text-transform: none; letter-spacing: .01em; color: #555b6c; }
@keyframes gtc-float { from { transform: translateY(0); } to { transform: translateY(-14px); } }
.gtc__foot { margin: 22px 0 0; max-width: 52em; color: var(--ink-2); text-wrap: pretty; }
.is-still .gtc__card, .is-still .gti__dot--live { animation: none; }
@media (prefers-reduced-motion: reduce) { .gtc__card, .gti__dot--live { animation: none; } }
@media (max-width: 899px) {
  .gtc__head, .gtc { grid-template-columns: 1fr; }
  .gtc__card { left: 4%; right: 4%; bottom: 4%; padding: 10px 12px 6px; }
  .gtc__card li { grid-template-columns: 10px minmax(0, 1fr) auto; font-size: 12px; }
  .gtc__card li > span:last-child { grid-column: 2 / -1; margin-top: -6px; color: #3b4152; }
}
/* the money at the end of a shift */
.gtf { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); grid-template-areas: "ctl sum" "xls xls" "say say" "note note"; gap: 22px clamp(24px, 4vw, 56px); }
.gtf__ctl { grid-area: ctl; display: grid; gap: 14px; align-content: start; }
.gtf__sum { grid-area: sum; }
.gtf__xls { grid-area: xls; }
.gtf__say { grid-area: say; }
.gtf__note { grid-area: note; }
.gtf__kind { display: flex; gap: 10px; flex-wrap: wrap; }
.gtf__k { flex: 1 1 220px; display: grid; gap: 4px; min-height: 44px; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 14px; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer;
  transition: background-color 200ms var(--ease-out), border-color 200ms var(--ease-out); }
.gtf__k b { font-size: 16px; font-weight: 600; }
.gtf__k span { font-size: 13px; color: var(--muted); }
.gtf__k.is-on { border-color: var(--tc); background: rgba(229, 72, 77, .12); }
.gtf__k:focus-visible { outline: 2px solid var(--tc); outline-offset: 2px; }
.gtf__line { --a: 44.4%; --b: 74%; position: relative; height: 48px; margin-top: 10px; }
.gtf__line::before { content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); }
.gtf__band { position: absolute; top: 8px; height: 14px; left: var(--a); width: calc(var(--b) - var(--a)); border-radius: 999px; background: var(--tc); transition: left 450ms var(--ease-out), width 450ms var(--ease-out); }
.gtf__h { position: absolute; left: 0; right: 0; top: 30px; display: flex; justify-content: space-between; font: 12px var(--font-mono); color: var(--muted); }
.gtf__h i { font-style: normal; }
.gtf__r { display: grid; grid-template-columns: 52px minmax(0, 1fr) 60px; align-items: center; gap: 12px; min-height: 44px; }
.gtf__r input { width: 100%; min-height: 32px; accent-color: var(--tc); }
.gtf__r output { font: 500 16px var(--font-mono); text-align: right; font-variant-numeric: tabular-nums; }
.gtf.is-fix .gtf__r { opacity: .35; }
.gtf__sum { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; align-self: start; border-radius: 18px; overflow: hidden; background: var(--line); }
.gtf__sum > div { padding: 18px 20px; background: var(--surface); }
.gtf__sum dd { margin: 8px 0 0; font-size: clamp(22px, 2vw, 30px); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.gtf__sum > div:first-child, .gtf__tot { grid-column: 1 / -1; }
.gtf__tot dd { font-size: clamp(30px, 3.2vw, 48px); font-weight: 600; color: var(--tc); }
.gtf__xls > .mono { margin: 0 0 10px; }
.gtf__scroll { overflow-x: auto; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line-2); }
.gtf__scroll:focus-visible { outline: 2px solid var(--tc); outline-offset: 2px; }
.gtf__xls table { width: 100%; min-width: 820px; border-collapse: collapse; font: 13px var(--font-mono); }
.gtf__xls th { padding: 10px 12px; text-align: left; font-weight: 400; font-size: 11px; letter-spacing: .04em; color: var(--muted); background: var(--surface-2); white-space: nowrap; }
.gtf__xls td { padding: 13px 12px; border-top: 1px solid var(--line); white-space: nowrap; color: var(--ink); font-variant-numeric: tabular-nums; }
.gtf__xls td.is-new { animation: gtf-new 900ms var(--ease-out); }
@keyframes gtf-new { from { background: rgba(229, 72, 77, .28); } to { background: transparent; } }
.gtf__say { margin: 0; min-height: 3em; font-size: 17px; line-height: 1.5; color: var(--ink-2); }
.gtf__note { margin: 0; font-size: 12px; }
.is-still .gtf__band { transition: none; }
.is-still .gtf__xls td.is-new { animation: none; }
.gtf > * { min-width: 0; }
@media (max-width: 899px) { .gtf { grid-template-columns: minmax(0, 1fr); grid-template-areas: "ctl" "sum" "say" "xls" "note"; } }

/* ------------------------------------------------------------------ Smartlet's cover, live (27/11/2026)
   The pipeline tilted in 3D on the brand's dark teal and three real pieces over it (a deal, the won total, the AI Insight). It covers
   the card's still picture and is measured on the card (cqw: the scene was drawn 1600 px wide, so 16 px = 1cqw). --lift goes from 0
   to 1 as the card comes up the screen (site.js): the pieces rise off the pipeline; a hover lifts them at once. No JS: they are up. */
.work__img:has(.c3d), .pn__img:has(.c3d) { position: relative; }
.c3d { position: absolute; inset: 0; overflow: hidden; container-type: inline-size; background: #04131b;
  background-image: radial-gradient(60% 70% at 70% 48%, rgba(33, 158, 188, .45), transparent 72%),
    radial-gradient(45% 55% at 12% 95%, rgba(33, 158, 188, .2), transparent 72%), radial-gradient(40% 45% at 96% 0%, rgba(140, 220, 240, .14), transparent 70%); }
.c3d img { translate: none !important; scale: none !important; transform: none !important; }
.c3d__logo { position: absolute; left: 5cqw; top: 4.4cqw; width: auto !important; height: 2.9cqw !important; z-index: 2; opacity: .95; }
.c3d__scene { position: absolute; left: 50%; top: 52%; transform-style: preserve-3d;
  transform: translate(-50%, -50%) perspective(162cqw) rotateX(50deg) rotateZ(-30deg) scale(.9); }
.c3d__win { display: block; width: 90cqw; height: 56.25cqw; border-radius: 1.6cqw; overflow: hidden; background: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .18), 0 5cqw 8.8cqw rgba(0, 0, 0, .6), 0 0 7.5cqw rgba(33, 158, 188, .35); }
.c3d__win img, .c3d__fl img { display: block; width: 100% !important; height: 100% !important; object-fit: cover; object-position: top left; }
.c3d__fl { position: absolute; display: block; border-radius: 1.4cqw; overflow: hidden; background: #fff;
  transform: translateZ(calc(var(--z) * (.1 + .9 * max(var(--lift, 1), var(--hov, 0)))));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .35), 0 calc(3.2cqw * max(var(--lift, 1), var(--hov, 0))) calc(5.6cqw * max(var(--lift, 1), var(--hov, 0))) rgba(0, 0, 0, .5);
  transition: transform 500ms var(--ease-out), box-shadow 500ms var(--ease-out); }
.c3d__fl--vinte { left: 70.6cqw; top: 1.9cqw; width: 20.6cqw; height: 14.5cqw; }
.c3d__fl--deal { left: 55cqw; top: 18.75cqw; width: 26.25cqw; height: 17.5cqw; }
.c3d__fl--ins { left: .6cqw; top: 35cqw; width: 29.4cqw; height: 15cqw; }
@media (hover: hover) and (pointer: fine) { .work:hover .c3d, .pn__card:hover .c3d { --hov: 1; } }

@media (prefers-reduced-motion: reduce) { .c3d__fl { transition: none; } }

/* The steps of a free quote, beside the form (27/11/2026): a card with a line that fills, each step lighting up in turn */
.formwrap--photo > .qsteps { grid-area: photo; align-self: start; }
.qsteps { --qs-bg: transparent; }   /* no card of its own: the steps sit on the page, next to the form (Vittorio, 27/11/2026) */
.qsteps__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: clamp(18px, 2vw, 26px); }
.qsteps__head .mono { color: var(--accent); }
.qsteps__free { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; font-size: 14px; font-weight: 500;
  color: #07080b; background: linear-gradient(90deg, #9be7ff, #58b9da); }
.qsteps__list { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: clamp(14px, 1.6vw, 20px); }
.qsteps__list::before, .qsteps__list::after { content: ""; position: absolute; left: 19px; top: 20px; bottom: 20px; width: 2px; border-radius: 2px; background: var(--line-2); }
.qsteps__list::after { background: linear-gradient(#58b9da, #8c7bff); transform-origin: top; transform: scaleY(1); }
.qsteps__i { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; align-items: start; }
.qsteps__n { position: relative; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; font-size: 13px;
  color: #07080b; background: #58b9da; box-shadow: 0 0 0 6px var(--qs-bg); }
.qsteps__t { font-size: clamp(17px, 1.4vw, 19px); font-weight: 600; letter-spacing: -.01em; margin: 8px 0 0; }
.qsteps__d { margin: 4px 0 0; color: var(--soft); font-size: 15px; line-height: 1.5; }
.qsteps__list.is-running::after { transform: scaleY(var(--k, 0)); transition: transform 900ms var(--ease-out); }
.qsteps__list.is-running .qsteps__i:not(.is-on) .qsteps__n { background: var(--surface); color: var(--muted); box-shadow: 0 0 0 6px var(--qs-bg), inset 0 0 0 1px var(--line-2); }
.qsteps__list.is-running .qsteps__i:not(.is-on) .qsteps__t, .qsteps__list.is-running .qsteps__i:not(.is-on) .qsteps__d { opacity: .45; }
.qsteps__list.is-running .qsteps__i.is-on .qsteps__n { box-shadow: 0 0 0 6px var(--qs-bg), 0 0 22px rgba(88, 185, 218, .55); }
.qsteps__n, .qsteps__t, .qsteps__d { transition: background 400ms var(--ease-out), color 400ms var(--ease-out), box-shadow 400ms var(--ease-out), opacity 400ms var(--ease-out); }

/* ------------------------------------------------------------------ Gestionali e Prototipo AI (30/11/2026, rifatte dopo «banalissimi»)
   pairs: an app and the panel that runs it; kinds: the gestionali we built; vs: the comparison tables; audit: the analysis that
   closes the findings one after the other (an example, said so); syms: the symptoms; ait: the AI tools we start from; gets: what you get */
.pairs { display: grid; gap: clamp(20px, 3vw, 36px); margin-top: clamp(28px, 4vw, 48px); }
.pairs__tabs { display: flex; flex-wrap: wrap; gap: 10px; }
.pairs__tab { position: relative; display: grid; gap: 4px; text-align: left; padding: 14px 18px 16px; min-width: 190px; border: 0; border-radius: 14px; cursor: pointer;
  background: var(--surface); color: var(--soft); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; transition: color 300ms var(--ease-out), box-shadow 300ms var(--ease-out); }
.pairs__tab b { font: 500 17px/1.2 var(--font-text); color: inherit; }
.pairs__tab .mono { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.pairs__tab i { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: linear-gradient(90deg, #58b9da, #8c7bff); transform: scaleX(0); transform-origin: left; }
.pairs__tab[aria-selected="true"] { color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-3); }
.pairs__tab[aria-selected="true"] i { transform: scaleX(var(--t, 1)); }
.pairs.is-auto .pairs__tab[aria-selected="true"] i { transition: transform var(--dur, 7s) linear; }
.pairs__panel { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 3fr); gap: clamp(20px, 3vw, 44px); align-items: center; }
.pairs__panel[hidden] { display: none; }
.pairs__panel.is-in .pairs__stage { animation: pairs-in 700ms var(--ease-out) both; }
@keyframes pairs-in { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
.pairs__stage { margin-top: 0; }
.pairs__cap { display: grid; gap: 18px; }
.pairs__cap p { color: var(--soft); line-height: 1.55; }
.pairs__cap p .mono { display: block; margin-bottom: 6px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
@media (max-width: 899px) { .pairs__panel { grid-template-columns: 1fr; } .pairs__tab { min-width: 0; flex: 1 1 40%; } }

.kinds { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: clamp(28px, 4vw, 48px); }
.kind { display: grid; align-content: start; gap: 6px; padding: 12px 12px 20px; border-radius: var(--r-card); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  text-decoration: none; color: var(--ink); transition: box-shadow 300ms var(--ease-out), transform 400ms var(--ease-out); }
.kind__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 12px; margin-bottom: 10px; background: #0b0d12; }
.kind__img img { width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform 700ms var(--ease-out); }
.kind__k { padding-inline: 6px; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.kind__n { padding-inline: 6px; font-size: 20px; font-weight: 500; letter-spacing: -.02em; }
.kind__t { padding-inline: 6px; color: var(--soft-2); font-size: 14.5px; line-height: 1.5; }
@media (hover: hover) and (pointer: fine) { .kind:hover { box-shadow: inset 0 0 0 1px var(--line-3); transform: translateY(-3px); } .kind:hover .kind__img img { transform: scale(1.04); } }
@media (max-width: 1100px) { .kinds { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .kinds { grid-template-columns: 1fr; } }

.vs-wrap { overflow-x: auto; }
.vs { width: 100%; border-collapse: collapse; font-size: 16px; }
.vs th, .vs td { padding: 18px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.vs thead th { font: 500 12px/1.2 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding-top: 0; }
.vs thead th:last-child { color: var(--accent); }
.vs tbody th { font-weight: 500; color: var(--ink); width: 26%; }
.vs td { color: var(--soft-2); }
.vs td:last-child { color: var(--ink); background: linear-gradient(90deg, rgba(88,185,218,.07), rgba(88,185,218,0)); }
.vs td:last-child::before { content: ""; display: inline-block; width: 7px; height: 7px; margin: 0 10px 2px 0; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px rgba(88,185,218,.7); }
@media (max-width: 640px) { .vs, .vs tbody, .vs tr, .vs th, .vs td { display: block; } .vs thead { display: none; } .vs tr { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .vs th, .vs td { border: 0; padding: 4px 0; } .vs tbody th { width: auto; } .vs td:first-of-type::before { content: "Oggi: "; color: var(--muted); } .vs td:last-child { background: none; } }

.svc-faq .pq-faq__item:first-child { border-top: 1px solid var(--line); }

.audit { width: min(100%, 600px); display: grid; gap: 16px; }
.audit__head { display: flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--soft); }
.audit__dot { width: 8px; height: 8px; border-radius: 50%; background: #ff8a65; box-shadow: 0 0 12px #ff8a65; transition: background 600ms, box-shadow 600ms; }
.audit.is-done .audit__dot { background: #5fd39a; box-shadow: 0 0 12px #5fd39a; }
.audit__ex { margin-left: auto; padding: 5px 9px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); font-size: 10.5px; color: var(--muted); }
.audit__bar { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; align-items: baseline; font-size: 14px; color: var(--soft); }
.audit__bar b { font-size: 15px; color: var(--ink); font-weight: 500; }
.audit__track { grid-column: 1 / -1; height: 6px; border-radius: 6px; background: rgba(255,255,255,.07); overflow: hidden; }
.audit__track i { display: block; height: 100%; width: calc(var(--p, 0) * 100%); border-radius: inherit; background: linear-gradient(90deg, #ff8a65, #e8b64a 45%, #5fd39a); transition: width 700ms var(--ease-out); }
.audit__list { display: grid; gap: 6px; }
.audit__row { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 12px; border-radius: 10px; background: rgba(255,255,255,.025);
  box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; color: var(--ink-2); transition: background 500ms var(--ease-out), color 500ms var(--ease-out); }
.audit__sev { justify-self: start; padding: 4px 8px; border-radius: 999px; font-size: 10.5px; letter-spacing: .04em; text-transform: uppercase; }
.audit__row[data-sev="crit"] .audit__sev { color: #ff9d92; background: rgba(255,90,70,.14); }
.audit__row[data-sev="high"] .audit__sev { color: #ffb37a; background: rgba(255,150,70,.13); }
.audit__row[data-sev="mid"] .audit__sev { color: #f0cc6e; background: rgba(232,182,74,.13); }
.audit__row[data-sev="low"] .audit__sev { color: #9fb3c8; background: rgba(150,170,200,.12); }
.audit__st { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; color: var(--muted); white-space: nowrap; }
.audit__st i { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-3); transition: background 400ms, box-shadow 400ms; }
.audit__done { display: none; }
.audit__row.is-fixed { color: var(--soft-2); background: rgba(95,211,154,.05); }
.audit__row.is-fixed .audit__t { text-decoration: line-through; text-decoration-color: rgba(255,255,255,.28); }
.audit__row.is-fixed .audit__st { color: #5fd39a; }
.audit__row.is-fixed .audit__st i { background: #5fd39a; box-shadow: 0 0 10px rgba(95,211,154,.6); }
.audit__row.is-fixed .audit__todo { display: none; } .audit__row.is-fixed .audit__done { display: inline; }
.audit__row.is-now { box-shadow: inset 0 0 0 1px rgba(95,211,154,.5); }
@media (max-width: 560px) { .audit__row { grid-template-columns: 1fr auto; } .audit__sev { grid-column: 1 / -1; } }

.syms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: clamp(28px, 4vw, 48px); }
.sym { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 14px; padding: 22px; border-radius: var(--r-card); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.sym p { color: var(--ink-2); line-height: 1.5; }
.sym__ic { width: 26px; height: 26px; border-radius: 50%; background: rgba(255,138,101,.12); box-shadow: inset 0 0 0 1px rgba(255,138,101,.45); position: relative; }
.sym__ic::after { content: "!"; position: absolute; inset: 0; display: grid; place-items: center; font: 600 13px/1 var(--font-mono); color: #ff9d7a; }
@media (max-width: 1000px) { .syms { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .syms { grid-template-columns: 1fr; } }
.ait { margin-top: clamp(28px, 4vw, 44px); display: grid; gap: 14px; }
.ait > .mono { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.ait__list { display: flex; flex-wrap: wrap; gap: 8px; }
.ait__list li { display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px 8px 8px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink-2); font-size: 15px; }
.ait__mono { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--surface-2); font: 600 12px/1 var(--font-mono); color: var(--accent); }

.gets .svc { min-height: 0; }
.get__n { color: var(--accent); font-size: 12px; letter-spacing: .06em; }
.gets .svc h3 { padding-top: 14px; font-size: clamp(22px, 1.9vw, 28px); }

/* ------------------------------------------------------------------ the six services on the home: three trials (01/12/2026)
   /prove/servizi-home-{indice,bento,regia}/. Every service shows something real that moves: phones with the apps' screens, a
   browser with four dashboards, the Rooz wireframe sweeping into the screen, LezGo, the audit and the deploy pipeline. */
.svh { --acc: #f5d90a; }
:is(.svh, .svn) .svh__n { font-size: 12px; letter-spacing: .08em; color: var(--muted); }
:is(.svh, .svn) .svh__tag { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--soft); margin: 0; }
.svh-m { position: relative; display: grid; place-items: center; width: 100%; height: 100%; }
.svh-m--phones { --w: clamp(150px, 14vw, 205px); }
.svh-m--phones .iph { grid-area: 1 / 1; --w: inherit; width: var(--w); }
.svh-m--phones .svh-m__back { transform: translate(-34%, -4%) rotate(-7deg) scale(.9); filter: brightness(.72); }
.svh-m--phones .svh-m__front { transform: translate(30%, 5%) rotate(4deg); box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); border-radius: 18cqw; }
.svh-m--phone .iph { --w: clamp(150px, 14vw, 205px); transform: rotate(-3deg); }
.svh-br { width: min(100%, 620px); border-radius: 14px; overflow: hidden; background: #0d0f14; box-shadow: 0 0 0 1px var(--line-2), 0 40px 80px -36px rgba(0,0,0,.9); }
.svh-br__bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-bottom: 1px solid var(--line); }
.svh-br__bar i { width: 9px; height: 9px; border-radius: 50%; background: #2a2e38; }
.svh-br__bar span { margin-left: 10px; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.svh-br__screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.svh-br__screen > .iph__shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.svh-br__screen > .iph__shot.is-on { animation: svh-pan 9s linear both; }
@keyframes svh-pan { from { object-position: 50% 0; } to { object-position: 50% 28%; } }
.svh-cmp { display: block; width: clamp(170px, 15vw, 215px); }
.svh-cmp .cmp__phone, .cmp--phone.svh-cmp .cmp__phone { width: auto; margin: 0; padding: 8px; border-radius: 40px; }
.svh-cmp .cmp__stage { border-radius: 33px; }
.svh-cmp .cmp__knob { width: 34px; height: 34px; margin: -17px 0 0 -17px; }
.svh-cmp .cmp__knob svg { width: 18px; height: 18px; }
.svh-cmp .cmp__lab { top: 34px; font-size: 9.5px; padding: 5px 8px; }
.svh-m--panel .uipanel { width: min(100%, 520px); }
.svh-m--panel .audit { padding: 22px; }
.svh__cap { position: absolute; left: 0; right: 0; bottom: 14px; margin: 0; text-align: center; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--soft); }
.svh__glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 55% at 50% 50%, color-mix(in oklab, var(--glow-c, #f5d90a) 22%, transparent), transparent 72%); transition: background 900ms var(--ease-out); }

/* stage of «indice» and «regia»: one scene at a time */
.svh__stage { position: relative; overflow: hidden; border-radius: var(--r-card); background: radial-gradient(120% 90% at 50% 0%, #12151d, #0a0c11 70%); box-shadow: inset 0 0 0 1px var(--line); }
.svh__stage::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 45%, #000, transparent); mask-image: radial-gradient(70% 70% at 50% 45%, #000, transparent); }
.svh__scene { position: absolute; inset: 0; display: grid; place-items: center; padding: 48px 32px 56px; opacity: 0; transform: translateY(24px) scale(.97); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); pointer-events: none; }
.svh__scene.is-on { opacity: 1; transform: none; pointer-events: auto; }
.svh__scene .svh-m { transform: translateY(var(--lift, 0)); }

/* 1. indice */
.svh--indice { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); align-items: stretch; }
.svh__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); align-self: center; }
.svh__item { position: relative; border-bottom: 1px solid var(--line); }
.svh__item a { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; column-gap: 12px; align-items: baseline; padding: 18px 4px 18px 0; color: var(--soft); text-decoration: none; transition: color 300ms; }
.svh__item .svh__name { font-size: clamp(22px, 2.2vw, 32px); font-weight: 500; letter-spacing: -.03em; line-height: 1.15; color: inherit; transition: color 300ms, transform 500ms var(--ease-out); }
.svh__item .svh__tag { grid-column: 2; margin-top: 4px; }
.svh__item .svh__line { grid-column: 2; max-height: 0; overflow: hidden; opacity: 0; color: var(--soft-2); font-size: 15px; line-height: 1.5; transition: max-height 600ms var(--ease-out), opacity 400ms, margin 600ms var(--ease-out); }
.svh__item .svh__go { grid-column: 3; grid-row: 1; width: 22px; height: 22px; color: var(--acc); opacity: 0; transform: translateX(-8px); transition: opacity 300ms, transform 400ms var(--ease-out); }
.svh__item .svh__go svg { width: 100%; height: 100%; }
.svh__item.is-on a { color: var(--ink); }
.svh__item.is-on .svh__name { transform: translateX(6px); }
.svh__item.is-on .svh__n { color: var(--acc); }
.svh__item.is-on .svh__line { max-height: 6em; opacity: 1; margin-top: 10px; }
.svh__item.is-on .svh__go { opacity: 1; transform: none; }
.svh__prog { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; overflow: hidden; }
.svh__prog i { display: block; height: 100%; background: var(--acc); transform-origin: 0 50%; transform: scaleX(0); }
.is-on > a > .svh__prog i, .svh__tab.is-on .svh__prog i { transform: scaleX(var(--svh-p, 0)); }
.svh--indice .svh__stage { min-height: 560px; }

/* 2. bento */
.svh--bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: 300px; gap: 14px; }
.svh-t { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-card); background: radial-gradient(120% 100% at 80% 0%, color-mix(in oklab, var(--acc) 14%, #12151d), #0b0d12 70%); box-shadow: inset 0 0 0 1px var(--line); }
.svh-t--1 { grid-column: span 4; grid-row: span 2; }
.svh-t--2 { grid-column: span 8; }
.svh-t--3, .svh-t--4 { grid-column: span 4; }
.svh-t--5, .svh-t--6 { grid-column: span 6; }
.svh-t__media { position: absolute; inset: 0; z-index: -1; display: grid; }
.svh-t__txt { position: absolute; left: 0; bottom: 0; z-index: 2; display: grid; gap: 4px; width: 100%; padding: 22px 24px; background: linear-gradient(transparent, rgba(8, 9, 13, .86) 38%); pointer-events: none; }
.svh-t__txt h3 { margin: 2px 0 0; font-size: clamp(21px, 1.8vw, 27px); font-weight: 500; letter-spacing: -.03em; line-height: 1.15; }
.svh-t__a { color: var(--ink); text-decoration: none; pointer-events: auto; }
.svh-t__a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.svh-t__a:focus-visible { outline: none; }
.svh-t:has(.svh-t__a:focus-visible) { box-shadow: inset 0 0 0 2px var(--focus, #fff); }
.svh-t__line { margin: 4px 0 0; max-width: 34em; font-size: 14px; line-height: 1.45; color: var(--soft-2); }
.svh-t__go { position: absolute; right: 22px; bottom: 24px; width: 22px; height: 22px; color: var(--acc); transition: transform 400ms var(--ease-out); }
.svh-t__go svg { width: 100%; height: 100%; }
.svh-t:hover .svh-t__go { transform: translateX(4px); }
.svh-t .loop-pause { z-index: 3; }
.svh-t .svh-m { transition: transform 900ms var(--ease-out); }
.svh-t:hover .svh-m { transform: translateY(-6px) scale(1.02); }
/* each tile frames its picture */
.svh-t--1 .svh-m { align-items: start; padding-top: 60px; }
.svh-t--1 .svh-m--phones { --w: clamp(150px, 12vw, 190px); }
.svh-t--2 .svh-t__txt { width: 46%; height: 100%; align-content: end; background: linear-gradient(90deg, rgba(8, 9, 13, .9) 60%, transparent); }
.svh-t--2 .svh-m { justify-items: end; padding: 34px 28px 0 50%; align-items: start; }
.svh-t--2 .svh-br { width: 100%; }
.svh-t--3 .svh-m, .svh-t--4 .svh-m { align-items: start; padding-top: 26px; }
.svh-t--3 .svh-cmp { width: 150px; transform: rotate(3deg); }
.svh-t--4 .svh-m--phone .iph { --w: 150px; }
.svh-t--5 .svh-t__txt, .svh-t--6 .svh-t__txt { width: 41%; height: 100%; align-content: end; padding-right: 44px; background: linear-gradient(90deg, rgba(8, 9, 13, .92) 70%, transparent); }
.svh-t--5 .svh-m, .svh-t--6 .svh-m { justify-items: end; align-items: start; padding: 26px 22px 0 43%; }
.svh-t--5 .uipanel, .svh-t--6 .uipanel { transform: none; width: 100%; zoom: .8; }
.svh-t .cmp__lab { display: none; }

/* 3. regia */
.svh--regia .svh__stage { height: clamp(460px, 42vw, 580px); }
.svh--regia .svh__scene { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 4vw, 56px); place-items: center stretch; padding: clamp(28px, 4vw, 56px); }
.svh__copy { display: grid; gap: 10px; align-content: center; max-width: 30em; }
.svh__copy .svh__n { color: var(--acc); }
.svh__h { margin: 0; font-size: clamp(30px, 3.6vw, 54px); font-weight: 500; letter-spacing: -.04em; line-height: 1.02; }
.svh__copy .svh__line { margin: 6px 0 8px; color: var(--soft-2); font-size: 16px; line-height: 1.55; }
.svh--regia .svh__media { position: relative; height: 100%; display: grid; place-items: center; }
.svh--regia .svh__cap { bottom: -6px; }
.svh--regia .svh-m--panel .uipanel { zoom: .84; }
.svh--regia .svh__copy, .svh--regia .svh__media { opacity: 0; transform: translateY(18px); transition: opacity 600ms var(--ease-out), transform 800ms var(--ease-out); }
.svh--regia .svh__scene.is-on .svh__copy, .svh--regia .svh__scene.is-on .svh__media { opacity: 1; transform: none; }
.svh--regia .svh__scene.is-on .svh__media { transition-delay: 120ms; }
.svh__tabs { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.svh__tab { position: relative; display: grid; gap: 4px; align-content: start; padding: 16px 4px 4px 0; border: 0; background: none; color: var(--muted); text-align: left; font: inherit; cursor: pointer; transition: color 300ms; }
.svh__tab .svh__prog { top: 0; bottom: auto; background: var(--line-2); }
.svh__tab .svh__name { font-size: 15px; line-height: 1.3; letter-spacing: -.01em; }
.svh__tab:hover, .svh__tab.is-on { color: var(--ink); }
.svh__tab.is-on .svh__n { color: var(--acc); }
.svh__tab:focus-visible { outline: 2px solid var(--focus, #fff); outline-offset: 4px; border-radius: 4px; }

@media (max-width: 1100px) {
  .svh--bento { grid-auto-rows: 280px; }
  .svh-t--1 { grid-column: span 12; grid-row: span 1; }
  .svh-t--1 .svh-m { align-items: start; padding: 30px 0 0 40%; }
  .svh-t--1 .svh-t__txt { width: 46%; height: 100%; align-content: end; background: linear-gradient(90deg, rgba(8, 9, 13, .9) 60%, transparent); }
  .svh-t--2 { grid-column: span 12; }
  .svh-t--3, .svh-t--4, .svh-t--5, .svh-t--6 { grid-column: span 6; }
  .svh-t--5 .svh-t__txt, .svh-t--6 .svh-t__txt { width: 100%; height: auto; padding-top: 70px; background: linear-gradient(transparent, rgba(8, 9, 13, .94) 42%, #08090d); }
  .svh-t--5 .uipanel, .svh-t--6 .uipanel { zoom: .72; }
  .svh-t--5 .svh-m, .svh-t--6 .svh-m { padding: 18px 18px 0; justify-items: center; }
}
@media (max-width: 899px) {
  .svh--indice { grid-template-columns: 1fr; }
  .svh--indice .svh__stage { order: -1; min-height: 0; height: 420px; }
  .svh__item a { padding: 14px 0; grid-template-columns: 34px minmax(0, 1fr) auto; }
  .svh__item .svh__name { font-size: 21px; }
  .svh--bento { grid-template-columns: 1fr; grid-auto-rows: 340px; gap: 12px; }
  .svh-t--1, .svh-t--2, .svh-t--3, .svh-t--4, .svh-t--5, .svh-t--6 { grid-column: auto; grid-row: auto; }
  .svh-t--1 .svh-m { padding: 24px 0 0 34%; align-items: start; }
  .svh-t--1 .svh-m--phones { --w: 140px; }
  .svh-t--1 .svh-t__txt, .svh-t--2 .svh-t__txt { width: 100%; height: auto; background: linear-gradient(transparent, rgba(8, 9, 13, .9) 38%); }
  .svh-t--2 .svh-m { padding: 22px 18px 0; justify-items: center; }
  .svh-t__line { display: none; }
  .svh--regia .svh__stage { height: 540px; }
  .svh--regia .svh__scene { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); align-content: start; gap: 18px; padding: 24px 20px 40px; }
  .svh--regia .svh__copy { order: 2; }
  .svh--regia .svh__media { order: 1; height: 300px; }
  .svh--regia .svh__copy .svh__line { display: none; }
  .svh--regia .svh__cap { display: none; }
  .svh__tabs { display: flex; gap: 14px; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .svh__tab { flex: 0 0 auto; min-width: 140px; }
}
@media (prefers-reduced-motion: reduce) {
  .svh__scene, .svh--regia .svh__copy, .svh--regia .svh__media, .svh-br__screen > .iph__shot.is-on { transition: none; animation: none; }
}

/* the navigator at the foot of each service page (01/12/2026): the next service, live, and the index of all six */
.svn { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(16px, 3vw, 48px); align-items: center; }
.svn__next { min-height: 380px; }
.svn__next .svh-t__txt { width: 50%; height: 100%; align-content: end; padding-right: 44px; background: linear-gradient(90deg, rgba(8, 9, 13, .92) 66%, transparent); }
.svn__next h3 { font-size: clamp(24px, 2.2vw, 34px); }
.svn__next .svh-m { justify-items: end; align-items: center; padding: 26px 26px 26px 48%; }
.svn__next .svh-m--phones { --w: 140px; }
.svn__next .svh-m--phone .iph { --w: 150px; }
.svn__next .svh-cmp { width: 140px; }
.svn__next .svh-br { width: 100%; }
.svn__next .uipanel { transform: none; width: 100%; zoom: .74; }
.svn__next .cmp__lab { display: none; }
.svn__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svn__row { border-bottom: 1px solid var(--line); }
.svn__row > a, .svn__row.is-here { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 16px 2px; color: var(--soft); text-decoration: none; }
.svn__name { font-size: clamp(17px, 1.4vw, 20px); letter-spacing: -.015em; transition: color 250ms, transform 400ms var(--ease-out); }
.svn__go { width: 18px; height: 18px; color: var(--acc); opacity: 0; transform: translateX(-6px); transition: opacity 250ms, transform 400ms var(--ease-out); }
.svn__go svg { width: 100%; height: 100%; }
.svn__row > a:is(:hover, :focus-visible) .svn__name { color: var(--ink); transform: translateX(4px); }
.svn__row > a:is(:hover, :focus-visible) .svh__n { color: var(--acc); }
.svn__row > a:is(:hover, :focus-visible) .svn__go { opacity: 1; transform: none; }
.svn__row.is-here { color: var(--ink); }
.svn__row.is-here .svh__n { color: var(--acc); }
.svn__here { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--acc); padding: 4px 9px; border-radius: 999px; box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--acc) 50%, transparent); }
@media (max-width: 899px) {
  .svn { grid-template-columns: 1fr; }
  .svn__next { min-height: 360px; }
  .svn__next .svh-t__txt { width: 100%; height: auto; padding-top: 80px; background: linear-gradient(transparent, rgba(8, 9, 13, .94) 40%, #08090d); }
  .svn__next .svh-t__line { display: none; }
  .svn__next .svh-m { padding: 22px 20px 0; justify-items: center; align-items: start; }
}

/* the entry offer of the AI service (02/12/2026): the analysis of the prototype, from 4,000 euro */
.offer { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(24px, 4vw, 56px); align-items: stretch; padding: clamp(24px, 4vw, 52px);
  border-radius: var(--r-card); background: radial-gradient(120% 120% at 100% 0%, color-mix(in oklab, #e8b64a 16%, #12151d), #0b0d12 70%); box-shadow: inset 0 0 0 1px var(--line-2); }
.offer__k { color: #e8b64a; margin: 0 0 12px; }
.offer .h2 { margin: 0 0 14px; }
.offer .lead { margin: 0 0 26px; max-width: 34em; }
.offer__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 32px; }
.offer__h { margin: 0 0 10px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--soft); font-family: var(--font-mono); }
.offer .ticks { margin: 0; }
.offer__price { display: grid; align-content: center; justify-items: start; gap: 6px; padding: clamp(22px, 3vw, 36px); border-radius: calc(var(--r-card) - 6px);
  background: rgba(8, 9, 13, .6); box-shadow: inset 0 0 0 1px var(--line); }
.offer__from { margin: 0; color: var(--soft); }
.offer__num { margin: 0; font-size: clamp(44px, 5vw, 72px); font-weight: 600; letter-spacing: -.04em; line-height: 1; color: var(--ink); }
.offer__vat { margin: 0 0 16px; color: var(--soft-2); font-size: 15px; }
.offer__num--word { font-size: clamp(40px, 4.2vw, 60px); color: #e8b64a; }
.offer__then { margin: 4px 0 18px; color: var(--soft-2); font-size: 15px; line-height: 1.5; }
.offer__then strong { color: var(--ink); font-weight: 600; }
.offer__note { margin: 16px 0 0; color: var(--muted); font-size: 13.5px; line-height: 1.5; }
@media (max-width: 899px) {
  .offer { grid-template-columns: 1fr; }
  .offer__cols { grid-template-columns: 1fr; }
}

/* the language switch (02/12/2026): IT on the English pages, EN on the Italian ones */
.nav__lang { flex: none; display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 36px; padding: 0 10px; border-radius: 999px;
  font: 500 12px/1 var(--font-mono); letter-spacing: .08em; color: var(--ink-2); text-decoration: none; box-shadow: inset 0 0 0 1px var(--line-2); transition: color 160ms ease, box-shadow 160ms ease; }
@media (hover: hover) and (pointer: fine) { .nav__lang:hover { color: #fff; box-shadow: inset 0 0 0 1px var(--soft); } }
.nav__lang:focus-visible { outline: 2px solid var(--focus, #fff); outline-offset: 2px; }
.nav__lang-w { flex: none; display: flex; align-items: center; gap: 8px; }
/* «Ferma tutte le animazioni» (03/12/2026): a round button beside EN, pause while things move, play once they are still */
.nav__still { flex: none; display: inline-grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer;
  color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-2); transition: color 160ms ease, box-shadow 160ms ease; }
.nav__still svg { width: 11px; height: 11px; }
.nav__still .i-play, .nav__still[aria-pressed="true"] .i-pause { display: none; }
.nav__still[aria-pressed="true"] .i-play { display: block; }
@media (hover: hover) and (pointer: fine) { .nav__still:hover { color: #fff; box-shadow: inset 0 0 0 1px var(--soft); } }
.nav__still:focus-visible { outline: 2px solid var(--focus, #fff); outline-offset: 2px; }
.menu__still { margin-left: 24px; padding: 0; border: 0; background: none; color: var(--ink-2); font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.menu__lang-w { margin-top: 18px; }
.menu__lang { color: var(--ink-2); text-decoration: none; }
@media (max-width: 999px) { .nav__lang-w { margin-left: auto; } .nav__lang-w + .nav__cta { margin-left: 0; } }
@media (max-width: 374px) { .nav__lang-w { display: none; } .nav__lang-w + .nav__cta { margin-left: auto; } }
/* 02/12/2026, Andrea: «da mobile le cta in alto non si scorrono … difficile vedere i vari menu»: on a phone the bar holds the logo,
   «Preventivo» and the menu button, always in view; the language goes in the menu */
@media (max-width: 559px) { .nav__lang-w { display: none; } .nav__lang-w + .nav__cta { margin-left: auto; } .nav__cta-x { display: none; }
  .nav__bar { gap: 10px; } .nav__logo img { height: 27px; } .nav__toggle { flex: none; } }

/* the portfolio's two halves (02/12/2026) */
.pf-k { margin: 0 0 12px; color: var(--accent, #f5d90a); }
.pf-tabs { display: inline-flex; gap: 4px; margin: 0 0 22px; padding: 4px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); background: rgba(255, 255, 255, .03); }
.pf-tabs a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px; color: var(--ink-2); text-decoration: none; font-size: 15px; transition: background 200ms ease, color 200ms ease; }
.pf-tabs a .mono { font-size: 11px; color: var(--muted); }
.pf-tabs a[aria-current="page"] { background: #f3f1ea; color: #07080b; }
.pf-tabs a[aria-current="page"] .mono { color: #5b5e66; }
@media (hover: hover) and (pointer: fine) { .pf-tabs a:not([aria-current]):hover { color: #fff; background: rgba(255, 255, 255, .06); } }

/* ------------------------------------------------------------------ cookies (03/12/2026): the banner, the preferences, Turnstile
   site.js writes them (consent). «Rifiuta» and «Accetta tutti» look the same, as the Garante asks; the X rejects too. */
.cb { position: fixed; z-index: 95; left: 16px; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); margin-inline: auto; max-width: 1080px;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px 28px; padding: 20px 64px 20px 26px; border-radius: 22px;
  background: rgba(16, 18, 25, .94); -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2); color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line-2), 0 30px 80px -30px rgba(0, 0, 0, .85);
  transform: translateY(24px); opacity: 0; transition: transform 600ms var(--ease-out), opacity 600ms var(--ease-out); }
.cb.is-in { transform: none; opacity: 1; }
.cb[hidden] { display: none; }
.cb__t { margin: 0; font-size: 15px; line-height: 1.5; color: var(--muted); text-wrap: pretty; }
.cb__t b { color: var(--ink); font-weight: 600; }
.cb__t a { color: var(--ink); text-underline-offset: 3px; }
.cb__b { display: flex; flex-wrap: wrap; gap: 10px; }
.cb__b .btn, .cp__b .btn { min-height: 44px; padding: 0 18px; font-size: 14px; }
.cb__x, .cp__x { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--muted); cursor: pointer; }
.cb__x { position: absolute; top: 8px; right: 8px; }
.cb__x svg, .cp__x svg { width: 16px; height: 16px; }
@media (hover: hover) and (pointer: fine) { .cb__x:hover, .cp__x:hover { color: var(--ink); background: var(--line); } }
@media (max-width: 859px) {
  .cb { left: 8px; right: 8px; bottom: max(8px, env(safe-area-inset-bottom)); grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 18px 16px 16px 18px; border-radius: 20px; }
  .cb__t { padding-right: 34px; font-size: 14px; }
  .cb__b { display: grid; grid-template-columns: 1fr 1fr; }
  .cb__b [data-cb-pick] { grid-column: 1 / -1; order: 3; }
}
.cp { width: min(580px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 24px; background: var(--surface); color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line-2), 0 40px 120px -30px rgba(0, 0, 0, .9); }
.cp::backdrop { background: rgba(4, 5, 8, .72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.cp__in { display: grid; gap: 14px; padding: 26px 28px 24px; }
.cp__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: -6px -10px 0 0; }
.cp__h { margin: 0; font-size: 24px; line-height: 1.2; font-weight: 600; letter-spacing: -.01em; }
.cp__p { margin: 0 0 4px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.cp__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 18px; padding: 16px 0; border-top: 1px solid var(--line); }
label.cp__row { cursor: pointer; }
.cp__row b { display: block; margin-bottom: 4px; font-weight: 600; }
.cp__d { display: block; color: var(--muted); font-size: 14px; line-height: 1.5; }
.cp__always { padding-top: 3px; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.cp__sw { -webkit-appearance: none; appearance: none; position: relative; flex: none; width: 46px; height: 28px; margin: 0; border-radius: 99px; background: var(--line-3); cursor: pointer;
  transition: background-color 200ms var(--ease-out); }
.cp__sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); transition: transform 220ms var(--ease-out); }
.cp__sw:checked { background: var(--accent); }
.cp__sw:checked::after { transform: translateX(18px); background: #fff; }
.cp__sw:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.cp__b { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line); }
@media (max-width: 559px) {   /* «Rifiuta tutti» and «Accetta tutti» side by side, as in the banner; «Salva le scelte» under them */
  .cp__in { padding: 22px 18px 18px; }
  .cp__b { display: grid; grid-template-columns: 1fr 1fr; }
  .cp__b [data-cp-save] { grid-column: 1 / -1; order: 3; }
}
@media (prefers-reduced-motion: reduce) { .cb, .cp__sw, .cp__sw::after { transition: none; } }
.foot__ck { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; color: var(--ink-2); font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; }
@media (hover: hover) and (pointer: fine) { .foot__ck:hover { color: var(--accent); } }
.ts { margin: 0 0 16px; }
.ts:empty { display: none; }

/* the quote page (03/12/2026): proof and the phone under the button */
.qproof { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 16px 0 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
.qproof > span { display: inline-flex; align-items: center; gap: 6px; }
.qproof a { color: var(--ink); text-underline-offset: 3px; }
.qproof__g { width: 14px; height: 14px; flex: none; }

/* Portfolio in the bar (03/12/2026): the panel of Servizi with the two halves of the portfolio, a picture each */
.pfp__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pfp__card { position: relative; display: grid; grid-template-columns: minmax(150px, 38%) minmax(0, 1fr); align-items: center; gap: 20px; padding: 12px 20px 12px 12px;
  border-radius: 16px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; overflow: hidden; isolation: isolate; }
.pfp__card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 220ms var(--ease-out);
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(88,185,218,.16), transparent 65%); }
@media (hover: hover) and (pointer: fine) { .pfp__grid:hover .pfp__card::before { opacity: 1; } }
.pfp__img { display: block; width: 100%; aspect-ratio: 16 / 11; object-fit: cover; border-radius: 10px; }
.pfp__txt { display: flex; flex-direction: column; }
.pfp__txt strong { font-size: 19px; font-weight: 500; line-height: 1.25; letter-spacing: -.02em; color: var(--ink); }
.pfp__desc { margin-top: 8px; color: var(--soft-2); font-size: 15px; line-height: 1.45; text-wrap: pretty; }
.pfp__n { margin-top: 14px; font-size: 12px; letter-spacing: .08em; color: var(--accent); }
.pfp__card > svg { position: absolute; top: 18px; right: 18px; width: 16px; height: 16px; color: var(--muted); transition: transform 200ms var(--ease-out), color 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .pfp__card:hover > svg { color: #fff; transform: translateX(3px); } }
.pfp__card[aria-current] { box-shadow: inset 0 0 0 1px rgba(88,185,218,.5); }
