/* ==========================================================================
   Fonts (self-hosted) — same files Framer served
   ========================================================================== */

@font-face{font-family:"Antonio";src:url("../fonts/antonio-variable-latin-ext.woff2") format("woff2");font-display:swap;font-style:normal;font-weight:400;unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:"Antonio";src:url("../fonts/antonio-variable-latin.woff2") format("woff2");font-display:swap;font-style:normal;font-weight:400;unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:"Antonio";src:url("../fonts/antonio-variable-latin-ext.woff2") format("woff2");font-display:swap;font-style:normal;font-weight:700;unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:"Antonio";src:url("../fonts/antonio-variable-latin.woff2") format("woff2");font-display:swap;font-style:normal;font-weight:700;unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:"Instrument Serif";src:url("../fonts/instrument-serif-400-italic.woff2") format("woff2");font-display:swap;font-style:italic;font-weight:400}
@font-face{font-family:"Instrument Serif";src:url("../fonts/instrument-serif-400.woff2") format("woff2");font-display:swap;font-style:normal;font-weight:400}
@font-face{font-family:"Proxima Nova Bold";src:url("../fonts/proxima-nova-bold-700.woff2") format("woff2");font-display:swap;font-style:normal;font-weight:700}
@font-face{font-family:"Proxima Nova Semibold";src:url("../fonts/proxima-nova-semibold-600.woff2") format("woff2");font-display:swap;font-style:normal;font-weight:600}
@font-face{font-family:"Inter Display";src:url("../fonts/inter-display-400-latin-ext.woff2") format("woff2");font-display:swap;font-style:normal;font-weight:400;unicode-range:U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:"Inter Display";src:url("../fonts/inter-display-400-latin.woff2") format("woff2");font-display:swap;font-style:normal;font-weight:400;unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2070, U+2074-207E, U+2080-208E, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:"Inter Display";src:url("../fonts/inter-display-600-latin-ext.woff2") format("woff2");font-display:swap;font-style:normal;font-weight:600;unicode-range:U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:"Inter Display";src:url("../fonts/inter-display-600-latin.woff2") format("woff2");font-display:swap;font-style:normal;font-weight:600;unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2070, U+2074-207E, U+2080-208E, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:"Inter Display";src:url("../fonts/inter-display-700-latin-ext.woff2") format("woff2");font-display:swap;font-style:normal;font-weight:700;unicode-range:U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:"Inter Display";src:url("../fonts/inter-display-700-latin.woff2") format("woff2");font-display:swap;font-style:normal;font-weight:700;unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2070, U+2074-207E, U+2080-208E, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:"Inter";src:url("../fonts/inter-400-latin-ext.woff2") format("woff2");font-display:swap;font-style:normal;font-weight:400;unicode-range:U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:"Inter";src:url("../fonts/inter-400-latin.woff2") format("woff2");font-display:swap;font-style:normal;font-weight:400;unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2070, U+2074-207E, U+2080-208E, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:"Inter";src:url("../fonts/inter-700-latin-ext.woff2") format("woff2");font-display:swap;font-style:normal;font-weight:700;unicode-range:U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:"Inter";src:url("../fonts/inter-700-latin.woff2") format("woff2");font-display:swap;font-style:normal;font-weight:700;unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2070, U+2074-207E, U+2080-208E, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:"Inter";src:url("../fonts/inter-700-italic-latin-ext.woff2") format("woff2");font-display:swap;font-style:italic;font-weight:700;unicode-range:U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:"Inter";src:url("../fonts/inter-700-italic-latin.woff2") format("woff2");font-display:swap;font-style:italic;font-weight:700;unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2070, U+2074-207E, U+2080-208E, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:"Inter";src:url("../fonts/inter-400-italic-latin-ext.woff2") format("woff2");font-display:swap;font-style:italic;font-weight:400;unicode-range:U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:"Inter";src:url("../fonts/inter-400-italic-latin.woff2") format("woff2");font-display:swap;font-style:italic;font-weight:400;unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2070, U+2074-207E, U+2080-208E, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:"Inter";src:url("../fonts/inter-900-latin-ext.woff2") format("woff2");font-display:swap;font-style:normal;font-weight:900;unicode-range:U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:"Inter";src:url("../fonts/inter-900-latin.woff2") format("woff2");font-display:swap;font-style:normal;font-weight:900;unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2070, U+2074-207E, U+2080-208E, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:"Inter";src:url("../fonts/inter-900-italic-latin-ext.woff2") format("woff2");font-display:swap;font-style:italic;font-weight:900;unicode-range:U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:"Inter";src:url("../fonts/inter-900-italic-latin.woff2") format("woff2");font-display:swap;font-style:italic;font-weight:900;unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2070, U+2074-207E, U+2080-208E, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:"Inter";src:url("../fonts/inter-500-latin-ext.woff2") format("woff2");font-display:swap;font-style:normal;font-weight:500;unicode-range:U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:"Inter";src:url("../fonts/inter-500-latin.woff2") format("woff2");font-display:swap;font-style:normal;font-weight:500;unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2070, U+2074-207E, U+2080-208E, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:"Inter";src:url("../fonts/inter-300-latin-ext.woff2") format("woff2");font-display:swap;font-style:normal;font-weight:300;unicode-range:U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:"Inter";src:url("../fonts/inter-300-latin.woff2") format("woff2");font-display:swap;font-style:normal;font-weight:300;unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2070, U+2074-207E, U+2080-208E, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:"Inter";src:url("../fonts/inter-600-latin-ext.woff2") format("woff2");font-display:swap;font-style:normal;font-weight:600;unicode-range:U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:"Inter";src:url("../fonts/inter-600-latin.woff2") format("woff2");font-display:swap;font-style:normal;font-weight:600;unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2070, U+2074-207E, U+2080-208E, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:"Bebas Neue";src:url("../fonts/bebas-neue-400.woff2") format("woff2");font-display:swap;font-style:normal;font-weight:400}
@font-face{font-family:"Archivo";src:url("../fonts/archivo-500.woff2") format("woff2");font-display:swap;font-style:normal;font-weight:500}
@font-face{font-family:"Archivo";src:url("../fonts/archivo-400.woff2") format("woff2");font-display:swap;font-style:normal;font-weight:400}
@font-face{font-family:"Archivo";src:url("../fonts/archivo-700.woff2") format("woff2");font-display:swap;font-style:normal;font-weight:700}
@font-face{font-family:"Archivo";src:url("../fonts/archivo-700-italic.woff2") format("woff2");font-display:swap;font-style:italic;font-weight:700}
@font-face{font-family:"Archivo";src:url("../fonts/archivo-400-italic.woff2") format("woff2");font-display:swap;font-style:italic;font-weight:400}
@font-face{font-family:"Archivo";src:url("../fonts/archivo-500-italic.woff2") format("woff2");font-display:swap;font-style:italic;font-weight:500}
@font-face{font-family: "Antonio Placeholder"; src: local("Arial"); ascent-override: 137.73%; descent-override: 16.60%; line-gap-override: 0.00%; size-adjust: 83.85%}
@font-face{font-family: "Instrument Serif Placeholder"; src: local("Times New Roman"); ascent-override: 117.87%; descent-override: 36.91%; line-gap-override: 0.00%; size-adjust: 83.99%}
@font-face{font-family: "Proxima Nova Bold Placeholder"; src: local("Arial"); ascent-override: 89.73%; descent-override: 29.06%; line-gap-override: 0.00%; size-adjust: 102.53%}
@font-face{font-family: "Proxima Nova Semibold Placeholder"; src: local("Arial"); ascent-override: 91.04%; descent-override: 29.49%; line-gap-override: 0.00%; size-adjust: 101.05%}
@font-face{font-family: "Inter Display Placeholder"; src: local("Arial"); ascent-override: 98.56%; descent-override: 24.54%; line-gap-override: 0.00%; size-adjust: 98.29%}
@font-face{font-family: "Inter Placeholder"; src: local("Arial"); ascent-override: 89.79%; descent-override: 22.36%; line-gap-override: 0.00%; size-adjust: 107.89%}
@font-face{font-family: "Bebas Neue Placeholder"; src: local("Arial"); ascent-override: 116.72%; descent-override: 38.91%; line-gap-override: 0.00%; size-adjust: 77.11%}
@font-face{font-family: "Archivo Placeholder"; src: local("Arial"); ascent-override: 112.34%; descent-override: 41.50%; line-gap-override: 9.11%; size-adjust: 98.81%}


/* ==========================================================================
   Base — reset, design tokens, shared helpers
   (mirrors the global rules of the original Framer site)
   Breakpoints used everywhere:
     desktop  ≥ 1440px            (base rules, no media query)
     tablet   810px – 1439.98px   @media (min-width: 810px) and (max-width: 1439.98px)
     phone    ≤ 809.98px          @media (max-width: 809.98px)
   Text presets switch at 1199px:  @media (min-width: 810px) and (max-width: 1199px)
                                   @media (max-width: 809px)
   ========================================================================== */

:root {
  /* colours */
  --c-bg: #060606;
  --c-white: #fff;
  --c-white-80: rgba(255, 255, 255, 0.8);
  --c-white-50: rgba(255, 255, 255, 0.5);
  --c-white-30: rgba(255, 255, 255, 0.3);
  --c-white-20: rgba(255, 255, 255, 0.2);
  --c-white-15: rgba(255, 255, 255, 0.15);
  --c-white-10: rgba(255, 255, 255, 0.1);
  --c-white-3: rgba(255, 255, 255, 0.03);
  --c-white-0: rgba(255, 255, 255, 0);
  --c-black: #000;
  --c-transparent: rgba(0, 0, 0, 0);
  --c-gray-49: #494949;
  --c-gray: #808080;
  --c-gray-bb: #bbb;
  --c-gray-66: #666;
  --c-gray-33: #333;
  --c-ink-0f: #0f0f0f;
  --c-ink-15: #151515;
  --c-purple: #ac05ff;
  /* theme-dependent (these three follow prefers-color-scheme, like the original) */
  --c-surface: #fff;
  --c-surface-ink: #303030;
  --c-surface-alt: #fff;

  --font-inter: "Inter", "Inter Placeholder", sans-serif;
  --font-inter-display: "Inter Display", "Inter Display Placeholder", sans-serif;
  --font-antonio: "Antonio", "Antonio Placeholder", sans-serif;
  --font-bebas: "Bebas Neue", "Bebas Neue Placeholder", sans-serif;
  --font-archivo: "Archivo", "Archivo Placeholder", sans-serif;
  --font-serif: "Instrument Serif", "Instrument Serif Placeholder", serif;
  --font-proxima-bold: "Proxima Nova Bold", "Proxima Nova Bold Placeholder", sans-serif;
  --font-proxima-semibold: "Proxima Nova Semibold", "Proxima Nova Semibold Placeholder", sans-serif;
  /* OpenType features Framer enables on Inter Display text */
  --ot-inter-display: 'blwf' on, 'cv09' on, 'cv03' on, 'cv04' on, 'cv11' on;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
@media (prefers-color-scheme: dark) {
  :root { --c-surface: #303030; --c-surface-ink: #fff; --c-surface-alt: #1a1a1b; }
}

/* ---- reset (same as Framer) ---- */
html, body { box-sizing: border-box; margin: 0; padding: 0; }
* { box-sizing: border-box; -webkit-font-smoothing: inherit; }
h1, h2, h3, h4, h5, h6, p, figure { margin: 0; }
body, input, textarea, select, button { font-family: sans-serif; font-size: 12px; }
html body { background: var(--c-bg); }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { background: none; border: 0; padding: 0; color: inherit; cursor: pointer; }
img, svg { display: block; }
svg { overflow: visible; }

/* Text defaults of Framer text layers (Inter 16px, line-height 1.2em, black) */
.t {
  font-family: var(--font-inter);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2em;
  color: #000;
  margin: 0;
  padding: 0;
}

/* Hide scrollbars everywhere & disable overscroll bounce (original "ScrollbarHider") */
html::-webkit-scrollbar, body::-webkit-scrollbar, *::-webkit-scrollbar {
  display: none !important; width: 0 !important; height: 0 !important; background: transparent !important;
}
html, body, * { scrollbar-width: none !important; -ms-overflow-style: none !important; }
html, body { overscroll-behavior: none !important; }

/* Lenis smooth scroll */
html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-scrolling iframe { pointer-events: none; }

/* ---- helpers ---- */
/* Image that fills its (positioned) parent, like Framer's background images */
.fill {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  border-radius: inherit;
  object-fit: cover;
  object-position: center;
}
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Page wrapper (Framer page root) */
.page {
  background-color: var(--c-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  width: 100%;
  position: relative;
  overflow-x: clip; /* the original can be panned sideways on tablets (overflowing layers) — not reproduced */
}

/* Visibility per breakpoint (Framer "hidden on …") */
@media (min-width: 1440px) { .hide-desktop { display: none !important; } }
@media (min-width: 810px) and (max-width: 1439.98px) { .hide-tablet { display: none !important; } }
@media (max-width: 809.98px) { .hide-phone { display: none !important; } }

/* <main> is only a semantic wrapper: its sections are direct flex items of .page (as in Framer) */
.main { display: contents; }


/* ==========================================================================
   00-preloader
   ========================================================================== */
/* ==========================================================================
   Preloader (original: LogoPreloader code component)
   All phases use the original 0.7s cubic-bezier(.7,.2,.2,1) transitions:
     initial    backdrop visible, logo 80px below its place and transparent
     .is-in     logo in place, opaque                       (+50ms)
     .is-out    logo 80px above its place and transparent,  (+1550ms)
                backdrop fading out
   ========================================================================== */
.preloader {
  position: fixed;
  inset: 0 -5px 0 -4px;          /* same (slightly overscanned) box as the original */
  /* original z-index is 10 (8 on phones), but there the preloader came AFTER the
     header in the DOM: +1 keeps the same stacking against the header (z 10) */
  z-index: 11;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: url("../img/preloader-bg.webp") center / cover no-repeat;
  transition: opacity .7s cubic-bezier(.7, .2, .2, 1);
  /* fail-safe: if the script never takes over, fade out and get out of the way */
  animation: preloader-failsafe .7s cubic-bezier(.7, .2, .2, 1) 4s forwards;
}
.preloader.is-js { animation: none; }
.preloader.is-out { opacity: 0; }

.preloader__logo {
  position: relative;
  z-index: 1;
  flex: none;
  width: 80px;
  height: 80px;
  object-fit: contain;
  opacity: 0;
  transform: translateY(80px);
  transition: all .7s cubic-bezier(.7, .2, .2, 1);
  will-change: transform, opacity;
  -webkit-user-select: none;
  user-select: none;
  pointer-events: none;
}
.preloader.is-in .preloader__logo { opacity: 1; transform: translateY(0); }
.preloader.is-out .preloader__logo { opacity: 0; transform: translateY(-80px); }

@keyframes preloader-failsafe {
  to { opacity: 0; visibility: hidden; }
}

/* phone: smaller logo, lighter backdrop on 1x screens; the header (z 10) stays above
   the preloader, like the original (z 8) */
@media (max-width: 809.98px) {
  .preloader {
    z-index: 9;
    background-image: url("../img/preloader-bg-828.webp");
    background-image: image-set(url("../img/preloader-bg-828.webp") 1x, url("../img/preloader-bg.webp") 2x);
  }
  .preloader__logo { width: 70px; height: 70px; }
}


/* ==========================================================================
   01-components
   ========================================================================== */
/* ==========================================================================
   Shared text presets (Framer "text styles") + shared small components.
   Preset → original Framer id (for reference when reading the original code):
     .tp-bebas-64            = framer-styles-preset-zzm1b0
     .tp-bebas-48-spaced     = framer-styles-preset-zhck49
     .tp-bebas-128           = framer-styles-preset-w1fhgw
     .tp-bebas-48            = framer-styles-preset-13a1yhw
     .tp-archivo-24          = framer-styles-preset-116vlez
     .tp-bebas-200           = framer-styles-preset-rmd6cv
     .tp-archivo-18          = framer-styles-preset-1lvzddy
     .tp-bebas-240           = framer-styles-preset-10o15hk
     .tp-archivo-16-medium   = framer-styles-preset-l5sng3
     .tp-archivo-16          = framer-styles-preset-1xgs2tz
     .tp-archivo-32          = framer-styles-preset-19c3epq
   NOTE: most presets change size at 1199px (not at the 1439px layout breakpoint),
   exactly like the original.
   ========================================================================== */

/* tp-bebas-64 */
.tp-bebas-64 {
  font-family: "Bebas Neue", "Bebas Neue Placeholder", sans-serif;
  font-feature-settings: var(--ot-inter-display);
  font-size: 64px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: -3.2px;
  line-height: 64px;
  color: var(--c-white);
}

@media (min-width: 810px) and (max-width: 1199px) {
  .tp-bebas-64 {
    font-size: 51px;
    letter-spacing: -2.4px;
    line-height: 51px;
  }
}

@media (max-width: 809px) {
  .tp-bebas-64 {
    font-size: 33px;
    letter-spacing: -1.4px;
    line-height: 33px;
  }
}

/* tp-bebas-48-spaced */
.tp-bebas-48-spaced {
  font-family: "Bebas Neue", "Bebas Neue Placeholder", sans-serif;
  font-feature-settings: var(--ot-inter-display);
  font-size: 48px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 48px;
  line-height: 52px;
  color: var(--c-white);
}

@media (min-width: 810px) and (max-width: 1199px) {
  .tp-bebas-48-spaced {
    font-size: 38px;
    letter-spacing: 38px;
    line-height: 42px;
  }
}

@media (max-width: 809px) {
  .tp-bebas-48-spaced {
    font-size: 32px;
    letter-spacing: 32px;
    line-height: 36px;
  }
}

/* tp-bebas-128 */
.tp-bebas-128 {
  font-family: "Bebas Neue", "Bebas Neue Placeholder", sans-serif;
  font-feature-settings: var(--ot-inter-display);
  font-size: 128px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: -6.4px;
  line-height: 128px;
  color: var(--c-white);
}

@media (min-width: 810px) and (max-width: 1439px) {
  .tp-bebas-128 {
    font-size: 98px;
    letter-spacing: -4.8px;
    line-height: 98px;
  }
}

@media (max-width: 809px) {
  .tp-bebas-128 {
    font-size: 72px;
    letter-spacing: -3.2px;
    line-height: 72px;
  }
}

/* tp-bebas-48 */
.tp-bebas-48 {
  font-family: "Bebas Neue", "Bebas Neue Placeholder", sans-serif;
  font-feature-settings: var(--ot-inter-display);
  font-size: 48px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: -2px;
  line-height: 52px;
  color: var(--c-white);
}

@media (min-width: 810px) and (max-width: 1199px) {
  .tp-bebas-48 {
    font-size: 40px;
    letter-spacing: -1.4px;
    line-height: 44px;
  }
}

@media (max-width: 809px) {
  .tp-bebas-48 {
    font-size: 31px;
    letter-spacing: -1.2px;
    line-height: 35px;
  }
}

/* tp-archivo-24 */
.tp-archivo-24 {
  font-family: "Archivo", "Archivo Placeholder", sans-serif;
  font-feature-settings: var(--ot-inter-display);
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0px;
  line-height: 32px;
  color: var(--c-gray);
}

/* tp-bebas-200 */
.tp-bebas-200 {
  font-family: "Bebas Neue", "Bebas Neue Placeholder", sans-serif;
  font-feature-settings: var(--ot-inter-display);
  font-size: 200px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: -10px;
  line-height: 200px;
  color: var(--c-white);
}

@media (min-width: 810px) and (max-width: 1199px) {
  .tp-bebas-200 {
    font-size: 128px;
    letter-spacing: -6px;
    line-height: 120px;
  }
}

@media (max-width: 809px) {
  .tp-bebas-200 {
    font-size: 76px;
    letter-spacing: -4px;
    line-height: 76px;
  }
}

/* tp-archivo-18 */
.tp-archivo-18 {
  font-family: "Archivo", "Archivo Placeholder", sans-serif;
  font-feature-settings: var(--ot-inter-display);
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0px;
  line-height: 28px;
  color: var(--c-white);
}

/* tp-bebas-240 */
.tp-bebas-240 {
  font-family: "Bebas Neue", "Bebas Neue Placeholder", sans-serif;
  font-feature-settings: var(--ot-inter-display);
  font-size: 240px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: -12px;
  line-height: 240px;
  color: var(--c-white);
}

@media (min-width: 810px) and (max-width: 1199px) {
  .tp-bebas-240 {
    font-size: 163px;
    letter-spacing: -8px;
    line-height: 163px;
  }
}

@media (max-width: 809px) {
  .tp-bebas-240 {
    font-size: 80px;
    letter-spacing: -3.6px;
    line-height: 80px;
  }
}

/* tp-archivo-16-medium */
.tp-archivo-16-medium {
  font-family: "Archivo", "Archivo Placeholder", sans-serif;
  font-feature-settings: var(--ot-inter-display);
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0px;
  line-height: 24px;
  color: var(--c-black);
}

/* tp-archivo-16 */
.tp-archivo-16 {
  font-family: "Archivo", "Archivo Placeholder", sans-serif;
  font-feature-settings: var(--ot-inter-display);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0px;
  line-height: 24px;
  color: var(--c-black);
}

/* tp-archivo-32 */
.tp-archivo-32 {
  font-family: "Archivo", "Archivo Placeholder", sans-serif;
  font-feature-settings: var(--ot-inter-display);
  font-size: 32px;
  font-style: normal;
  font-weight: 500;
  letter-spacing: -.32px;
  line-height: 40px;
  color: var(--c-white);
}


/* ---- SubTitle pill (e.g. "About Me" + "01") ---- */
.pill-group {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: min-content;
  overflow: hidden;
}

.pill {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: min-content;
  height: min-content;
  flex: none;
  position: relative;
  padding: 4px 16px;
  background-color: var(--c-white);
  border-radius: 100px;
  white-space: pre;
}

.pill--num {
  padding: 4px 7px;
  border-radius: 1000px;
}

.pill>span {
  display: block;
  flex: none;
  position: relative;
  white-space: pre;
}


/* ==========================================================================
   01-nav
   ========================================================================== */
/* ==========================================================================
   Header / navigation
   Framer: layout-template slot .framer-cxmqfo-container → Header Section m1zrGZmzG
     Desktop        logo + title · pill menu · primary button, in the page flow (95px)
     Mobile Closed  (tablet, phone) fixed bar, blurred, 1px bottom line, hamburger
     Mobile Open    (.nav.is-open) darker bar, vertical menu + button below the logo row
   Sub-components: Navigation qfpNOCEWi (pill / vertical list), Menu Item NwZqpsgbJ
   (Primary = white pill, Secondary = grey text), Primary Button OozYLfcpO,
   Mobile Menu Icon FapOB1jCw, Arrow Right HoKrrnQcM.
   ========================================================================== */
.nav {
  /* Framer transitions as CSS timing functions (springs sampled with the Motion maths) */
  /* header variants {stiffness 500, damping 60}: layout (animated 0→1000, rest 0.5) … */
  --nav-ease-layout: linear(0, 0.0475, 0.1436, 0.2504, 0.3525, 0.4445, 0.5251, 0.5948, 0.6545, 0.7056, 0.7492, 0.7864, 0.8181, 0.8451, 0.8681, 0.8876, 0.9043, 0.9185, 0.9306, 0.9409, 0.9497, 0.9571, 0.9635, 0.9689, 0.9735, 0.9774, 0.9808, 0.9836, 0.9861, 0.9881, 0.9899, 0.9914, 0.9927, 0.9938, 0.9947, 0.9955, 0.9961, 0.9967, 0.9972, 0.9976, 0.998, 0.9983, 0.9985, 0.9987, 0.9989, 0.9991, 0.9992, 0.9993, 0.9994, 0.9995, 0.9996, 0.9997, 0.9997, 0.9997, 0.9998, 1);
  --nav-dur-layout: .883s;
  /* … colour / blur (animated 0→100) … */
  --nav-ease-style: linear(0, 0.0464, 0.1409, 0.2463, 0.3475, 0.439, 0.5193, 0.5889, 0.6488, 0.7001, 0.744, 0.7815, 0.8135, 0.8408, 0.8642, 0.8841, 0.9011, 0.9156, 0.928, 0.9385, 0.9475, 0.9552, 0.9618, 0.9674, 0.9722, 0.9763, 0.9797, 0.9827, 0.9852, 0.9874, 0.9893, 0.9908, 0.9922, 0.9933, 0.9943, 0.9951, 0.9958, 0.9965, 0.997, 0.9974, 0.9978, 1);
  --nav-dur-style: .65s;
  /* … corner radius (animated 0→20px) */
  --nav-ease-radius: linear(0, 0.0478, 0.1445, 0.2518, 0.3542, 0.4464, 0.5271, 0.5967, 0.6564, 0.7074, 0.7509, 0.788, 0.8196, 0.8464, 0.8693, 0.8888, 0.9053, 0.9194, 0.9314, 0.9417, 0.9503, 0.9577, 0.964, 0.9694, 0.974, 0.9778, 0.9811, 0.9839, 0.9863, 0.9884, 0.9901, 1);
  --nav-dur-radius: .5s;
  /* menu icon {bounce .4, duration 1s} */
  --nav-ease-icon: linear(0, 0.0143, 0.0531, 0.1106, 0.1818, 0.2621, 0.3475, 0.4347, 0.521, 0.6042, 0.6825, 0.7547, 0.82, 0.8779, 0.9282, 0.9709, 1.0064, 1.0349, 1.0571, 1.0735, 1.0848, 1.0915, 1.0945, 1.0943, 1.0916, 1.0868, 1.0805, 1.0732, 1.0653, 1.0571, 1.0488, 1.0408, 1.0332, 1.0261, 1.0196, 1.0138, 1.0087, 1.0044, 1.0007, 0.9978, 0.9954, 0.9936, 0.9924, 0.9915, 0.9911, 0.991, 0.9912, 0.9916, 0.9921, 0.9928, 0.9935, 0.9943, 0.995, 0.9958, 0.9966, 0.9973, 0.9979, 0.9985, 0.999, 0.9994, 0.9998, 1.0001, 1.0003, 1);
  /* primary button {bounce 0, duration 1s} */
  --nav-ease-cta: linear(0, 0.0097, 0.0354, 0.0725, 0.1174, 0.1673, 0.22, 0.2738, 0.3274, 0.3799, 0.4306, 0.479, 0.5248, 0.5678, 0.6079, 0.645, 0.6794, 0.711, 0.7399, 0.7663, 0.7903, 0.8122, 0.832, 0.8498, 0.8659, 0.8805, 0.8935, 0.9052, 0.9157, 0.9251, 0.9335, 0.941, 0.9477, 0.9537, 0.959, 0.9637, 0.9679, 0.9716, 0.975, 0.9779, 0.9805, 0.9828, 0.9848, 0.9866, 0.9882, 0.9896, 0.9909, 0.992, 0.9929, 0.9938, 0.9945, 0.9952, 0.9958, 0.9963, 0.9967, 0.9971, 0.9975, 0.9978, 0.9981, 0.9983, 0.9985, 0.9987, 0.9989, 1);
  /* vertical menu item hover scale {bounce .2, duration .4s} */
  --nav-ease-item: linear(0, 0.0533, 0.1755, 0.3245, 0.474, 0.6093, 0.7234, 0.8145, 0.8838, 0.9341, 0.9688, 0.9913, 1.0049, 1.012, 1.0148, 1.015, 1.0136, 1.0115, 1.0092, 1.007, 1.0051, 1.0035, 1.0023, 1.0014, 1.0007, 1);
  /* menu item colours: tween .45s */
  --nav-ease-link: cubic-bezier(.44, 0, .56, 1);

  position: relative;
  z-index: 10;
  flex: none;
  width: 100%;
  max-width: 1920px;
  will-change: transform;
}

/* ---- bar (Header Section root) ---- */
.nav__bar {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  padding: 0 72px;
  background-color: rgba(0, 0, 0, 0);
}
.nav__container {
  position: relative;
  flex: none;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  overflow: hidden;
}

/* logo + "Haise Portfolio" */
.nav__left {
  position: relative;
  flex: none;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 230px;
  height: 95px;
}
.nav__logo {
  position: relative;
  flex: none;
  width: 37px;
  height: 37px;
  object-fit: cover;
}
.nav__title {
  position: relative;
  flex: none;
  display: flex;             /* text box, vertically centred (the line box overflows it) */
  flex-direction: column;
  justify-content: center;
  width: 74%;
  height: 25%;
  font-family: var(--font-proxima-bold);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.07px;
  line-height: 1.2em;
  color: var(--c-white);
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: break-word;
}

/* ---- hamburger (tablet / phone only) ---- */
.nav__toggle { display: none; }
.nav__toggle-line {
  position: absolute;
  height: 2px;
  border-radius: 2px;
  background-color: var(--c-white);
  transition:
    left 1s var(--nav-ease-icon), top 1s var(--nav-ease-icon),
    width 1s var(--nav-ease-icon), transform 1s var(--nav-ease-icon);
}
.nav__toggle-line--1 { top: 0; left: 0; width: 24px; }
.nav__toggle-line--2 { top: 9px; left: 0; width: 34px; }
.nav__toggle-line--3 { top: 18px; left: 10px; width: 24px; }
/* open → "X" (the middle line is removed) */
.nav.is-open .nav__toggle-line--1 { top: 9px; left: 5px; transform: rotate(45deg); }
.nav.is-open .nav__toggle-line--2 { display: none; }
.nav.is-open .nav__toggle-line--3 { top: 9px; left: 5px; transform: rotate(-45deg); }

/* ---- menu: pill (desktop) / card (tablet, phone) ---- */
.nav__menu {
  position: relative;
  flex: none;
  padding: 3px 8px;
  overflow: hidden;
  background-color: var(--c-ink-15);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-radius: 100px;
  cursor: pointer;
}
.nav__list {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0;
}
.nav__item {
  position: relative;
  flex: none;
}
.nav__link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7px 27px;
  overflow: hidden;
  white-space: pre;
  border-radius: 100px;
  background-color: rgba(0, 0, 0, 0);   /* Secondary */
  color: var(--c-gray);
  transition: background-color .45s var(--nav-ease-link), color .45s var(--nav-ease-link);
}

/* ---- primary button "Parla con Me" ---- */
.nav__cta {
  position: relative;
  flex: none;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  padding: 4px 4px 4px 20px;
  overflow: hidden;
  border-radius: 100px;
  background: linear-gradient(150deg, #fff 0%, #fff 100%);
  background-color: var(--c-white);
  cursor: pointer;
}
.nav__cta-text {
  position: relative;
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.nav__cta-label {
  position: relative;
  flex: none;
  white-space: pre;
  color: var(--c-black);
  transform: translateY(0) scale(1);
  transition: transform 1s var(--nav-ease-cta);
}
.nav__cta-label--2 {            /* copy waiting 40px below (hidden by the button) */
  position: absolute;
  top: 0;
  left: 0;
  transform: translateY(40px);
}
.nav__cta-icon {
  position: relative;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 8px;
  overflow: hidden;
  background-color: var(--c-black);
  border-radius: 100px;
}
.nav__cta-arrow {
  position: relative;
  flex: none;
  width: 20px;
  height: 20px;
  overflow: hidden;
  transition: transform 1s var(--nav-ease-cta);
}
.nav__cta-arrow--2 {            /* second arrow waiting on the left (hidden by the circle) */
  position: absolute;
  z-index: 1;
  top: 8px;
  left: 8px;
  transform: translateX(-28px);
}
/* hover (mouse only): purple gradient (instant, like the original), the label slides
   up and shrinks while its white copy rises in, the arrow leaves right as a new one enters */
@media (hover: hover) {
  .nav__cta:hover { background: linear-gradient(150deg, rgb(123, 0, 255) 0%, rgb(183, 0, 255) 100%); }
  .nav__cta:hover .nav__cta-label--1 { transform: translateY(-40px) scale(.8); }
  .nav__cta:hover .nav__cta-label--2 { transform: translateY(0); color: var(--c-white); }
  .nav__cta:hover .nav__cta-arrow--1 { transform: translateX(28px); }
  .nav__cta:hover .nav__cta-arrow--2 { transform: translateX(0); }
}

/* ==========================================================================
   Desktop only: the active page is the white "Primary" pill item
   ========================================================================== */
@media (min-width: 1440px) {
  .nav__link.is-active { background-color: var(--c-white); color: var(--c-black); }
}
@media (hover: hover) {
  .nav__link:hover { color: var(--c-white); }
}
@media (hover: hover) and (min-width: 1440px) {
  .nav__link.is-active:hover { color: var(--c-black); }
}

/* ==========================================================================
   Tablet + phone: fixed bar ("Mobile Closed" / "Mobile Open")
   ========================================================================== */
@media (max-width: 1439.98px) {
  .nav {
    position: fixed;
    top: 0;
    left: 0;
  }
  .nav__bar {
    flex-direction: row;
    align-items: flex-start;
    height: 74px;
    padding: 24px;
    overflow: hidden;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-radius: 0;
    transition:
      height var(--nav-dur-layout) var(--nav-ease-layout),
      background-color var(--nav-dur-style) var(--nav-ease-style),
      -webkit-backdrop-filter var(--nav-dur-style) var(--nav-ease-style),
      backdrop-filter var(--nav-dur-style) var(--nav-ease-style),
      border-bottom-left-radius var(--nav-dur-radius) var(--nav-ease-radius),
      border-bottom-right-radius var(--nav-dur-radius) var(--nav-ease-radius);
  }
  .nav__bar::after {                      /* 1px bottom line */
    content: "";
    position: absolute;
    inset: 0;
    border-bottom: 1px solid var(--c-white-10);
    border-radius: inherit;
    pointer-events: none;
  }
  .nav.is-open .nav__bar {
    height: 425px;                        /* = its content: 24 + 95 + 40 + 158 + 40 + 44 + 24 */
    overflow: visible;
    background-color: rgba(5, 5, 5, .76);
    -webkit-backdrop-filter: blur(29px);
    backdrop-filter: blur(29px);
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
  }
  .nav__container {
    flex: 1 0 0px;
    width: 1px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 40px;
  }
  .nav__left {
    width: 100%;
    height: 47px;
    justify-content: space-between;
    gap: 0;
    transition: height var(--nav-dur-layout) var(--nav-ease-layout);
  }
  .nav.is-open .nav__left { height: 95px; }
  .nav__title { font-size: 18px; text-align: left; }

  .nav__toggle {
    display: block;
    position: relative;
    flex: none;
    width: 34px;
    height: 20px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0);
    cursor: pointer;
  }

  /* vertical menu card */
  .nav__menu {
    width: 100%;
    padding: 16px;
    overflow: visible;
    border-radius: 24px;
  }
  .nav__menu::after {                     /* 1px border */
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid var(--c-white-20);
    border-radius: inherit;
    pointer-events: none;
  }
  .nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .nav__item {
    will-change: transform;
    transition: transform .4s var(--nav-ease-item);
  }
  .nav__item--progetti { order: 1; }      /* Home · Progetti · About, as in the original */
  .nav__item--about { order: 2; }

  /* closed: the menu and the button are clipped by the bar; also take them out of
     the tab order once the closing animation is over */
  .nav__menu,
  .nav__cta {
    visibility: hidden;
    transition: visibility 0s linear var(--nav-dur-layout);
  }
  .nav.is-open .nav__menu,
  .nav.is-open .nav__cta {
    visibility: visible;
    transition-delay: 0s;
  }
}
@media (hover: hover) and (max-width: 1439.98px) {
  .nav__item:hover { transform: scale(1.1); }
  .nav:not(.is-open) .nav__toggle:hover .nav__toggle-line--1 { width: 34px; }
  .nav:not(.is-open) .nav__toggle:hover .nav__toggle-line--3 { left: 0; width: 34px; }
}

/* phone: the bar is 102px high in both states (the open menu overflows it) */
@media (max-width: 809.98px) {
  .nav { height: 102px; }
  .nav__bar,
  .nav.is-open .nav__bar { height: 100%; }
}


/* ==========================================================================
   02-hero
   ========================================================================== */
/* ==========================================================================
   Hero section
   Desktop: sticky (top 0) with a 110% scroll-speed parallax (fx.js); the About
   section (z-index 1, opaque) slides over it. Tablet / phone: normal flow.
   Layer order: bg photo → aurora (z 0) → mockup → content (role line z 1).
   ========================================================================== */
.hero {
  position: sticky;
  top: 0;
  z-index: 1;
  flex: none;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  width: 100%;
  max-width: 1920px;
  height: min-content;
  padding: 120px 72px 54px;
  overflow: visible;
  will-change: transform; /* set by the parallax effect (desktop only) */
}

/* ---- background layers ---- */
.hero__bg {
  position: absolute;
  top: -.0564963%;   /* values as served by the original (rounded → same sub-pixel layout) */
  left: 0%;
  flex: none;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.hero__aurora { /* WebGL canvas host (assets/js/aurora.js) */
  position: absolute;
  top: -.0575364%;
  left: 0%;
  z-index: 0;
  flex: none;
  width: 100%;
  height: 100%;
  overflow: hidden;
  will-change: transform;
}
.hero__mockup {
  position: absolute;
  top: 0%;
  left: calc(51.0417% - 422.5px);
  flex: none;
  width: 845px;
  height: 106%;
  overflow: hidden;
  will-change: transform;
}

/* ---- content ---- */
.hero__container {
  position: relative;
  flex: 1 0 0px;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0;
  width: 1px;
  height: min-content;
  padding: 0;
  overflow: visible;
}

/* "Full Stack Marketing & Brand Manager" — floats over the bottom of "Haise" */
.hero__role {
  position: absolute;
  top: 256px;
  left: 0;
  z-index: 1;
  flex: none;
  width: 1086px;
  height: auto;
  margin: 0;
  font-family: var(--font-inter-display);
  font-feature-settings: var(--ot-inter-display);
  font-size: 35px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: -1.15px;
  line-height: 28px;
  color: rgba(255, 255, 255, 0.51);
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: break-word;
}
.hero__role strong { font-weight: 600; }

/* Top row: name + brand (left) · services slider (right) */
.hero__top {
  position: relative;
  flex: none;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  width: 100%;
  height: min-content;
  padding: 0;
  overflow: hidden;
  will-change: transform;
}
.hero__title {
  position: relative;
  z-index: 1;
  flex: 1 0 0px;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  width: 1px;
  height: min-content;
  margin: 0;
  padding: 0;
  overflow: hidden;
  font-weight: 400;
}
.hero__name,
.hero__brand {
  position: relative;
  flex: none;
  display: block;
  width: 100%;
  height: auto;
  font-feature-settings: var(--ot-inter-display);
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: break-word;
}
.hero__name {
  font-family: var(--font-inter-display);
  font-size: 53px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 64px;
  color: var(--c-white-30);
}
.hero__brand {
  font-family: var(--font-serif);
  font-size: 200px;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -10px;
  line-height: 200px;
  color: var(--c-white);
}

.hero__services {
  position: relative;
  z-index: 1;
  flex: none;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 14px;
  width: min-content;
  height: min-content;
  padding: 0;
  overflow: hidden;
}

/* Services slider ("Hero Slider"): 5 right-aligned items, the active one is bigger and white.
   Transitions between items are driven by js/02-hero.js. */
.hero-slider {
  position: relative;
  flex: none;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
  width: 210px;
  height: min-content;
  margin: 0;
  padding: 0;
  overflow: clip;
}
.hero-slider__item {
  position: relative;
  flex: none;
  width: auto;
  height: auto;
  font-family: var(--font-archivo);
  font-feature-settings: var(--ot-inter-display);
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 32px;
  color: var(--c-gray);
  white-space: pre;
}
.hero-slider__item.is-active {
  font-size: 25px;
  font-weight: 500;
  color: var(--c-white);
}

/* Center: logo + "© 2026" */
.hero__center {
  position: relative;
  flex: none;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0;
  width: 100%;
  height: min-content;
  padding: 75px 0 0;
  overflow: visible;
  will-change: transform;
}
.hero__logo {
  position: absolute;
  top: 27px;
  left: 1155px;
  z-index: 1;
  flex: none;
  width: 107px;
  height: 106px;
  overflow: hidden;
}
.hero__year {
  position: relative;
  flex: 1 0 0px;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 0;
  width: 1px;
  height: min-content;
  margin: 0;
  padding: 0;
  overflow: visible;
}
.hero__copy { /* "©" (text preset .tp-bebas-64) */
  position: relative;
  z-index: 1;
  flex: none;
  display: block;
  width: auto;
  height: auto;
  text-align: right;
  white-space: pre;
}
.hero__num { /* "2026" */
  --num-lh: 240px;
  position: relative;
  z-index: 1;
  flex: none;
  display: block;
  width: 100%;
  height: auto;
  font-family: var(--font-bebas);
  font-feature-settings: var(--ot-inter-display);
  font-size: 225px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: -12px;
  line-height: var(--num-lh);
  text-align: right;
  color: var(--c-white);
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: break-word;
}
.hero__num-fill { /* gradient-filled text (Framer "text fill"), padded to 1.3em so the fill covers the glyphs */
  display: inline-block;
  padding: max(0em, calc((1.3em - var(--num-lh)) / 2));
  margin: min(0em, calc((1.3em - var(--num-lh)) / -2));
  background-image: linear-gradient(180deg, var(--c-white-30) 0%, var(--c-white-0) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Bottom: "Let's [avatar] BEGIN" */
.hero__bottom {
  position: relative;
  flex: none;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-evenly;
  width: 100%;
  height: min-content;
  margin: 0;
  padding: 0;
  overflow: hidden;
  will-change: transform;
}
.hero__word { /* text preset .tp-bebas-48-spaced */
  position: relative;
  flex: none;
  display: block;
  width: auto;
  height: auto;
  white-space: pre;
}
.hero__pill {
  position: relative;
  flex: 1 0 0px;
  display: block;
  width: 1px;
  max-width: 133px;
  height: 42px;
  overflow: hidden;
  border-radius: 100px;
  box-shadow: 0 0 20px 0 rgba(221, 0, 255, 0.4);
  will-change: transform;
}
.hero__pill::after { /* 1px border drawn inside, like Framer's data-border */
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  border: 1px solid var(--c-white-10);
  border-radius: inherit;
  pointer-events: none;
}

/* ---- tablet ---- */
@media (min-width: 810px) and (max-width: 1439.98px) {
  .hero {
    position: relative;
    top: auto;
    padding: 120px 30px 54px;
    will-change: auto;
  }
  .hero__mockup {
    top: 14.3347%;
    left: calc(59.8765% - 364.5px);
    width: 729px;
    height: 91%;
  }
  .hero__brand { font-size: 160px; letter-spacing: -8px; line-height: 160px; }
  .hero__num { --num-lh: 163px; font-size: 163px; letter-spacing: -8px; }
}

/* ---- phone ---- */
@media (max-width: 809.98px) {
  .hero {
    position: relative;
    top: auto;
    padding: 120px 15px 54px;
    overflow: clip;
    will-change: auto;
  }
  .hero__mockup {
    top: 239px;
    left: calc(81.0256% - 275px);
    width: 550px;
    height: 74%;
    overflow: clip;
  }
  .hero__role { top: 192px; right: 147px; width: auto; font-size: 20px; line-height: 23px; }
  .hero__top { flex-direction: column; align-items: flex-start; }
  .hero__title { flex: none; width: 100%; }
  .hero__name { font-size: 40px; }
  .hero__brand { font-size: 128px; letter-spacing: -6px; line-height: 128px; }
  .hero__services { align-items: flex-start; height: 118px; min-width: 210px; }
  .hero__center { flex-direction: column; gap: 20px; padding: 35px 0 20px; }
  .hero__year { flex: none; flex-direction: row; align-items: flex-start; width: 100%; }
  .hero__copy { font-size: 20px; letter-spacing: -1.4px; line-height: 33px; text-align: left; }
  .hero__num { --num-lh: 80px; flex: 1 0 0px; width: 1px; font-size: 80px; letter-spacing: -3.6px; text-align: left; }
  .hero__bottom { flex-direction: column; align-items: flex-start; }
  .hero__pill { flex: none; width: 100%; }
}


/* ==========================================================================
   03-about
   ========================================================================== */
/* ==========================================================================
   About section
   Desktop: the section slides over the sticky hero (z-index 1, opaque bg);
   its headline stays sticky while the floating images scale with the scroll.
   ========================================================================== */
.about {
  position: relative;
  z-index: 1;
  flex: none;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 30px;
  width: 100%;
  max-width: 1920px;
  height: min-content;
  padding: 160px 0 60px;
  overflow: visible;
  background-color: var(--c-bg);
  will-change: transform;
}

/* ---- background layers ---- */
/* black → purple gradient, lightened onto the section background (overflows 435px below) */
.about__glow {
  position: absolute;
  top: 0;
  right: 0;
  bottom: -435px;
  left: 0;
  flex: none;
  overflow: hidden;
  background: linear-gradient(180deg, #000 38.73873873873874%, rgba(115, 0, 255, 0.78) 100%);
  mix-blend-mode: lighten;
}
/* rocks photo, colour-dodged into the gradient; bottom edge 1px above the section bottom */
.about__rocks {
  position: absolute;
  right: 0;
  bottom: 436px;
  left: 0;
  height: 904px;
  flex: none;
  mix-blend-mode: color-dodge;
}
/* dark fade that hides the glow in the upper part */
.about__shade {
  position: absolute;
  top: 160px;
  right: 0;
  left: 0;
  height: 2482px;
  flex: none;
  overflow: hidden;
  background: linear-gradient(187deg, var(--c-bg) 33%, rgba(0, 0, 0, 0) 92%);
}

/* ---- content ---- */
.about__container {
  position: relative;
  flex: none;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  width: 100%;
  height: min-content;
  padding: 0;
  overflow: visible;
}
.about__sticky {
  position: sticky;
  top: 160px;
  flex: none;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 48px;
  width: 100%;
  max-width: 729px;
  height: min-content;
  padding: 0;
  overflow: visible;
}
.about__tags {
  position: relative;
  flex: none;
  height: min-content;
  will-change: transform;
}

/* Headline — the h3 keeps the base font size (its strut sets the line heights),
   every run is sized by its own span, exactly like the original rich text. */
.about__title {
  position: relative;
  flex: none;
  width: 100%;
  margin: 0;
  font-family: var(--font-bebas);
  font-feature-settings: var(--ot-inter-display);
  font-size: 39px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: -3.2px;
  line-height: 64px;
  text-align: center;
  color: var(--c-white);
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: break-word;
  will-change: transform;
}
.about__title > span { font-size: 64px; }
.about__title > .about__hello { font-size: 64px; letter-spacing: -3.2px; } /* "Ciao, sono Nilo!" */
.about__title > .about__br { font-size: 64px; }
.about__serif { font-family: var(--font-serif); }
.about__italic { font-style: italic; }
.about__muted { color: #a3a3a3; }
.about__dim { color: #878787; }

/* Floating images (positioned on the container, above the sticky headline) */
.about__float {
  position: absolute;
  z-index: 1;
  flex: none;
  overflow: visible;
  border-radius: 16px;
  will-change: transform;
}
.about__float--1 { top: 211px; left: calc(25.347222222222243% - 396px / 2); width: 396px; height: 516px; }
.about__float--2 { top: 544px; left: calc(78.95833333333336% - 332px / 2); width: 332px; height: 433px; }
.about__float--3 { top: 996px; left: calc(45.416666666666686% - 366px / 2); width: 366px; height: 476px; }

/* Scroll triggers: 4 × 362px empty blocks */
.about__triggers {
  position: relative;
  flex: none;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: min-content;
  padding: 0;
  overflow: clip;
}
.about__trigger {
  position: relative;
  flex: none;
  width: 100%;
  height: 362px;
  overflow: clip;
}

/* ---- tools ticker (Framer "Client Ticker" + "Client Card") ---- */
.about__ticker {
  position: relative;
  flex: none;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100%;
  height: min-content;
  padding: 0;
  overflow: clip;
}
/* 1748px wide window centred on the row, faded on both sides (fade width 25%) */
.about__ticker-viewport {
  position: relative;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 1748px;
  height: 142px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 12.5%, rgba(0, 0, 0, 1) 87.5%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 12.5%, rgba(0, 0, 0, 1) 87.5%, rgba(0, 0, 0, 0) 100%);
}
.about__ticker-track {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}
.about__logo {
  position: relative;
  flex: none;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 340px;
  height: 142px;
  padding: 50px 100px;
  overflow: hidden;
  border-radius: 200px;
}
.about__logo::after { /* 1px border drawn inside, like Framer's data-border */
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  border: 1px solid var(--c-white-50);
  border-radius: inherit;
  pointer-events: none;
}
.about__logo img {
  position: relative;
  flex: none;
  width: 93px;
  height: 45px;
  object-fit: contain;
  object-position: center;
}

/* ---- tablet ---- */
@media (min-width: 810px) and (max-width: 1439.98px) {
  .about { padding: 100px 0 60px; }
  .about__title { letter-spacing: -2.4px; line-height: 51px; }
  .about__title > span { font-size: 51px; }
  .about__title > .about__hello,
  .about__title > .about__br { font-size: 64px; }
}

/* ---- phone ---- */
@media (max-width: 809.98px) {
  .about { padding: 80px 0 60px; overflow: clip; }
  .about__container { gap: 12px; overflow: clip; }
  .about__sticky { position: relative; top: auto; }
  .about__title { font-size: 33px; letter-spacing: -1.4px; line-height: 33px; }
  .about__title > span { font-size: 33px; }
  .about__title > .about__hello,
  .about__title > .about__br { font-size: 64px; }
  .about__float { position: relative; top: auto; left: auto; }
  .about__float--1 { width: 304px; height: 348px; }
  .about__float--2 { width: 351px; height: 456px; }
}


/* ==========================================================================
   04-services
   ========================================================================== */
/* 04 · Services ("Service Section") */

.services {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  flex: none;
  width: 100%;
  max-width: 1920px;
  height: min-content;
  padding: 160px 72px;
  position: relative;
  z-index: 1;
  overflow: hidden;
  background-color: var(--c-bg);
}
.services__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 82px;
  flex: none;
  width: 100%;
  height: min-content;
  padding: 0;
  position: relative;
  overflow: visible;
}

/* ---- top row ---- */
.services__top {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex: none;
  width: 100%;
  height: min-content;
  padding: 0;
  position: relative;
  overflow: hidden;
}
.services__note {
  flex: none;
  position: relative;
  white-space: pre;
  color: var(--c-gray-bb);
}
.services__note--end { text-align: right; }
.services__subtitle {           /* "Servizi" + "02" pills (scale-in when in view) */
  flex: none;
  height: min-content;
  position: relative;
  will-change: transform;
}

/* ---- words / typewriter ---- */
.services__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  flex: none;
  width: 61%;
  max-width: 1500px;
  height: min-content;
  padding: 0;
  position: relative;
  overflow: visible;
}
.services__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: none;
  position: relative;
}

/* Service card: a 650px row; the word is the hover target */
.service-card {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  flex: none;
  width: 650px;
  height: min-content;
  position: relative;
}
.service-card__text {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  flex: none;
  width: 100%;
  height: min-content;
  position: relative;
  z-index: 1;
}
.service-card__title {
  flex: none;
  width: 100%;
  position: relative;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: break-word;
  text-align: left;
  color: var(--c-gray-49);
  filter: blur(6px);                 /* the 0.2s tween between the two states runs in 04-services.js */
}
.service-card.is-active .service-card__text { mix-blend-mode: exclusion; }
.service-card.is-active .service-card__title { color: var(--c-white); filter: blur(0px); }   /* = Framer's settled value */

/* Hover image (shown only while the word is hovered — see 04-services.js) */
.service-card__media {
  width: 314px;
  height: 341px;
  position: absolute;
  top: -79px;
  right: -277px;
  border-radius: 4px;                /* inherited by the img (.fill) */
  will-change: transform;
}

/* Typewriter (phone) — markup/styles of the TypewriterEffect code component */
.services__typewriter {
  flex: none;
  width: auto;
  height: auto;
  position: relative;
}
.services__typewriter-text {
  display: inline-flex;
  align-items: center;
  min-width: 1px;
  min-height: 1px;
  width: max-content;
  height: max-content;
  white-space: pre;
  font-family: var(--font-bebas);
  font-size: 70px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.2em;
  color: var(--c-white);
}
.services__typewriter-cursor {
  display: inline-block;
  width: 2px;
  height: 70px;
  margin: 0 2px;
  vertical-align: bottom;
  border-radius: 2px;
  background: var(--c-white);
  transition: opacity .1s;
}
.services__typewriter-cursor.is-hidden { opacity: 0; }

/* ---- tablet ---- */
@media (min-width: 810px) and (max-width: 1439.98px) {
  .services { padding: 100px 30px; }
}

/* ---- phone ---- */
@media (max-width: 809.98px) {
  .services { padding: 80px 15px 60px; overflow: clip; }
  .services__container { gap: 50px; }
  .services__subtitle { justify-content: flex-start; }
  .services__note--end { text-align: left; }
  .services__bottom { align-items: flex-start; gap: 12px; width: 66%; }
}


/* ==========================================================================
   05-projects
   ========================================================================== */
/* 05 · Projects ("Project" section, #progetti) */

.projects {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: none;
  width: 100%;
  height: min-content;
  padding: 0;
  position: relative;
  z-index: 1;
  overflow: visible;
  background-color: var(--c-bg);
}
.projects__container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 40px;
  flex: none;
  width: 100%;
  max-width: 1200px;
  height: min-content;
  padding: 120px 40px;
  position: relative;
  z-index: 1;
  overflow: visible;
}

/* ---- heading + intro ---- */
.projects__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
  flex: none;
  width: 100%;
  height: min-content;
  padding: 0;
  position: relative;
  overflow: hidden;
}
.projects__title,
.projects__lead {
  flex: none;
  position: relative;
  z-index: 1;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: break-word;
  text-align: left;
  color: var(--c-surface-ink);        /* #303030 (#fff in dark mode), like the original token */
}
.projects__title {
  width: 100%;
  max-width: 1200px;
  font-family: var(--font-antonio);
  font-size: 60px;
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1.3em;
  text-transform: uppercase;
}
.projects__title-accent {            /* em-based values are re-declared: they resolve on 85px */
  font-family: var(--font-serif);
  font-size: 85px;
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 1.3em;
  text-transform: capitalize;
}
.projects__lead {
  width: 100%;
  max-width: 500px;
  font-family: var(--font-inter);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.5em;
}
.projects__lead strong { font-weight: 700; }

/* ---- stacked cards ---- */
.projects__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 120px;
  flex: none;
  width: 100%;
  height: min-content;
  padding: 0;
  position: relative;
  overflow: visible;
}
.project-card {                      /* sticky layer; its scale is driven by fx.js (data-fx-scroll) */
  flex: none;
  width: 100%;
  height: auto;
  position: sticky;
  top: 10px;
  z-index: 1;
  will-change: transform;
}
.project-card:nth-child(2) { top: 30px; }
.project-card:nth-child(3) { top: 50px; }
.project-card:nth-child(4) { top: 70px; }

.project-card__cover {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: min-content;
  padding: 0;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  will-change: transform;
}
.project-card__media {
  flex: 1 0 0px;
  width: 1px;
  height: auto;
  aspect-ratio: 1.5 / 1;
  position: relative;
  overflow: hidden;
}
.project-card__info {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
  height: 100%;
  padding: 0;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  overflow: visible;
  pointer-events: none;
}
.project-card__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: min-content;
  height: min-content;
  padding: 3px 15px;
  position: relative;
  overflow: hidden;
  border-radius: 99px;
  background-color: #6b1cff;
  will-change: transform;
  white-space: pre;
  font-family: var(--font-inter);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5em;
  text-align: left;
  color: var(--c-white);
}
.project-card__text {                /* 10px tall even when empty (Framer keeps two empty text layers + gap) */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: none;
  width: 100%;
  height: min-content;
  min-height: 10px;
  padding: 0;
  position: relative;
  overflow: visible;
}
.project-card__title,
.project-card__desc {
  flex: none;
  width: auto;
  position: relative;
  z-index: 1;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: break-word;
  text-align: center;
  color: var(--c-white);
}
.project-card__title {
  max-width: 800px;
  font-family: var(--font-antonio);
  font-size: 60px;
  font-weight: 700;
  line-height: 1.3em;
  text-transform: uppercase;
}
.project-card__desc {
  max-width: 600px;
  font-family: var(--font-inter);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.5em;
}

/* ---- phone ---- */
@media (max-width: 809.98px) {
  .projects { flex-direction: column; overflow: clip; }
  .projects__container { padding: 27px 20px; }
  .projects__list { gap: 80px; }
  .project-card:nth-child(1) { top: 250px; }
  .project-card:nth-child(2) { top: 275px; }
  .project-card:nth-child(3) { top: 300px; }
  .project-card:nth-child(4) { top: 325px; z-index: 2; }
  .project-card__title,
  .project-card__desc { display: none; }  /* the phone layout empties title + description */
}


/* ==========================================================================
   06-work
   ========================================================================== */
/* Work section — progetti [05]–[18].
   .work__strips   = strisce di immagine (riga su desktop e tablet, colonna sul telefono)
   .work__strip    = una striscia: si allarga con .is-on sul suo <li> (hover, focus da tastiera o primo tocco)
   .work-modal     = finestra sopra la pagina con la card completa (.work-card, identica a prima)
   Curve delle molle calcolate con tools/spring.js (stessa matematica di Framer Motion). */

.work {
  --work-ease-flex: linear(0, 0.0168, 0.0602, 0.1209, 0.1921, 0.2684, 0.3459, 0.4218, 0.4942, 0.5617, 0.6237, 0.6797, 0.7297, 0.7738, 0.8124, 0.8457, 0.8744, 0.8987, 0.9192, 0.9364, 0.9506, 0.9622, 0.9717, 0.9794, 0.9855, 0.9903, 0.994, 0.9968, 0.9989, 1.0004, 1.0015, 1.0022, 1.0027, 1.0029, 1.003, 1.0029, 1.0028, 1.0026, 1.0024, 1.0022, 1.0019, 1.0017, 1.0015, 1.0013, 1);   /* {bounce .12, duration .7s} */
  --work-ease-soft: linear(0, 0.0365, 0.1205, 0.2252, 0.3343, 0.4386, 0.5333, 0.6165, 0.6878, 0.7478, 0.7976, 0.8385, 0.8718, 0.8986, 0.9201, 0.9373, 0.9509, 0.9617, 0.9701, 0.9768, 0.982, 0.9861, 0.9892, 0.9917, 0.9936, 0.9951, 0.9962, 0.9971, 0.9978, 0.9983, 0.9987, 1);   /* {bounce 0, duration .5s} */
  --work-ease-open: linear(0, 0.023, 0.0807, 0.1595, 0.2491, 0.3423, 0.4338, 0.5203, 0.5996, 0.6707, 0.733, 0.7868, 0.8325, 0.8707, 0.9021, 0.9277, 0.9481, 0.9642, 0.9767, 0.9861, 0.9931, 0.9982, 1.0017, 1.004, 1.0054, 1.0061, 1.0063, 1.0062, 1.0058, 1.0053, 1.0048, 1.0042, 1.0036, 1.0031, 1.0026, 1.0021, 1.0017, 1.0014, 1);   /* {bounce .15, duration .6s} */
  --work-ease-cta: linear(0, 0.0097, 0.0354, 0.0725, 0.1174, 0.1673, 0.22, 0.2738, 0.3274, 0.3799, 0.4306, 0.479, 0.5248, 0.5678, 0.6079, 0.645, 0.6794, 0.711, 0.7399, 0.7663, 0.7903, 0.8122, 0.832, 0.8498, 0.8659, 0.8805, 0.8935, 0.9052, 0.9157, 0.9251, 0.9335, 0.941, 0.9477, 0.9537, 0.959, 0.9637, 0.9679, 0.9716, 0.975, 0.9779, 0.9805, 0.9828, 0.9848, 0.9866, 0.9882, 0.9896, 0.9909, 0.992, 0.9929, 0.9938, 0.9945, 0.9952, 0.9958, 0.9963, 0.9967, 0.9971, 0.9975, 0.9978, 0.9981, 0.9983, 0.9985, 0.9987, 0.9989, 1);   /* = "Parla con Me" */

  display: flex;
  flex-direction: column;
  align-items: center;
  flex: none;
  width: 100%;
  max-width: 1920px;
  padding: 80px 72px;
  position: relative;
  z-index: 1;
  background-color: var(--c-bg);
}

/* ---- strisce ---- */
.work__strips {
  /* --n (numero di strisce) arriva da gen_work.py; --open = quanto si allarga la striscia accesa.
     --strips-w = larghezza della riga, serve a calcolare la larghezza finale della striscia aperta
     (così il nome va a capo sempre nello stesso punto, anche mentre la striscia si sta allargando). */
  --n: 10;
  --open: 10;
  --gap: 10px;
  --strips-w: calc(min(100vw, 1920px) - 144px);
  display: flex;
  flex-direction: row;
  gap: var(--gap);
  width: 100%;
  height: 580px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.work__strip-item {
  display: flex;
  flex: 1 1 0px;
  min-width: 0;
  transition: flex-grow .7s var(--work-ease-flex);
}
.work__strip-item.is-on { flex-grow: var(--open); }

.work__strip {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 24px;
  overflow: hidden;
  isolation: isolate;
  background-color: var(--c-white-10);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.work__strip-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.75) brightness(.8);
  transition: filter .5s, transform 1s var(--work-ease-soft);
}
.work__strip::after {                         /* shade for the label */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(6, 6, 6, .85), rgba(6, 6, 6, 0) 45%);
  pointer-events: none;
}
.work__strip-num {                            /* [05] … vertical, at the bottom of a closed strip */
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 18px;
  writing-mode: vertical-rl;
  transform: translateX(-50%) rotate(180deg);
  font-family: var(--font-archivo);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  color: var(--c-white);
  transition: opacity .3s;
}
.work__strip-info {
  position: absolute;
  z-index: 2;
  left: 24px;
  bottom: 22px;
  width: max-content;
  max-width: calc((var(--strips-w) - (var(--n) - 1) * var(--gap)) * var(--open) / (var(--n) - 1 + var(--open)) - 48px);
  display: flex;
  flex-direction: column-reverse;               /* role pill above the name: never side by side, so long names fit */
  align-items: flex-start;
  gap: 10px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .25s, transform .5s var(--work-ease-soft);
  pointer-events: none;
}
.work__strip-name {
  font-family: var(--font-bebas);
  font-size: 56px;
  line-height: 56px;
  letter-spacing: -2.4px;
  color: var(--c-white);
  text-align: left;
  white-space: normal;
  text-wrap: balance;
}
.work__strip-role {
  flex: none;
  padding: 8px 16px;
  border-radius: 100px;
  background-color: rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-family: var(--font-archivo);
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: var(--c-white);
  white-space: nowrap;
}
.work__strip-item.is-on .work__strip-img { filter: none; transform: scale(1.03); }
.work__strip-item.is-on .work__strip-num { opacity: 0; }
.work__strip-item.is-on .work__strip-info { opacity: 1; transform: none; transition-delay: .18s; }
.work__strip:focus-visible { outline: 2px solid var(--c-purple); outline-offset: 3px; }

/* the full cards are only shown inside the window */
.work__cards[hidden] { display: none !important; }

/* ---- finestra con la card ---- */
.work-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
}
.work-modal__bg {
  position: absolute;
  inset: 0;
  background-color: rgba(6, 6, 6, .94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity .35s;
}
.work-modal.is-in .work-modal__bg { opacity: 1; }
.work-modal__scroll {
  position: absolute;
  inset: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.work-modal__wrap {
  width: 100%;
  max-width: 1920px;
  min-height: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.work-modal .work-card { background-color: transparent; }
.work-modal .work-card__media.is-hidden { visibility: hidden; }
/* the whole card fits in one screen: the image shrinks on short screens (desktop, tablet) */
@media (min-width: 810px) {
  .work-modal .work-card__media { max-width: max(420px, min(856px, calc((100dvh - var(--work-fit, 490px)) * 1.58813))); }
}
@media (min-width: 810px) and (max-width: 1439.98px) {
  .work-modal { --work-fit: 560px; }
}
/* entrance: texts slide in after the image */
.work-modal .work-card__top,
.work-modal .work-card__bottom > *,
.work-modal__ctrl {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .3s, transform .6s var(--work-ease-soft);
}
.work-modal.is-in .work-card__top,
.work-modal.is-in .work-card__bottom > *,
.work-modal.is-in .work-modal__ctrl { opacity: 1; transform: none; }
.work-modal.is-in .work-modal__ctrl { transition-delay: .1s; }
.work-modal.is-in .work-card__top { transition-delay: .14s; }
.work-modal.is-in .work-card__bottom > :nth-child(1) { transition-delay: .2s; }
.work-modal.is-in .work-card__bottom > :nth-child(2) { transition-delay: .26s; }
.work-modal.is-swap .work-card { opacity: 0; transition: opacity .15s; }

.work-modal__ctrl {
  position: fixed;
  z-index: 3;
  top: 20px;
  right: 72px;
  display: flex;
  gap: 8px;
}
.work-modal__btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  background-color: rgba(17, 17, 19, .8);
  color: var(--c-white);
  cursor: pointer;
}
.work-modal__btn svg { width: 20px; height: 20px; }
.work-modal__btn--close { background-color: var(--c-white); border-color: var(--c-white); color: var(--c-black); }
.work-modal__btn:focus-visible { outline: 2px solid var(--c-purple); outline-offset: 2px; }
@media (hover: hover) {
  .work-modal__btn:hover { border-color: rgba(255, 255, 255, .5); }
  .work-modal__btn--close:hover { background: linear-gradient(150deg, rgb(123, 0, 255) 0%, rgb(183, 0, 255) 100%); border-color: transparent; color: var(--c-white); }
}
.work-ghost {                                 /* image travelling from the strip to the card */
  position: fixed;
  z-index: 101;
  background-size: cover;
  background-position: center;
  pointer-events: none;
  will-change: left, top, width, height;
}

/* ---- "Visita il sito" (same as the "Parla con Me" button) ---- */
.work-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  align-self: flex-end;
  padding: 4px 4px 4px 20px;
  overflow: hidden;
  border-radius: 100px;
  background-color: var(--c-white);
  text-decoration: none;
}
.work-link__text { position: relative; display: flex; flex-direction: column; }
.work-link__label { white-space: pre; color: var(--c-black); transition: transform 1s var(--work-ease-cta); }
.work-link__label--2 { position: absolute; top: 0; left: 0; transform: translateY(40px); }
.work-link__icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 8px;
  overflow: hidden;
  border-radius: 100px;
  background-color: var(--c-black);
}
.work-link__arrow--1, .work-link__arrow--2 { width: 20px; height: 20px; flex: none; transition: transform 1s var(--work-ease-cta); }
.work-link__arrow--2 { position: absolute; top: 8px; left: 8px; transform: translateX(-28px); }
.work-link:focus-visible { outline: 2px solid var(--c-purple); outline-offset: 3px; }
@media (hover: hover) {
  .work-link:hover { background: linear-gradient(150deg, rgb(123, 0, 255) 0%, rgb(183, 0, 255) 100%); }
  .work-link:hover .work-link__label:not(.work-link__label--2) { transform: translateY(-40px) scale(.8); }
  .work-link:hover .work-link__label--2 { transform: translateY(0); color: var(--c-white); }
  .work-link:hover .work-link__arrow--1 { transform: translateX(28px); }
  .work-link:hover .work-link__arrow--2 { transform: translateX(0); }
}
.work-card__mention { color: var(--c-white); text-decoration: underline; text-underline-offset: 3px; }

/* ---- tablet ---- */
@media (min-width: 810px) and (max-width: 1439.98px) {
  .work { padding: 60px 30px; }
  .work__strips { height: 480px; --gap: 8px; --strips-w: calc(100vw - 60px); }
  .work__strip { border-radius: 20px; }
  .work__strip-name { font-size: 44px; line-height: 44px; letter-spacing: -1.8px; }
  .work-modal__ctrl { right: 30px; }
  .work-link { align-self: flex-start; }
}

/* ---- telefono: strisce orizzontali una sotto l'altra ---- */
@media (max-width: 809.98px) {
  .work { padding: 40px 15px; }
  .work__strips { flex-direction: column; height: auto; gap: 8px; }
  .work__strip-item { flex: none; height: 64px; transition: height .7s var(--work-ease-flex); }
  .work__strip-item.is-on { height: 260px; }
  .work__strip { border-radius: 16px; }
  .work__strip-num { left: 18px; bottom: 50%; writing-mode: horizontal-tb; transform: translateY(50%); }
  .work__strip-info { left: 16px; right: 16px; bottom: 16px; width: auto; max-width: none; }
  .work__strip-name { font-size: 36px; line-height: 36px; letter-spacing: -1.4px; white-space: normal; }
  .work__strip-role { padding: 6px 12px; font-size: 14px; line-height: 20px; }
  .work-modal__ctrl { top: 12px; right: 15px; }
  .work-modal__btn { width: 40px; height: 40px; }
  .work-modal .work-card { padding-top: 72px; }
  .work-link { align-self: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .work__strip-item, .work__strip-img, .work__strip-info, .work-modal__bg,
  .work-modal .work-card__top, .work-modal .work-card__bottom > *, .work-modal__ctrl { transition: none !important; }
}

/* ---- card ---- */
.work-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
  width: 100%;
  height: min-content;
  padding: 80px 72px;
  position: relative;
  overflow: hidden;
  background-color: var(--c-bg);
}

.work-card__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 48px;
  flex: none;
  width: 100%;
  height: min-content;
  padding: 0;
  position: relative;
  overflow: hidden;
}

/* top row: pills · project type · date */
.work-card__top {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex: none;
  width: 100%;
  height: min-content;
  padding: 16px 0 17px;
  position: relative;
  z-index: 2;
  overflow: visible;
}
.work-card__pills {
  flex: none;
  justify-content: flex-start;
  height: min-content;
  padding: 0;
  position: relative;
}
.work-card__fact {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: none;
  width: min-content;
  height: min-content;
  margin: 0;
  padding: 0;
  position: relative;
  overflow: visible;
}
.work-card__fact dt,
.work-card__fact dd {
  flex: none;
  margin: 0;
  position: relative;
  white-space: pre;
  text-align: center;
}
.work-card__fact dt { color: var(--c-gray-bb); }
.work-card__fact dd { color: var(--c-white); }

/* image (zooms on hover: spring bounce .2 / .4s in, tween .6s back — like the original) */
.work-card__media {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex: none;
  width: 100%;
  max-width: 856px;
  height: min-content;
  padding: 0;
  position: relative;
  overflow: hidden;
  border-radius: 24px;
}
/* Safari only (same as Framer): keeps the rounded clip while the image scales */
@supports (background: -webkit-named-image(i)) and (not (grid-template-rows: subgrid)) {
  .work-card__media { will-change: transform; }
}
.work-card__img {
  flex: 1 0 0px;
  width: 1px;
  height: auto;
  aspect-ratio: 1.58813 / 1; /* value as served by the live CSS → 538.98px high at 856px, like the original */
  position: relative;
  overflow: hidden;
  will-change: transform;
  transition: transform 0.6s cubic-bezier(0.69, 0.07, 0.25, 1.03);
}
@media (hover: hover) {
  .work-card__img:hover {
    transform: scale(1.1);
    transition: transform 0.4s linear(0, 0.0533, 0.1755, 0.3245, 0.474, 0.6093, 0.7234, 0.8145, 0.8838, 0.9341, 0.9688, 0.9913, 1.0049, 1.012, 1.0148, 1.015, 1.0136, 1.0115, 1.0092, 1.007, 1.0051, 1.0035, 1.0023, 1.0014, 1.0007, 1);
  }
}

/* bottom row: title block · description */
.work-card__bottom {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  flex: none;
  width: 100%;
  height: min-content;
  padding: 16px 0 0;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.work-card__heading {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  flex: 1 0 0px;
  width: 1px;
  max-width: 442px;
  height: min-content;
  padding: 0;
  position: relative;
  overflow: hidden;
}
.work-card__titles {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0;
  flex: none;
  width: min-content;
  height: min-content;
  margin: 0;
  padding: 0;
  position: relative;
  overflow: visible;
}
.work-card__title,
.work-card__subtitle,
.work-card__index {
  flex: none;
  position: relative;
  white-space: pre;
}
.work-card__subtitle {
  font-family: var(--font-bebas);
  font-feature-settings: var(--ot-inter-display);
  font-size: 57px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: -3.2px;
  line-height: 64px;
  color: var(--c-white);
}
.work-card__index { color: var(--c-purple); }

.work-card__desc {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 16px;
  flex: 1 0 0px;
  width: 1px;
  max-width: 405px;
  height: min-content;
  padding: 0;
  position: relative;
  overflow: hidden;
}
.work-card__about,
.work-card__text {
  flex: none;
  width: 100%;
  position: relative;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: break-word;
  text-align: right;
}
.work-card__about { color: var(--c-white); }
.work-card__text { color: var(--c-gray-bb); opacity: 0.8; }

/* ---- tablet (Work Card "Tablet" variant) ---- */
@media (min-width: 810px) and (max-width: 1439.98px) {
  .work-card { padding: 60px 30px; }
  .work-card__bottom {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 22px;
  }
  .work-card__heading,
  .work-card__desc { flex: none; width: 100%; }
  .work-card__about,
  .work-card__text { text-align: left; }
}

/* ---- phone (Work Card "Mobile" variant: no date row) ---- */
@media (max-width: 809.98px) {
  .work { overflow: clip; }
  .work-card { padding: 40px 15px; }
  .work-card__bottom {
    flex-direction: column;
    justify-content: flex-start;
    gap: 22px;
  }
  .work-card__heading { align-items: flex-end; flex: none; width: 100%; }
  .work-card__titles { flex: 1 0 0px; width: 1px; }
  .work-card__subtitle {
    width: 100%;
    white-space: pre-wrap;
    word-break: break-word;
    overflow-wrap: break-word;
  }
  .work-card__desc { flex: none; width: 100%; }
  .work-card__about,
  .work-card__text { text-align: left; }
  /* ruoli lunghi ("Product & Brand Design"): vanno a capo invece di uscire dallo schermo */
  .work-card__top { gap: 12px; }
  .work-card__fact { flex: 0 1 auto; min-width: 0; flex-wrap: wrap; justify-content: flex-end; row-gap: 2px; }
  .work-card__fact dt,
  .work-card__fact dd { white-space: normal; text-align: right; }
}


/* ==========================================================================
   07-playground
   ========================================================================== */
/* Playground (sezione «High Conversion Rate Creative», dopo le strisce dei progetti):
   1440×946 "stage" (absolutely positioned, clipped by the section) holding
   three vertical tickers rotated 19° + a dark gradient mask; the section's own height comes
   from the 657px spacer + the bottom row (caption / reveal text). */
.playground {
  position: relative;
  z-index: 1;
  display: flex;
  flex: none;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100%;
  max-width: 1920px;
  height: min-content;
  padding: 0 0 0 72px;
  overflow: hidden;
  background-color: var(--c-bg);
}
.playground__container {
  position: relative;
  display: flex;
  flex: 1 0 0px;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0;
  width: 1px;
  height: min-content;
  padding: 0;
  overflow: visible;
}

/* "Ticker Section" */
.playground__stage {
  position: absolute;
  top: 0;
  left: calc(47.3684210526316% - 1440px / 2);
  display: flex;
  flex: none;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 1440px;
  height: 946px;
  padding: 0;
  overflow: hidden;
}
/* "Tickers": row of columns, rotated (its height = the columns' height, set by the ticker JS) */
.playground__tickers {
  position: relative;
  display: flex;
  flex: 1 0 0px;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
  width: 1px;
  height: min-content;
  padding: 0;
  overflow: hidden;
  transform: rotate(19deg);
}
/* one ticker (viewport of a vertical marquee) */
.playground__col {
  position: relative;
  display: flex;
  flex: 1 0 0px;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  align-content: center;
  justify-content: flex-start;
  gap: 12px;
  width: 1px;
  height: min-content;
  padding: 0;
  overflow: hidden;
}
.playground__list {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
}
/* "Slider Image" component: full column width × 387px, image covers */
.playground__item {
  position: relative;
  flex: none;
  width: 100%;
  height: 387px;
  overflow: hidden;
}
.playground__img--03 { object-position: 48.7% 11.5%; }
.playground__img--05 { object-position: 49.1% 28%; }

.playground__mask {
  position: absolute;
  inset: 0;
  flex: none;
  overflow: hidden;
  /* in alto sfuma nel colore di fondo (entrata morbida), in basso scurisce verso il nero */
  background:
    linear-gradient(180deg, #060606 0%, rgba(6, 6, 6, .94) 5%, rgba(6, 6, 6, .8) 10%, rgba(6, 6, 6, .56) 16%, rgba(6, 6, 6, .3) 22%, rgba(6, 6, 6, .1) 28%, rgba(6, 6, 6, 0) 34%),
    linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000 100%);
}

.playground__spacer {
  position: relative;
  flex: none;
  width: 100%;
  height: 657px;
  overflow: hidden;
}

/* ---- bottom row ---- */
.playground__bottom {
  position: relative;
  display: flex;
  flex: none;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  max-width: 884px;
  height: min-content;
  padding: 0;
  overflow: hidden;
}
.playground__caption {
  position: relative;
  display: flex;
  flex: 1 0 0px;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0;
  width: 1px;
  max-width: 270px;
  height: min-content;
  padding: 0;
  overflow: hidden;
}
.playground__caption > p {
  position: relative;
  flex: none;
  width: 100%;
  color: var(--c-white);
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: break-word;
}
.playground__reveal-box {
  position: relative;
  display: flex;
  flex: none;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 14px;
  width: 26%;
  max-width: 226px;
  height: min-content;
  padding: 0;
  overflow: hidden;
}
/* "Reveal Text" (Text_Color_Letters): every word is a flex item, letters are spans */
.playground__reveal {
  position: relative;
  display: flex;
  flex: none;
  flex-wrap: wrap;
  justify-content: left;
  width: 100%;
  margin: 0;
  font-family: var(--font-bebas);
  font-size: 64px;
  font-style: normal;
  font-weight: 400;
  line-height: 64px;
  letter-spacing: -3.2px;
  color: #fff;
}

/* ---- desktop e tablet: il muro di inserzioni occupa tutta la larghezza dello schermo ----
   Prima era largo 1440px (810px su tablet) con i bordi tagliati di netto sugli schermi più larghi.
   Ora la composizione è quella del disegno a 1440px, scalata con la larghezza dello schermo
   (fattore 100vw / 1440): palco, altezza delle card e spazio sotto crescono insieme.
   Il palco esce dal box della sezione (max 1920px) fino ai bordi dello schermo. */
@media (min-width: 810px) {
  @supports (overflow: clip) {
    .playground { overflow-x: visible; overflow-y: clip; }
  }
  .playground__stage {
    left: calc(50% - 50vw - 36px);       /* = bordo sinistro dello schermo (padding sinistro 72px) */
    width: 100vw;
    height: calc(100vw * 946 / 1440);
  }
  .playground__item { height: calc(100vw * 387 / 1440); }
  .playground__spacer { height: calc(100vw * 657 / 1440); }
}

/* ---- tablet ---- */
@media (min-width: 810px) and (max-width: 1439.98px) {
  .playground { padding: 0 0 0 30px; }
  .playground__stage { left: calc(50% - 50vw - 15px); }   /* padding sinistro 30px */
}

/* ---- phone ---- */
@media (max-width: 809.98px) {
  .playground { flex-direction: column; overflow: clip; padding: 0 0 0 15px; }
  .playground__container { flex: none; width: 100%; overflow: hidden; }
  .playground__stage { left: calc(47.46666666666669% - 390px / 2); width: 390px; }
  .playground__tickers { transform: none; }
  .playground__mask {
    background: linear-gradient(180deg, #060606 0%, rgba(0, 0, 0, 0) 49.699718028575454%, #000 100%);
  }
  .playground__bottom { flex-direction: column; gap: 20px; justify-content: flex-start; }
  .playground__caption { flex: none; width: 100%; }
  .playground__reveal-box { width: 60%; }
}


/* ==========================================================================
   08-image
   ========================================================================== */
/* Image section: sticky full-width frame (1.8:1), picture scaled by a scroll effect (fx.js) */
.image-section {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  flex: none;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100%;
  max-width: 1920px;
  height: min-content;
  padding: 0;
  overflow: hidden;
}
.image-section__frame {
  position: relative;
  flex: 1 0 0px;
  width: 1px;
  height: auto;
  aspect-ratio: 1.8 / 1;
  overflow: hidden;
  will-change: transform;
}

/* ---- phone: not sticky ---- */
@media (max-width: 809.98px) {
  .image-section { position: relative; top: auto; flex-direction: column; overflow: clip; }
  .image-section__frame { flex: none; width: 100%; }
}


/* ==========================================================================
   09-indicator
   ========================================================================== */
/* Indicator section — counters "98%" / "6M" + world map background */

.indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  flex: none;
  width: 100%;
  max-width: 1920px;
  height: min-content;
  padding: 0 72px 160px;
  position: relative;
  z-index: 1;
  overflow: hidden;
  background-color: var(--c-bg);
}
.indicator__container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0;
  flex: none;
  width: 100%;
  height: min-content;
  padding: 0;
  position: relative;
  overflow: hidden;
}
.indicator__cards {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0;
  flex: none;
  width: 100%;
  height: min-content;
  padding: 160px 0 0;
  position: relative;
  overflow: hidden;
}

/* card slots (appear effect target): 1 = right, 2 = left on desktop */
.indicator__slot {
  display: flex;
  justify-content: flex-start;
  gap: 0;
  flex: none;
  width: 100%;
  height: min-content;
  position: relative;
  overflow: hidden;
  will-change: transform;
}
.indicator__slot--1 {
  flex-direction: column;
  align-items: flex-end;
  padding: 0 219px 0 0;
}
.indicator__slot--2 {
  flex-direction: row;
  align-items: flex-start;
  padding: 0 0 0 219px;
}

.indicator__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 24px;
  flex: none;
  width: min-content;
  height: min-content;
  padding: 0;
  position: relative;
  overflow: visible;
}

/* Animated Number Counter: the invisible "sizer" holds the final value (box width),
   the live number is laid over it, centred */
.indicator__counter {
  flex: none;
  width: auto;
  height: auto;
  position: relative;
}
.indicator__num {
  display: block;
  margin: 0;
  text-align: center;
  font-family: var(--font-bebas);
  font-feature-settings: 'zero' on, 'tnum' on, 'cv06' on, 'cv13' on, 'cv07' on, 'cv05' on, 'cv10' on, 'cv12' on, 'cv08' on, 'cv11' on, 'cv04' on, 'cv03' on, 'cv02' on, 'cv09' on;
  font-size: 200px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: -10px;
  line-height: 200px;
}
.indicator__num--sizer {
  opacity: 0;
  pointer-events: none;
  user-select: none;
  color: var(--c-black);
}
.indicator__num--live {
  position: absolute;
  inset: 0;
  color: var(--c-white);
  text-decoration: none;
}

.indicator__line {
  flex: none;
  width: 312px;
  height: 3px;
  position: relative;
  overflow: hidden;
}
.indicator__line--1 { background-color: #7c1fff; box-shadow: 0 0 16px 0 rgba(222, 59, 255, 0.7); }
.indicator__line--2 { background-color: #b01fff; box-shadow: 0 0 16px 0 rgba(160, 59, 255, 0.7); }

.indicator__caption {
  flex: none;
  width: 312px;
  height: auto;
  position: relative;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: break-word;
  color: var(--c-gray-bb);
}

/* world map: fills the band between 499px from the top and 24px from the bottom
   (zero height — i.e. invisible — on tablet / phone, like the original) */
.indicator__map {
  position: absolute;
  top: 499px;
  right: 0;
  bottom: 24px;
  left: 0;
  flex: none;
  z-index: 1;
}
.indicator__map img { object-fit: contain; }

/* ---- tablet: cards side by side ---- */
@media (min-width: 810px) and (max-width: 1439.98px) {
  .indicator { padding: 0 30px 100px; }
  .indicator__cards { flex-direction: row; padding: 100px 0 0; }
  .indicator__slot--1 { align-items: flex-start; flex: 1 0 0px; width: 1px; padding: 0; }
  .indicator__slot--2 { align-items: flex-end; flex: 1 0 0px; width: 1px; padding: 0; }
  .indicator__num { font-size: 128px; letter-spacing: -6px; line-height: 120px; }
}

/* ---- phone: stacked ---- */
@media (max-width: 809.98px) {
  .indicator { overflow: clip; padding: 0 15px 60px; }
  .indicator__cards { gap: 20px; padding: 60px 0 0; }
  .indicator__slot--1 { align-items: flex-start; padding: 0; }
  .indicator__slot--2 { padding: 0; }
  .indicator__num { font-size: 76px; letter-spacing: -4px; line-height: 76px; }
}


/* ==========================================================================
   10-benefits
   ========================================================================== */
/* ==========================================================================
   Ti offro — «4+ anni di esperienza» (ex Benefits). Markup in src/sections/10-benefits.html,
   comportamento in src/js/10-benefits.js.
   Senza JavaScript (o con movimento ridotto) è una colonna ferma: titolo, poi le tre parole.
   .is-pin  (≥ 810px, alto almeno 560px) → palco sticky alto 100vh dentro una traccia lunga --track-h
   .is-flow (telefono) → colonna, ogni parola si anima mentre attraversa lo schermo
   .is-still           → colonna ferma, stato finale (prefers-reduced-motion)
   ========================================================================== */

/* Antonio è un font variabile (peso 100–700): stesso file di fonts.css, qui con tutto l'intervallo */
@font-face {
  font-family: "Antonio Var";
  src: url("../fonts/antonio-variable-latin.woff2") format("woff2");
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.offer {
  --pad-x: 72px;
  --pad-y: 56px;
  --fs: clamp(64px, 12vw, 190px);       /* corpo delle tre parole (il JS lo adatta alla larghezza) */
  --violet: #7c1fff;
  --lilac: #b26bff;
  position: relative;
  z-index: 1;
  flex: none;
  width: 100%;
  max-width: 1920px;
  background-color: var(--c-bg);
  color: var(--c-white);
}
.offer__track { position: relative; }
.offer__stage {
  position: relative;
  overflow: hidden;
  padding: 120px var(--pad-x) 140px;
}

/* ---- fondo: griglia a 12 colonne + bagliore che cambia tinta con la parola ---- */
.offer__bg { position: absolute; inset: 0; pointer-events: none; }
.offer__grid {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pad-x);
  right: var(--pad-x);
  border-right: 1px solid rgba(255, 255, 255, .06);
  background-image: linear-gradient(to right, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: calc(100% / 12) 100%;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 78%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 78%, transparent 100%);
  opacity: .5;
}
.offer__glow {
  position: absolute;
  left: 50%;
  top: 56%;
  width: min(1600px, 125vw);
  aspect-ratio: 1.7 / 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  opacity: 0;
}
.offer__glow--1 { background: radial-gradient(closest-side, rgba(124, 31, 255, .34), rgba(124, 31, 255, .10) 52%, rgba(124, 31, 255, 0)); }
.offer__glow--2 { background: radial-gradient(closest-side, rgba(176, 31, 255, .30), rgba(148, 31, 207, .09) 52%, rgba(148, 31, 207, 0)); }
.offer__glow--3 { background: radial-gradient(closest-side, rgba(150, 95, 255, .26), rgba(107, 28, 255, .08) 52%, rgba(107, 28, 255, 0)); }

/* ---- titolo ---- */
.offer__head {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
}
.offer__title {
  font-family: var(--font-bebas);
  font-size: min(9.2vw, 17vh, 168px);
  font-weight: 400;
  line-height: .9;
  letter-spacing: -.045em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--c-white);
}
.offer__years {
  display: inline-block;
  padding-right: .05em;
  background-image: linear-gradient(100deg, #6b1cff 0%, #a159ff 34%, #ffffff 50%, #a159ff 66%, #6b1cff 100%);
  background-size: 300% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.offer__rule {
  display: block;
  width: min(420px, 62%);
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), #fff 50%, rgba(255, 255, 255, 0));
}
.offer__lead {
  font-family: var(--font-serif);
  font-size: min(3.9vw, 7vh, 72px);
  font-style: italic;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--c-white);
}

/* ---- le tre parole ---- */
.offer__list {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 120px;
  margin-top: 120px;
}
.offer__item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.offer__index {
  margin-bottom: 20px;
  font-family: var(--font-archivo);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .14em;
  color: rgba(255, 255, 255, .45);
}
.offer__word {
  position: relative;
  z-index: 2;
  font-family: "Antonio Var", var(--font-antonio);
  font-size: var(--fs);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.012em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--c-white);
}
.offer__letters { display: inline-block; }
.offer__l {
  display: inline-block;
  font-weight: inherit;
  backface-visibility: hidden;
}
.offer__line {
  position: relative;
  z-index: 2;
  max-width: 34ch;
  margin-top: calc(var(--fs) * .2);
  font-family: var(--font-inter-display);
  font-feature-settings: var(--ot-inter-display);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -.02em;
  color: var(--c-gray-bb);
}
.offer__line em {
  font-family: var(--font-serif);
  font-size: 1.22em;
  font-style: italic;
  line-height: 1;
  letter-spacing: -.01em;
  color: var(--c-white);
}

/* 01 · Creatività — stato fermo: pesi alternati (il JS li fa ondeggiare) */
.offer__item--wave .offer__l:nth-child(odd) { font-weight: 300; }

/* 02 · Risultati — barre, asse e linea di tendenza (creati/misurati dal JS) */
.offer__item--chart .offer__word { margin-top: calc(var(--fs) * .55); }
.offer__chart { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.offer__axis {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .34) 8%, rgba(255, 255, 255, .34) 92%, rgba(255, 255, 255, 0));
  transform-origin: 0 50%;
}
.offer__bar {
  position: absolute;
  border-radius: 12px 12px 0 0;
  background: linear-gradient(to top, rgba(124, 31, 255, 0) 0%, rgba(124, 31, 255, .30) 55%, rgba(178, 107, 255, .62) 100%);
  box-shadow: inset 0 2px 0 rgba(214, 176, 255, .85);
  transform-origin: 50% 100%;
  transform: scaleY(0);
}
.offer__trend {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.offer__trend-line {
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 9px rgba(172, 5, 255, .9));
}
.offer__trend-dot { fill: #fff; }
.offer__trend-ring {
  fill: none;
  stroke: rgba(214, 176, 255, .8);
  stroke-width: 1.5;
  transform-box: fill-box;
  transform-origin: center;
  animation: offer-ring 1.8s cubic-bezier(.2, .7, .3, 1) infinite;
}
@keyframes offer-ring {
  from { transform: scale(.35); opacity: 1; }
  to   { transform: scale(1.7); opacity: 0; }
}
/* senza JS non ci sono barre né linea */
.offer:not(.is-js) .offer__chart,
.offer:not(.is-js) .offer__spec { display: none; }

/* 03 · Qualità — tela pixelata, guide tipografiche, lente */
.offer__spec { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.offer.is-js .offer__item--spec .offer__letters { opacity: 0; }   /* la parola la disegna la tela */
.offer__px { position: absolute; image-rendering: pixelated; }
.offer__guides { position: absolute; inset: 0; }
.offer__guide {
  position: absolute;
  height: 1px;
  background: rgba(255, 255, 255, .2);
  transform-origin: 0 50%;
  transform: scaleX(0);
}
.offer__guide--key { background: rgba(178, 107, 255, .6); }
.offer__glabel {
  position: absolute;
  font-family: var(--font-archivo);
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(255, 255, 255, .5);
  opacity: 0;
}
.offer__glabel b { font-weight: 500; color: var(--lilac); }
.offer__tick {
  position: absolute;
  width: 0;
  border-left: 1px dashed rgba(255, 255, 255, .16);
  transform-origin: 50% 0;
  transform: scaleY(0);
}
.offer__loupe {
  position: absolute;
  left: 0;
  top: 0;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  background: #070609;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .75), 0 0 0 7px rgba(255, 255, 255, .06), 0 14px 34px rgba(0, 0, 0, .38), 0 0 48px rgba(124, 31, 255, .32);
  opacity: 0;
  will-change: transform, opacity;
}
.offer__loupe-cv { display: block; width: 100%; height: 100%; }
.offer__loupe-tag {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  padding: 5px 9px;
  border-radius: 99px;
  background: rgba(6, 6, 6, .72);
  font-family: var(--font-archivo);
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .12em;
  color: var(--lilac);
}

/* ---- barra di avanzamento (solo palco sticky) ---- */
.offer__rail {
  position: absolute;
  z-index: 3;
  left: var(--pad-x);
  right: var(--pad-x);
  bottom: var(--pad-y);
  display: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  opacity: 0;
}
.offer__rail-btn {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: baseline;
  column-gap: 14px;
  row-gap: 16px;
  text-align: left;
  color: rgba(255, 255, 255, .38);
  transition: color .45s;
}
.offer__rail-btn.is-on,
.offer__rail-btn:hover { color: var(--c-white); }
.offer__rail-n {
  font-family: var(--font-archivo);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .14em;
}
.offer__rail-t {
  font-family: var(--font-bebas);
  font-size: 26px;
  line-height: 1;
  letter-spacing: -.01em;
}
.offer__rail-bar {
  grid-column: 1 / -1;
  position: relative;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, .16);
}
.offer__rail-bar i {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--violet), var(--lilac));
  transform-origin: 0 50%;
  transform: scaleX(0);
}

/* ==========================================================================
   Palco sticky (≥ 810px, con JS e senza movimento ridotto)
   ========================================================================== */
.offer.is-pin .offer__track { height: var(--track-h, 420vh); }
.offer.is-pin .offer__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 0;
}
.offer.is-pin .offer__head {
  position: absolute;
  left: 0;
  top: 0;
  width: max-content;
  transform-origin: 0 0;
  will-change: transform;
}
.offer.is-pin .offer__list {
  position: absolute;
  left: var(--pad-x);
  right: var(--pad-x);
  top: 160px;
  bottom: 130px;
  display: block;
  margin: 0;
}
.offer.is-pin .offer__item {
  position: absolute;
  inset: 0;
  justify-content: center;
  visibility: hidden;
}
.offer.is-pin .offer__index { display: none; }
.offer.is-pin .offer__rail { display: grid; }
.offer.is-pin .offer__l { will-change: transform, opacity; }

/* ==========================================================================
   Telefono: colonna animata
   ========================================================================== */
.offer.is-flow .offer__item { min-height: 58vh; justify-content: center; }
.offer.is-flow .offer__glow--1 { opacity: .55; top: 24%; }

/* ---- tablet ---- */
@media (min-width: 810px) and (max-width: 1439.98px) {
  .offer { --pad-x: 40px; --pad-y: 44px; }
  .offer__line { font-size: 20px; }
  .offer__rail-t { font-size: 22px; }
}

/* ---- telefono ---- */
@media (max-width: 809.98px) {
  .offer { --pad-x: 15px; --fs: clamp(48px, 17vw, 120px); }
  .offer__stage { padding: 80px var(--pad-x) 96px; }
  .offer__head { gap: 16px; }
  .offer__title { font-size: min(15.5vw, 72px); white-space: normal; }
  .offer__lead { font-size: 40px; }
  .offer__list { gap: 72px; margin-top: 64px; }
  .offer__line { font-size: 18px; max-width: 28ch; }
  .offer__glabel { display: none; }
}


/* ==========================================================================
   11-testimonial
   ========================================================================== */
/* Testimonial — portrait card (left) + quote (right) over a dotted world map.
   Desktop "Desktop Card-1" · tablet "Tablet Card-1" · phone "Mobile Card-1" (column, card first).
   NB on tablet the quote keeps its 745px max-content width and is clipped on the right (as in the original). */

.testimonial {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0;
  flex: none;
  width: 100%;
  max-width: 1920px;
  height: min-content;
  padding: 160px 85px 55px 59px;
  position: relative;
  z-index: 1;
  overflow: hidden;
  background-color: var(--c-bg);
}

/* dotted map (SVG, "fit" = contain), partly below the section edge */
.testimonial__map {
  position: absolute;
  flex: none;
  left: 17px;
  right: -10px;
  bottom: -98px;
  height: 458px;
}
.testimonial__map img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.testimonial__container {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 134px;
  flex: none;
  width: 100%;
  height: min-content;
  padding: 0;
  margin: 0;
  position: relative;
  overflow: hidden;
}

/* ---- left: portrait + name card ---- */
.testimonial__left {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0;
  flex: 1 0 0px;
  width: 1px;
  max-width: 416px;
  height: min-content;
  padding: 408px 0 0;
  position: relative;
  overflow: visible;
}
.testimonial__photo {
  position: absolute;
  inset: 0;
  flex: none;
  overflow: hidden;
  border-radius: 32px;
  will-change: transform;
}
.testimonial__card {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  flex: none;
  width: 100%;
  height: min-content;
  padding: 25px 0;
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 100%);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  will-change: transform;
}
.testimonial__name,
.testimonial__role {
  flex: none;
  width: 100%;
  height: auto;
  position: relative;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: break-word;
  text-align: center;
}
.testimonial__role { color: var(--c-gray-bb); }

/* ---- right: quote ---- */
.testimonial__right {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0;
  flex: 1 0 0px;
  width: 1px;
  height: min-content;
  padding: 0;
  margin: 0;
  position: relative;
  overflow: hidden;
}
.testimonial__desc {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  flex: none;
  width: 100%;
  height: min-content;
  padding: 0 0 109px;
  position: relative;
  overflow: hidden;
}
/* empty "quote mark" box of the original (102 × 95) */
.testimonial__mark {
  flex: none;
  width: 100%;
  height: 95px;
  position: relative;
  overflow: hidden;
}

.testimonial__quote {
  flex: none;
  width: auto;
  max-width: 745px;
  height: auto;
  position: relative;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: break-word;
  font-family: var(--font-proxima-bold);
  font-feature-settings: var(--ot-inter-display);
  font-size: 31px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 40px;
  color: var(--c-white);
}
.testimonial__lead  { font-size: 32px; }
.testimonial__big   { font-size: 48px; }
.testimonial__semi  { font-size: 48px; font-family: var(--font-proxima-semibold); font-weight: 600; }
.testimonial__serif { font-size: 48px; font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -1px; }
.testimonial__bebas { font-size: 48px; font-family: var(--font-bebas); font-weight: 400; }
.testimonial__hl    { color: rgb(133, 25, 255); }
.testimonial__muted { color: rgb(158, 158, 158); }

/* text-effect tokens created by 11-testimonial.js (same DOM as Framer's tokenizer) */
.testimonial__word { white-space: nowrap; }
.testimonial__word--long { white-space: unset; }
.testimonial__token { display: inline-block; }

/* ---- tablet ---- */
@media (min-width: 810px) and (max-width: 1439.98px) {
  .testimonial { padding: 100px 30px 55px; }
  .testimonial__container { gap: 30px; }
  .testimonial__desc { padding: 40px 0; }
}

/* ---- phone ---- */
@media (max-width: 809.98px) {
  .testimonial { padding: 50px 15px 55px; }
  .testimonial__container { flex-direction: column; gap: 0; }
  .testimonial__left { flex: none; order: 1; width: 100%; }
  .testimonial__right { flex: none; order: 2; width: 360px; height: 609px; }
  .testimonial__desc { padding: 40px 0; overflow: clip; }
  .testimonial__quote { flex: 1 0 0px; width: 1px; }
}


/* ==========================================================================
   12-cta
   ========================================================================== */
/* ==========================================================================
   CTA section ("Vuoi iniziare subito?") + "Collaboriamo" band
   ========================================================================== */
.cta {
  position: relative;
  z-index: 1;
  flex: none;
  width: 100%;
  max-width: 1920px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 137px 180px 175px 176px;
  overflow: hidden;
  background-color: var(--c-bg);
}
.cta__container {
  position: relative;
  flex: none;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 40px;
}

/* ---- top row: pill + tagline ---- */
.cta__top {
  position: relative;
  flex: none;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  overflow: hidden;
}
.cta__pill { justify-content: flex-start; will-change: transform; }
.cta__tagline {
  position: relative;
  flex: none;
  white-space: pre;
  text-align: right;
  color: var(--c-gray-bb);
}
.cta__tagline-em { color: var(--c-white); }

/* ---- big title (two lines, the first one followed by an asterisk) ---- */
.cta__title {
  position: relative;
  flex: none;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  overflow: hidden;
  font-weight: 400;
}
.cta__row {
  position: relative;
  flex: none;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  overflow: hidden;
}
.cta__line {
  display: block;
  position: relative;
  flex: none;
  width: 100%;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: break-word;
  will-change: transform;
}
.cta__line--first { flex: 1 0 0px; width: 1px; }
.cta__asterisk { position: relative; flex: none; width: 74px; height: 81px; overflow: hidden; }

/* ---- "Collaboriamo" band ---- */
.cta-band {
  position: relative;
  z-index: 1;
  flex: none;
  width: 1727px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}
.cta-band__ticker {
  position: relative;
  flex: none;
  width: 1792px;
  height: 217px;
  display: flex;
  align-items: center;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, #000 12.5%, #000 87.5%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, #000 12.5%, #000 87.5%, rgba(0, 0, 0, 0) 100%);
}
.cta-band__track {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 101px;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
}
.cta-band__item { flex: none; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.cta-band__word {
  display: block;
  flex: none;
  width: 216px;
  font-family: var(--font-bebas);
  font-feature-settings: var(--ot-inter-display);
  font-size: 55px;
  font-weight: 400;
  letter-spacing: -3.2px;
  line-height: 64px;
  text-align: center;
  color: var(--c-white);
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: break-word;
  mix-blend-mode: overlay;
}
.cta-band__star { flex: none; width: 45px; height: 50px; }

/* ---- tablet ---- */
@media (min-width: 810px) and (max-width: 1439.98px) {
  .cta { padding: 100px 30px; }
}

/* ---- phone ---- */
@media (max-width: 809.98px) {
  .cta { padding: 80px 15px 60px; overflow: clip; }
  .cta__top { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 20px; }
  .cta__asterisk { display: none; }
}


/* ==========================================================================
   13-contact
   ========================================================================== */
/* ==========================================================================
   Contact section ("compila il FORM") + form + Form Button
   ========================================================================== */
.contact {
  /* Framer spring {bounce: 0, duration: 1} (button variants / hover) */
  --contact-spring: linear(0, 0.0097, 0.0354, 0.0725, 0.1174, 0.1673, 0.22, 0.2738, 0.3274, 0.3799, 0.4306, 0.479, 0.5248, 0.5678, 0.6079, 0.645, 0.6794, 0.711, 0.7399, 0.7663, 0.7903, 0.8122, 0.832, 0.8498, 0.8659, 0.8805, 0.8935, 0.9052, 0.9157, 0.9251, 0.9335, 0.941, 0.9477, 0.9537, 0.959, 0.9637, 0.9679, 0.9716, 0.975, 0.9779, 0.9805, 0.9828, 0.9848, 0.9866, 0.9882, 0.9896, 0.9909, 0.992, 0.9929, 0.9938, 0.9945, 0.9952, 0.9958, 0.9963, 0.9967, 0.9971, 0.9975, 0.9978, 0.9981, 0.9983, 0.9985, 0.9987, 0.9989, 1);
  position: relative;
  z-index: 1;
  flex: none;
  width: 100%;
  max-width: 1920px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0 72px;
  overflow: hidden;
  background-color: var(--c-bg);
}
.contact__bg {
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  right: 0;
  height: 771px;
  flex: none;
  will-change: transform;
}
.contact__container {
  position: relative;
  flex: 1 0 0px;
  width: 1px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  overflow: hidden;
}

/* ---- left column ---- */
.contact__left {
  position: relative;
  flex: 1 0 0px;
  width: 1px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 338px;
  padding: 0 0 62px;
}
.contact__top {
  position: relative;
  flex: none;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.contact__pills { z-index: 1; justify-content: flex-start; will-change: transform; }
.contact__title {
  position: relative;
  z-index: 1;
  flex: none;
  width: 100%;
  max-width: 319px;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: break-word;
  will-change: transform;
}
.contact__text {
  position: relative;
  z-index: 1;
  flex: none;
  width: 100%;
  max-width: 230px;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: break-word;
  color: var(--c-gray-bb);
}

/* ---- form card ---- */
.contact__card {
  position: relative;
  flex: 1 0 0px;
  width: 1px;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 64px 48px;
  overflow: hidden;
  background-color: var(--c-ink-15);
  border-radius: 24px;
  will-change: transform;
}
.contact-form {
  position: relative;
  flex: none;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 40px;
  overflow: hidden;
}
.contact-form__field {
  position: relative;
  flex: none;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  overflow: hidden;
  cursor: default;
}
.contact-form__field--select { gap: 10px; }
.contact-form__label {
  display: block;
  flex: none;
  width: 100%;
  font-family: var(--font-archivo);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 28px;
  color: var(--c-white);
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: break-word;
}

/* input wrapper: 1px bottom line, full 1px #bbb frame while focused */
.contact-form__control {
  position: relative;
  flex: none;
  width: 100%;
  display: flex;
  align-items: center;
  padding: 12px;
  overflow: hidden;
}
.contact-form__control::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  pointer-events: none;
  border-style: solid;
  border-color: #ffffff26;
  border-width: 0 0 1px;
}
.contact-form__control:focus-within::after { border-color: var(--c-gray-bb); border-width: 1px; }

.contact-form__input {
  flex: 1;
  width: auto;
  min-width: 0;
  height: auto;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  overflow: hidden;
  font-family: var(--font-inter);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.2em;
  color: var(--c-white);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.contact-form__input::placeholder { color: #ffffff4d; opacity: 1; }
.contact-form__input:focus-visible { outline: none; }

/* textarea */
.contact-form__control--textarea { padding: 0; min-height: 100px; }
.contact-form__textarea {
  display: flex;
  width: 100%;
  min-height: inherit;
  max-height: inherit;
  padding: 12px;
  resize: vertical;
  white-space: break-spaces;
  overflow-y: auto;
}
.contact-form__textarea::-webkit-resizer {
  background: url("data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 width=%2214%22 height=%2214%22><path d=%22m1.5 8 7-7M9 5.5l-3 3%22 stroke=%22%23999%22 stroke-width=%221.5%22 stroke-linecap=%22round%22></path></svg>") no-repeat;
}

/* select (chevron drawn with a mask, like Framer's) */
.contact-form__control--select { display: block; padding: 0 10px 0 0; }
.contact-form__control--select::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  display: block;
  box-sizing: content-box;
  width: 16px;
  padding: 10px;
  border: none;
  pointer-events: none;
  background-color: #999;
  -webkit-mask: url("data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\"><path d=\"M 3.5 6 L 8 10.5 L 12.5 6\" fill=\"transparent\" stroke-width=\"1.5\" stroke=\"rgb(153, 153, 153)\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path></svg>") 10px / 16px no-repeat;
  mask: url("data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\"><path d=\"M 3.5 6 L 8 10.5 L 12.5 6\" fill=\"transparent\" stroke-width=\"1.5\" stroke=\"rgb(153, 153, 153)\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path></svg>") 10px / 16px no-repeat;
}
.contact-form__select {
  display: inline-block;
  width: 100%;
  padding: 10px;
  -webkit-appearance: none;
  appearance: none;
  cursor: default;
}
.contact-form__select option { color: #000; }
.contact-form__select option:disabled { color: rgba(0, 0, 0, 0.4); }

/* ---- submit button ---- */
.contact-form__actions {
  position: relative;
  flex: none;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 40px 0 0;
  overflow: hidden;
}
.form-button {
  --form-button-error: 0; /* 0 → 1: white → error red (animated, see below) */
  position: relative;
  flex: 1 0 0px;
  width: 1px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 3px 4px 3px 20px;
  overflow: hidden;
  background-color: var(--c-white);
  border-radius: 100px;
  cursor: pointer;
  will-change: transform;
  transition: --form-button-error 1s var(--contact-spring), background-color 1s var(--contact-spring);
}
.form-button[data-state="loading"] { padding: 17px 20px; }
.form-button:not([data-state="default"]) { cursor: auto; }
.form-button[data-state="error"] { --form-button-error: 1; background-color: rgba(255, 34, 68, 0.15); }
/* Framer Motion mixes colours channel by channel as sqrt(mix(a², b², t)):
   interpolate a registered number and compute the colour from it */
@property --form-button-error { syntax: "<number>"; inherits: false; initial-value: 0; }
@supports (width: calc(sqrt(4) * 1px)) {
  .form-button,
  .form-button[data-state="error"] {
    transition: --form-button-error 1s var(--contact-spring);
    background-color: rgb(255 calc(sqrt(65025 - 63869 * var(--form-button-error))) calc(sqrt(65025 - 60401 * var(--form-button-error))) / calc(1 - 0.85 * var(--form-button-error)));
  }
}

.form-button__text {
  position: relative;
  flex: none;
  width: min-content;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.form-button__label {
  flex: none;
  -webkit-user-select: none;
  user-select: none;
  transition: transform 1s var(--contact-spring);
}
.form-button__label--main { position: relative; transform: none; }
.form-button__label--alt { position: absolute; top: 0; left: 50%; transform: translateX(-50%) translateY(45px); }
.form-button__t { display: none; white-space: pre; }
.form-button__label--alt .form-button__t { transition: transform 1s var(--contact-spring); }
/* the "Send Request" copy appears (hover out) stretched to the width of "Invia Richiesta" and relaxes */
@starting-style { .form-button[data-state="default"] .form-button__label--alt .form-button__t--default { transform: scaleX(1.0381); } }
.form-button[data-state="default"] .form-button__t--default,
.form-button[data-state="success"] .form-button__t--success,
.form-button[data-state="error"] .form-button__t--error { display: block; }
.form-button__label--main .form-button__t--error {
  font-family: var(--font-archivo);
  font-feature-settings: var(--ot-inter-display);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 24px;
  color: #f00;
}
.form-button__thanks { font-family: var(--font-inter); font-size: 14px; font-weight: 600; line-height: 1.2em; color: var(--c-white); }

.form-button__icon {
  position: relative;
  flex: none;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  overflow: hidden;
  background-color: var(--c-black);
  border-radius: 100px;
  will-change: transform;
}
.form-button__arrow { flex: none; width: 20px; height: 20px; overflow: hidden; transition: transform 1s var(--contact-spring); }
.form-button__arrow--in { position: relative; }
.form-button__arrow--next { position: absolute; z-index: 1; top: 16px; left: 16px; transform: translateX(-36px); }

/* hover (mouse only, default state only): the label slides up and shrinks while
   its copy rises from below; the arrow leaves to the right, a new one enters from the left */
@media (hover: hover) {
  .form-button[data-state="default"]:hover .form-button__label--main { transform: translateY(-45px) scale(0.8); }
  .form-button[data-state="default"]:hover .form-button__label--alt { transform: translateX(-50%) translateY(0); }
  .form-button[data-state="default"]:hover .form-button__label--alt .form-button__t--default { display: none; }
  .form-button[data-state="default"]:hover .form-button__label--alt .form-button__t--hover { display: block; }
  .form-button[data-state="default"]:hover .form-button__arrow--in { transform: translateX(36px); }
  .form-button[data-state="default"]:hover .form-button__arrow--next { transform: none; }
  /* …and the "Invia Richiesta" copy appears squeezed to the width of "Send Request" */
  @starting-style { .form-button[data-state="default"]:hover .form-button__label--alt .form-button__t--hover { transform: scaleX(0.9633); } }
}

/* loading: only the spinner (rotating conic gradient masked to a ring) */
.form-button__spinner {
  position: relative;
  flex: none;
  display: none;
  width: 20px;
  height: 20px;
  overflow: hidden;
  -webkit-mask: url("../img/misc-conic.svg") alpha no-repeat center / cover;
  mask: url("../img/misc-conic.svg") alpha no-repeat center / cover;
}
.form-button__conic {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: conic-gradient(from 0deg at 50% 50%, var(--c-bg) 7.2086deg, var(--c-white) 342deg);
  -webkit-mask: url("../img/misc-conic.svg") alpha no-repeat center / cover;
  mask: url("../img/misc-conic.svg") alpha no-repeat center / cover;
  animation: form-button-spin 1s linear infinite;
}
.form-button__dot {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 2px;
  transform: translateX(-50%);
  background-color: var(--c-white);
  border-radius: 1px;
}
@keyframes form-button-spin { to { transform: rotate(360deg); } }
.form-button[data-state="loading"] .form-button__spinner { display: block; }
.form-button[data-state="loading"] .form-button__text,
.form-button[data-state="loading"] .form-button__icon { display: none; }

/* ---- tablet ---- */
@media (min-width: 810px) and (max-width: 1439.98px) {
  .contact { padding: 0 30px; }
  .contact__container { flex-direction: column; }
  .contact__left { flex: none; width: 100%; gap: 100px; }
  .contact__card { flex: none; width: 100%; max-width: none; }
}

/* ---- phone ---- */
@media (max-width: 809.98px) {
  .contact { flex-direction: column; padding: 0 15px; overflow: clip; }
  .contact__container { flex: none; width: 100%; flex-direction: column; }
  .contact__left { flex: none; width: 100%; gap: 100px; }
  .contact__card { flex: none; width: 100%; max-width: none; padding: 64px 15px; }
  .contact-form__actions { flex-direction: column; }
  .form-button { flex: none; width: 100%; }
}


/* ==========================================================================
   99-footer
   ========================================================================== */
/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  /* Framer springs {bounce: 0, duration: 0.7} (gallery) and {bounce: 0, duration: 1} (icon hover) */
  --footer-spring-07: linear(0, 0.0192, 0.0669, 0.1317, 0.2054, 0.2824, 0.3586, 0.4317, 0.5001, 0.563, 0.62, 0.6711, 0.7164, 0.7564, 0.7914, 0.8219, 0.8483, 0.8711, 0.8907, 0.9075, 0.9218, 0.9341, 0.9445, 0.9533, 0.9608, 0.9671, 0.9724, 0.9769, 0.9807, 0.9839, 0.9865, 0.9888, 0.9906, 0.9922, 0.9935, 0.9946, 0.9955, 0.9963, 0.9969, 0.9974, 0.9979, 0.9982, 0.9985, 0.9988, 1);
  --footer-spring-1: linear(0, 0.0097, 0.0354, 0.0725, 0.1174, 0.1673, 0.22, 0.2738, 0.3274, 0.3799, 0.4306, 0.479, 0.5248, 0.5678, 0.6079, 0.645, 0.6794, 0.711, 0.7399, 0.7663, 0.7903, 0.8122, 0.832, 0.8498, 0.8659, 0.8805, 0.8935, 0.9052, 0.9157, 0.9251, 0.9335, 0.941, 0.9477, 0.9537, 0.959, 0.9637, 0.9679, 0.9716, 0.975, 0.9779, 0.9805, 0.9828, 0.9848, 0.9866, 0.9882, 0.9896, 0.9909, 0.992, 0.9929, 0.9938, 0.9945, 0.9952, 0.9958, 0.9963, 0.9967, 0.9971, 0.9975, 0.9978, 0.9981, 0.9983, 0.9985, 0.9987, 0.9989, 1);
  position: relative;
  z-index: 1;
  flex: none;
  width: 100%;
  max-width: 1920px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 124px 0 0;
  background-color: var(--c-bg);
}
.footer__container {
  position: relative;
  flex: none;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 120px;
  padding: 156px 72px 53px;
  background: linear-gradient(180deg, rgb(6, 6, 6) 0%, rgb(73, 0, 125) 100%);
}
.footer__container::after { /* 1px top border */
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  pointer-events: none;
  border-top: 1px solid var(--c-white-15);
}
.footer__top {
  position: relative;
  flex: none;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
}

/* ---- gallery ---- */
.footer-gallery {
  position: relative;
  flex: none;
  width: 306px;
  height: 273px;
}
.footer-gallery__wrap {
  position: absolute;
  z-index: 1;
  inset: 0;
  padding: 1px;
}
.footer-gallery__layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  transition: opacity 0.7s var(--footer-spring-07);
}
.footer-gallery__layer--front { z-index: 4; }
.footer-gallery__layer--back { z-index: 3; }
.footer-gallery__photo--alt { visibility: hidden; }
.footer-gallery[data-step="2"] .footer-gallery__photo { visibility: hidden; }
.footer-gallery[data-step="2"] .footer-gallery__photo--alt { visibility: visible; }
.footer-gallery[data-step="2"] .footer-gallery__layer--front,
.footer-gallery[data-step="3"] .footer-gallery__layer { opacity: 0; }

/* ---- right: big brand text + social icon ---- */
.footer__right {
  position: relative;
  flex: 1 0 0px;
  width: 1px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 100px;
  padding: 0 0 0 50px;
}
.footer__brand {
  position: absolute;
  z-index: 1;
  bottom: -278px;
  left: 49%;
  width: 117%;
  transform: translateX(-50%);
}
.footer__brand-svg { display: block; width: 100%; height: auto; overflow: hidden; will-change: transform; }
.footer__brand-fit { overflow: visible; transform-origin: center center; transform: scale(0.56); } /* Framer fit-text scale */
.footer__brand-text {
  margin: 0;
  font-family: var(--font-bebas);
  font-feature-settings: var(--ot-inter-display);
  font-size: 787.0629445236473px;
  font-weight: 400;
  letter-spacing: -20px;
  line-height: 354px;
  color: var(--c-white);
  white-space: nowrap;
}
.footer__brand-fill { /* gradient-filled text (black → transparent) */
  display: inline-block;
  padding: calc((1.3em - 354px) / 2);
  margin: calc((1.3em - 354px) / -2);
  background-image: linear-gradient(180deg, #000 45%, rgba(0, 0, 0, 0) 66%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.footer__icons {
  position: relative;
  flex: none;
  width: min-content;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  will-change: transform;
}
.social-icon {
  --social-icon-hover: 0; /* 0 → 1 on hover (animated, see below) */
  position: relative;
  z-index: 2;
  flex: none;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0);
  border-radius: 50%;
  cursor: pointer;
  will-change: transform;
  transition: --social-icon-hover 1s var(--footer-spring-1), background-color 1s var(--footer-spring-1);
}
.social-icon::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  pointer-events: none;
  border: 1px solid var(--c-gray);
  border-radius: inherit;
}
.social-icon__svg { flex: none; width: 20px; height: 20px; overflow: hidden; }
@media (hover: hover) {
  .social-icon:hover { --social-icon-hover: 1; background-color: #ffffff4d; }
}
/* Framer Motion mixes colours channel by channel as sqrt(mix(a², b², t)) */
@property --social-icon-hover { syntax: "<number>"; inherits: false; initial-value: 0; }
@supports (width: calc(sqrt(4) * 1px)) {
  .social-icon,
  .social-icon:hover {
    transition: --social-icon-hover 1s var(--footer-spring-1);
    background-color: rgb(calc(255 * sqrt(var(--social-icon-hover))) calc(255 * sqrt(var(--social-icon-hover))) calc(255 * sqrt(var(--social-icon-hover))) / calc(0.302 * var(--social-icon-hover)));
  }
}

/* ---- tablet ---- */
@media (min-width: 810px) and (max-width: 1439.98px) {
  .footer__container { padding: 100px 30px 53px; }
  .footer__top { flex-direction: column; gap: 60px; }
  .footer__right { flex: none; width: 100%; gap: 120px; justify-content: flex-start; }
  .footer__brand { bottom: -102px; left: -69px; width: 100%; transform: none; }
}

/* ---- phone ---- */
@media (max-width: 809.98px) {
  .footer { overflow: clip; }
  .footer__container { padding: 80px 15px 53px; }
  .footer__top { flex-direction: column; gap: 60px; }
  .footer__right { flex: none; width: 100%; gap: 70px; justify-content: flex-start; }
  .footer__brand { bottom: auto; left: auto; right: -34px; top: 50%; width: 100%; transform: translateY(-50%); }
  .footer__brand-fit { transform: scale(0.53); }
  .footer__icons { flex-direction: row; }
}

