@font-face {
  font-family: "Brama Headings";
  src: local("HelveticaNeue-CondensedBold"), local("Helvetica Neue Condensed Bold");
  font-stretch: normal;
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Archivo Fallback";
  src: url("assets/Archivo-original.ttf") format("truetype");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Manrope;
  src: url("assets/Manrope.ttf") format("truetype");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --red: #ff1e0b;
  --black: #000;
  --white: #fff;
  --page-background: #ededed;
  --hero-inset: 20px;
  --headings: "Brama Headings", "Archivo Fallback", "Arial Narrow", sans-serif;
  font-family: Manrope, Arial, sans-serif;
  color: var(--black);
  background: var(--page-background);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: var(--page-background);
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}
img {
  display: block;
  max-width: 100%;
}
p, h1, h2, figure {
  margin: 0;
}
button, a {
  -webkit-tap-highlight-color: transparent;
}
[id] {
  scroll-margin-top: 24px;
}

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 6px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 16px;
  left: 16px;
  transform: translateY(-150%);
  padding: 14px 20px;
  border-radius: 8px;
  color: #000;
  background: #fff;
  font-weight: 700;
}
.skip-link:focus {
  transform: translateY(0);
}

/* One photographic canvas; scaling contains the edges of the blurred image. */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 800px;
  height: calc(100svh - 16px);
  margin: 8px;
  overflow: hidden;
  border-radius: 24px;
  color: #fff;
  background: #171a1a;
}

.hero-media, .hero-media img, .hero::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-media {
  z-index: -2;
}
.hero-media img {
  object-fit: cover;
  object-position: center 48%;
  filter: blur(12px);
  transform: scale(1.07);
}
.hero::after {
  content: "";
  z-index: -1;
  background: linear-gradient(180deg, #0008 0%, #0005 28%, #0006 58%, #000b 100%);
}

.site-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 20px var(--hero-inset);
}
.brand {
  display: flex;
  align-items: center;
  min-height: 52px;
}
.brand img {
  width: 175px;
  height: auto;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-left: 40px;
}
.desktop-nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  font-weight: 600;
}
.desktop-nav a:hover {
  text-decoration: underline;
  text-underline-offset: 6px;
}

/* Both rows are decorative; the link has a single explicit accessible name. */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  border: 0;
  border-radius: 24px;
  color: #fff;
  background: #000;
  font-family: var(--headings);
  font-size: 20px;
  line-height: 24px;
  font-weight: 700;
  font-stretch: 75%;
  text-transform: uppercase;
  letter-spacing: normal;
  white-space: nowrap;
  transition: color 200ms ease-out, background-color 200ms ease-out, border-radius 200ms ease-out, transform 200ms ease-out;
}
.button-window {
  display: block;
  height: 24px;
  overflow: hidden;
}
.button-roll {
  display: flex;
  flex-direction: column;
  transition: transform 200ms ease-out;
}
.button-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 24px;
}
.button-line > span {
  font-size: 17px;
}
.button:active {
  transform: scale(.97);
}
.header-cta {
  color: #000;
  background: #fff;
  text-transform: uppercase;
}
.button-arrow {
  display: block;
  flex: none;
  width: 12px;
  height: 12px;
}
.menu-toggle, .mobile-cta {
  display: none;
}

.hero-copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 24px 24px 34px;
  text-align: center;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}
.hero-preheadline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  max-width: 100%;
  margin-bottom: 22px;
}
.hero-preheadline .eyebrow {
  color: #fff;
  opacity: 1;
  font-weight: 700;
  text-wrap: balance;
}
.laurel {
  flex: none;
  width: 33px;
  height: 56px;
  object-fit: contain;
}
.laurel-right {
  transform: scaleX(-1);
}
h1, h2 {
  font-family: var(--headings);
  font-weight: 700;
  font-stretch: 75%;
  text-transform: uppercase;
  letter-spacing: normal;
  line-height: .9;
  font-kerning: auto;
}
.hero h1 {
  width: 100%;
  max-width: 1200px;
  font-size: clamp(72px, 7.5vw, 124px);
}
.headline-line {
  display: block;
}
.headline-final {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .14em;
}
.headline-new-group {
  display: inline-flex;
  align-items: center;
  gap: .14em;
}
.headline-thumbnail {
  flex: none;
  width: .8em;
  height: .8em;
  border-radius: 8px;
  object-fit: cover;
  object-position: 60% center;
}
.hero-description {
  color: #fff;
  opacity: 1;
  max-width: 670px;
  margin-top: 28px;
  font-size: clamp(22px, 1.8vw, 26px);
  line-height: 1.45;
  letter-spacing: normal;
  font-weight: 600;
  text-wrap: balance;
}

/* Two identical sets include the trailing gap, so a 50% translation loops cleanly. */
.logo-marquee {
  position: relative;
  width: min(100%, 1000px);
  margin-top: 44px;
}
.marquee-window {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: logo-scroll 36s linear infinite;
}
.client-logos {
  display: flex;
  flex: none;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0 32px 0 0;
}
.client-logos li {
  display: flex;
  flex: 0 0 120px;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 48px;
}
.client-logos img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.client-san-marco img {
  max-width: 88px;
}
.client-scalapay img {
  max-width: 108px;
}
.client-boldrini img {
  max-width: 116px;
}
.client-amazon img {
  max-width: 96px;
}
.client-toyota img {
  max-width: 62px;
}
.client-eni img {
  max-width: 85px;
}
.client-pwc img {
  max-width: 68px;
}
.client-lenovo > span {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100px;
  height: 24px;
}
.client-lenovo img {
  position: absolute;
  max-width: none;
  width: 105px;
  height: 105px;
  top: -40px;
  left: -3px;
}
@keyframes logo-scroll {
  to { transform: translateX(-50%); }
}

.hero-bottom {
  padding: 0 20px 20px;
}
.hero-footnote {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
}
.hero-footnote p:first-child {
  max-width: 580px;
  text-wrap: balance;
}
.hero-footnote p:last-child {
  flex: none;
  text-align: right;
  font-weight: 600;
}

/* Intro left, title + actions right; one DOM order (title, intro, actions) for every width. */
.call-section {
  display: grid;
  grid-template-columns: minmax(0, 40vw) minmax(0, 46.7vw);
  grid-template-areas: "intro title" "intro actions";
  justify-content: space-between;
  align-items: start;
  column-gap: 40px;
  row-gap: 28px;
  padding: 96px 28px;
}
/* Second line (una prima call + image) is ~7.95em wide in both Helvetica and Archivo. */
.call-title {
  grid-area: title;
  font-size: clamp(40px, 5.6vw, 128px);
}
.call-title-line {
  display: block;
}
.call-title-end {
  white-space: nowrap;
}
.call-title-image {
  display: inline-block;
  width: .9em;
  height: .9em;
  margin-left: .04em;
  border-radius: 15%;
  object-fit: cover;
  vertical-align: baseline;
  transform: translateY(.09em);
}
@supports (height: 1cap) {
  .call-title-image {
    width: 1.25cap;
    height: 1.25cap;
    transform: translateY(.125cap);
  }
}
.call-intro {
  grid-area: intro;
  margin-top: 8px;
  font-size: clamp(18px, 1.67vw, 30px);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -.01em;
  text-wrap: balance;
}
/* Three fixed lines at every width: the longest (marketer che trasformano l’attenzione)
   is ~17.9em in Manrope 600, so the type shrinks with the column instead of rewrapping. */
@supports (font-size: 1cqi) {
  .call-intro {
    container-type: inline-size;
  }
  .call-intro-line {
    display: block;
    font-size: min(1em, 5.4cqi);
    white-space: nowrap;
  }
}
.call-actions {
  grid-area: actions;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.call-primary {
  color: #000;
  background: #fff;
}
.button-ghost {
  padding-inline: 4px;
  color: #000;
  background: transparent;
}
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 0 28px;
  padding: 34px 0;
  border-top: 1px solid #ddd;
  font-size: 14px;
}
.footer-brand img {
  height: auto;
}
.site-footer > a {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 44px;
}
.site-footer > a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.site-footer > span {
  font-size: 12px;
  font-weight: 600;
}

.mobile-menu {
  width: calc(100% - 16px);
  max-width: none;
  height: calc(100svh - 16px);
  max-height: calc(100svh - 16px);
  margin: 8px;
  padding: 20px;
  border: 0;
  border-radius: 24px;
  color: #fff;
  background: rgba(17, 18, 18, .94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.mobile-menu[open] {
  display: flex;
  flex-direction: column;
}
.mobile-menu::backdrop {
  background: #0003;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.menu-top > img {
  width: 138px;
  height: auto;
}
.menu-close {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  color: #fff;
  background: transparent;
  cursor: pointer;
}
.mobile-menu nav {
  display: flex;
  flex-direction: column;
  margin: 36px 0;
}
.mobile-menu nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 18px 0;
  border-bottom: 1px solid #fff3;
  font-family: Manrope, Arial, sans-serif;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: normal;
  font-weight: 500;
}
.mobile-menu .button {
  flex: none;
  width: 100%;
  margin-top: auto;
  color: #000;
  background: #fff;
}
body.menu-open {
  overflow: hidden;
}

@media (hover: hover) and (pointer: fine) {
  .button:hover {
    border-radius: 12px;
    color: #000;
    background: var(--red);
  }
  .mobile-menu .button:hover {
    background: var(--red);
  }
  .button:hover .button-roll {
    transform: translateY(-24px);
  }
  .button-ghost:hover {
    border-radius: 24px;
    color: #000;
    background: transparent;
  }
}

@media (max-width: 1023px) {
  .hero-footnote {
    font-size: 14px;
  }
  .hero-media img {
    filter: blur(8px);
  }
  .desktop-nav {
    gap: 20px;
    margin-left: 0;
  }
  .site-header {
    gap: 20px;
  }
  .brand img {
    width: 150px;
  }
  .hero h1 {
    font-size: clamp(58px, 7.5vw, 90px);
  }
  .hero-footnote p:first-child {
    max-width: 500px;
  }
}

@media (max-width: 700px) {
  .hero {
    height: auto;
    min-height: calc(100svh - 16px);
    border-radius: 20px;
  }
  .hero-media img {
    object-position: 63% center;
    transform: scale(1.1);
  }
  .hero::after {
    background: linear-gradient(180deg, #0007, #0006 28%, #0007 55%, #000c 100%);
  }
  .site-header {
    padding: 20px var(--hero-inset);
  }
  .brand {
    min-height: 44px;
  }
  .brand img {
    width: 138px;
  }
  .desktop-nav, .header-cta {
    display: none;
  }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 0;
    color: #fff;
    background: transparent;
    cursor: pointer;
  }
  .menu-toggle span {
    width: 20px;
    height: 2px;
    background: currentColor;
  }
  .hero-copy {
    container-type: inline-size;
    width: 100%;
    justify-content: center;
    /* Balance the header and footnote heights around the full hero centre. */
    padding: 24px var(--hero-inset) 67px;
  }
  .hero-preheadline {
    gap: 8px;
    margin-bottom: 24px;
  }
  .hero-preheadline .eyebrow {
    max-width: 220px;
    min-width: 0;
    font-size: 11px;
    letter-spacing: .05em;
  }
  .laurel {
    width: 24px;
    height: 41px;
  }
  .hero h1 {
    font-size: clamp(32px, 10.5vw, 76px);
  }
  @supports (font-size: 1cqi) {
    .hero h1 {
      font-size: clamp(32px, 13.6cqi, 76px);
    }
  }
  .headline-line, .headline-obsession {
    white-space: nowrap;
  }
  .headline-final {
    display: flex;
    flex-direction: column;
    gap: .06em;
  }
  .headline-new-group {
    font-size: 1.25em;
    align-items: baseline;
  }
  .headline-obsession {
    font-size: 1.25em;
  }
  .headline-thumbnail {
    width: .82em;
    height: .82em;
    border-radius: 6px;
    transform: translateY(.035em);
  }
  @supports (height: 1cap) {
    .headline-thumbnail {
      width: 1.1cap;
      height: 1.1cap;
      transform: translateY(.05cap);
    }
  }
  .hero-description {
    max-width: 340px;
    margin-top: 24px;
    font-size: 18px;
    line-height: 1.5;
  }
  .desktop-break {
    display: none;
  }
  .logo-marquee {
    width: 100%;
    margin-top: 32px;
  }
  .marquee-window {
    mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  }
  .client-logos {
    gap: 32px;
    padding-right: 32px;
  }
  .client-logos li {
    flex-basis: 62px;
    width: 62px;
    height: 44px;
  }
  .client-logos img {
    width: 62px;
    height: auto;
  }
  .client-san-marco img {
    max-width: 62px;
  }
  .client-scalapay img {
    max-width: 62px;
  }
  .client-boldrini img {
    max-width: 62px;
  }
  .client-amazon img {
    max-width: 62px;
  }
  .client-toyota img {
    max-width: 62px;
  }
  .client-eni img {
    max-width: 62px;
  }
  .client-pwc img {
    max-width: 62px;
  }
  .client-lenovo > span {
    width: 62px;
    height: 17px;
  }
  .client-lenovo img {
    width: 62px;
    height: 62px;
    top: -23px;
    left: 0;
  }
  .mobile-cta {
    display: inline-flex;
    margin-top: 22px;
    color: #000;
    background: #fff;
  }
  @media (hover: hover) and (pointer: fine) {
    .mobile-cta:hover {
      color: #000;
      background: var(--red);
    }
  }
  .hero-bottom {
    padding: 0 20px 20px;
  }
  .hero-footnote {
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
    font-size: 14px;
    line-height: 1.5;
  }
  .hero-footnote p:first-child {
    display: none;
  }
  .hero-footnote p:last-child {
    flex: none;
    text-align: center;
  }
  .call-section {
    container-type: inline-size;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "title" "intro" "actions";
    row-gap: 12px;
    padding: 48px 28px;
  }
  /* Three lines on mobile; the widest (Tutto parte da) is ~6.8em. */
  .call-title {
    font-size: 11.6vw;
  }
  @supports (font-size: 1cqi) {
    .call-title {
      font-size: 14.2cqi;
    }
  }
  .call-title-end {
    display: block;
  }
  .call-intro {
    margin-top: 0;
    font-size: 18px;
    line-height: 1.25;
  }
  .call-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    margin-top: 4px;
  }
  .call-actions .button-ghost {
    align-self: center;
  }
  .site-footer {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    margin: 0 28px;
    padding: 28px 0 32px;
  }
  .footer-brand img {
    width: 110px;
  }
  .site-footer > a:nth-child(2) {
    gap: 6px;
    font-size: 12px;
  }
  .site-footer > span {
    grid-column: 1 / -1;
    font-size: 11px;
  }
}

@media (max-width: 359px) {
  .site-header {
    padding: 20px;
  }
  .hero-copy {
    padding-inline: var(--hero-inset);
  }
  .hero-description {
    max-width: 275px;
    font-size: 17px;
  }
  .hero-bottom {
    padding-inline: 20px;
  }
  .site-footer > a:nth-child(2) {
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .button:active, .button:hover .button-roll {
    transform: none;
  }
  .logo-marquee {
    padding-bottom: 0;
  }
  .marquee-window {
    overflow: visible;
    mask-image: none;
    -webkit-mask-image: none;
  }
  .marquee-track {
    width: 100%;
    transform: none;
  }
  .client-logos {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 22px 16px;
    padding: 0;
  }
  .client-logos li {
    flex: 0 0 calc(25% - 12px);
    width: auto;
  }
  .marquee-duplicate {
    display: none;
  }
}

@media (prefers-contrast: more) {
  .hero::after {
    background: #000c;
  }
  .menu-toggle {
    border-color: #fff;
  }
  .site-footer {
    border-color: #000;
  }
}
