    :root {
      --content-xs: 22rem;
      --content-sm: 48rem;
      --content-lg: 75rem;
      --content-xl: 88rem;
      --content-max: var(--content-xs);

      --gutter: clamp(1rem, 2vw, 2.5rem);
      --section-y: clamp(3rem, 7vw, 7rem);
      --section-y-sm: clamp(2rem, 4vw, 3.5rem);
      --card-pad: clamp(1.1rem, 1vw + 0.8rem, 1.75rem);

      --fs-xs: clamp(0.75rem, 0.72rem + 0.15vw, 0.875rem);
      --fs-sm: clamp(0.94rem, 0.88rem + 0.2vw, 1rem);
      --fs-base: clamp(1rem, 0.96rem + 0.22vw, 1.125rem);
      --fs-md: clamp(1.125rem, 1rem + 0.45vw, 1.35rem);
      --fs-lg: clamp(1.5rem, 1.2rem + 1vw, 2.2rem);
      --fs-xl: clamp(2.2rem, 1.5rem + 3vw, 4.8rem);

      /* --bg: #f5f5f5; */
      --surface: #f8f6f2;
      --surface-2: #f0ece5;
      --surface-3: #ebe6de;
      --text: #1f1b17;
      --muted: rgba(31, 27, 23, 0.68);
      --muted-light: rgba(224, 228, 232, 0.68);
      --text-light: rgba(246, 239, 229, 0.96);
      --muted-2: rgba(31, 27, 23, 0.56);
      --line: rgba(31, 27, 23, 0.1);
      --overlay: rgba(16, 12, 8, 0.44);

      --glass-text: rgba(255, 255, 255, 0.92);
      --burgundy: #800020;
      --accent: #980021;

      --radius-sm: 0.6rem;
      --radius-md: 1rem;
      --radius-lg: 1.5rem;
      --radius-xl: 1.75rem;
      --radius-pill: 999px;

      --shadow-sm: 0 8px 24px rgba(22, 18, 14, 0.05);
      --shadow-md: 0 20px 44px rgba(22, 18, 14, 0.08);
      --shadow-lg: 0 26px 60px rgba(22, 18, 14, 0.12);
      --shadow-glass: 0 10px 30px rgba(0, 0, 0, 0.06);
    }

    @media (min-width: 48rem) {
      :root { --content-max: var(--content-sm); }
    }

    @media (min-width: 75rem) {
      :root { --content-max: var(--content-lg); }
    }

    @media (min-width: 100rem) {
      :root { --content-max: var(--content-xl); }
    }

    *,
    *::before,
    *::after {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
      -webkit-text-size-adjust: 100%;
      text-size-adjust: 100%;
    }

    body {
      margin: 0;
      min-height: 100vh;
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
      font-size: var(--fs-base);
      line-height: 1.6;
      color: var(--text);
      background: var(--bg);
    }

    img,
    picture,
    video,
    canvas,
    svg {
      display: block;
      max-width: 100%;
      height: auto;
    }

    h1, h2, h3, p {
      margin: 0;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    button,
    input,
    textarea,
    select {
      font: inherit;
      color: inherit;
    }

    button {
      border: 0;
      background: none;
      cursor: pointer;
    }

    :focus-visible {
      outline: 2px solid rgba(255, 255, 255, 0.78);
      outline-offset: 3px;
    }

    .section {
      width: 100%;
    }

    .container {
      width: min(calc(100% - var(--gutter) * 2), var(--content-max));
      margin-inline: auto;
    }

    .container--wide {
      width: min(calc(100% - var(--gutter) * 2), var(--content-lg));
      margin-inline: auto;
    }

    .container--xl {
      width: min(calc(100% - var(--gutter) * 2), var(--content-xl));
      margin-inline: auto;
    }

    .section-padding {
      padding-block: var(--section-y);
    }

    .section-padding-sm {
      padding-block: var(--section-y-sm);
    }

    .eyebrow {
      display: inline-block;
      margin-bottom: 0.9rem;
      font-size: var(--fs-xs);
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--muted-light);
    }  
    .eyebrow-2 {
      display: inline-block;
      margin-bottom: 0.9rem;
      font-size: var(--fs-xs);
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--muted);
    }
.hero .eyebrow {
   margin-top: 0.9rem;
}

    .prose-narrow {
      max-width: 62ch;
      margin-inline: auto;
      text-align: center;
    }

    .btn-accent {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 3.2rem;
      padding-inline: 1.5rem;
      font-size: var(--fs-sm);
      font-weight: 600;
      color: #fff;
      background: var(--accent);
      border: 1px solid transparent;
      transition: background 0.2s ease, transform 0.2s ease;
    }

    .btn-accent:hover,
    .btn-accent:focus-visible {
      background: var(--burgundy);
      transform: translateY(-1px);
    }

    /* topbar */
    .topbar-wrap {
      position: fixed;
      inset: 0 0 auto 0;
      z-index: 1000;
      pointer-events: none;
    }

    .topbar {
      width: 100%;
      pointer-events: auto;
      padding-top: clamp(0.7rem, 1.2vw, 1.05rem);
      padding-bottom: clamp(0.7rem, 1.2vw, 1.05rem);
      /* background: rgba(0, 0, 0, 0.28); */
      background: rgba(128, 0, 32, 0.84);
    }
/* ANIMAZIONE COMING SOON */
/* Animazione fluida del testo */
.loading-text {
  font-size: var(--fs-lg);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 4px;
  animation: pulse 5s infinite ease-in-out;
   text-shadow: 
    0 0 4px rgba(255, 255, 255, 0.8),   /* 1. Nucleo interno (molto luminoso) */
    0 0 12px rgba(255, 255, 255, 0.5),  /* 2. Bagliore medio */
    0 0 30px rgba(255, 255, 255, 0.3);  /* 3. Diffusione ampia nell'ambiente */
    font-size: clamp(1.3rem, 1.05rem + 0.9vw, 2rem);
      line-height: 1.25;
    padding:20px 10px;    
      
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.98); }
}

/* Barra di caricamento minimalista */
.progress-bar {
  width: 300px;
  height: 4px;
  background: rgba(255,255,255,0.1);
  margin: 20px auto;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}

.progress-bar::after {
  content: '';
  position: absolute;
  width: 40%;
  height: 100%;
  background: #fff;
  animation: loading 2.5s infinite ease-in-out;
}

@keyframes loading {
  0% { left: -40%; }
  100% { left: 140%; }
}
.subtitle {
  padding:20px 10px;
}
/* //ANIMAZIONE COMING SOON */
    @media (min-width: 100rem) {
      .topbar {
        background:
          linear-gradient(
            to right,
            rgba(128, 0, 32, 0) 0%,
            rgba(128, 0, 32, 0.22) 10%,
            rgba(128, 0, 32, 0.38) 30%,
            rgba(128, 0, 32, 0.38) 70%,
            rgba(128, 0, 32, 0.22) 90%,
            rgba(128, 0, 32, 0) 100%
          );
      }
    }

    @supports ((backdrop-filter: blur(16px)) or (-webkit-backdrop-filter: blur(16px))) {
      .topbar {
        backdrop-filter: blur(16px) saturate(150%);
        -webkit-backdrop-filter: blur(16px) saturate(150%);
        background: rgba(128, 0, 32, 0.80);
      }
    }

    .topbar__inner {
      width: min(calc(100% - var(--gutter) * 2), var(--content-xl));
      margin-inline: auto;
      min-height: clamp(3.35rem, 4vw, 4.5rem);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      /* box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06); */
    }

   

    .topbar__logo {
      display: inline-flex;
      align-items: center;
      min-height: 44px;
      white-space: nowrap;
      font-size: clamp(1rem, 0.95rem + 0.35vw, 1.2rem);
      line-height: 1;
      letter-spacing: -0.03em;
      font-weight: 600;
      color: #fff;
      transition: opacity 0.22s ease;
    }

    .topbar__logo img {
      transform-origin: left center;
      transition: transform 0.22s ease;
    }

    /* Riduce del 20% il logo quando la topbar entra nello stato "scrolled". */
    .topbar.is-scrolled .topbar__logo img {
      transform: scale(0.8);
    }

    .topbar__logo:hover,
    .topbar__logo:focus-visible {
      opacity: 0.82;
    }

    .topnav {
      position: absolute;
      top: calc(100% + 0.5rem);
      left: var(--gutter);
      right: var(--gutter);
      display: block;
      opacity: 0;
      visibility: hidden;
      transform: translateY(8px);
      pointer-events: none;
      transition:
        opacity 0.24s ease,
        transform 0.24s ease,
        visibility 0.24s ease;
    }

    .topnav.is-open {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
      pointer-events: auto;
    }

    .topnav__menu {
      display: flex;
      flex-direction: column;
      align-items: stretch;
      gap: 0.45rem;
      padding: 0.75rem;
      list-style: none;
      margin: 0;
      background: rgba(0, 0, 0, 0.78);
      -webkit-backdrop-filter: blur(48px) saturate(180%);
      backdrop-filter: blur(48px) saturate(180%);
      border: 1px solid rgba(255, 255, 255, 0.1);
      box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.72),
        inset 0 1px 0 rgba(255, 245, 238, 0.1);
    }

    .topnav__menu > li {
      position: relative;
      width: 100%;
    }

    .topnav a,
    .dropdown-toggle {
      display: inline-flex;
      align-items: center;
      width: 100%;
      justify-content: space-between;
      text-align: left;
      min-height: 48px;
      padding-inline: 1rem;
      padding-block: 0.85rem;
      font-size: var(--fs-sm);
      font-weight: 500;
      color: var(--glass-text);
      background: transparent;
      border: 1px solid transparent;
      border-radius: var(--radius-pill);
      transition:
        color 0.22s ease,
        background 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease;
      white-space: nowrap;
    }

    .topnav a:hover,
    .topnav a:focus-visible,
    .dropdown-toggle:hover,
    .dropdown-toggle:focus-visible {
      color: #fff;
      background: rgba(255, 245, 238, 0.1);
      border-color: rgba(255, 255, 255, 0.16);
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 6px 16px rgba(0, 0, 0, 0.04);
    }

    .has-dropdown {
      position: relative;
    }

    .has-dropdown::after {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      top: 100%;
      height: 0.45rem;
      display: none;
    }

    .caret {
      width: 0.52rem;
      height: 0.52rem;
      margin-left: 0.5rem;
      border-right: 1.5px solid currentColor;
      border-bottom: 1.5px solid currentColor;
      transform: rotate(45deg) translateY(-1px);
      transition: transform 0.22s ease;
      flex-shrink: 0;
    }

    .dropdown-menu {
      position: static;
      width: 100%;
      max-height: 0;
      padding: 0;
      list-style: none;
      margin: 0;
      opacity: 1;
      visibility: visible;
      overflow: hidden;
      transform: none;
      pointer-events: auto;
      box-shadow: none;
      border: 0;
      background: transparent;
      transition: max-height 0.24s ease;
      z-index: 20;
    }

    @supports ((backdrop-filter: blur(18px)) or (-webkit-backdrop-filter: blur(18px))) {
      .dropdown-menu {
        backdrop-filter: blur(18px) saturate(150%);
        -webkit-backdrop-filter: blur(18px) saturate(150%);
      }
    }

    .dropdown-menu a {
      width: 100%;
      justify-content: flex-start;
      min-height: 44px;
      padding-block: 0.8rem;
      padding-inline: 1rem;
      background: rgba(255, 245, 238, 0.1);
      border: 1px solid rgba(255, 245, 238, 0.1);
      border-radius: 0.6rem;
    }

    .has-dropdown.is-open .dropdown-menu {
      max-height: 40rem;
      padding-top: 0.35rem;
    }

    .has-dropdown:hover .caret,
    .has-dropdown:focus-within .caret,
    .has-dropdown.is-open .caret {
      transform: rotate(225deg) translateY(1px);
    }

    .nav-toggle {
      display: inline-flex;
      width: 44px;
      height: 44px;
      margin-left: auto;
      border-radius: 999px;
      border: 1px solid rgba(255, 255, 255, 0.28);
      background: rgba(0, 0, 0, 0.52);
      backdrop-filter: blur(24px) saturate(160%);
      -webkit-backdrop-filter: blur(24px) saturate(160%);
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.36);
      align-items: center;
      justify-content: center;
      flex-direction: column;
      gap: 0.28rem;
      flex-shrink: 0;
      transition:
        background 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease;
    }

    .nav-toggle span {
      display: block;
      width: 18px;
      height: 1.5px;
      border-radius: 2px;
      background: #fff;
      transition: transform 0.22s ease, opacity 0.22s ease;
    }

    .nav-toggle.is-active span:nth-child(1) {
      transform: translateY(6px) rotate(45deg);
    }

    .nav-toggle.is-active span:nth-child(2) {
      opacity: 0;
    }

    .nav-toggle.is-active span:nth-child(3) {
      transform: translateY(-6px) rotate(-45deg);
    }

    /* hero */
    .hero {
      min-height: 100svh;
      display: flex;
      align-items: center;
      color: var(--muted-light);
      /* background:
        linear-gradient(135deg, rgba(0,0,0,0.55), rgba(0,0,0,0.08)),
        radial-gradient(circle at top left, rgba(133, 163, 186, 0.16), transparent 40%),
        linear-gradient(176deg, rgba(17,24,33,0.82) 20%, rgba(28,40,54,0.62) 70%),
        url("../../img/homepage/studio-legale-centonze-monza.jpg");
        url("../../img/homepage/studio-legale-centonze-monza-temp.jpg"); */
       background-color : #272b2e;
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      padding-top: clamp(7rem, 10vw, 9rem);
      padding-bottom: clamp(4rem, 8vw, 8rem);
    }

    .hero__inner {
      width: min(calc(100% - var(--gutter) * 2), var(--content-xl));
      margin-inline: auto;
    }

    .hero__content {
      max-width: min(100%, 46rem);
    }

    .hero h1 {
      font-size: var(--fs-xl);
      line-height: 0.95;
      letter-spacing: -0.04em;
      max-width: 12ch;
      color: var(--text-light);
    }

    .hero p {
      margin-top: 1.25rem;
      font-size: var(--fs-md);
      color: var(--muted-light);
      max-width: 42rem;
    }

    /* payoff */
    .payoff {
      background: #800020;
      text-align: center;
      color: #fff;
    }

    .payoff__text {
      max-width: 28ch;
      margin-inline: auto;
      padding:20px;
      text-align: center;
      font-size: clamp(1.3rem, 1.05rem + 0.9vw, 2rem);
      line-height: 1.25;
      letter-spacing: -0.02em;
     
    }

    .payoff--small {
      background: var(--surface);
      border-top: 1px solid rgba(31, 27, 23, 0.04);
      border-bottom: 1px solid rgba(31, 27, 23, 0.04);
    }

    .payoff--small .payoff__text {
      max-width: 34ch;
      font-size: clamp(1.1rem, 1rem + 0.5vw, 1.65rem);
      line-height: 1.38;
      letter-spacing: -0.015em;
    }

    .payoff__body {
      margin-top: 1rem;
      max-width: 62ch;
      margin-inline: auto;
      text-align: center;
      font-size: var(--fs-sm);
      line-height: 1.7;
      color: var(--muted);
    }

    /* features */
    .features {
      position: relative;
      color: #fff;
      /* background-image: */
        /* linear-gradient(var(--overlay), var(--overlay)), */
        /* url("../../img/homepage/storia-boutique-legale-monza.webp"); */
        /* url("../../img/homepage/studio-legale-centonze-monza-temp.jpg"); */
        /* background-color : #272b2e; */
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      background-attachment: scroll;
    }

    @media (min-width: 64rem) {
      .features {
        background-attachment: fixed;
      }
    }

    .features__intro {
      text-align: center;
      margin-bottom: clamp(2rem, 4vw, 3.5rem);
    }

    .features__intro h2 {
      font-size: var(--fs-lg);
      line-height: 1.05;
      letter-spacing: -0.03em;
      color: rgba(128,0,32,0.1);
    }

    .features__intro p {
      margin-top: 0.75rem;
      color: rgba(128,0,32,0.8);
      font-size: var(--fs-sm);
    }

    .features .eyebrow {
      color: rgba(128,0,32,0.9);
    }

    .cards-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: clamp(1rem, 1.5vw, 1.5rem);
    }

    .legal-page {
      background: var(--surface);
      color: var(--text);
    }

    .legal-page__section {
      padding-top: clamp(7rem, 10vw, 9rem);
      margin-top: clamp(4rem, 6vw,7rem);
    }

    .legal-page__container {
      width: min(calc(100% - var(--gutter) * 2), 68rem);
      margin-inline: auto;
    }

    .legal-intro {
      margin-bottom: clamp(2rem, 4vw, 3rem);
      text-align: left;
    }

    .legal-intro__title {
      font-size: var(--fs-lg);
      line-height: 1.08;
      letter-spacing: -0.03em;
      color: var(--text);
    }

    .legal-intro__lead {
      margin-top: 0.8rem;
      max-width: 64ch;
      font-size: var(--fs-md);
      line-height: 1.45;
      letter-spacing: -0.015em;
      color: var(--muted);
    }

    .legal-block {
      padding-block: clamp(1.2rem, 2.5vw, 1.8rem);
      border-top: 1px solid var(--line);
    }

    .legal-block__title {
      font-size: clamp(1.2rem, 1.08rem + 0.45vw, 1.55rem);
      line-height: 1.22;
      letter-spacing: -0.02em;
      color: var(--text);
    }

    .legal-block__text {
      margin-top: 0.85rem;
      max-width: 72ch;
      font-size: var(--fs-base);
      line-height: 1.72;
      letter-spacing: -0.01em;
      color: var(--muted);
    }

    .legal-block__list {
      margin: 0.95rem 0 0;
      padding-left: 1.25rem;
      max-width: 72ch;
      color: var(--muted);
    }

    .legal-block__list li + li {
      margin-top: 0.6rem;
    }

    .legal-note {
      margin-top: clamp(1.5rem, 2.2vw, 2rem);
      padding: var(--card-pad);
      border-left: 3px solid var(--burgundy);
      background: var(--surface-2);
      box-shadow: var(--shadow-sm);
    }

    .legal-note p {
      font-size: var(--fs-sm);
      line-height: 1.65;
      letter-spacing: -0.005em;
      color: var(--text);
    }

    @media (min-width: 64rem) {
      .legal-block {
        padding-block: clamp(1.4rem, 2vw, 2rem);
      }

      .legal-intro {
        margin-bottom: clamp(2.2rem, 3vw, 3.2rem);
      }
    }

    @media (min-width: 43.75rem) {
      .cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

    @media (min-width: 68.75rem) {
      .cards-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
      }
    }

    .card {
      /* min-height: 220px; */
      padding: var(--card-pad);
      border: 1px solid rgba(255,245,240,0.2);
      /* border-radius: var(--radius-lg); */
      background: rgba(128,0,32,0.9);
      backdrop-filter: blur(6px);
      -webkit-backdrop-filter: blur(6px);
      box-shadow: var(--shadow-sm);
      align-items: center;
      display: flex;
    }

    .card h3 {
      /* font-size: clamp(1.15rem, 1rem + 0.35vw, 1.45rem); */
      font-size: clamp(1rem, 1rem + 0.15vw, 1.25rem);
      line-height: 1.15;
      /* margin-bottom: 0.75rem; */
      /* color: #fff; */
    }

    .card p {
      font-size: var(--fs-sm);
      color: rgba(255,255,255,0.86);
      max-width: 32ch;
    }

    /* articles */
    .news {
      background: var(--surface-2);
    }

    .news__title {
      text-align: center;
      margin-bottom: clamp(2rem, 4vw, 3rem);
    }

    .news__title h2 {
      font-size: var(--fs-lg);
      line-height: 1.08;
      letter-spacing: -0.03em;
    }

    .news__grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: clamp(1.25rem, 2vw, 2rem);
    }

    @media (min-width: 56.25rem) {
      .news__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
      }
    }

    .article-card {
      display: flex;
      flex-direction: column;
      min-height: 100%;
      background: var(--surface);
      border: 1px solid var(--line);
      box-shadow: var(--shadow-sm);
      overflow: hidden;
    }

    .article-card__media {
      position: relative;
      min-height: clamp(15rem, 26vw, 19rem);
      display: flex;
      align-items: flex-end;
      padding: clamp(1.15rem, 1.5vw, 1.5rem);
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
    }

    .article-card__media::after {
      content: "";
      position: absolute;
      inset: 0;
      background:
        linear-gradient(
          to top,
          rgba(17, 15, 12, 0.74) 0%,
          rgba(17, 15, 12, 0.4) 38%,
          rgba(17, 15, 12, 0.1) 72%,
          rgba(17, 15, 12, 0.02) 100%
        );
    }

    .article-card__tag {
      position: absolute;
      top: 1.2rem;
      left: 1.2rem;
      z-index: 2;
      display: inline-flex;
      align-items: center;
      min-height: 2.2rem;
      padding-inline: 0.95rem;
      font-size: clamp(0.72rem, 0.7rem + 0.12vw, 0.82rem);
      letter-spacing: 0.08em;
      text-transform: uppercase;
      font-weight: 600;
      color: #fff;
      background: rgba(25, 28, 33, 0.9);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 0.45rem;
    }

    .article-card__headline {
      position: relative;
      z-index: 2;
      max-width: 16ch;
      font-size: clamp(1.38rem, 1.02rem + 0.9vw, 2rem);
      line-height: 1.12;
      letter-spacing: -0.03em;
      font-weight: 650;
      color: #fff;
      text-wrap: balance;
      text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
    }

    .article-card__body {
      display: flex;
      flex: 1;
      flex-direction: column;
      padding: clamp(1.35rem, 1.8vw, 1.9rem);
      background: var(--surface);
    }

    .article-card__kicker {
      font-size: clamp(1.02rem, 0.98rem + 0.28vw, 1.28rem);
      line-height: 1.4;
      letter-spacing: -0.015em;
      font-weight: 600;
      color: rgba(31, 27, 23, 0.72);
      max-width: 30ch;
    }

    .article-card__excerpt {
      margin-top: 0.95rem;
      font-size: var(--fs-sm);
      line-height: 1.68;
      color: rgba(31, 27, 23, 0.58);
      max-width: 38ch;
    }

    .article-card__footer {
      margin-top: auto;
      padding-top: 1.45rem;
    }

    .article-card__divider {
      height: 1px;
      background: rgba(31, 27, 23, 0.08);
      margin-bottom: 1.1rem;
    }

    .article-card__meta {
      display: flex;
      align-items: center;
      gap: 0.8rem;
    }

    .article-card__avatar {
      width: 2.2rem;
      height: 2.2rem;
      border-radius: 999px;
      object-fit: cover;
      flex-shrink: 0;
      border: 1px solid rgba(31, 27, 23, 0.08);
    }

    .article-card__author {
      display: block;
      font-size: clamp(0.8rem, 0.78rem + 0.12vw, 0.92rem);
      line-height: 1.2;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      font-weight: 650;
      color: rgba(31, 27, 23, 0.66);
    }

    .article-card__date {
      display: block;
      margin-top: 0.2rem;
      font-size: clamp(0.84rem, 0.8rem + 0.12vw, 0.95rem);
      color: rgba(31, 27, 23, 0.6);
    }

    .article-card__link {
      display: inline-flex;
      align-items: center;
      gap: 0.55rem;
      margin-top: 1.25rem;
      font-size: clamp(1rem, 0.95rem + 0.12vw, 1.06rem);
      color: rgba(31, 27, 23, 0.68);
      transition: color 0.2s ease;
    }

    .article-card__link:hover,
    .article-card__link:focus-visible {
      color: rgba(31, 27, 23, 0.95);
    }

    .article-card__link-arrow {
      transition: transform 0.2s ease;
    }

    .article-card__link:hover .article-card__link-arrow,
    .article-card__link:focus-visible .article-card__link-arrow {
      transform: translateX(0.2rem);
    }

    /* cta contact */
    .cta-contact {
      position: relative;
      color: #fff;
      background-image:
        linear-gradient(rgba(10, 10, 10, 0.42), rgba(10, 10, 10, 0.18)),
        url("../../img/gallery-600x400/contatti-studio-legale-monza.webp");
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      background-attachment: scroll;
    }

    @media (min-width: 64rem) {
      .cta-contact {
        background-attachment: fixed;
      }
    }

    .cta-contact__inner {
      width: min(calc(100% - var(--gutter) * 2), 68rem);
      margin-inline: auto;
      min-height: 18rem;
      display: flex;
      align-items: center;
    }

    .cta-contact__content {
         max-width: 70rem;
         padding-block: clamp(3rem, 10vw, 10rem);
    }

    .cta-contact__title {
      font-size: clamp(2rem, 1.4rem + 1.8vw, 3.35rem);
      line-height: 1.08;
      letter-spacing: -0.035em;
      font-weight: 500;
      max-width: 14ch;
      color: rgba(255, 255, 255, 0.96);
    }

    .cta-contact__text {
      margin-top: 1rem;
      max-width: 84%;
      font-size: var(--fs-sm);
      line-height: 1.72;
      color: rgba(255, 255, 255, 0.82);
    }

    .cta-contact__button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 10rem;
      min-height: 3.1rem;
      margin-top: 1.7rem;
      padding-inline: 1.5rem;
      font-size: var(--fs-sm);
      color: #fff;
      border: 1px solid rgba(255, 255, 255, 0.72);
      background: rgba(255, 244, 236, 0.06);
      transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
    }

    .cta-contact__button:hover,
    .cta-contact__button:focus-visible {
      background: rgba(255, 248, 244, 0.12);
      border-color: rgba(255, 255, 255, 0.94);
      transform: translateY(-1px);
    }

    /* story */
    .story {
      background: var(--surface);
    }

    .story__frame {
      position: relative;
      width: min(calc(100% - var(--gutter) * 2), 78rem);
      margin-inline: auto;
      min-height: 18rem;
      background-image: url("../../img/sedi/monza-palazzo-studio-legale.webp");
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      overflow: visible;
    }

    .story__panel {
      position: relative;
      width: calc(100% - 1.5rem);
      margin-inline: auto;
      top: auto;
      margin-top: -2.5rem;
      background:
        linear-gradient(
          135deg,
          rgba(128, 0, 32, 0.82),
          rgba(128, 0, 32, 0.72)
        );
      color: #fff;
      border: 1px solid rgba(255, 255, 255, 0.18);
      border-radius: var(--radius-xl);
      box-shadow: var(--shadow-lg);
      padding: 1.25rem;
    }

    @supports ((backdrop-filter: blur(16px)) or (-webkit-backdrop-filter: blur(16px))) {
      .story__panel {
        backdrop-filter: blur(16px) saturate(150%);
        -webkit-backdrop-filter: blur(16px) saturate(150%);
        background:
          linear-gradient(
            135deg,
            rgba(128, 0, 32, 0.78),
            rgba(160, 26, 58, 0.68)
          );
      }
    }

    .story__panel-inner {
      display: grid;
      grid-template-columns: 1fr;
      gap: clamp(1.25rem, 2vw, 2rem);
      align-items: flex-start;
    }

    .story__title {
      font-size: clamp(1.65rem, 1.15rem + 0.9vw, 2.3rem);
      line-height: 1.1;
      letter-spacing: -0.025em;
      font-weight: 500;
      color: rgba(255, 255, 255, 0.98);
    }

    .story__text {
      margin-top: 1rem;
      max-width: 42ch;
      font-size: var(--fs-sm);
      line-height: 1.72;
      color: rgba(255, 255, 255, 0.88);
    }

    .story__button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 10.5rem;
      min-height: 3rem;
      padding-inline: 1.4rem;
      color: rgba(255, 255, 255, 0.96);
      border: 1px solid rgba(255, 255, 255, 0.56);
      background: rgba(255, 244, 236, 0.06);
      transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
    }

    .story__button:hover,
    .story__button:focus-visible {
      background: rgba(255, 244, 236, 0.14);
      border-color: rgba(255, 255, 255, 0.9);
      transform: translateY(-1px);
    }

    /* team */
    .team {
      background: var(--surface);
    }

    .team__inner {
      width: min(calc(100% - var(--gutter) * 2), var(--content-xl));
      margin-inline: auto;
    }

    .team__intro {
      display: grid;
      grid-template-columns: 1fr;
      align-items: flex-start;
      gap: clamp(1.25rem, 2vw, 2.5rem);
      margin-bottom: clamp(2rem, 4vw, 3.25rem);
    }

    .team__title {
      font-size: clamp(1.9rem, 1.4rem + 1vw, 2.4rem);
      line-height: 1.05;
      letter-spacing: -0.03em;
      font-weight: 500;
    }

    .team__text {
      font-size: var(--fs-base);
      line-height: 1.72;
      color: var(--muted);
      max-width: 100%;
    }

    .team__cta-wrap {
      display: none;
      justify-content: flex-end;
    }

    .team__cta {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: clamp(13rem, 18vw, 18rem);
      min-height: 4rem;
      padding-inline: 1.75rem;
      font-size: var(--fs-sm);
      letter-spacing: 0.02em;
      text-transform: uppercase;
      color: #fff;
      background: var(--accent);
      border-radius: 0.35rem;
      transition: background 0.2s ease, transform 0.2s ease;
    }

    .team__cta:hover,
    .team__cta:focus-visible {
      background: var(--burgundy);
      transform: translateY(-1px);
    }

    .team__grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: clamp(1rem, 1.5vw, 1.25rem);
    }

    .team-card {
      display: flex;
      flex-direction: column;
      background: var(--surface);
    }

    .team-card__photo {
      aspect-ratio: 0.86 / 1;
      background-size: cover;
      background-position: center top;
      background-repeat: no-repeat;
    }

    .team-card__body {
      padding: 1rem 0.9rem 0.6rem;
    }

    .team-card__name {
      font-size: clamp(1.05rem, 1rem + 0.2vw, 1.2rem);
      line-height: 1.2;
      letter-spacing: -0.02em;
      font-weight: 600;
      color: var(--text);
    }

    .team-card__divider {
      width: 1.5rem;
      height: 2px;
      margin-top: 0.85rem;
      background: rgba(31, 27, 23, 0.14);
    }

    .team-card__role {
      margin-top: 0.75rem;
      font-size: clamp(0.82rem, 0.78rem + 0.12vw, 0.92rem);
      line-height: 1.45;
      text-transform: uppercase;
      color: var(--muted-2);
    }

    .team__cta-mobile {
      display: flex;
      margin-top: 1.5rem;
    }

    /* newsletter */
    .newsletter {
      position: relative;
      color: #fff;
      background-image:
        linear-gradient(rgba(11, 11, 11, 0.56), rgba(11, 11, 11, 0.56)),
        url("../../img/homepage/newsletter-studio-legale-centonze.webp");
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      background-attachment: scroll;
    }

    @media (min-width: 64rem) {
      .newsletter {
        background-attachment: fixed;
      }
    }

    .newsletter__inner {
      width: min(calc(100% - var(--gutter) * 2), 44rem);
      margin-inline: auto;
      padding-block: clamp(4rem, 8vw, 7rem);
      text-align: left;
    }

    .newsletter__title {
      font-size: clamp(2rem, 1.35rem + 1.45vw, 3rem);
      line-height: 1.08;
      letter-spacing: -0.03em;
      font-weight: 650;
      color: rgba(255, 255, 255, 0.98);
    }

    .newsletter__text {
      margin-top: 1rem;
      max-width: 100%;
      margin-inline: 0;
      font-size: var(--fs-sm);
      line-height: 1.75;
      color: rgba(255, 255, 255, 0.84);
    }

    .newsletter__form {
      margin-top: clamp(2rem, 4vw, 3rem);
      display: grid;
      grid-template-columns: 1fr;
      gap: 1rem;
      align-items: end;
    }

    .newsletter__field {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
    }

    .newsletter__label {
      font-size: var(--fs-sm);
      color: rgba(255, 255, 255, 0.9);
      margin-bottom: 0.7rem;
    }

    .newsletter__input {
      width: 100%;
      min-height: 3.25rem;
      padding-inline: 0;
      color: #fff;
      background: transparent;
      border: 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.74);
      border-radius: 0;
    }

    .newsletter__input::placeholder {
      color: rgba(255, 255, 255, 0.62);
    }

    .newsletter__check {
      display: flex;
      align-items: flex-start;
      gap: 0.7rem;
      font-size: clamp(0.82rem, 0.8rem + 0.12vw, 0.95rem);
      line-height: 1.5;
      color: rgba(255, 255, 255, 0.88);
    }

    .newsletter__check input {
      margin-top: 0.18rem;
      flex-shrink: 0;
    }

    .newsletter__check a {
      text-decoration: underline;
      text-underline-offset: 0.15em;
    }

    .newsletter__actions {
      display: flex;
      justify-content: flex-start;
    }

    .newsletter__button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 100%;
      min-height: 3rem;
      padding-inline: 1.35rem;
      font-size: var(--fs-sm);
      font-weight: 600;
      color: #fff;
      background: var(--accent);
      transition: background 0.2s ease, transform 0.2s ease;
    }

    .newsletter__button:hover,
    .newsletter__button:focus-visible {
      background: var(--burgundy);
      transform: translateY(-1px);
    }
.team .eyebrow {
  color: rgba(31, 27, 23, 0.72);
  }
    
    /* footer */
    .footer {
      background: #f1f1f1;
      color: #272b2e;
      padding-block: clamp(2.5rem, 5vw, 4.5rem);
    }

    .footer__inner {
      width: min(calc(100% - var(--gutter) * 2), var(--content-xl));
      margin-inline: auto;
    }

    .footer__top {
      display: flex;
      flex-wrap: wrap;
      gap: clamp(2rem, 4vw, 4rem);
      justify-content: space-between;
      align-items: flex-start;
      padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
      border-bottom: 1px solid rgba(0, 0, 0, 0.42);
    }

    .footer__brand {
      flex: 1 1 20rem;
      max-width: 32rem;
    }

    .footer__brand img {
      width: 100%;
    }
    

    .footer__eyebrow {
      display: inline-block;
      margin-bottom: 0.75rem;
      font-size: var(--fs-xs);
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: rgba(255, 255, 255, 0.56);
    }

    .footer__title {
      font-size: clamp(1.4rem, 1.1rem + 1vw, 2.2rem);
      line-height: 1.1;
      letter-spacing: -0.03em;
      margin-bottom: 0.9rem;
    }

    .footer__text {
      font-size: var(--fs-sm);
      color: rgba(255, 255, 255, 0.72);
      max-width: 34ch;
    }

    .footer__nav {
      flex: 1 1 30rem;
      display: grid;
      grid-template-columns: 1fr;
      gap: clamp(1.5rem, 2vw, 2.5rem);
    }

    .footer__col h3 {
      margin-bottom: 0.9rem;
      font-size: var(--fs-sm);
      /* color: #ffffff; */
    }
    .footer__col li strong {
     /* color: rgba(255, 255, 255, 0.56); */
     border-bottom: 1px solid rgba(0, 0, 0, 0.42);
     padding-bottom: 0.12em;
    }



    .footer__col ul {
      list-style: none;
      margin: 0;
      padding: 0;
    }

    .footer__col li + li {
      margin-top: 0.7rem;
    }

    .footer__col a,
    .footer__col li {
      font-size: var(--fs-sm);
      /* color: rgba(255, 255, 255, 0.68); */
      transition: color 0.2s ease;
    }

    .footer__col a:hover {
      color: #800020;
    }

    .footer__bottom {
      padding-top: clamp(1rem, 2vw, 1.5rem);
      display: flex;
      flex-wrap: wrap;
      gap: 0.75rem 1.5rem;
      flex-direction: column;
      align-items: flex-start;
    }

    .footer__bottom small {
      font-size: var(--fs-xs);
      color: rgba(0, 0, 0, 0.71);
    }

    /* responsive - mobile first */

    @media (min-width: 37.5rem) {
      .footer__nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .footer__bottom {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
      }
    }

    @media (min-width: 43.75rem) {
      .footer__brand img {
        width: 280px;
      }

      .team__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .team__title {
        font-size: clamp(2rem, 1.3rem + 1.2vw, 3rem);
      }

      .team__text {
        max-width: 42ch;
      }

      .cta-contact__inner {
        min-height: clamp(22rem, 44vw, 32rem);
      }

      .cta-contact__title {
        max-width: 75%;
      }

      .story__frame {
        min-height: clamp(22rem, 38vw, 31rem);
      }

      .story__panel {
        top: clamp(6rem, 10vw, 9rem);
        margin-top: 0;
        width: min(100%, 50rem);
        padding: clamp(1.5rem, 2vw, 2.2rem);
      }

      .newsletter__inner {
        text-align: center;
      }

      .newsletter__text {
        margin-inline: auto;
        max-width: 60ch;
      }

      .newsletter__form {
        grid-template-columns: 1fr auto;
        gap: 1.25rem 1.5rem;
      }

      .newsletter__actions {
        justify-content: flex-end;
      }

      .newsletter__button {
        min-width: 9rem;
      }
    }

    @media (min-width: 64rem) {
      .nav-toggle {
        display: none;
      }

      .topnav {
        position: static;
        top: auto;
        left: auto;
        right: auto;
        display: flex;
        align-items: center;
        margin-left: auto;
        opacity: 1;
        visibility: visible;
        transform: none;
        pointer-events: auto;
        transition: none;
      }

      .topnav__menu {
        flex-direction: row;
        align-items: center;
        gap: 0.25rem;
        padding: 0;
        background: transparent;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
        border: 0;
        box-shadow: none;
      }

      .topnav__menu > li {
        width: auto;
      }

      .topnav a,
      .dropdown-toggle {
        width: auto;
        justify-content: center;
        text-align: center;
        min-height: 44px;
        padding-inline: clamp(0.8rem, 1vw, 1rem);
        padding-block: 0;
      }

      .has-dropdown::after {
        display: block;
      }

      .dropdown-menu {
        position: absolute;
        top: calc(100% + 0.15rem);
        right: 0;
        width: min(18rem, 82vw);
        max-height: min(70vh, 28rem);
        overflow: auto;
        padding: 0.45rem;
        margin: 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(6px);
        pointer-events: none;
        background: rgba(0, 0, 0, 0.4);
        border: 1px solid rgba(255, 255, 255, 0.12);
        box-shadow:
          0 16px 40px rgba(0, 0, 0, 0.36),
          inset 0 1px 0 rgba(255, 245, 238, 0.1);
        transition:
          opacity 0.18s ease,
          transform 0.18s ease,
          visibility 0.18s ease;
      }

      .has-dropdown:hover .dropdown-menu,
      .has-dropdown:focus-within .dropdown-menu,
      .has-dropdown.is-open .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
        max-height: min(70vh, 28rem);
      }

      .dropdown-menu a {
        background: transparent;
        border: 0;
        border-radius: 0.8rem;
      }

      .story__panel-inner {
        grid-template-columns: 1.8fr auto;
        align-items: center;
      }

      .team__intro {
        grid-template-columns: minmax(12rem, 1fr) minmax(24rem, 1.8fr) minmax(14rem, 1fr);
        align-items: center;
      }

      .team__cta-wrap {
        display: flex;
      }

      .team__cta-mobile {
        display: none;
      }

      .team__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
      }

      .team-card:nth-child(3) {
        grid-column: 1;
      }

      .newsletter__inner {
        width: min(calc(100% - var(--gutter) * 2), 52rem);
      }

      .newsletter__form {
        grid-template-columns: 1fr auto;
      }

      .newsletter__check {
        grid-column: 1 / 2;
      }

      .newsletter__actions {
        grid-column: 2 / 3;
        grid-row: 2 / 3;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      *,
      *::before,
      *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
      }

      .features,
      .cta-contact,
      .newsletter {
        background-attachment: scroll !important;
      }
    }
    .card__special {
      /* background: var(--accent);
      color: #fff; */
    color: #800020 !important;
    background: #f1f1f1;
    }
