/* ============================================
   CSS RESET & BASE - Stile Fleava
   ============================================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Palette — scala neutra di grigi, allineata a Fleava */
  --color-black: #111111;
  --color-white: #e0dfdc;
  --color-gray: #878787;
  --color-gray-light: #cbc9c4;
  --color-gray-dark: #1b1b1b;
  --color-cream: #f5f5f3;
  --color-mid-gray: #aaaaaa;

  /* Timing functions */
  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-in-out-expo: cubic-bezier(0.87, 0, 0.13, 1);
  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
  font-size: 17px;
  -webkit-text-size-adjust: 100%;
}

/* Skip to content — accessibility */
.skip-to-content {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 10000;
  padding: 12px 24px;
  background: var(--color-white);
  color: var(--color-black);
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 0 0 6px 6px;
  text-decoration: none;
  opacity: 0;
  transition: top 0.3s ease, opacity 0.3s ease;
}

.skip-to-content:focus {
  top: 0;
  opacity: 1;
}

/* Smooth scroll — disable native, managed by JS inertia engine */
html.smooth-scroll {
  scroll-behavior: auto;
}

/* Hide scrollbar while keeping scroll functional */
html.smooth-scroll::-webkit-scrollbar {
  display: none;
}
html.smooth-scroll {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-white);
  background-color: var(--color-black);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--color-gray-light);
  color: var(--color-black);
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.4s var(--ease-out-expo);
}

a:hover {
  opacity: 0.6;
}

/* Global focus-visible styles for accessibility */
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
  outline: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul,
ol {
  list-style: none;
}

/* ============================================
   TYPOGRAPHY - Stile Fleava Minimalista
   ============================================ */
h1,
h2,
h3,
h4 {
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  color: var(--color-white);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 3.8rem);
  color: var(--color-white);
}

h3 {
  font-size: clamp(1.1rem, 2.2vw, 1.8rem);
  line-height: 1.3;
}

.label {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--color-gray);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.text-stack > * + * {
  margin-top: clamp(14px, 2vh, 26px);
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 80px);
}

.container-wide {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px);
}

section {
  padding: clamp(110px, 14vh, 190px) 0;
  position: relative;
}

/* ============================================
   HEADER - Logo a sinistra con hamburger
   ============================================ */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 25px clamp(20px, 5vw, 80px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  --header-fg: var(--color-white);
  --header-border: rgba(224, 224, 220, 0.25);
  --header-hover-bg: var(--color-white);
  --header-hover-fg: var(--color-black);
  color: var(--header-fg);
  transition:
    padding 0.5s var(--ease-out-expo),
    color 0.4s var(--ease-out-expo),
    transform 0.6s var(--ease-out-expo),
    opacity 0.4s var(--ease-out-expo);
  will-change: transform, opacity;
}

header.is-light {
  --header-fg: var(--color-black);
  --header-border: rgba(0, 0, 0, 0.2);
  --header-hover-bg: var(--color-black);
  --header-hover-fg: var(--color-white);
}

header.is-nav-open {
  --header-fg: var(--color-white);
  --header-border: rgba(224, 224, 220, 0.3);
  --header-hover-bg: var(--color-white);
  --header-hover-fg: var(--color-black);
}

header.is-hidden {
  transform: translateY(-110%);
  opacity: 0;
  pointer-events: none;
}

.header-wrap {
  display: flex;
  align-items: center;
  gap: 30px;
  transition:
    transform 0.5s var(--ease-out-expo),
    opacity 0.4s var(--ease-out-expo);
}

.header-cta {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  padding: 12px 24px;
  border: 1px solid var(--header-border);
  border-radius: 100px;
  color: var(--header-fg);
  background-color: transparent;
  transition:
    color 0.5s var(--ease-out-expo),
    background-color 0.5s var(--ease-out-expo),
    border-color 0.5s var(--ease-out-expo),
    transform 0.4s var(--ease-out-expo);
}

.header-cta:hover {
  background: var(--header-hover-bg);
  color: var(--header-hover-fg);
  opacity: 1;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  transition: color 0.5s var(--ease-out-expo);
}

.logo svg {
  width: clamp(50px, 5.5vw, 74px);
  height: auto;
  transition:
    transform 0.5s var(--ease-out-expo),
    color 0.5s var(--ease-out-expo);
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 10px;
  position: relative;
  color: inherit;
  border: none;
  background: none;
  font: inherit;
  transition: color 0.5s var(--ease-out-expo);
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background-color: currentColor;
  transition:
    transform 0.5s var(--ease-out-expo),
    width 0.5s var(--ease-out-expo),
    opacity 0.4s var(--ease-out-expo),
    background-color 0.5s var(--ease-out-expo);
  transform-origin: center;
}

.menu-toggle span:nth-child(1) {
  width: 30px;
}
.menu-toggle span:nth-child(2) {
  width: 20px;
}
.menu-toggle span:nth-child(3) {
  width: 26px;
}
.menu-toggle span:nth-child(4) {
  width: 16px;
}

.menu-toggle:hover span {
  width: 30px;
}

.menu-toggle.active span:nth-child(1),
.menu-toggle.active span:nth-child(4) {
  opacity: 0;
  transform: translateX(-6px);
}

.menu-toggle.active span:nth-child(2) {
  width: 28px;
  transform: translateY(4px) rotate(45deg);
}

.menu-toggle.active span:nth-child(3) {
  width: 28px;
  transform: translateY(-4px) rotate(-45deg);
}

/* ============================================
   NAVIGATION MENU - Stile Fleava Overlay
   ============================================ */
.nav-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background: var(--color-gray-dark);
  z-index: 999;
  display: flex;
  align-items: center;
  padding: 0 clamp(20px, 5vw, 80px);
  clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
  transition: clip-path 0.8s var(--ease-in-out-expo);
}

.nav-menu.active {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.nav-menu-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.nav-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav-links li {
  overflow: hidden;
  padding-bottom: 0.1em;
  margin-bottom: -0.1em;
}

.nav-links a {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  display: inline-block;
  transform: translateY(100%);
  color: var(--color-white);
  transition:
    color 0.5s var(--ease-out-expo),
    padding-left 0.5s var(--ease-out-expo);
}

.nav-menu.active .nav-links a {
  animation: navLinkIn 0.6s var(--ease-out-expo) forwards;
}

.nav-menu.active .nav-links li:nth-child(1) a {
  animation-delay: 0.08s;
}
.nav-menu.active .nav-links li:nth-child(2) a {
  animation-delay: 0.14s;
}
.nav-menu.active .nav-links li:nth-child(3) a {
  animation-delay: 0.2s;
}
.nav-menu.active .nav-links li:nth-child(4) a {
  animation-delay: 0.26s;
}
.nav-menu.active .nav-links li:nth-child(5) a {
  animation-delay: 0.32s;
}
.nav-menu.active .nav-links li:nth-child(6) a {
  animation-delay: 0.38s;
}

@keyframes navLinkIn {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.nav-links .current-menu-item a {
  color: var(--color-gray);
  opacity: 0.6;
}

.nav-links a:hover {
  color: var(--color-gray);
  padding-left: 12px;
  opacity: 1;
}

.nav-info {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 40px;
  padding-bottom: 40px;
}

.nav-info-block .col-title {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1.1;
  margin-bottom: 15px;
  color: var(--color-gray);
}

.nav-info-block p,
.nav-info-block a {
  font-size: 1rem;
  line-height: 1.8;
  display: block;
}

/* ============================================
   HERO - Stile Fleava con Blob Dinamici
   ============================================ */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(80px, 10vh, 120px) clamp(20px, 5vw, 80px) clamp(60px, 18vh, 200px);
  position: sticky;
  top: 0;
  z-index: 1;
  overflow: hidden;
}

/* All content after hero slides over it like a curtain */
.hero ~ section {
  position: relative;
  z-index: 2;
}

/* Blob Background - Stile Fleava Lava Lamp */
.hero-blobs {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.5;
  will-change: transform;
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.blob-1 {
  width: 65vw;
  height: 65vw;
  max-width: 900px;
  max-height: 900px;
  top: -25%;
  left: -15%;
  background: radial-gradient(
    ellipse at center,
    rgba(60, 60, 60, 0.7) 0%,
    rgba(40, 40, 40, 0.35) 40%,
    transparent 70%
  );
  animation: blobFloat1 32s ease-in-out infinite;
}

.blob-2 {
  width: 55vw;
  height: 55vw;
  max-width: 700px;
  max-height: 700px;
  top: 25%;
  right: -20%;
  background: radial-gradient(
    ellipse at center,
    rgba(75, 75, 75, 0.55) 0%,
    rgba(45, 45, 45, 0.25) 40%,
    transparent 70%
  );
  animation: blobFloat2 38s ease-in-out infinite;
}

.blob-3 {
  width: 45vw;
  height: 45vw;
  max-width: 580px;
  max-height: 580px;
  bottom: 5%;
  left: 25%;
  background: radial-gradient(
    ellipse at center,
    rgba(55, 55, 55, 0.6) 0%,
    rgba(30, 30, 30, 0.25) 40%,
    transparent 70%
  );
  animation: blobFloat3 28s ease-in-out infinite;
}

@keyframes blobFloat1 {
  0% {
    transform: translate(0, 0) scale(1);
  }
  12% {
    transform: translate(8%, 10%) scale(1.08);
  }
  30% {
    transform: translate(18%, 22%) scale(1.15);
  }
  50% {
    transform: translate(6%, 28%) scale(1.06);
  }
  68% {
    transform: translate(-10%, 16%) scale(0.94);
  }
  85% {
    transform: translate(-4%, 5%) scale(1.03);
  }
  100% {
    transform: translate(0, 0) scale(1);
  }
}

@keyframes blobFloat2 {
  0% {
    transform: translate(0, 0) scale(1);
  }
  16% {
    transform: translate(-14%, -6%) scale(1.1);
  }
  36% {
    transform: translate(-8%, 14%) scale(1.18);
  }
  56% {
    transform: translate(10%, 22%) scale(1.06);
  }
  76% {
    transform: translate(6%, 8%) scale(0.92);
  }
  100% {
    transform: translate(0, 0) scale(1);
  }
}

@keyframes blobFloat3 {
  0% {
    transform: translate(0, 0) scale(1);
  }
  15% {
    transform: translate(10%, -10%) scale(0.92);
  }
  35% {
    transform: translate(20%, 4%) scale(1.12);
  }
  55% {
    transform: translate(8%, 18%) scale(1.06);
  }
  75% {
    transform: translate(-8%, 12%) scale(1.02);
  }
  100% {
    transform: translate(0, 0) scale(1);
  }
}

/* Noise texture overlay */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 1000px;
  padding-right: clamp(40px, 8vw, 140px);
  transform-origin: left bottom;
  will-change: transform, opacity;
}

.hero-label {
  overflow: hidden;
  padding-bottom: 0.15em;
  margin-bottom: calc(20px - 0.15em);
}

.hero-label span {
  display: inline-block;
  animation: slideUp 1s var(--ease-out-expo) 0.3s both;
}

.hero h1 {
  margin-bottom: 30px;
  overflow: hidden;
  font-size: clamp(2.6rem, 6.5vw, 6rem);
}

.hero h1 .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.15em;
  margin-bottom: -0.15em;
}

.hero h1 .line span {
  display: block;
  animation: slideUp 1.2s var(--ease-out-expo) both;
}

.hero h1 .line:nth-child(1) span {
  animation-delay: 0.4s;
}
.hero h1 .line:nth-child(2) span {
  animation-delay: 0.5s;
}
.hero h1 .line:nth-child(3) span {
  animation-delay: 0.6s;
}

@keyframes slideUp {
  from {
    transform: translateY(105%);
  }
  to {
    transform: translateY(0);
  }
}

.hero-description {
  max-width: 400px;
  font-size: clamp(0.9rem, 1.1vw, 1.05rem);
  color: var(--color-gray);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  animation: fadeIn 1s var(--ease-out-expo) 0.8s both;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-scroll {
  position: absolute;
  right: clamp(20px, 5vw, 80px);
  bottom: clamp(60px, 10vh, 100px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  animation: fadeIn 1s var(--ease-out-expo) 1s both;
}

.hero-scroll-line {
  width: 1px;
  height: 56px;
  overflow: hidden;
}

.hero-scroll-line span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    var(--color-gray) 50%,
    transparent 50%
  );
  background-size: 100% 200%;
  background-position: 0 -56px;
  animation: scrollLineSlide 2.4s cubic-bezier(0.76, 0, 0.3, 1) infinite;
}

.hero-scroll-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gray);
  writing-mode: vertical-rl;
}

/* Overlay scuro hero — opacità aggiornata via JS allo scroll */
.hero-scroll-fade {
  position: absolute;
  inset: 0;
  background: #000;
  opacity: 0;
  pointer-events: none;
  z-index: 4; /* sopra video (1), video-overlay (1), blobs, hero-content */
  will-change: opacity;
}
/* Testo sopra il fade */
.hero .hero-content {
  position: relative;
  z-index: 5;
}
/* Scroll indicator: mantiene position:absolute, sale solo di z-index */
.hero .hero-scroll {
  z-index: 5;
}
@media (prefers-reduced-motion: reduce) {
  .hero-scroll-fade { display: none; }
}

@keyframes scrollLineSlide {
  0% {
    background-position: 0 -56px;
  }
  75% {
    background-position: 0 0;
  }
  100% {
    background-position: 0 56px;
  }
}

/* ============================================
   SECTION: CHI SIAMO
   ============================================ */
.section-about {
  background: var(--color-black);
  color: var(--color-white);
  padding: clamp(110px, 14vh, 180px) 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 -20px 60px -8px rgba(0, 0, 0, 0.4);
}

.section-about .container {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Etichetta sezione */
.about-label {
  margin-bottom: clamp(36px, 5vh, 60px);
}

/* Heading editoriale — grande come Fleava */
.about-heading {
  font-size: clamp(2.8rem, 7vw, 6.4rem);
  line-height: 1.0;
  letter-spacing: -0.04em;
  font-weight: 300;
  color: var(--color-white);
  margin-bottom: 0;
}

/* Separatore + paragrafo a destra (layout editoriale) */
.about-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: clamp(40px, 6vh, 70px);
  padding-top: clamp(28px, 4vh, 48px);
}

.about-body p {
  grid-column: 2;
  font-size: clamp(1rem, 1.2vw, 1.18rem);
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.55);
  max-width: 480px;
}

.about-ornament {
  width: clamp(200px, 28vw, 380px);
  aspect-ratio: 1 / 1;
  justify-self: center;
  color: #b5b0a6;
  animation: rotateOrnament 80s linear infinite;
}

.about-ornament svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* ============================================
   SECTION: APPROCCIO - Fullscreen con overlay
   ============================================ */
.section-approach {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  background: var(--color-black);
  position: relative;
  padding: 120px 5%;
  overflow: hidden;
}

/* Background image fullscreen */
.section-approach .image-placeholder {
  position: absolute;
  top: -20%;
  left: 0;
  width: 100%;
  height: 140%; /* 20% extra sopra + 20% extra sotto per assorbire il translateY del parallax */
  background: linear-gradient(135deg, #1b1b1b 0%, #111111 100%);
  z-index: 0;
}

/* Image reveal effect */
.section-approach .image-placeholder.image-reveal::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-black);
  z-index: 2;
  transform: scaleX(1);
  transform-origin: right;
  transition: transform 1.5s var(--ease-in-out-expo);
}

.section-approach .image-placeholder.image-reveal.visible::before {
  transform: scaleX(0);
}

.section-approach .image-placeholder .parallax-inner {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1b1b1b 0%, #111111 100%);
  transform: scale(1.1);
  transition: transform 1.6s var(--ease-out-expo);
  overflow: hidden;
}

.section-approach .image-placeholder .parallax-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.section-approach .image-placeholder.visible .parallax-inner {
  transform: scale(1);
}

/* Dark overlay for text readability */
.section-approach::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.5) 50%,
    rgba(0, 0, 0, 0.7) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.section-approach .content {
  position: relative;
  z-index: 2;
  max-width: 550px;
  margin-left: auto;
}

.section-approach .label {
  margin-bottom: 20px;
}

.section-approach h2 {
  margin-bottom: 30px;
}

.section-approach h2 span {
  display: block;
}

.section-approach p {
  font-size: clamp(1rem, 1.2vw, 1.18rem);
  line-height: 1.85;
  color: rgba(224, 224, 220, 0.7);
}

/* ============================================
   SECTION: SERVIZI - Stile Fleava
   ============================================ */
.section-services {
  background: var(--color-black);
  padding: clamp(130px, 16vh, 210px) 0;
}

.services-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: clamp(60px, 10vh, 100px);
}

.services-header p {
  color: var(--color-gray);
  line-height: 1.9;
  max-width: 400px;
  margin-left: auto;
}

.services-list {
  display: flex;
  flex-direction: column;
}

.service-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
  padding: clamp(25px, 4vh, 40px) 0;
  border-bottom: 1px solid rgba(224, 224, 220, 0.08);
  cursor: pointer;
  color: rgba(224, 224, 220, 0.4);
  transition: color 0.5s var(--ease-out-expo);
}

.service-item:first-child {
  border-top: 1px solid rgba(224, 224, 220, 0.08);
}

.service-item .number {
  font-size: 0.75rem;
  color: var(--color-gray);
  font-weight: 400;
  width: 30px;
}

.service-item .name {
  font-size: clamp(1.2rem, 2.8vw, 2.4rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: inherit;
  display: inline-block;
  transform: translateX(0);
  transition:
    transform 0.6s var(--ease-out-expo),
    color 0.5s var(--ease-out-expo);
}

.service-item .arrow {
  font-size: 1.5rem;
  opacity: 1;
  transform: translateX(0);
  transition:
    transform 0.6s var(--ease-out-expo),
    color 0.5s var(--ease-out-expo);
}

.service-item:hover {
  color: var(--color-white);
}

.service-item:hover .name {
  transform: translateX(14px);
}

.service-item:hover .arrow {
  transform: translateX(6px);
}

.services-cta {
  margin-top: clamp(40px, 6vh, 80px);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  font-weight: 400;
  position: relative;
}

.services-cta::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--color-white);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease-out-expo);
}

.services-cta:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.services-cta:hover {
  opacity: 1;
}

.services-cta svg {
  width: 16px;
  height: 16px;
  transition: transform 0.4s var(--ease-out-expo);
}

.services-cta:hover svg {
  transform: translateX(5px);
}

/* ============================================
   SECTION: PERCHE SCEGLIERCI
   ============================================ */
.section-why {
  background: linear-gradient(180deg, #f5f4f1 0%, #efede8 100%);
  color: var(--color-black);
  padding: clamp(120px, 15vh, 190px) 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(0, 0, 0, 0.09);
  border-bottom: 1px solid rgba(0, 0, 0, 0.09);
}

.section-why .container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: clamp(46px, 7vh, 90px);
}

.why-header {
  max-width: clamp(420px, 55vw, 760px);
}

.why-header h2 {
  margin-top: clamp(12px, 2vh, 20px);
  color: var(--color-black);
  font-size: clamp(2rem, 4.1vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 15ch;
}

.why-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: clamp(34px, 5vw, 90px);
  align-items: start;
}

.why-copy {
  padding-right: clamp(12px, 2.4vw, 36px);
}

.why-copy p {
  margin: 0;
  max-width: none;
  color: rgba(0, 0, 0, 0.64);
  font-size: clamp(1.05rem, 1.35vw, 1.3rem);
  line-height: 1.85;
}

.why-panel {
  padding-left: 0;
}

.why-points {
  display: flex;
  flex-direction: column;
}

.why-point {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.why-point:last-child {
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.why-point-index {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: rgba(0, 0, 0, 0.4);
  padding-top: 4px;
}

.why-point-text {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.7;
  color: rgba(0, 0, 0, 0.8);
}

/* ============================================
   SECTION: INSIGHTS / JOURNAL - Enhanced
   ============================================ */
.section-insights {
  background: var(--color-gray-dark);
  padding: clamp(130px, 16vh, 210px) 0;
}

.insights-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: clamp(50px, 8vh, 80px);
}

.insights-header h2 {
  margin-top: 10px;
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(25px, 4vw, 50px);
}

/* Insight Card with subtle hover */
.insight-card {
  display: block;
  transition: transform 0.7s var(--ease-out-expo);
}

.insight-card:hover {
  transform: translateY(-8px);
}

.insight-card-image {
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, #1b1b1b 0%, #111111 100%);
  margin-bottom: 25px;
  overflow: hidden;
  position: relative;
  transition:
    transform 0.6s var(--ease-out-expo),
    box-shadow 0.6s var(--ease-out-expo);
}

/* Image reveal effect */
.insight-card-image.image-reveal::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-black);
  z-index: 2;
  transform: scaleX(1);
  transform-origin: right;
  transition: transform 1.2s var(--ease-in-out-expo);
}

.insight-card-image.image-reveal.visible::before {
  transform: scaleX(0);
}

.insight-card-image .placeholder-inner {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1b1b1b 0%, #111111 100%);
  transform: scale(1.15);
  transition: transform 1.4s var(--ease-out-expo);
}

.insight-card-image.visible .placeholder-inner {
  transform: scale(1);
}

.insight-card:hover .insight-card-image {
  transform: scale(1.015);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.4);
}

.insight-card h3 {
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: 12px;
  line-height: 1.5;
  transition: color 0.3s ease;
}

.insight-card:hover h3 {
  color: var(--color-white);
}

.insight-card .meta {
  font-size: 0.75rem;
  color: var(--color-gray);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.insights-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  position: relative;
}

.insights-cta::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--color-white);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease-out-expo);
}

.insights-cta:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.insights-cta:hover {
  opacity: 1;
}

/* ============================================
   FOOTER - Stile Fleava con Blob Dinamici
   ============================================ */
footer {
  background: var(--color-cream);
  color: var(--color-black);
  padding: clamp(80px, 12vh, 120px) clamp(20px, 5vw, 80px);
  position: relative;
  z-index: 2;
  overflow: hidden;
}

/* Footer blob background - Effetto Lava Lamp Fleava */
.footer-blobs {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.footer-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.15;
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.footer-blob-1 {
  width: 50vw;
  height: 50vw;
  max-width: 600px;
  max-height: 600px;
  top: -30%;
  right: -10%;
  background: radial-gradient(ellipse at center, #e0e0de 0%, transparent 70%);
  animation: footerBlobFloat1 15s ease-in-out infinite;
}

.footer-blob-2 {
  width: 40vw;
  height: 40vw;
  max-width: 500px;
  max-height: 500px;
  bottom: -20%;
  left: 10%;
  background: radial-gradient(ellipse at center, #d0d0ce 0%, transparent 70%);
  animation: footerBlobFloat2 20s ease-in-out infinite;
}

@keyframes footerBlobFloat1 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-5%, 10%) scale(1.1);
  }
}

@keyframes footerBlobFloat2 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(8%, -5%) scale(0.9);
  }
}

.footer-content {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
}

.footer-cta {
  font-size: clamp(3rem, 10vw, 9rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  margin-bottom: clamp(60px, 10vh, 100px);
  display: inline-block;
  line-height: 1;
  transition: opacity 0.4s var(--ease-out-expo);
}

.footer-cta:hover {
  opacity: 0.6;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: clamp(30px, 5vw, 60px);
}

.footer-col .col-title {
  font-size: 0.7rem;
  font-weight: 500;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1.1;
  color: rgba(0, 0, 0, 0.38);
}

.footer-col p,
.footer-col a {
  font-size: 0.9rem;
  line-height: 2;
  color: rgba(0, 0, 0, 0.55);
  display: block;
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: var(--color-black);
  opacity: 1;
}

.footer-bottom {
  margin-top: clamp(60px, 10vh, 100px);
  padding-top: 30px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom .copyright {
  font-size: 0.75rem;
  color: rgba(0, 0, 0, 0.38);
}

.social-links {
  display: flex;
  gap: 25px;
}

.social-links a {
  font-size: 0.75rem;
  color: rgba(0, 0, 0, 0.38);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  font-size: 0.75rem;
  color: rgba(0, 0, 0, 0.38);
}

/* ============================================
   PAGE: EXPERTISE — Hero, Intro, Cards
   ============================================ */
.page-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: visible;
  z-index: 2;
  padding: 150px clamp(20px, 5vw, 80px) 100px;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: 1;
}

.page-hero .content {
  position: relative;
  z-index: 10;
  max-width: 1000px;
  padding-right: clamp(40px, 8vw, 140px);
}

.page-hero .label {
  overflow: hidden;
  padding-bottom: 0.15em;
  margin-bottom: calc(20px - 0.15em);
}

.page-hero .label span {
  display: inline-block;
  animation: slideUp 1s var(--ease-out-expo) 0.3s both;
}

.page-hero h1 {
  margin-bottom: 30px;
  font-size: clamp(1.8rem, 4.1vw, 3.8rem);
}

.page-hero h1 .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.15em;
  margin-bottom: -0.15em;
}

.page-hero h1 .line span {
  display: block;
  animation: slideUp 1.2s var(--ease-out-expo) both;
}

.page-hero h1 .line:nth-child(1) span {
  animation-delay: 0.4s;
}
.page-hero h1 .line:nth-child(2) span {
  animation-delay: 0.5s;
}
.page-hero h1 .line:nth-child(3) span {
  animation-delay: 0.6s;
}

.page-hero .description {
  max-width: 500px;
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  color: var(--color-gray);
  line-height: 1.75;
  animation: fadeIn 1s var(--ease-out-expo) 0.8s both;
}

/* Hero image — overflows into next section with parallax */
.hero-image {
  position: absolute;
  top: 78%;
  right: 0;
  width: 44%;
  height: 100%;
  overflow: hidden;
  z-index: 5;
  clip-path: inset(0 0 0 100%);
  transition: clip-path 1.2s var(--ease-in-out-expo) 0.5s;
}

.hero-image .image-placeholder {
  width: 100%;
  height: 120%;
  background: linear-gradient(135deg, #1b1b1b 0%, #111111 100%);
  transform: scale(1.1);
  transition: transform 1.5s var(--ease-smooth);
}

.hero-image.visible .image-placeholder {
  transform: scale(1);
}

.hero-image.visible {
  clip-path: inset(0);
}

/* Intro section */
.intro-section {
  background: var(--color-cream);
  color: var(--color-black);
  padding: clamp(130px, 16vh, 210px) 0;
}

.intro-grid {
  display: flex;
  flex-direction: column;
  gap: clamp(30px, 4vh, 50px);
}

.intro-left {
  position: relative;
}

.intro-right {
  position: relative;
}

.intro-ornament {
  width: 105px;
  height: 105px;
  color: rgba(180, 165, 145, 0.5);
  margin-bottom: clamp(20px, 3vh, 32px);
}

.intro-ornament svg {
  width: 100%;
  height: auto;
  animation: rotateOrnament 80s linear infinite;
}

@keyframes rotateOrnament {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.intro-content {
  position: relative;
  z-index: 1;
}

.intro-content h2 {
  color: var(--color-black);
  margin-bottom: 0;
  font-size: clamp(1.8rem, 3.8vw, 3.4rem);
}

.intro-right p {
  font-size: 1.1rem;
  line-height: 2;
  color: rgba(0, 0, 0, 0.55);
  max-width: 450px;
}

.intro-right .intro-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-black);
  position: relative;
}

.intro-right .intro-cta::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--color-black);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease-out-expo);
}

.intro-right .intro-cta:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.intro-right .intro-cta:hover {
  opacity: 1;
}

.intro-right .intro-cta svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s var(--ease-out-expo);
}

.intro-right .intro-cta:hover svg {
  transform: translateX(5px);
}

/* Expertise cards — staggered grid */
.expertise-section {
  background: var(--color-black);
  padding: clamp(130px, 16vh, 210px) 0;
}

.expertise-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: clamp(60px, 10vh, 100px);
}

.expertise-header h2 {
  margin-top: 10px;
}

.expertise-header p {
  color: var(--color-gray);
  line-height: 1.9;
  max-width: 400px;
  margin-left: auto;
  align-self: end;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(40px, 6vw, 80px) clamp(40px, 8vw, 120px);
}

.expertise-card {
  display: flex;
  flex-direction: column;
  position: relative;
  max-width: 550px;
  transition: transform 0.6s var(--ease-out-expo);
}

.expertise-card:nth-child(even) {
  margin-top: clamp(40px, 6vw, 80px);
  margin-left: auto;
}

.expertise-card .card-image {
  width: 100%;
  aspect-ratio: 4/5;
  overflow: hidden;
  position: relative;
  margin-bottom: 30px;
}

.expertise-card .card-image .image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1b1b1b 0%, #111111 100%);
  transition: transform 0.8s var(--ease-out-expo);
}

.expertise-card:hover .card-image .image-placeholder {
  transform: scale(1.08);
}

.expertise-card .card-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-black);
  z-index: 2;
  transform: scaleX(1);
  transform-origin: right;
  transition: transform 1.2s var(--ease-in-out-expo);
}

.expertise-card.visible .card-image::before {
  transform: scaleX(0);
}

.expertise-card .card-label {
  font-size: 0.8rem;
  color: var(--color-gray);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.expertise-card .card-label::after {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  background: rgba(224, 224, 220, 0.25);
}

.expertise-card h3 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 300;
  margin-bottom: 20px;
  line-height: 1.25;
  color: var(--color-white);
  transition: color 0.3s ease;
}

.expertise-card:hover h3 {
  color: var(--color-gray-light);
}

.expertise-card .card-services {
  font-size: 0.9rem;
  color: var(--color-gray);
  line-height: 1.9;
}

.expertise-card .card-arrow {
  margin-top: 25px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--color-white);
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.4s var(--ease-out-expo);
}

.expertise-card:hover .card-arrow {
  opacity: 1;
  transform: translateX(0);
}

.expertise-card .card-arrow svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s var(--ease-out-expo);
}

.expertise-card:hover .card-arrow svg {
  transform: translateX(5px);
}

/* ============================================
   PAGE: EXPERTISE SINGLE — Detail Sections
   ============================================ */

/* Detail services grid */
.section-detail-services {
  background: var(--color-black);
  padding: clamp(130px, 16vh, 210px) 0;
}

.detail-services-header {
  margin-bottom: clamp(60px, 10vh, 100px);
}

.detail-services-header .label {
  margin-bottom: 20px;
}

.detail-services-header h2 {
  max-width: 600px;
}

.detail-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(40px, 6vw, 80px) clamp(60px, 10vw, 140px);
}

.detail-service-card {
  position: relative;
  padding-left: clamp(20px, 3vw, 35px);
  border-left: 1px solid rgba(224, 224, 220, 0.08);
  transition: border-color 0.5s var(--ease-out-expo);
}

.detail-service-card:hover {
  border-color: rgba(224, 224, 220, 0.25);
}

.detail-service-card .card-number {
  font-size: 0.7rem;
  color: var(--color-gray);
  margin-bottom: 18px;
  letter-spacing: 0.08em;
}

.detail-service-card h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  font-weight: 300;
  color: var(--color-white);
  margin-bottom: 18px;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.detail-service-card p {
  font-size: 0.9rem;
  line-height: 1.9;
  color: var(--color-gray);
}

/* Journal Link Section */
.section-journal-link {
  background: var(--color-black);
  padding: clamp(130px, 16vh, 210px) 0;
}

.journal-link-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(50px, 8vw, 100px);
  align-items: center;
}

.journal-link-image {
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, #1b1b1b 0%, #111111 100%);
  overflow: hidden;
  position: relative;
}

.journal-link-image .placeholder-inner {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1b1b1b 0%, #111111 100%);
  transform: scale(1.1);
  transition: transform 1.4s var(--ease-out-expo);
}

.journal-link-image.visible .placeholder-inner {
  transform: scale(1);
}

.journal-link-content .label {
  margin-bottom: 25px;
}

.journal-link-content h3 {
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  font-weight: 300;
  color: var(--color-white);
  margin-bottom: 22px;
  line-height: 1.3;
}

.journal-link-content p {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--color-gray);
  margin-bottom: 35px;
}

.journal-link-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  font-weight: 400;
  position: relative;
}

.journal-link-cta::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--color-white);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease-out-expo);
}

.journal-link-cta:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.journal-link-cta:hover {
  opacity: 1;
}

.journal-link-cta svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s var(--ease-out-expo);
}

.journal-link-cta:hover svg {
  transform: translateX(5px);
}

/* FAQ Section */
.section-faq {
  background: var(--color-cream);
  color: var(--color-black);
  padding: clamp(130px, 16vh, 210px) 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(60px, 10vw, 140px);
  align-items: start;
}

.faq-header .label {
  color: var(--color-gray);
  margin-bottom: 20px;
}

.faq-header h2 {
  color: var(--color-black);
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.faq-item:first-child {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: clamp(22px, 3vw, 32px) 0;
  cursor: pointer;
  transition: opacity 0.4s var(--ease-out-expo);
  border: none;
  background: none;
  font: inherit;
  color: inherit;
  width: 100%;
  text-align: left;
}

.faq-question:hover {
  opacity: 0.6;
}

.faq-question:focus-visible {
  outline: 2px solid var(--color-black);
  outline-offset: 4px;
}

.faq-question h4 {
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  font-weight: 400;
  color: var(--color-black);
  padding-right: 40px;
  line-height: 1.5;
}

.faq-toggle {
  width: 20px;
  height: 20px;
  position: relative;
  flex-shrink: 0;
}

.faq-toggle::before,
.faq-toggle::after {
  content: "";
  position: absolute;
  background: var(--color-black);
  transition: transform 0.5s var(--ease-out-expo);
}

.faq-toggle::before {
  width: 20px;
  height: 1.5px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.faq-toggle::after {
  width: 1.5px;
  height: 20px;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

.faq-item.active .faq-toggle::after {
  transform: translateX(-50%) rotate(90deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.6s var(--ease-out-expo),
    padding 0.6s var(--ease-out-expo);
}

.faq-item.active .faq-answer {
  max-height: 600px;
  padding-bottom: 28px;
}

.faq-answer p {
  font-size: 0.92rem;
  line-height: 1.9;
  color: rgba(0, 0, 0, 0.55);
}

/* FAQ Schema markup */
.section-faq .faq-item[itemscope] {
  position: relative;
}

/* Service item current state */
.service-item.is-current {
  opacity: 0.25;
  pointer-events: none;
}

/* ============================================
   PAGE: JOURNAL — Hero compact, Featured, Articles, Archives
   ============================================ */

/* Compact hero variant (shorter min-height) */
.page-hero--compact {
  min-height: 70vh;
}

/* About: Big Hello hero */
.about-hello-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: clamp(120px, 16vh, 180px) clamp(20px, 5vw, 80px) clamp(60px, 8vh, 90px);
}

.about-hello-label {
  margin-bottom: clamp(22px, 4vh, 36px);
  color: var(--color-gray);
}

.about-hello-title {
  font-size: clamp(4rem, 22vw, 14rem);
  line-height: 1;
  letter-spacing: -0.06em;
  text-align: center;
  font-weight: 300;
}

.about-hello-subtitle {
  margin-top: clamp(20px, 4vh, 36px);
  max-width: 720px;
  text-align: center;
  font-size: clamp(0.95rem, 1.15vw, 1.1rem);
  line-height: 1.85;
  color: rgba(224, 224, 220, 0.72);
}

/* Featured article */
.section-featured {
  background: var(--color-cream);
  color: var(--color-black);
  padding: clamp(130px, 16vh, 210px) 0;
}

.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(50px, 8vw, 100px);
  align-items: center;
}

.featured-image {
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, #e0e0de 0%, #d0d0ce 100%);
  overflow: hidden;
  position: relative;
}

.featured-image .placeholder-inner {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e0e0de 0%, #d0d0ce 100%);
  transform: scale(1.1);
  transition: transform 1.4s var(--ease-out-expo);
}

.featured-image.visible .placeholder-inner {
  transform: scale(1);
}

.featured-content .label {
  color: var(--color-gray);
  margin-bottom: 25px;
}

.featured-content h2 {
  color: var(--color-black);
  margin-bottom: 25px;
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  line-height: 1.2;
}

.featured-content p {
  font-size: clamp(1rem, 1.2vw, 1.18rem);
  line-height: 1.85;
  color: rgba(0, 0, 0, 0.55);
  margin-bottom: 35px;
}

.featured-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--color-black);
  position: relative;
}

.featured-cta::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--color-black);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease-out-expo);
}

.featured-cta:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.featured-cta:hover {
  opacity: 1;
}

.featured-cta svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s var(--ease-out-expo);
}

.featured-cta:hover svg {
  transform: translateX(5px);
}

/* Articles list */
.section-articles {
  background: var(--color-black);
  padding: clamp(130px, 16vh, 210px) 0;
}

.articles-header {
  margin-bottom: clamp(60px, 8vh, 100px);
}

.articles-header .label {
  margin-bottom: 15px;
}

.articles-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.articles-list {
  display: flex;
  flex-direction: column;
}

.article-item {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  gap: clamp(20px, 3vw, 40px);
  padding: clamp(30px, 4vw, 45px) 0;
  border-bottom: 1px solid rgba(224, 224, 220, 0.08);
  align-items: center;
  transition: color 0.5s var(--ease-out-expo);
}

.article-item:first-child {
  border-top: 1px solid rgba(224, 224, 220, 0.08);
}

.article-number {
  font-size: 0.7rem;
  color: var(--color-gray);
  letter-spacing: 0.08em;
  min-width: 30px;
}

.article-thumb {
  width: clamp(70px, 8vw, 100px);
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, #1b1b1b 0%, #111111 100%);
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  transition: transform 0.5s var(--ease-out-expo);
}

.article-thumb .placeholder-inner {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1b1b1b 0%, #111111 100%);
}

.article-item:hover .article-thumb {
  transform: scale(1.05);
}

.article-content h3 {
  color: var(--color-white);
  margin-bottom: 12px;
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  font-weight: 300;
  line-height: 1.35;
  transition: color 0.4s var(--ease-out-expo);
}

.article-item:hover .article-content h3 {
  color: var(--color-cream);
}

.article-content .excerpt {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--color-gray);
  max-width: 600px;
}

.article-meta {
  font-size: 0.72rem;
  color: var(--color-gray);
  text-align: right;
  min-width: 100px;
  line-height: 1.8;
}

/* Archives */
.section-archives {
  background: var(--color-cream);
  color: var(--color-black);
  padding: clamp(130px, 16vh, 210px) 0;
}

.archives-header {
  margin-bottom: clamp(50px, 7vh, 80px);
}

.archives-header h2 {
  color: var(--color-black);
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.archives-list {
  display: flex;
  flex-direction: column;
}

.archive-year {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-gray);
  padding: 25px 0 15px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  letter-spacing: 0.05em;
}

.archive-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.archive-item .title {
  font-size: 1rem;
  font-weight: 300;
  color: var(--color-black);
}

.archive-item .category {
  font-size: 0.72rem;
  color: var(--color-gray);
  flex-shrink: 0;
  margin-left: 30px;
}

/* ============================================
   PAGE: ABOUT — Intro & Numbers
   ============================================ */
.section-about-intro {
  background: var(--color-cream);
  color: var(--color-black);
  padding: clamp(130px, 16vh, 210px) 0;
}

.about-intro-header {
  margin-bottom: clamp(50px, 8vh, 80px);
}

.about-intro-header .label {
  color: var(--color-gray);
  margin-bottom: 20px;
}

.about-intro-header h2 {
  color: var(--color-black);
  font-size: clamp(1.9rem, 3.8vw, 3.2rem);
}

.about-intro-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
}

.about-intro-col p {
  font-size: clamp(1rem, 1.2vw, 1.18rem);
  line-height: 1.85;
  color: rgba(0, 0, 0, 0.55);
}

.about-intro-col p + p {
  margin-top: 24px;
}

.about-intro-lead {
  font-size: clamp(1.2rem, 1.8vw, 1.55rem) !important;
  line-height: 1.55 !important;
  letter-spacing: -0.02em;
  color: rgba(0, 0, 0, 0.84) !important;
}

/* About values */
.section-about-values .detail-services-header h2 {
  max-width: 560px;
}

.section-about-values .detail-services-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 50px);
}

.section-about-values .detail-service-card {
  padding-left: 0;
  padding-top: clamp(24px, 3vh, 34px);
  border-left: none;
  border-top: 1px solid rgba(224, 224, 220, 0.14);
}

.section-about-values .detail-service-card:hover {
  border-color: rgba(224, 224, 220, 0.3);
}

/* About numbers */
.section-about-numbers .numbers-grid {
  grid-template-columns: repeat(3, 1fr);
}

/* Numbers Section
   -------------------------------------------- */
.section-numbers {
  background: var(--color-cream);
  color: var(--color-black);
  padding: clamp(130px, 16vh, 210px) 0;
}

.numbers-header {
  margin-bottom: clamp(60px, 10vh, 100px);
}

.numbers-header .label {
  color: var(--color-gray);
  margin-bottom: 20px;
}

.numbers-header h2 {
  color: var(--color-black);
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(30px, 5vw, 60px);
}

.number-card {
  position: relative;
  padding-top: clamp(25px, 4vh, 35px);
  border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.number-value {
  display: block;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--color-black);
  margin-bottom: 12px;
}

.number-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-gray);
  margin-bottom: 16px;
}

.number-card p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(0, 0, 0, 0.55);
}

/* ============================================
   PAGE: JOURNAL SINGLE — Article Detail
   ============================================ */

/* Hero image — full-width cinematic with parallax (Fleava-inspired) */
.journal-hero-image {
  position: relative;
  width: calc(100% - clamp(20px, 5vw, 80px) * 2);
  max-width: 1400px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 4px;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease-out-expo) 0.2s, transform 1s var(--ease-out-expo) 0.2s;
}

.journal-hero-image.visible {
  opacity: 1;
  transform: translateY(0);
}

.journal-hero-image img {
  width: 100%;
  height: 130%;
  object-fit: cover;
  object-position: center;
  will-change: transform;
  display: block;
}

.journal-hero-image .image-placeholder {
  width: 100%;
  height: 130%;
  background: linear-gradient(135deg, #1b1b1b 0%, #111111 100%);
}

/* Article body — left-aligned column */
.section-article {
  background: var(--color-cream);
  color: var(--color-black);
  padding: clamp(80px, 10vh, 130px) 0 clamp(130px, 16vh, 210px);
}

.article-body {
  max-width: 600px;
  margin: 0;
  padding: 0;
}

/* Article heading — h2 before body */
.article-heading {
  font-size: clamp(1.5rem, 2.4vw, 1.85rem);
  font-weight: 500;
  color: var(--color-black);
  line-height: 1.35;
  letter-spacing: -0.02em;
  margin-bottom: clamp(30px, 4vh, 50px);
}

/* Subtitle — larger intro text */
.article-subtitle {
  font-size: clamp(1.1rem, 1.4vw, 1.25rem);
  line-height: 1.9;
  color: var(--color-gray);
  margin-bottom: clamp(50px, 7vh, 80px);
}

/* Article sections */
.article-section {
  margin-top: clamp(50px, 7vh, 70px);
}

.article-section h3 {
  font-size: clamp(1.3rem, 2vw, 1.5rem);
  font-weight: 400;
  color: var(--color-black);
  margin-bottom: clamp(18px, 2.5vh, 28px);
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.article-body p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--color-black);
}

.article-section p + p {
  margin-top: clamp(18px, 2.5vh, 28px);
}

/* ============================================
   SCROLL PROGRESS
   ============================================ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--color-white) 0%,
    rgba(224, 224, 220, 0.5) 100%
  );
  z-index: 9999;
  transition: width 0.1s linear;
}

/* ============================================
   ANIMATIONS - Scroll Triggered Reveal
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 1s var(--ease-out-expo),
    transform 1s var(--ease-out-expo);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up-delay-1 {
  transition-delay: 0.12s;
}
.fade-up-delay-2 {
  transition-delay: 0.24s;
}
.fade-up-delay-3 {
  transition-delay: 0.36s;
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition:
    opacity 1s var(--ease-out-expo),
    transform 1s var(--ease-out-expo);
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition:
    opacity 1s var(--ease-out-expo),
    transform 1s var(--ease-out-expo);
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-up {
  opacity: 0;
  transform: scale(0.94);
  transition:
    opacity 1.2s var(--ease-out-expo),
    transform 1.2s var(--ease-out-expo);
}

.scale-up.visible {
  opacity: 1;
  transform: scale(1);
}

/* Image reveal effect */
.image-reveal {
  position: relative;
  overflow: hidden;
}

.image-reveal::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-black);
  z-index: 2;
  transform: scaleX(1);
  transform-origin: right;
  transition: transform 1.2s var(--ease-in-out-expo);
}

.image-reveal.visible::before {
  transform: scaleX(0);
}

/* Split text animation */
.split-lines .line {
  overflow: hidden;
  display: block;
  padding-bottom: 0.15em;
  margin-bottom: -0.15em;
}

.split-lines .line-inner {
  display: block;
  transform: translateY(105%);
  transition: transform 0.9s var(--ease-out-expo);
}

.split-lines.visible .line-inner {
  transform: translateY(0);
}

.split-lines .line:nth-child(1) .line-inner {
  transition-delay: 0.08s;
}
.split-lines .line:nth-child(2) .line-inner {
  transition-delay: 0.16s;
}
.split-lines .line:nth-child(3) .line-inner {
  transition-delay: 0.24s;
}
.split-lines .line:nth-child(4) .line-inner {
  transition-delay: 0.32s;
}

/* Stagger children animation */
.stagger-children > * {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.8s var(--ease-out-expo),
    transform 0.8s var(--ease-out-expo);
}

.stagger-children.visible > *:nth-child(1) {
  transition-delay: 0.06s;
  opacity: 1;
  transform: translateY(0);
}
.stagger-children.visible > *:nth-child(2) {
  transition-delay: 0.12s;
  opacity: 1;
  transform: translateY(0);
}
.stagger-children.visible > *:nth-child(3) {
  transition-delay: 0.18s;
  opacity: 1;
  transform: translateY(0);
}
.stagger-children.visible > *:nth-child(4) {
  transition-delay: 0.24s;
  opacity: 1;
  transform: translateY(0);
}
.stagger-children.visible > *:nth-child(5) {
  transition-delay: 0.3s;
  opacity: 1;
  transform: translateY(0);
}
.stagger-children.visible > *:nth-child(6) {
  transition-delay: 0.36s;
  opacity: 1;
  transform: translateY(0);
}
.stagger-children.visible > *:nth-child(7) {
  transition-delay: 0.42s;
  opacity: 1;
  transform: translateY(0);
}
.stagger-children.visible > *:nth-child(8) {
  transition-delay: 0.48s;
  opacity: 1;
  transform: translateY(0);
}
.stagger-children.visible > *:nth-child(9) {
  transition-delay: 0.54s;
  opacity: 1;
  transform: translateY(0);
}
.stagger-children.visible > *:nth-child(10) {
  transition-delay: 0.6s;
  opacity: 1;
  transform: translateY(0);
}
.stagger-children.visible > *:nth-child(n+11) {
  transition-delay: 0.66s;
  opacity: 1;
  transform: translateY(0);
}

/* Parallax elements */
[data-parallax] {
  will-change: transform;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  /* about: il paragrafo torna a sinistra (colonna unica) su tablet/mobile */
  .about-body {
    grid-template-columns: 1fr;
  }

  .about-body p {
    grid-column: 1;
    max-width: 100%;
  }

  .section-approach {
    padding: 100px 5%;
  }

  .section-approach .content {
    max-width: 100%;
  }

  .about-ornament {
    max-width: 280px;
    margin: 0 auto;
  }

  .section-why .container {
    gap: clamp(34px, 6vh, 58px);
  }

  .why-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .why-copy p {
    max-width: 100%;
  }

  .why-copy {
    padding-right: 0;
    border-right: 0;
  }

  .why-panel {
    max-width: 100%;
    padding-left: 0;
  }

  .services-header {
    grid-template-columns: 1fr;
  }

  .services-header p {
    margin-left: 0;
  }

  .insights-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

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

  .nav-menu-inner {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .nav-info {
    padding-bottom: 0;
  }

  .nav-menu {
    align-items: flex-start;
    padding-top: 100px;
    padding-bottom: 40px;
    overflow-y: auto;
  }

  /* Expertise page */
  .intro-ornament {
    width: 90px;
    height: 90px;
  }

  .intro-right {
    max-width: 500px;
  }

  .expertise-header {
    grid-template-columns: 1fr;
  }

  .expertise-header p {
    margin-left: 0;
  }

  .expertise-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .expertise-card {
    max-width: 100%;
  }

  .expertise-card:nth-child(even) {
    margin-top: 0;
    margin-left: 0;
  }

  .hero-image {
    width: 100%;
    top: auto;
    bottom: 0;
    height: 35%;
  }

  /* Expertise single */
  .detail-services-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .section-about-values .detail-services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .journal-link-wrapper {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  /* About */
  .about-intro-body {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

  .about-hello-subtitle {
    max-width: 620px;
  }

  /* Journal */
  .featured-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .featured-image {
    max-width: 400px;
  }

  .article-item {
    grid-template-columns: auto auto 1fr;
    gap: 20px;
  }

  .article-meta {
    display: none;
  }

  .article-thumb {
    width: 70px;
  }

  /* Journal single */
  .article-body {
    max-width: 58%;
  }
}

@media (max-width: 768px) {
  header {
    padding: 20px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    padding-bottom: 80px;
  }

  .hero-scroll {
    display: none;
  }

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

  .service-item .arrow {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .insights-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .hero-content {
    padding-right: 0;
  }

  .insights-grid {
    grid-template-columns: 1fr;
  }

  .nav-menu {
    padding-top: 80px;
    padding-bottom: 32px;
  }

  .nav-menu-inner {
    gap: 40px;
  }

  /* Expertise page */
  .page-hero {
    padding-top: 120px;
  }

  .intro-ornament {
    width: 72px;
    height: 72px;
    margin-bottom: 16px;
  }

  .expertise-card .card-image {
    aspect-ratio: 4/5;
  }

  /* About */
  .numbers-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .section-about-values .detail-services-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .why-header h2 {
    font-size: clamp(1.9rem, 8.5vw, 3rem);
  }

  .why-point {
    grid-template-columns: 36px 1fr;
    gap: 12px;
    padding: 16px 0;
  }

  .about-hello-title {
    font-size: clamp(3.2rem, 22vw, 8rem);
  }

  .about-hello-subtitle {
    max-width: 100%;
    font-size: 0.95rem;
    line-height: 1.75;
  }

  /* Journal */
  .page-hero--compact {
    min-height: 60vh;
  }

  .article-item {
    grid-template-columns: auto 1fr;
    gap: 15px;
  }

  .article-number {
    display: none;
  }

  .article-thumb {
    width: 60px;
  }

  /* Journal single — adapt on mobile */
  .journal-hero-image {
    width: calc(100% - 40px);
    aspect-ratio: 4 / 3;
  }

  .article-body {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .footer-cta {
    font-size: 2.5rem;
  }

  .nav-links a {
    font-size: 1.75rem;
  }

  .service-item {
    gap: 16px;
    padding: 20px 0;
  }

  .service-item .name {
    font-size: 1.2rem;
  }
}

/* Reduced motion — disable all animations for accessibility + performance */
@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;
  }
  .hero h1 .line span,
  .hero-label span,
  .hero-description,
  .page-hero .label span,
  .page-hero h1 .line span,
  .page-hero .description {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .fade-up,
  .fade-in-left,
  .fade-in-right,
  .scale-up {
    opacity: 1;
    transform: none;
  }
  .split-lines .line-inner {
    transform: none;
  }
  .stagger-children > * {
    opacity: 1;
    transform: none;
  }
  .blob,
  .footer-blob,
  .about-ornament {
    animation: none !important;
  }
  .image-reveal::before {
    transform: scaleX(0);
  }
  .hero-image {
    clip-path: inset(0);
  }
  .journal-hero-image {
    opacity: 1;
    transform: none;
  }
  [data-parallax] {
    transform: none !important;
  }
}


/* ────────────────────────────────────────────────
   HERO — VIDEO BACKGROUND
   - hero-video-bg: video mp4 fullscreen, copre l'intera hero
   - hero-video-overlay: velo scuro sopra il video per leggibilità
   - hero--has-video: nasconde i blob (il video li sostituisce)
   Fallback: se nessun video è caricato, i blob rimangono visibili
──────────────────────────────────────────────── */

.hero-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.45) 0%,
    rgba(0, 0, 0, 0.25) 50%,
    rgba(0, 0, 0, 0.55) 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* Quando c'è il video, i blob spariscono */
.hero--has-video .hero-blobs {
  display: none;
}

/* Il contenuto resta sopra video + overlay */
.hero--has-video .hero-content {
  position: relative;
  z-index: 2;
}

/* hero-scroll è già absolute: basta alzare lo z-index */
.hero--has-video .hero-scroll {
  z-index: 2;
}

/* Riduzione preload motion: il video non parte se l'utente preferisce */
@media (prefers-reduced-motion: reduce) {
  .hero-video-bg {
    display: none;
  }
  .hero--has-video .hero-blobs {
    display: block;
  }
}
