/* Motore - the two halves (branch two-halves, 2026-11-14): how-to films and stories.
   Loaded after site.css on every page: the switch in the nav, the door on the home page, the rails of films,
   and the sections of /how-to. Uses site.css tokens only. */

/* ---------- the switch between the two halves, in the nav ---------- */
.nav .halves { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: rgba(239, 233, 222, 0.04); flex: none; }
.nav .halves a {
  display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 15px; border-radius: 999px; text-decoration: none; white-space: nowrap;
  font-size: 13px; font-weight: 700; letter-spacing: 0.01em; font-variation-settings: "wdth" 112; color: var(--bone-2);
  transition: background 0.25s, color 0.25s;
}
.nav .halves a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: 0.35; transition: background 0.25s, opacity 0.25s; }
.nav .halves a:hover { color: var(--bone); }
.nav .halves a[aria-current] { background: var(--bone); color: var(--ink); }
.nav .halves a[aria-current]::before { background: var(--rosso); opacity: 1; }
.nav .halves + nav { margin-left: auto; }
.menu .halves-m { display: flex; gap: 8px; margin-bottom: 18px; }
.menu .halves-m a { flex: 1; text-align: center; padding: 12px 10px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 15px; }
.menu .halves-m a[aria-current] { background: var(--bone); color: var(--ink); border-color: var(--bone); }
@media (max-width: 1180px) { .nav .halves + nav ul { display: none; } }
@media (max-width: 560px) {
  .nav { gap: 10px; }
  .nav .halves { padding: 2px; }
  .nav .halves a { height: 30px; padding: 0 10px; font-size: 12px; }
  .nav .halves a::before { display: none; }
  .nav .nav-right > .btn { display: none; }
}
@media (max-width: 370px) { .nav .brand .wordmark { height: 13px; } .nav .halves a { padding: 0 8px; font-size: 11.5px; } }

/* ---------- the door: two halves, side by side ---------- */
.door { position: relative; display: flex; height: 100vh; height: 100svh; min-height: 560px; background: var(--ink); overflow: hidden; }
.half {
  position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; display: flex; align-items: flex-end;
  color: var(--bone); text-decoration: none; isolation: isolate;
  transition: flex-grow 0.9s var(--ease);
}
.half-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease), filter 0.9s var(--ease), opacity 0.9s; }
.half-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13,12,11,0.55) 0%, rgba(13,12,11,0) 26%, rgba(13,12,11,0.15) 48%, rgba(13,12,11,0.92) 100%); transition: background 0.9s; }
.half-copy { position: relative; padding: 0 clamp(22px, 4vw, 64px) clamp(30px, 6vh, 68px); max-width: 640px; }
.half-no { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bone-2); }
.half-no::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--rosso); }
.half-t {
  margin: 14px 0 0; font-variation-settings: "wdth" 125; font-weight: 800; text-transform: uppercase;
  font-size: clamp(40px, 5.6vw, 92px); font-size: clamp(30px, 8.6cqi, 88px); line-height: 0.9; letter-spacing: -0.012em;
}
/* the headline scales with its own half (24 Nov 2026: "Il manuale d’istruzioni" has to fit a shrinking half on hover) */
.half { container-type: inline-size; }
.half-t em { font-family: var(--f-serif); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: -0.01em; font-size: 1.1em; line-height: 0.8; }
.half-d { margin: 18px 0 0; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.45; color: var(--bone-2); max-width: 30em; }
.half-go {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 24px; height: 50px; padding: 0 22px; border-radius: 999px;
  border: 1px solid rgba(239, 233, 222, 0.35); background: rgba(13, 12, 11, 0.35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  font-weight: 700; font-size: 15px; font-variation-settings: "wdth" 112; transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.half-go .arrow { transition: transform 0.25s var(--ease); }
.half:hover .half-go, .half:focus-visible .half-go { background: var(--rosso); border-color: var(--rosso); color: var(--ink); }
.half:hover .half-go .arrow { transform: translateX(4px); }
.half-hud { position: absolute; top: 96px; left: clamp(22px, 4vw, 64px); display: flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.14em; color: rgba(255,255,255,0.85); text-shadow: 0 1px 10px rgba(0,0,0,0.6); }
.half-hud b { font-weight: 400; color: rgba(255,255,255,0.6); }
.half-count { position: absolute; top: 96px; right: clamp(22px, 4vw, 64px); font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.14em; color: rgba(255,255,255,0.7); text-shadow: 0 1px 10px rgba(0,0,0,0.6); }
.half .corners { inset: 84px 18px 18px; opacity: 0; transform: scale(1.03); transition: opacity 0.5s, transform 0.7s var(--ease); }
.half:hover .corners { opacity: 1; transform: none; }
/* the seam between the halves, with the record dot riding on it */
.door-seam { position: absolute; top: 0; bottom: 0; left: var(--seam, 50%); width: 1px; background: linear-gradient(180deg, transparent, rgba(239,233,222,0.35) 20%, rgba(239,233,222,0.35) 80%, transparent); pointer-events: none; z-index: 3; transition: left 0.9s var(--ease); }
.seam-dot { position: absolute; top: 50%; left: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--rosso); box-shadow: 0 0 0 6px rgba(242, 54, 29, 0.18), 0 0 30px rgba(242, 54, 29, 0.6); animation: seamPulse 2.4s ease-in-out infinite; }
@keyframes seamPulse { 50% { box-shadow: 0 0 0 12px rgba(242, 54, 29, 0.06), 0 0 40px rgba(242, 54, 29, 0.35); } }
@media (hover: hover) and (pointer: fine) and (min-width: 901px) {
  .door:hover .half { flex-grow: 0.72; }
  .door:hover .half:hover { flex-grow: 1.45; }
  .door:hover .half:not(:hover) .half-vid { filter: grayscale(0.85) brightness(0.55); }
  .door:hover .half:not(:hover) .half-copy { opacity: 0.55; }
  .half:hover .half-vid { transform: scale(1.04); }
  .half-copy { transition: opacity 0.6s; }
  .door:has(.half-how:hover) { --seam: 59.2%; }
  .door:has(.half-stories:hover) { --seam: 40.8%; }
}
/* the curtain opens sideways the first time: one studio, two halves */
.door-curtain { position: fixed; inset: 0; z-index: 80; pointer-events: none; display: none; }
.intro .door-curtain { display: block; }
.door-curtain .dc-l, .door-curtain .dc-r { position: absolute; top: 0; bottom: 0; width: 50.5%; background: var(--ink); animation: dcOpen 1.1s 0.95s var(--ease) forwards; }
.door-curtain .dc-l { left: 0; } .door-curtain .dc-r { right: 0; --dir: 1; }
.door-curtain .dc-l { --dir: -1; }
.door-curtain .dc-mid { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: var(--bone); animation: dcMark 0.9s 0.5s ease forwards; }
.door-curtain .dc-mid .wordmark { width: min(62vw, 520px); height: auto; }
@keyframes dcOpen { to { transform: translateX(calc(var(--dir) * 101%)); } }
@keyframes dcMark { to { opacity: 0; transform: translate(-50%, -50%) scale(0.96); } }
@media (max-width: 900px) {
  .door { flex-direction: column; height: auto; min-height: 0; }
  .half { flex: none; min-height: 470px; }
  .half-count { display: none; }
  .half-how { padding-top: 64px; min-height: calc(50svh + 10px); }
  .half-hud { top: auto; bottom: auto; top: 18px; }
  .half-how .half-hud, .half-how .half-count { top: 82px; }
  .half-count { top: 18px; }
  .door-seam { top: auto; bottom: auto; left: 0; right: 0; width: auto; height: 1px; top: calc(50% + 0px); background: linear-gradient(90deg, transparent, rgba(239,233,222,0.35) 20%, rgba(239,233,222,0.35) 80%, transparent); }
  .half-how + .half-stories { border-top: 1px solid rgba(239,233,222,0.2); }
  .door-seam { display: none; }
  .half-t { font-size: clamp(36px, 10vw, 56px); font-size: clamp(28px, 8.6cqi, 56px); }
  .half-go { height: 46px; margin-top: 18px; }
  .half-copy { padding-bottom: 26px; }
}

/* ---------- rails: one row of films per half (the door) ---------- */
.rails { padding-top: clamp(56px, 7vw, 100px); padding-bottom: clamp(40px, 5vw, 70px); }
#two { padding-top: 0; }
.rail-block + .rail-block { margin-top: clamp(48px, 6vw, 84px); }
.rail-head { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: end; gap: 14px 22px; }
@media (max-width: 900px) { .rail-head { grid-template-columns: 1fr; } }
.rail-head .h2 { font-size: clamp(32px, 4.4vw, 64px); }
.rail-all { display: inline-flex; align-items: center; gap: 10px; color: var(--bone); text-decoration: none; font-weight: 700; font-variation-settings: "wdth" 112; border-bottom: 1px solid var(--line); padding-bottom: 4px; }
.rail-all:hover { border-color: var(--rosso); }
.rail-all .arrow { transition: transform 0.25s var(--ease); }
.rail-all:hover .arrow { transform: translateX(4px); }
.rail-stats { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); margin-top: 10px; }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(260px, 27vw, 420px); gap: clamp(14px, 1.6vw, 22px);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 26px max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))) 10px; scroll-padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
}
.rail::-webkit-scrollbar { display: none; }
.rail-item { scroll-snap-align: start; min-width: 0; }
.rail-item .film-screen { width: 100%; }
.rail-cap { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; margin: 12px 0 0; }
.rail-cap + .rail-cap { margin-top: 3px; }
.rail-cap b { font-weight: 700; font-size: 16px; font-variation-settings: "wdth" 108; }
.rail-cap small { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); white-space: nowrap; }
.rail-cap span { display: block; color: var(--bone-2); font-size: 14px; margin-top: 2px; }
.rail-nav { display: flex; gap: 8px; }
.rail-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: rgba(239,233,222,0.04); color: var(--bone); cursor: pointer; font-size: 18px; transition: border-color 0.2s, background 0.2s; }
.rail-nav button:hover { border-color: var(--bone); }
.rail-nav button:disabled { opacity: 0.3; cursor: default; }
@media (max-width: 900px) { .rail { grid-auto-columns: 78vw; } .rail-nav { display: none; } }

/* ---------- the two halves side by side, in words (the door) ---------- */
.pair { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pair > div { padding: clamp(28px, 4vw, 56px) clamp(0px, 3vw, 44px) clamp(28px, 4vw, 56px) 0; }
.pair > div + div { border-left: 1px solid var(--line); padding-left: clamp(20px, 3vw, 44px); }
.pair h3 { margin: 12px 0 0; font-size: clamp(22px, 2vw, 30px); line-height: 1.1; font-variation-settings: "wdth" 110; }
.pair ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.pair li { display: grid; grid-template-columns: 150px 1fr; gap: 14px; color: var(--bone-2); }
.pair li b { font-family: var(--f-mono); font-weight: 400; font-size: 12px; letter-spacing: 0.1em; color: var(--bone); padding-top: 4px; }
@media (max-width: 420px) { .pair li { grid-template-columns: 118px 1fr; } }
@media (max-width: 760px) { .pair { grid-template-columns: 1fr; } .pair > div + div { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; } }
/* the door: films and the monthly offers in one table, then a line down into the band (24 Nov 2026) */
.pair.three { grid-template-columns: repeat(3, 1fr); }
.pair.three li { grid-template-columns: 112px 1fr; }
@media (max-width: 760px) { .pair.three { grid-template-columns: 1fr; } }
@media (min-width: 761px) and (max-width: 1100px) { .pair.three { grid-template-columns: 1fr 1fr; } .pair.three > div:nth-child(3) { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); padding-left: 0; } }
#two { padding-bottom: 0; }
#more { padding-top: 0; }
.bridge { display: block; width: 1px; height: clamp(64px, 8vw, 112px); margin: 0 0 16px 3px; background: linear-gradient(180deg, var(--line), var(--rosso)); }

/* ---------- /how-to: the hero subtitles change language ---------- */
.how-hero .subtitle .en { font-family: var(--f-mono); font-style: normal; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }
.how-hero .hud .tr b { color: var(--rosso); font-weight: 400; }

/* the sectors, running past */
.sectors { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.sectors .track { display: flex; gap: 0; width: max-content; animation: secRun 46s linear infinite; }
.sectors span { display: inline-flex; align-items: center; gap: 22px; padding: 22px 22px; font-variation-settings: "wdth" 125; font-weight: 800; text-transform: uppercase; font-size: clamp(18px, 2vw, 28px); color: var(--bone-2); white-space: nowrap; }
.sectors span::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--rosso); }
.sectors span:nth-child(even) { font-family: var(--f-serif); font-style: italic; font-weight: 400; text-transform: none; font-size: clamp(22px, 2.4vw, 34px); color: var(--bone); }
@keyframes secRun { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .sectors .track { animation: none; } }

/* a product name in place of a logo */
.film-meta .client .pname { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bone); display: flex; flex-direction: column; gap: 4px; }
.film-meta .client .pname small { font-size: 11px; color: var(--mute); letter-spacing: 0.12em; }
.howto-page .film-meta .client { min-height: 0; }
.sample-note { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--mute); margin: 26px 0 0; }

/* the Dalvo films (since 2026-11-24): the line that says Dalvo is made up, and each film's manual and 3D page */
.dalvo-note { position: relative; margin: calc(clamp(44px, 6vw, 80px) * -0.45) 0 clamp(30px, 3.6vw, 52px); padding-left: 23px; line-height: 1.7;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bone-2); }
.dalvo-note::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 9px; height: 9px; background: var(--bone); } /* Dalvo's own mark is a square */
.dalvo-note a { margin-left: 10px; color: var(--rosso); text-decoration: none; display: inline-flex; gap: 6px; border-bottom: 1px solid transparent; transition: border-color 0.25s; }
.dalvo-note a:hover { border-color: currentColor; }
.rail-head .dalvo-note { margin: 8px 0 0; font-size: 11px; color: var(--mute); }
.film-meta .film-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; max-width: none; }
.film-links a { display: inline-flex; align-items: center; gap: 9px; height: 36px; padding: 0 15px 0 6px; border-radius: 999px; border: 1px solid var(--line);
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bone); text-decoration: none;
  transition: background 0.25s, color 0.25s, border-color 0.25s; }
.film-links a i { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 8.5px; font-weight: 600; letter-spacing: 0.04em;
  background: var(--bone); color: var(--ink); transition: background 0.25s, color 0.25s; }
.film-links a .arrow { color: var(--rosso); transition: color 0.25s; }
.film-links a:hover { background: var(--bone); border-color: var(--bone); color: var(--ink); }
.film-links a:hover i { background: var(--rosso); color: var(--ink); }
.film-links a:hover .arrow { color: var(--ink); }

/* the card that waits for their product */
.film.next-card { display: flex; }
.next-frame {
  position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 6px; border: 1px dashed rgba(239,233,222,0.28);
  display: grid; place-items: center; text-align: center; padding: 24px; color: var(--bone); text-decoration: none;
  background: radial-gradient(80% 80% at 50% 40%, rgba(242,54,29,0.10), transparent 70%), var(--ink-2);
  transition: border-color 0.3s, background 0.3s;
}
.next-frame:hover { border-color: var(--rosso); }
.next-frame .corners { inset: 14px; }
.next-frame .pdf { width: 74px; height: 96px; margin: 0 auto 18px; border-radius: 4px; background: var(--bone); position: relative; box-shadow: 0 20px 40px -20px rgba(0,0,0,0.8); transform: rotate(-4deg); transition: transform 0.6s var(--ease); }
.next-frame:hover .pdf { transform: rotate(0) translateY(-4px); }
.next-frame .pdf::before { content: "PDF"; position: absolute; left: 8px; top: 8px; font-family: var(--f-mono); font-size: 10px; font-weight: 600; letter-spacing: 0.1em; color: var(--rosso-deep); }
.next-frame .pdf i { position: absolute; left: 10px; right: 10px; height: 4px; border-radius: 2px; background: rgba(13,12,11,0.18); }
.next-frame .pdf i:nth-child(1) { top: 30px; } .next-frame .pdf i:nth-child(2) { top: 40px; right: 22px; } .next-frame .pdf i:nth-child(3) { top: 50px; } .next-frame .pdf i:nth-child(4) { top: 60px; right: 30px; }
.next-frame .pdf b { position: absolute; left: 10px; right: 10px; bottom: 10px; height: 18px; border-radius: 2px; background: rgba(13,12,11,0.08); border: 1px solid rgba(13,12,11,0.25); }
.next-frame h3 { margin: 0; font-variation-settings: "wdth" 125; font-weight: 800; text-transform: uppercase; font-size: clamp(26px, 2.6vw, 40px); line-height: 0.95; }
.next-frame h3 em { font-family: var(--f-serif); font-style: italic; font-weight: 400; text-transform: none; }
.next-frame p { margin: 10px auto 0; color: var(--bone-2); max-width: 26em; font-size: 15px; }
.next-frame .go { display: inline-flex; gap: 10px; align-items: center; margin-top: 16px; font-weight: 700; color: var(--rosso); }

/* ---------- /how-to: how a film reads (a frame with its parts called out) ---------- */
.anatomy { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(22px, 3vw, 48px); align-items: center; margin-top: clamp(30px, 4vw, 56px); }
.anat-frame { position: relative; border-radius: 6px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--ink-2); }
.anat-frame img { width: 100%; height: 100%; object-fit: cover; }
.anat-frame .corners { inset: 12px; }
.anat-pin { position: absolute; left: var(--x); top: var(--y); width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  background: var(--rosso); color: var(--ink); font-family: var(--f-mono); font-size: 13px; font-weight: 600; display: grid; place-items: center;
  box-shadow: 0 0 0 6px rgba(242,54,29,0.22); transform: scale(0); transition: transform 0.5s var(--ease), box-shadow 0.3s; }
.anatomy.in .anat-pin { transform: scale(1); }
.anatomy.in .anat-pin:nth-of-type(2) { transition-delay: 0.15s; } .anatomy.in .anat-pin:nth-of-type(3) { transition-delay: 0.3s; } .anatomy.in .anat-pin:nth-of-type(4) { transition-delay: 0.45s; }
.anat-pin.on { box-shadow: 0 0 0 10px rgba(242,54,29,0.28), 0 0 0 22px rgba(242,54,29,0.10); }
.anat-ring { position: absolute; border: 2px solid var(--rosso); border-radius: 8px; pointer-events: none; opacity: 0; transition: opacity 0.35s, left 0.5s var(--ease), top 0.5s var(--ease), width 0.5s var(--ease), height 0.5s var(--ease); }
.anat-ring.on { opacity: 1; }
.anat-list { list-style: none; margin: 0; padding: 0; counter-reset: a; }
.anat-list li { border-top: 1px solid var(--line); }
.anat-list li:last-child { border-bottom: 1px solid var(--line); }
.anat-list button { display: grid; grid-template-columns: 30px 1fr; gap: 14px; width: 100%; text-align: left; background: none; border: 0; padding: 16px 0; cursor: pointer; color: var(--bone-2); }
.anat-list .n { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-family: var(--f-mono); font-size: 12px; transition: background 0.25s, color 0.25s, border-color 0.25s; }
.anat-list b { display: block; color: var(--bone); font-size: 17px; font-variation-settings: "wdth" 108; }
.anat-list span.d { display: block; font-size: 14.5px; margin-top: 4px; }
.anat-list li.on .n { background: var(--rosso); border-color: var(--rosso); color: var(--ink); }
.anat-list li.on b { color: var(--bone); }
.anat-more { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.anat-more .vchip { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; border: 1px solid var(--line); border-radius: 999px; padding: 7px 12px; color: var(--bone-2); background: none; cursor: pointer; }
.anat-more .vchip:hover { border-color: var(--bone); color: var(--bone); }
a.vchip { text-decoration: none; display: inline-flex; gap: 6px; } a.vchip .arrow { color: var(--rosso); }
@media (max-width: 900px) { .anatomy { grid-template-columns: 1fr; } .anat-pin { width: 24px; height: 24px; margin: -12px 0 0 -12px; font-size: 11px; } }

/* ---------- /how-to: what you get ---------- */
.gets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); margin-top: clamp(30px, 4vw, 56px); }
.get { position: relative; border: 1px solid var(--line); border-radius: 8px; padding: clamp(20px, 2vw, 30px); background: linear-gradient(180deg, rgba(239,233,222,0.03), transparent); min-height: 300px; display: flex; flex-direction: column; overflow: hidden; }
.get .k { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); }
.get h3 { margin: 12px 0 0; font-size: clamp(22px, 2vw, 28px); line-height: 1.08; font-variation-settings: "wdth" 110; }
.get p { margin: 10px 0 0; color: var(--bone-2); font-size: 15.5px; }
.get .viz { margin-top: auto; padding-top: 24px; height: 128px; position: relative; }
.get.main .viz { height: 168px; }
.get.main { border-color: rgba(242,54,29,0.55); }
.get-go { align-self: flex-start; margin-top: 14px; display: inline-flex; gap: 8px; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--bone); text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 4px; transition: border-color 0.25s, color 0.25s; position: relative; z-index: 1; }
.get-go .arrow { color: var(--rosso); }
.get-go:hover { border-color: var(--rosso); }
/* the film: a timeline of steps filling up */
.viz-steps { display: flex; gap: 5px; align-items: flex-end; height: 100%; }
.viz-steps i { flex: 1; border-radius: 3px; background: rgba(239,233,222,0.12); height: 30%; position: relative; overflow: hidden; }
.viz-steps i::after { content: ""; position: absolute; inset: 0; background: var(--rosso); transform: scaleY(0); transform-origin: bottom; transition: transform 0.6s var(--ease); }
.get.in .viz-steps i::after { transform: scaleY(1); }
.viz-steps i:nth-child(2) { height: 45%; } .viz-steps i:nth-child(3) { height: 60%; } .viz-steps i:nth-child(4) { height: 40%; } .viz-steps i:nth-child(5) { height: 75%; } .viz-steps i:nth-child(6) { height: 55%; } .viz-steps i:nth-child(7) { height: 90%; } .viz-steps i:nth-child(8) { height: 65%; } .viz-steps i:nth-child(9) { height: 100%; }
.viz-steps i:nth-child(n)::after { transition-delay: calc(var(--i, 0) * 90ms); }
.viz-langs { position: absolute; left: 0; right: 0; top: 24px; display: flex; gap: 6px; flex-wrap: wrap; }
.viz-langs b { font-family: var(--f-mono); font-weight: 400; font-size: 10.5px; letter-spacing: 0.1em; padding: 4px 8px; border: 1px solid var(--line); border-radius: 999px; color: var(--bone-2); }
.viz-langs b.hot { border-color: var(--rosso); color: var(--rosso); }
/* the 3D guide: a cube that turns */
.viz-cube { width: 92px; height: 92px; margin: 0 auto; position: relative; transform-style: preserve-3d; animation: cube 9s linear infinite; }
.viz-cube i { position: absolute; inset: 0; border: 1.5px solid rgba(239,233,222,0.55); background: rgba(239,233,222,0.03); }
.viz-cube i:nth-child(1) { transform: translateZ(46px); } .viz-cube i:nth-child(2) { transform: rotateY(180deg) translateZ(46px); }
.viz-cube i:nth-child(3) { transform: rotateY(90deg) translateZ(46px); } .viz-cube i:nth-child(4) { transform: rotateY(-90deg) translateZ(46px); }
.viz-cube i:nth-child(5) { transform: rotateX(90deg) translateZ(46px); border-color: var(--rosso); } .viz-cube i:nth-child(6) { transform: rotateX(-90deg) translateZ(46px); }
.viz-3d { perspective: 600px; display: grid; place-items: center; }
@keyframes cube { from { transform: rotateX(-22deg) rotateY(0); } to { transform: rotateX(-22deg) rotateY(360deg); } }
/* the product in the room: a phone frame */
.viz-phone { width: 66px; height: 118px; margin: 0 auto; border: 2px solid rgba(239,233,222,0.6); border-radius: 12px; position: relative; overflow: hidden; background: linear-gradient(180deg, #2a2723, #161412); }
.viz-phone::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40%; background: linear-gradient(180deg, transparent, rgba(239,233,222,0.08)); }
.viz-phone i { position: absolute; left: 50%; bottom: 22%; width: 26px; height: 34px; margin-left: -13px; border: 1.5px solid var(--rosso); border-radius: 2px; animation: drop 3.2s var(--ease) infinite; }
@keyframes drop { 0%, 15% { transform: translateY(-40px); opacity: 0; } 40%, 85% { transform: none; opacity: 1; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .viz-cube, .viz-phone i { animation: none; } }
@media (max-width: 900px) { .gets { grid-template-columns: 1fr; } .get { min-height: 0; } }

/* the files that arrive */
.files-pane { margin-top: clamp(22px, 3vw, 36px); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--ink-2); }
.files-pane .vbar { display: flex; justify-content: space-between; padding: 12px 18px; border-bottom: 1px solid var(--line); font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; color: var(--mute); }
.files-pane .vbar i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--rosso); margin-right: 10px; }
.files-pane ul { list-style: none; margin: 0; padding: 8px 18px 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 36px; }
.files-pane li { display: grid; grid-template-columns: 18px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--line); font-family: var(--f-mono); font-size: 13px; color: var(--bone); opacity: 0; transform: translateY(6px); transition: opacity 0.4s, transform 0.4s var(--ease); }
.files-pane.in li { opacity: 1; transform: none; }
.files-pane li .ck { width: 14px; height: 14px; border-radius: 50%; border: 1px solid var(--rosso); position: relative; }
.files-pane li .ck::after { content: ""; position: absolute; left: 4px; top: 1px; width: 4px; height: 7px; border: solid var(--rosso); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.files-pane li .sz { color: var(--mute); font-size: 11px; letter-spacing: 0.08em; }
@media (max-width: 760px) { .files-pane ul { grid-template-columns: 1fr; } .files-pane li { font-size: 12px; } }

/* ---------- /how-to: three steps on a line ---------- */
.steps3 { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 40px); margin-top: clamp(34px, 5vw, 70px); }
.steps3::before { content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 1px; background: var(--line); }
.steps3::after { content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 1px; background: var(--rosso); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease) 0.2s; }
.steps3.in::after { transform: scaleX(1); }
.s3 { position: relative; padding-top: 70px; }
.s3 .n { position: absolute; top: 0; left: 0; width: 48px; height: 48px; border-radius: 50%; background: var(--ink); border: 1px solid var(--line); display: grid; place-items: center; font-family: var(--f-mono); font-size: 14px; transition: background 0.4s, color 0.4s, border-color 0.4s; }
.steps3.in .s3 .n { background: var(--rosso); border-color: var(--rosso); color: var(--ink); }
.steps3.in .s3:nth-child(2) .n { transition-delay: 0.7s; } .steps3.in .s3:nth-child(3) .n { transition-delay: 1.3s; }
.s3 .day { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); }
.s3 h3 { margin: 10px 0 0; font-size: clamp(22px, 2vw, 30px); line-height: 1.08; font-variation-settings: "wdth" 110; }
.s3 p { margin: 10px 0 0; color: var(--bone-2); }
@media (max-width: 760px) {
  .steps3 { grid-template-columns: 1fr; gap: 34px; }
  .steps3::before, .steps3::after { left: 23px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; transform-origin: top; }
  .steps3::after { transform: scaleY(0); } .steps3.in::after { transform: scaleY(1); }
  .s3 { padding: 0 0 0 72px; min-height: 48px; }
}
.how-note { margin-top: clamp(28px, 3vw, 44px); font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bone-2); display: flex; align-items: center; gap: 10px; }
.how-note::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--rosso); }

/* ---------- the closing band with two ways in ---------- */
.cta-row.two { flex-wrap: wrap; }

/* ============ The monthly offers: /websites, /social and the band on the door ============ */
.of-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 4vw, 70px); align-items: center; width: 100%; }
.of-stack { position: relative; height: clamp(320px, 38vw, 560px); }
.of-stack .kit-vis { position: absolute; width: 84%; padding: 0; }
.of-stack .kit-vis:first-child { right: 0; top: 0; z-index: 1; }
.of-stack .kit-vis:last-child { left: 0; bottom: 0; z-index: 2; }
.of-stack .kit-vis:last-child .kit-screen { animation-delay: -18s; }
.exs { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); }
.ex { display: flex; flex-direction: column; gap: 22px; }
.ex .kit-vis { padding: 0; }
.ex .k, .diff .k, .more-t .k { font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--bone-2); }
.ex h3 { font-variation-settings: "wdth" 112; font-weight: 700; font-size: clamp(22px, 2vw, 30px); line-height: 1.1; margin: 10px 0 10px; }
.ex p { color: var(--bone-2); margin: 0 0 14px; max-width: 34em; }
.diff { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.diff-col { border-radius: 14px; padding: clamp(22px, 3vw, 38px); border: 1px solid rgba(239, 233, 222, .14); }
.diff-col.ours { background: var(--rosso); color: var(--ink); border-color: var(--rosso); }
.diff-col.ours .k { color: rgba(13, 12, 11, .7); }
.diff-col h3 { font-variation-settings: "wdth" 112; font-weight: 700; font-size: clamp(22px, 2.2vw, 32px); line-height: 1.08; margin: 12px 0 22px; }
.diff-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; font-size: 17px; }
.diff-col li { display: flex; gap: 12px; align-items: baseline; }
.diff-col li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; transform: translateY(-1px); }
.diff-col.usual li::before { border: 1.5px solid var(--bone-2); }
.diff-col.ours li::before { background: var(--ink); }
.diff-col.usual li { color: var(--bone-2); }
.bars { margin-top: 18px; border: 1px solid rgba(239, 233, 222, .14); border-radius: 14px; padding: 22px clamp(18px, 3vw, 34px) 16px; }
.bars-row { display: grid; grid-template-columns: 150px 1fr; gap: 20px; align-items: end; height: 120px; }
.bars-row + .bars-row { height: 36px; margin-top: 10px; }
.bars-k { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--bone-2); padding-bottom: 2px; }
.bars-m { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; align-items: end; height: 100%; border-bottom: 1px solid rgba(239, 233, 222, .2); }
.bars-m i { display: block; height: 0; min-height: 0; background: rgba(239, 233, 222, .55); border-radius: 3px 3px 0 0; transition: height 1.2s var(--ease); }
.bars-row.ours .bars-m i { background: var(--rosso); }
.bars.in .bars-m i { height: var(--h); min-height: 3px; }
.bars-row.usual .bars-m i[style="--h:0%"] { min-height: 0; }
.bars-n { margin: 12px 0 0; font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; color: var(--bone-2); text-transform: uppercase; }
.fmts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fmt { border: 1px solid rgba(239, 233, 222, .14); border-radius: 14px; padding: 28px; min-height: 230px; display: flex; flex-direction: column; }
.fmt .n { font-family: var(--f-serif); font-style: italic; font-size: 54px; line-height: 1; color: var(--rosso); }
.fmt h3 { font-variation-settings: "wdth" 112; font-weight: 700; font-size: 24px; margin: auto 0 10px; padding-top: 30px; }
.fmt p { color: var(--bone-2); margin: 0; }
.nobuild { margin-top: 22px; color: var(--bone-2); max-width: 60em; font-size: 16px; }
.nobuild b { color: var(--bone); font-weight: 600; }
.incl-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(239, 233, 222, .14); }
.incl-grid li { padding: 22px 22px 26px 0; border-bottom: 1px solid rgba(239, 233, 222, .14); display: flex; flex-direction: column; gap: 6px; }
.incl-grid b { font-variation-settings: "wdth" 112; font-weight: 700; font-size: 19px; }
.incl-grid span { color: var(--bone-2); font-size: 15px; }
.chans { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chans span { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; padding: 8px 12px; border-radius: 99px; border: 1px solid rgba(239, 233, 222, .2); }
/* social: three phones and the month */
.ph3 { display: flex; justify-content: center; align-items: center; gap: clamp(10px, 1.6vw, 22px); }
.ph { width: clamp(120px, 12vw, 190px); aspect-ratio: 9 / 19.5; border-radius: 26px; padding: 6px; background: #111; box-shadow: 0 0 0 1.5px #3a3a3a, 0 40px 60px -26px rgba(0, 0, 0, .8); overflow: hidden; }
.ph:nth-child(2) { transform: translateY(-26px) scale(1.08); z-index: 1; }
.ph video, .ph img { width: 100%; height: 100%; object-fit: contain; display: block; border-radius: 20px; background: #ECE8E1; }
.cal { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cal-w { display: flex; flex-direction: column; gap: 10px; }
.cal-k { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--bone-2); padding-bottom: 8px; border-bottom: 1px solid rgba(239, 233, 222, .14); }
.post { border-radius: 12px; overflow: hidden; background: #1a1917; border: 1px solid rgba(239, 233, 222, .1); transition: transform .5s var(--ease); }
.post:hover { transform: translateY(-4px); }
.post-img { position: relative; aspect-ratio: 1; background: #ECE8E1 center/cover no-repeat; }
.post-t { position: absolute; left: 10px; top: 10px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; padding: 5px 9px; border-radius: 99px; background: var(--ink); color: var(--bone); }
.post p { margin: 0; padding: 10px 12px 12px; font-size: 14.5px; line-height: 1.3; }
.post small { display: block; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--bone-2); margin-bottom: 4px; }
/* the band on the door */
.more-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.more-card { color: inherit; text-decoration: none; display: grid; grid-template-rows: 300px auto; border-radius: 16px; overflow: hidden; border: 1px solid rgba(239, 233, 222, .14); background: #141311; transition: transform .6s var(--ease), border-color .4s; }
.more-card:hover { transform: translateY(-6px); border-color: rgba(242, 54, 29, .6); }
.more-vis { position: relative; padding: 26px 26px 0; overflow: hidden; background: radial-gradient(120% 100% at 50% 0%, #2a2724, #141311); }
.more-vis .kit-browser { border-radius: 10px 10px 0 0; }
.more-vis .kit-screen { aspect-ratio: auto; height: 300px; }
.more-phones { display: flex; justify-content: center; gap: 14px; padding-top: 30px; }
.more-phones .ph { width: 116px; border-radius: 20px; padding: 5px; }
.more-phones .ph img { border-radius: 15px; }
.more-t { padding: 24px 26px 28px; }
.more-t h3 { font-variation-settings: "wdth" 112; font-weight: 700; font-size: clamp(24px, 2.2vw, 32px); margin: 10px 0 8px; }
.more-t h3 em { font-family: var(--f-serif); font-style: italic; font-weight: 400; color: var(--rosso); }
.more-t p { color: var(--bone-2); margin: 0 0 16px; }
.more-p { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 900px) {
  .of-grid, .exs, .diff, .more-grid { grid-template-columns: 1fr; }
  .of-stack { height: 300px; }
  .fmts { grid-template-columns: 1fr; }
  .incl-grid { grid-template-columns: 1fr 1fr; }
  .cal { grid-template-columns: 1fr 1fr; }
  .bars-row { grid-template-columns: 1fr; height: auto; }
  .bars-row .bars-m { height: 90px; }
  .bars-row + .bars-row .bars-m { height: 30px; }
  .ph3 { margin-top: 30px; }
}
.offer-page .of-hero .display { font-size: clamp(46px, 5.6vw, 92px); }
@media (max-width: 600px) { .ph3 .ph { width: 29%; } .ph3 .ph:nth-child(2) { transform: translateY(-14px) scale(1.06); } }
/* social (24 Nov 2026): the WhatsApp chip, what we post, the post kinds, the fair, the chat */
.wa-chip { display: inline-flex; align-items: center; gap: 10px; margin: 20px 0 0; padding: 9px 16px 9px 11px; border-radius: 99px; border: 1px solid rgba(37, 211, 102, .45); background: rgba(37, 211, 102, .08); font-size: 15px; line-height: 1.3; color: var(--bone); }
.wa-chip svg { width: 22px; height: 22px; flex: none; color: #25D366; }
.of-hero .wa-chip + .offer { margin-top: 16px; }
.ph-dark video { background: #202326; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pillar { border: 1px solid rgba(239, 233, 222, .14); border-radius: 14px; overflow: hidden; background: #141311; }
.pillar-img { aspect-ratio: 4 / 5; background: #ECE8E1 center/cover no-repeat; transition: transform 1.2s var(--ease); }
.pillar:hover .pillar-img { transform: scale(1.03); }
.pillar .k { display: block; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .12em; color: var(--rosso); padding: 20px 22px 0; }
.pillar h3 { font-variation-settings: "wdth" 112; font-weight: 700; font-size: 26px; margin: 6px 22px 8px; }
.pillar p { color: var(--bone-2); margin: 0 22px 24px; }
.post-t.k-fair { background: var(--rosso); color: #fff; }
.post-t.k-whatsapp { background: #25D366; color: #08260f; }
.post-t.k-3d { background: #ECE8E1; color: #141311; }
.post-t.k-reel { background: #B08A67; color: #fff; }
.fair3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fair-col { display: flex; flex-direction: column; border: 1px solid rgba(239, 233, 222, .14); border-radius: 14px; overflow: hidden; background: #141311; }
.fair-vis { aspect-ratio: 4 / 5; background: #2a2724 center/cover no-repeat; }
.fair-ph { display: flex; align-items: center; justify-content: center; background: radial-gradient(120% 100% at 50% 0%, #2f2b27, #141311); }
.fair-ph .ph { width: 46%; }
.fair-col .k { display: block; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--rosso); padding: 20px 22px 0; }
.fair-col h3 { font-variation-settings: "wdth" 112; font-weight: 700; font-size: 24px; margin: 6px 22px 8px; }
.fair-col p { color: var(--bone-2); margin: 0 22px 18px; }
.fair-link { margin: auto 22px 22px; padding-top: 6px; font-size: 15px; color: var(--bone); text-decoration: underline; text-decoration-color: rgba(242, 54, 29, .7); text-underline-offset: 4px; }
.fair-link:hover { color: var(--rosso); }
.wa-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.wa-copy .h2 { margin: 14px 0 18px; }
.wa-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.wa-list li { display: flex; gap: 12px; align-items: baseline; font-size: 17px; }
.wa-list li::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: #25D366; transform: translateY(-1px); }
.chat { width: min(380px, 100%); justify-self: center; border-radius: 36px; padding: 8px; background: #0d0d0d; box-shadow: 0 0 0 1.5px #3a3a3a, 0 50px 80px -30px rgba(0, 0, 0, .85); }
.chat-top { display: flex; gap: 11px; align-items: center; padding: 16px 16px 12px; background: #1f2c34; border-radius: 28px 28px 0 0; color: #e9edef; }
.chat-top b { display: block; font-size: 15.5px; font-weight: 600; }
.chat-top small { font-size: 12.5px; color: #8696a0; }
.chat-av { width: 38px; height: 38px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #202326; color: #ECE8E1; font-weight: 700; box-shadow: inset 0 0 0 1.5px #B08A67; }
.chat-body { display: flex; flex-direction: column; gap: 7px; padding: 14px 10px 18px; background: #0b141a; border-radius: 0 0 28px 28px; }
.msg { position: relative; max-width: 82%; padding: 6px 9px 19px; border-radius: 10px; font-size: 14px; line-height: 1.35; color: #e9edef; }
.msg.in { align-self: flex-start; background: #202c33; border-top-left-radius: 3px; }
.msg.out { align-self: flex-end; background: #005c4b; border-top-right-radius: 3px; }
.msg small { display: block; font-size: 12.5px; font-weight: 600; color: #53bdeb; margin-bottom: 3px; }
.msg img { display: block; width: 190px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 7px; margin: 2px 0 6px; }
.msg time { position: absolute; right: 9px; bottom: 4px; font-size: 10.5px; color: rgba(233, 237, 239, .55); }
.vn { display: flex; align-items: center; gap: 9px; min-width: 190px; padding-top: 2px; font-size: 12px; color: #8696a0; }
.vn i { width: 0; height: 0; border-left: 11px solid #8696a0; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.vn b { flex: 1; height: 18px; background: repeating-linear-gradient(90deg, #8696a0 0 2px, transparent 2px 5px); -webkit-mask: linear-gradient(90deg, #000 0 100%); mask-image: radial-gradient(60% 100% at 30% 50%, #000 60%, rgba(0,0,0,.45)); opacity: .8; }
@media (max-width: 900px) {
  .pillars, .fair3, .wa-grid { grid-template-columns: 1fr; }
  .pillar-img, .fair-vis { aspect-ratio: 5 / 4; }
  .fair-ph { aspect-ratio: auto; padding: 30px 0; }
  .fair-ph .ph { width: 40%; }
  .chat { margin-top: 10px; }
  .of-hero .wa-chip { order: 5; align-self: flex-start; margin-top: 16px; }
}
/* ===== the studio's pages: /testimonials and /about (24 Nov 2026) ===== */
.stats { display: flex; flex-wrap: wrap; gap: clamp(18px, 3vw, 44px); margin: 26px 0 4px; }
.stats div { display: flex; flex-direction: column; gap: 4px; }
.stats b { font-variation-settings: "wdth" 125; font-weight: 800; font-size: clamp(34px, 3.4vw, 52px); line-height: .95; letter-spacing: -.02em; }
.stats span { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--bone-2); max-width: 15em; }
/* the contact sheet: the six people, one circled in grease pencil */
.cs { position: relative; justify-self: center; width: min(560px, 100%); padding: 18px; }
.cs-sheet { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 12px; padding: 22px 20px 26px; background: #EFE9DE; border-radius: 4px; transform: rotate(-2.2deg); box-shadow: 0 50px 80px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(0, 0, 0, .2); }
.cs-f { margin: 0; background: #111; padding: 6px 6px 4px; }
.cs-f img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1) contrast(1.08); transition: filter .6s; }
.cs:hover .cs-f img { filter: grayscale(.2); }
.cs-f figcaption { font-family: var(--f-mono); font-size: 9px; letter-spacing: .14em; color: #E8A33D; padding-top: 4px; }
.cs-ring { position: absolute; right: -2%; top: -3%; width: 42%; color: var(--rosso); transform: rotate(-8deg); stroke-dasharray: 640; stroke-dashoffset: 640; animation: cs-draw 1.4s 1s var(--ease) forwards; }
.cs-note { position: absolute; right: 0; top: 41%; font-family: 'Caveat', cursive; font-size: clamp(30px, 3vw, 42px); color: var(--rosso); transform: rotate(-10deg); opacity: 0; animation: cs-in .5s 2.2s forwards; }
@keyframes cs-draw { to { stroke-dashoffset: 0; } }
@keyframes cs-in { to { opacity: 1; } }
/* the logos, rolling */
.tm-logos { padding: clamp(40px, 5vw, 70px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.mq { display: flex; margin-top: 26px; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.mq-t { list-style: none; margin: 0; padding: 0 clamp(34px, 4vw, 64px) 0 0; display: flex; align-items: center; gap: clamp(34px, 4vw, 64px); flex: none; animation: mq 46s linear infinite; }
.mq:hover .mq-t { animation-play-state: paused; }
.mq-t li { flex: none; display: flex; align-items: center; }
.mq-t .logo { display: block; width: auto; opacity: .88; color: var(--bone); }
@keyframes mq { to { transform: translateX(-100%); } }
/* the words: one scene per client, their film behind them */
.tm-words { display: flex; flex-direction: column; }
.scene { position: relative; min-height: min(86vh, 860px); display: flex; align-items: flex-end; overflow: hidden; border-bottom: 1px solid var(--line); isolation: isolate; }
.scene-bg { position: absolute; inset: 0; z-index: -1; background: #0d0c0b; }
.scene-bg video { width: 100%; height: 100%; object-fit: cover; opacity: .8; }
.scene-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13, 12, 11, .93) 0%, rgba(13, 12, 11, .72) 44%, rgba(13, 12, 11, .12) 100%), linear-gradient(0deg, rgba(13, 12, 11, .9), rgba(13, 12, 11, 0) 55%); }
.scene-plain .scene-bg { background: radial-gradient(90% 120% at 85% 20%, #2b1814, #0d0c0b 60%); }
.scene-mark { position: absolute; right: -4%; top: 12%; width: 60%; color: rgba(239, 233, 222, .05); }
.scene-in { padding-top: clamp(80px, 10vw, 140px); padding-bottom: clamp(48px, 6vw, 86px); }
.scene-no { display: inline-block; font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--bone-2); padding: 7px 12px; border: 1px solid rgba(239, 233, 222, .25); border-radius: 4px; }
.scene-no i { font-style: normal; color: var(--rosso); }
.scene-q { position: relative; margin: 26px 0 0; max-width: 23em; font-family: var(--f-serif); font-style: italic; font-size: clamp(25px, 2.7vw, 44px); line-height: 1.17; letter-spacing: -.005em; color: var(--bone); text-wrap: pretty; }
.scene-q::before { content: "\201C"; display: block; height: .5em; margin-bottom: .12em; font-size: 2.4em; line-height: .9; color: var(--rosso); }
.scene-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 34px; }
.scene-who { display: flex; align-items: center; gap: 14px; color: inherit; text-decoration: none; }
.scene-ph { width: 62px; height: 62px; flex: none; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 2px var(--rosso), 0 0 0 5px rgba(242, 54, 29, .2); }
.scene-ph img { width: 100%; height: 100%; object-fit: cover; }
.scene-id b { display: block; font-size: 18px; font-weight: 600; }
.scene-id small { display: block; font-size: 14px; color: var(--bone-2); margin-top: 2px; }
.scene-who:hover b { color: var(--rosso); }
.scene-logo { padding-left: 26px; border-left: 1px solid rgba(239, 233, 222, .2); }
.scene-logo a { display: block; }
.scene-logo .logo, .scene-logo img, .scene-logo svg { display: block; opacity: .9; color: var(--bone); }
.scene-film { margin-left: auto; }
/* /about: the render queue */
.ab-nums { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(34px, 5vw, 64px) 0; }
.stats-big { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 0; }
.stats-big b { font-size: clamp(54px, 7vw, 118px); }
.days { list-style: none; margin: 0; padding: 34px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; position: relative; }
.days::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 1px; background: linear-gradient(90deg, var(--rosso), rgba(239, 233, 222, .2)); }
.days::after { content: ""; position: absolute; top: 0; left: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--rosso); box-shadow: 0 0 0 6px rgba(242, 54, 29, .18); animation: days-run 7s var(--ease) infinite; }
@keyframes days-run { 0% { left: 0; } 85%, 100% { left: calc(100% - 13px); } }
.days li { display: flex; flex-direction: column; gap: 6px; padding-right: 10px; }
.days .d { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--rosso); }
.days b { font-variation-settings: "wdth" 112; font-weight: 700; font-size: 21px; }
.days li > span:last-child { color: var(--bone-2); }
.ab-crew { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 100px); align-items: center; }
.ab-crew .h2 { margin: 14px 0 18px; }
.credits { position: relative; height: 460px; overflow: hidden; -webkit-mask: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent); mask: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent); }
.credits-roll { animation: roll 34s linear infinite; }
.credits:hover .credits-roll { animation-play-state: paused; }
.credits dl { margin: 0; padding: 0 0 26px; display: flex; flex-direction: column; gap: 26px; text-align: center; }
.credits dt { font-family: var(--f-mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--bone-2); }
.credits dd { margin: 6px 0 0; font-family: var(--f-serif); font-style: italic; font-size: clamp(22px, 2vw, 30px); color: var(--bone); }
@keyframes roll { to { transform: translateY(-50%); } }
.kp { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 100px); align-items: center; }
.kp-vis { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: clamp(30px, 5vw, 70px); border: 1px solid rgba(239, 233, 222, .14); border-radius: 16px; background: radial-gradient(100% 100% at 50% 0%, #24211e, #121110); }
.kp-mark { width: min(220px, 60%); color: var(--bone); }
.kp-vis span { font-family: var(--f-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--bone-2); }
.kp .h2 { margin: 14px 0 18px; }
.kp-where { color: var(--bone-2); margin: 0 0 24px; }
.fd { display: grid; grid-template-columns: minmax(260px, .8fr) 1.2fr; gap: clamp(30px, 6vw, 100px); align-items: center; }
.fd-ph { position: relative; margin: 0; padding: 10px 10px 34px; background: #EFE9DE; border-radius: 4px; transform: rotate(-1.6deg); box-shadow: 0 50px 80px -40px rgba(0, 0, 0, .9); }
.fd-ph img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.fd-ph figcaption { position: absolute; left: 12px; right: 118px; bottom: 10px; font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: #6b645b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fd-ph::after { content: "MOTORE · 01A"; position: absolute; right: 12px; bottom: 10px; font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em; color: #E8A33D; }
.fd-q { margin: 22px 0 0; font-family: var(--f-serif); font-style: italic; font-size: clamp(25px, 2.6vw, 42px); line-height: 1.18; color: var(--bone); text-wrap: pretty; }
.fd-q::before { content: "\201C"; display: block; height: .5em; margin-bottom: .12em; font-size: 2.4em; line-height: .9; color: var(--rosso); }
.fd-who { margin-top: 28px; }
.fd-who b { display: block; font-size: 20px; }
.fd-who small { display: block; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--rosso); margin-top: 4px; }
.fd-bio { margin: 16px 0 0; max-width: 34em; color: var(--bone-2); }
@media (max-width: 900px) { .fd { grid-template-columns: 1fr; } .fd-ph { max-width: 360px; } }
@media (max-width: 1100px) { .stats-big { grid-template-columns: 1fr 1fr; } .days { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 900px) {
  .ab-crew, .kp { grid-template-columns: 1fr; }
  .days { grid-template-columns: 1fr; padding: 0 0 0 30px; }
  .days::before { left: 6px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; background: linear-gradient(180deg, var(--rosso), rgba(239, 233, 222, .2)); }
  .days::after { display: none; }
  .cs, .wall { margin-top: 34px; }
  .scene { min-height: 0; }
  .scene-bg::after { background: linear-gradient(0deg, rgba(13, 12, 11, .96) 30%, rgba(13, 12, 11, .55) 100%); }
  .scene-film { margin-left: 0; }
  .scene-logo { padding-left: 0; border-left: 0; }
  .credits { height: 360px; }
  .of-hero .stats { order: 4; } .of-hero .cs, .of-hero .wall { order: 7; }
}
@media (max-width: 600px) { .stats-big { gap: 20px; } }
@media (prefers-reduced-motion: reduce) {
  .mq-t, .credits-roll, .days::after, .q-p i, .q-live::before, .q-cur { animation: none; }
}

/* ============ The site-wide bar: the current page in rosso; the same links as a row in the phone menu ============ */
.nav ul a.site-l[aria-current="page"] { color: var(--rosso); }
.menu .menu-site { display: flex; flex-wrap: wrap; gap: 8px; margin: -6px 0 18px; }
.menu .menu-site a { padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 14px; opacity: 1; transform: none; animation: none; font-variation-settings: normal; text-transform: none; line-height: 1.2; }

/* /about, second round (24 Nov 2026): the wall of work, the four ways with pictures, the Keope Labs pyramid */
.wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; width: min(560px, 100%); justify-self: center; }
.wt { position: relative; margin: 0; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: #1a1917; box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .9);
  opacity: 0; transform: translateY(18px) scale(.97); animation: wt-in .9s var(--ease) forwards; }
.wt:nth-child(3n + 2) { margin-top: 26px; margin-bottom: -26px; }
.wt:nth-child(1) { animation-delay: .25s; } .wt:nth-child(2) { animation-delay: .35s; } .wt:nth-child(3) { animation-delay: .45s; }
.wt:nth-child(4) { animation-delay: .55s; } .wt:nth-child(5) { animation-delay: .65s; } .wt:nth-child(6) { animation-delay: .75s; }
.wt:nth-child(7) { animation-delay: .85s; } .wt:nth-child(8) { animation-delay: .95s; } .wt:nth-child(9) { animation-delay: 1.05s; }
@keyframes wt-in { to { opacity: 1; transform: none; } }
.wt video { width: 100%; height: 100%; object-fit: cover; display: block; }
.wt .kit-screen { position: absolute; inset: 0; aspect-ratio: auto; height: 100%; animation-duration: 30s; }
.wt figcaption { position: absolute; left: 7px; bottom: 7px; display: flex; gap: 6px; align-items: center; padding: 4px 8px; border-radius: 99px; background: rgba(13, 12, 11, .78);
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--bone); backdrop-filter: blur(4px); }
.wt figcaption b { font-weight: 500; color: var(--rosso); }
.ways { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.way { border: 1px solid rgba(239, 233, 222, .14); border-radius: 14px; overflow: hidden; background: #141311; }
.way-vis { position: relative; aspect-ratio: 4 / 3; background: #ECE8E1 center / cover no-repeat; overflow: hidden; transition: transform 1.2s var(--ease); }
.way:hover .way-vis { transform: scale(1.03); }
.way-web .kit-screen { position: absolute; inset: 0; aspect-ratio: auto; height: 100%; animation-duration: 34s; }
.way .n { display: block; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .12em; color: var(--rosso); padding: 18px 20px 0; }
.way h3 { font-variation-settings: "wdth" 112; font-weight: 700; font-size: 22px; margin: 6px 20px 8px; }
.way p { color: var(--bone-2); margin: 0 20px 22px; font-size: 15.5px; }
.kp-3d { position: relative; aspect-ratio: 1; border-radius: 16px; overflow: hidden; border: 1px solid rgba(239, 233, 222, .14);
  background: radial-gradient(120% 90% at 50% 0%, #17223a, #070a12 70%); touch-action: pan-y; }
.kp-3d canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.2s; }
.kp-3d.ready canvas { opacity: 1; }
.kp-eng { position: absolute; left: 50%; top: 50%; width: 62%; height: auto; transform: translate(-50%, -50%); border-radius: 8px; transition: opacity .9s; }
.kp-3d.ready .kp-eng { opacity: 0; }
.kp-hint { position: absolute; right: 16px; top: 14px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; color: rgba(239, 233, 222, .7); opacity: 0; transition: opacity .9s .6s; pointer-events: none; }
.kp-3d.ready .kp-hint { opacity: 1; }
.kp-cap { position: absolute; left: 16px; bottom: 14px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--bone); pointer-events: none; }
@media (max-width: 1100px) { .ways { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .ways { grid-template-columns: 1fr; } .wall { gap: 7px; } .wt:nth-child(3n + 2) { margin-top: 14px; margin-bottom: -14px; } .wt figcaption { font-size: 9px; padding: 3px 6px; } }

/* ---------- the landing page's menu bar is a strip of film (24 Nov 2026, the gate since 25 Nov) ----------
   One strip rolls across the whole bar, sprocket holes and all, one still per film. Shades darken it to a dim monochrome
   everywhere but the gate (--gl, --gw, --gr, set by halves.js in the free space between the switch and the links), where
   the frames show in colour; the middle shade is the shutter. Each frame is 76x44 in an 80 px cell, four holes to a frame
   like 35 mm. One strip, so nothing can drift out of step. */
.door-page .nav, .door-page .nav.scrolled { background: #000; backdrop-filter: none; -webkit-backdrop-filter: none; border-color: #1c1a18; }
.door-page .nav > :not(.nav-reel) { position: relative; z-index: 1; }
.door-page .nav ul a, .door-page .nav .lang { text-shadow: 0 0 12px #000, 0 0 4px #000; }
.door-page .nav .halves { background: rgba(0, 0, 0, .86); }
.door-page .nav .brand { filter: drop-shadow(0 0 10px #000); }
.nav-reel { position: absolute; inset: 0; z-index: 0; pointer-events: none; --gl: 50%; --gw: 0px; --gr: 50%; }
.fr-strip { position: absolute; inset: 0; overflow: hidden; pointer-events: auto; }
.fr-track { position: absolute; top: 0; bottom: 0; left: 0; display: flex; width: max-content;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='6'%3E%3Crect x='5' width='10' height='6' rx='1.4' fill='%23292522'/%3E%3C/svg%3E") 0 4px / 20px 6px repeat-x, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='6'%3E%3Crect x='5' width='10' height='6' rx='1.4' fill='%23292522'/%3E%3C/svg%3E") 0 calc(100% - 4px) / 20px 6px repeat-x; }
.nav-reel.run .fr-track { animation: fr-roll 100s linear infinite; }
@keyframes fr-roll { to { transform: translateX(-33.3333%); } }
.fr-set { display: flex; align-items: center; height: 100%; }
.fr { flex: none; display: block; width: 76px; height: calc(100% - 28px); margin: 0 2px; border-radius: 2px; overflow: hidden; background: #0d0c0b; cursor: pointer; }
.fr img { display: block; width: 100%; height: 100%; object-fit: cover; transition: filter .3s; }
.fr:hover img { filter: brightness(1.15) saturate(1.1); }
.fr:hover { outline: 1px solid rgba(239, 233, 222, .8); outline-offset: -1px; }
.fr:focus { outline: none; }
.fr-sh { position: absolute; top: 12px; bottom: 12px; pointer-events: auto; background: rgba(0, 0, 0, .91); -webkit-backdrop-filter: grayscale(1) sepia(.35); backdrop-filter: grayscale(1) sepia(.35); }
.fr-sh.l { left: 0; width: var(--gl); }
.fr-sh.r { right: 0; width: var(--gr); }
.fr-sh.m { left: calc(var(--gl) - 1px); width: calc(var(--gw) + 2px); transition: transform .9s cubic-bezier(.7, 0, .2, 1); }
.nav-reel.open .fr-sh.m { transform: scaleX(0); }
.fr-ap { position: absolute; top: 11px; bottom: 11px; left: calc(var(--gl) - 4px); width: calc(var(--gw) + 8px); opacity: 0; transform: scaleX(.6); transition: opacity .5s, transform .9s cubic-bezier(.7, 0, .2, 1);
  --c: rgba(239, 233, 222, .55); background-repeat: no-repeat;
  background-image: linear-gradient(var(--c), var(--c)), linear-gradient(var(--c), var(--c)), linear-gradient(var(--c), var(--c)), linear-gradient(var(--c), var(--c)),
    linear-gradient(var(--c), var(--c)), linear-gradient(var(--c), var(--c)), linear-gradient(var(--c), var(--c)), linear-gradient(var(--c), var(--c));
  background-size: 8px 1px, 1px 8px, 8px 1px, 1px 8px, 8px 1px, 1px 8px, 8px 1px, 1px 8px;
  background-position: 0 0, 0 0, 100% 0, 100% 0, 0 100%, 0 100%, 100% 100%, 100% 100%; }
.nav-reel.open .fr-ap { opacity: 1; transform: none; }
.fr-cap { position: absolute; top: calc(100% + 8px); left: calc(var(--gl) + var(--gw) / 2); transform: translate(-50%, -4px); padding: 6px 12px; border-radius: 999px; background: rgba(0, 0, 0, .82);
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--bone); white-space: nowrap; opacity: 0; transition: opacity .25s, transform .25s; }
.fr-cap::before { content: ""; display: inline-block; width: 0; height: 0; margin-right: 9px; border-style: solid; border-width: 4px 0 4px 7px; border-color: transparent transparent transparent var(--rosso); vertical-align: 0; }
.nav-reel.hold .fr-cap { opacity: 1; transform: translate(-50%, 0); }
.nav-reel.hold .fr-track { animation-play-state: paused; }
.door-page .half-count { transition: opacity .25s; }
.door-page:has(.nav-reel.hold) .half-count { opacity: 0; }
/* scrolled: the shutter closes and the film stops, so the bar is quiet while you read */
.door-page .nav.scrolled .nav-reel .fr-sh.m { transform: none; }
.door-page .nav.scrolled .nav-reel .fr-ap { opacity: 0; transform: scaleX(.6); }
.door-page .nav.scrolled .nav-reel .fr-cap { opacity: 0; }
.door-page .nav.scrolled .nav-reel .fr-track { animation-play-state: paused; }
.door-page .door { margin-top: 72px; height: calc(100vh - 72px); height: calc(100svh - 72px); min-height: 520px; }
.door-page .half-hud, .door-page .half-count { top: 24px; }
.door-page .half .corners { inset: 12px 18px 18px; }
@media (max-width: 900px) {
  .door-page .door { height: auto; }
  .door-page .half-how { padding-top: 0; }
  .door-page .half-how .half-hud { top: 18px; }
}
@media (prefers-reduced-motion: reduce) { .nav-reel.run .fr-track { animation: none; } .fr-sh.m, .fr-ap { transition: none; } }
