/* ============================================================
   Romeo Gasparini — Codice Business™
   Stylesheet — palette ivory/azure/slate, editorial elegant
   ============================================================ */

:root {
  /* Surfaces — ivory caldo, NON pergamena gialla */
  --bg:            #F4F1EA;   /* ivory caldo */
  --bg-elev:       #FBF8F2;   /* avorio chiaro */
  --bg-elev-2:     #EDE8DD;
  --bg-soft:       #E5DFD0;   /* avorio sabbia */
  --bg-wash:       #D7E2EC;   /* azzurro nebbia */

  /* Ink — slate profondo (NON espresso, NON navy puro) */
  --ink:           #1E2733;
  --ink-muted:     #4C5664;
  --ink-dim:       #8A93A1;

  /* Accent — azzurro polvere (dusty azure, elegante, NON cobalt, NON teal) */
  --accent:        #5B7FA0;
  --accent-soft:   #7A9AB8;
  --accent-deep:   #3A5878;
  --accent-faint:  rgba(91, 127, 160, 0.10);

  /* Functional */
  --whats:         #4A7C4E;
  --whats-hover:   #3D6841;
  --line:          rgba(30, 39, 51, 0.10);
  --line-strong:   rgba(30, 39, 51, 0.20);
  --shadow-lg:     0 30px 60px -25px rgba(30,39,51,.20), 0 10px 30px -15px rgba(30,39,51,.10);
  --shadow-md:     0 14px 34px -18px rgba(30,39,51,.16);

  /* Type */
  --font-display:  'Fraunces', 'Iowan Old Style', Georgia, serif;
  --font-body:     'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-italic:   'Fraunces', 'Iowan Old Style', Georgia, serif;
  --font-mono:     'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Layout */
  --maxw:          1180px;
  --maxw-narrow:   880px;
  --radius:        14px;
  --radius-lg:     22px;
  --ease:          cubic-bezier(.22,.61,.36,1);

  --space-xs: clamp(.5rem, .4rem + .4vw, .75rem);
  --space-sm: clamp(.75rem, .6rem + .6vw, 1.1rem);
  --space-md: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  --space-lg: clamp(2rem, 1.5rem + 2vw, 3.25rem);
  --space-xl: clamp(3.25rem, 2.5rem + 3vw, 5.5rem);
  --space-2xl: clamp(5rem, 4rem + 5vw, 8.5rem);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(15px, .95rem + .15vw, 17px);
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  /* Respect iPhone notch in landscape (low-impact: only adds padding when env() is non-zero) */
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
}

img, svg { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--accent-soft); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* Skip link */
.skip-link {
  position: absolute; left: -9999px; top: 0; padding: .75rem 1rem;
  background: var(--accent); color: var(--bg); font-weight: 600; z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- Layout helpers ---------- */
.container { max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2rem); }
@media (min-width: 1600px) {
  :root { --maxw: 1280px; }
}

.eyebrow {
  font-size: .76rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin: 0 0 .9rem;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
}
.eyebrow--center { display: flex; justify-content: center; }
.eyebrow__dot {
  width: 6px; height: 6px; background: var(--accent); border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(91,127,160,.15);
}

.section-head { max-width: var(--maxw-narrow); margin: 0 auto var(--space-lg); text-align: center; }
.section-head--seal { display: flex; flex-direction: column; align-items: center; }
.method__seal {
  width: clamp(110px, 9vw, 160px);
  height: auto;
  margin-bottom: 1.5rem;
  border-radius: 14px;
  box-shadow:
    0 20px 50px -20px rgba(30,39,51,.30),
    0 0 0 1px rgba(30,39,51,.05),
    0 0 60px rgba(91,127,160,.12);
  transition: transform .5s var(--ease);
}
.method__seal:hover { transform: rotate(-4deg) scale(1.03); }
.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-optical-sizing: auto;
  font-variation-settings: "opsz" 144;
  font-size: clamp(1.85rem, 1.3rem + 2.6vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -.018em;
  margin: 0 0 .8rem;
  color: var(--ink);
  text-wrap: balance;
}
.section-title em {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: -.01em;
  font-variation-settings: "opsz" 100;
}
.section-sub {
  color: var(--ink-muted);
  max-width: 60ch;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  padding: .9rem 0;
  background: linear-gradient(to bottom, rgba(244,241,234,.7), rgba(244,241,234,0));
  transition: background .3s var(--ease), backdrop-filter .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  background: rgba(244,241,234,.88);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.brand {
  display: inline-flex; align-items: center; gap: .65rem;
  color: var(--ink);
  line-height: 1;
}
.brand:hover { color: var(--ink); }
.brand__mark {
  width: 34px; height: 34px;
  border-radius: 8px;
  object-fit: contain;
  background: var(--bg-elev);
  padding: 3px;
  flex-shrink: 0;
  box-shadow: 0 4px 14px -6px rgba(30,39,51,.18), 0 0 0 1px rgba(30,39,51,.06);
  transition: transform .35s var(--ease);
}
.brand:hover .brand__mark { transform: rotate(6deg); }
.brand__name {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -.01em;
  white-space: nowrap;
}
@media (max-width: 420px) {
  .brand__name { font-size: .9rem; }
  .brand__mark { width: 32px; height: 32px; }
}
@media (max-width: 359px) {
  /* Extreme small viewport (e.g. 320px folded) */
  .brand__name { font-size: .85rem; }
}

.site-nav { display: flex; align-items: center; gap: 1.75rem; }
.site-nav a {
  position: relative;
  color: var(--ink-muted); font-size: .92rem; font-weight: 500; letter-spacing: .01em;
  padding: .25rem 0;
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0% 1px;
  transition: color .25s var(--ease), background-size .35s var(--ease);
}
.site-nav a:hover { color: var(--ink); background-size: 100% 1px; }
.site-nav a.is-active { color: var(--ink); }
.site-nav a.is-active:not(.btn) { background-size: 100% 1px; color: var(--accent); }
.site-nav .btn { color: var(--ink); background-image: none; padding: .6rem 1.1rem; }
.site-nav .btn.is-active { background: var(--accent); color: var(--bg); border-color: var(--accent); }

/* Hamburger toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 42px; height: 42px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  cursor: pointer;
  gap: 5px;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.nav-toggle:hover { border-color: var(--accent); }
.nav-toggle span {
  display: block;
  width: 18px; height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 899px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed;
    inset: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: clamp(5rem, 12vh, 7rem) clamp(1.5rem, 6vw, 3rem) clamp(2rem, 6vh, 4rem);
    gap: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s var(--ease);
    z-index: 45;
    overflow-y: auto;
  }
  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .site-nav a {
    font-size: 1.5rem;
    font-family: var(--font-display);
    color: var(--ink);
    letter-spacing: -.02em;
    width: 100%;
    padding-block: .65rem; /* taller tap target ≥44px with line-height */
    background-image: none;
  }
  .site-nav a em,
  .site-nav a.is-active {
    color: var(--accent);
  }
  .site-nav .btn {
    margin-top: 1rem;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    width: 100%;
    justify-content: center;
  }
}
body.nav-open { overflow: hidden; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .98rem;
  letter-spacing: .005em;
  cursor: pointer;
  transition: transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
  min-height: 44px; /* WCAG 2.5.5 tap target */
}
.btn--sm { padding: .6rem 1.1rem; font-size: .88rem; min-height: 0; }
.btn--block { width: 100%; padding-block: 1.1rem; }

.btn--primary {
  background: linear-gradient(180deg, var(--accent-soft), var(--accent));
  color: var(--bg);
  box-shadow: 0 10px 30px -12px rgba(91,127,160,.5), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn--primary:hover { transform: translateY(-1px); color: var(--bg); box-shadow: 0 18px 40px -14px rgba(91,127,160,.65), inset 0 1px 0 rgba(255,255,255,.3); }
.btn--primary:active { transform: translateY(0); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover { background: var(--accent-faint); color: var(--accent); border-color: var(--accent); }

.btn--whatsapp {
  background: var(--whats);
  color: #fff;
  box-shadow: 0 10px 30px -12px rgba(74,124,78,.5);
}
.btn--whatsapp:hover { background: var(--whats-hover); color: #fff; transform: translateY(-1px); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--space-xl) + 4rem) 0 var(--space-xl);
  overflow: hidden;
}
@supports not (height: 100svh) {
  .hero { min-height: 100vh; }
}
@media (max-width: 1023px) {
  .hero {
    min-height: auto;
    padding: calc(var(--space-lg) + 5rem) 0 var(--space-xl);
  }
}
/* iPad portrait: leave breathing room so user sees a hint of next section */
@media (min-width: 768px) and (max-width: 1023px) {
  .hero {
    min-height: 80svh;
    padding: calc(var(--space-xl) + 3rem) 0 var(--space-lg);
  }
}
.hero__bg {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(1200px 600px at 20% 0%, rgba(91,127,160,.10), transparent 60%),
    radial-gradient(900px 500px at 100% 30%, rgba(122,154,184,.13), transparent 65%);
}
.hero__halo {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55;
}
.hero__halo--a { width: 380px; height: 380px; background: rgba(91,127,160,.14); top: -120px; left: -100px; }
.hero__halo--b { width: 500px; height: 500px; background: rgba(122,154,184,.18); bottom: -200px; right: -150px; }

.hero__inner {
  position: relative; z-index: 1;
  display: grid; gap: var(--space-xl);
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  width: 100%;
}
@media (max-width: 1023px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: var(--space-md); }
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-optical-sizing: auto;
  font-variation-settings: "opsz" 144;
  /* min ~36px (≥360px viewport, readable), max 67px (≤1920px, no billboard) */
  font-size: clamp(2.25rem, 1.4rem + 4.2vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -.02em;
  margin: 0 0 1.25rem;
  color: var(--ink);
  /* Avoid italics breaking onto own line awkwardly on narrow screens */
  text-wrap: balance;
}
.hero__title em {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 400;
  font-size: 1.05em;
  color: var(--accent);
  position: relative;
  white-space: nowrap;
  letter-spacing: -.015em;
  font-variation-settings: "opsz" 144;
  vertical-align: -0.02em;
}
.hero__title em::after {
  content: ""; position: absolute; left: 4%; right: 4%; bottom: -.04em; height: 2px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
  opacity: .55;
}

.hero__lede {
  font-size: clamp(1.05rem, .98rem + .3vw, 1.2rem);
  color: var(--ink-muted);
  max-width: min(56ch, 100%);
  margin: 0 0 var(--space-md);
  line-height: 1.65;
}
.hero__copy { min-width: 0; }

.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: var(--space-md); }
@media (max-width: 480px) {
  .hero__cta { gap: .7rem; }
  .hero__cta .btn { width: 100%; padding-block: 1.05rem; }
  .hero__trust { gap: .9rem 1.5rem; font-size: .85rem; }
}

.hero__trust {
  display: flex; flex-wrap: wrap; gap: 1.75rem 2.5rem;
  list-style: none; padding: 0; margin: 0;
  font-size: .9rem; color: var(--ink-dim);
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}
.hero__trust strong { color: var(--ink); font-weight: 600; }

/* Hero scroll cue (desktop only — hero is 100svh there) */
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: clamp(1.2rem, 2.5vw, 2rem);
  transform: translateX(-50%);
  display: inline-flex; flex-direction: column; align-items: center; gap: .8rem;
  color: var(--ink-dim);
  font-size: .68rem; letter-spacing: .24em; text-transform: uppercase;
  font-weight: 500;
  text-decoration: none;
  z-index: 2;
  transition: color .25s var(--ease), transform .25s var(--ease);
}
.hero__scroll:hover { color: var(--accent); transform: translateX(-50%) translateY(2px); }
.hero__scroll-line {
  display: block; width: 1px; height: 38px;
  background: linear-gradient(to bottom, transparent, var(--accent) 30%, var(--accent) 70%, transparent);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: ""; position: absolute; top: -100%; left: 0; right: 0; height: 50%;
  background: linear-gradient(to bottom, transparent, var(--ink));
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0% { transform: translateY(0); }
  100% { transform: translateY(300%); }
}
@media (max-width: 1023px) {
  .hero__scroll { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__scroll-line::after { animation: none; }
}

.hero__media {
  margin: 0;
  display: flex; flex-direction: column; align-items: center; gap: 1.25rem;
}
.hero__photo-wrap {
  position: relative;
  width: 100%; max-width: 420px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  isolation: isolate;
  transition: transform .4s var(--ease);
  box-shadow:
    0 0 0 1px rgba(30,39,51,.06),
    0 0 0 12px rgba(122,154,184,.08),
    0 0 0 13px rgba(91,127,160,.22),
    0 40px 70px -25px rgba(30,39,51,.30),
    0 0 80px rgba(91,127,160,.20);
}
.hero__photo-wrap:hover { transform: scale(1.015); }
.hero__photo-wrap img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 40%;
  filter: contrast(1.04) saturate(1.06);
  transform: scale(1.6);
  transform-origin: center 40%;
}
/* Tablet portrait: photo a bit smaller to keep balance vs text above */
@media (min-width: 600px) and (max-width: 1023px) {
  .hero__photo-wrap { max-width: 340px; }
}
@media (max-width: 599px) {
  .hero__photo-wrap {
    max-width: 260px;
    box-shadow:
      0 0 0 1px rgba(30,39,51,.06),
      0 0 0 10px rgba(122,154,184,.08),
      0 0 0 11px rgba(91,127,160,.22),
      0 30px 50px -20px rgba(30,39,51,.28),
      0 0 60px rgba(91,127,160,.20);
  }
}
@media (max-width: 380px) {
  .hero__photo-wrap { max-width: 220px; }
}
.hero__photo-tag {
  display: inline-flex; align-items: center; gap: .55rem;
  color: var(--ink-muted);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 500;
  padding: .55rem .9rem;
  background: rgba(251,248,242,.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 6px 18px -8px rgba(30,39,51,.15);
}
.hero__photo-tag__dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(91,127,160,.22);
}
.hero__photo-tag__sep {
  width: 3px; height: 3px;
  background: var(--ink-dim);
  border-radius: 50%;
  opacity: .6;
}

/* ---------- PROBLEM ---------- */
.problem { padding: var(--space-xl) 0; background: var(--bg-soft); border-block: 1px solid var(--line); }
.problems {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 1.25rem;
  grid-template-columns: 1fr;
  counter-reset: pcard;
}
@media (min-width: 768px) { .problems { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .problems { grid-template-columns: repeat(3, 1fr); } }

.problem-card {
  position: relative;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.75rem 1.85rem;
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
  overflow: hidden;
  box-shadow: 0 2px 8px -4px rgba(30,39,51,.06);
}
.problem-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
  opacity: 0; transition: opacity .3s var(--ease);
}
.problem-card:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: var(--shadow-md); }
.problem-card:hover::before { opacity: 1; }
.problem-card__num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .78rem; color: var(--accent);
  margin-bottom: 1rem;
  letter-spacing: .12em;
  font-weight: 500;
}
.problem-card h3 {
  font-family: var(--font-display); font-weight: 500;
  font-optical-sizing: auto;
  font-size: 1.35rem; line-height: 1.2;
  letter-spacing: -.01em;
  margin: 0 0 .65rem;
  color: var(--ink);
}
.problem-card p { color: var(--ink-muted); margin: 0; font-size: .98rem; }

/* ---------- METHOD ---------- */
.method { padding: var(--space-2xl) 0; }
.phases {
  display: grid; gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .phases { grid-template-columns: repeat(3, 1fr); }
}

.phase {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.85rem;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  box-shadow: 0 2px 8px -4px rgba(30,39,51,.06);
}
.phase:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.phase--accent {
  background: linear-gradient(180deg, var(--accent), var(--accent-deep));
  border-color: rgba(91,127,160,.5);
  box-shadow: 0 18px 40px -18px rgba(58,88,120,.45);
}
.phase.phase--accent .phase__num { color: rgba(251,248,242,.78); }
.phase.phase--accent h3 { color: var(--bg); }
.phase.phase--accent > p { color: rgba(251,248,242,.92); }
.phase.phase--accent .phase__head { border-bottom-color: rgba(251,248,242,.20); }
.phase.phase--accent .phase__list li { color: var(--bg); }
.phase.phase--accent .phase__list li::before { background: var(--bg); }
.phase__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; padding-bottom: .9rem; border-bottom: 1px solid var(--line); }
.phase__num { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 500; }
.phase h3 { font-family: var(--font-display); font-weight: 500; font-optical-sizing: auto; font-size: 1.7rem; line-height: 1.1; letter-spacing: -.015em; margin: 0; color: var(--ink); }
.phase > p { color: var(--ink-muted); margin: 0 0 1rem; }
.phase__list { list-style: none; padding: 0; margin: 0; }
.phase__list li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: .55rem;
  color: var(--ink);
  font-size: .94rem;
}
.phase__list li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: .6rem; height: 1px; background: var(--accent);
}

/* ---------- BIO ---------- */
.bio {
  padding: var(--space-xl) 0;
  background:
    radial-gradient(800px 500px at 80% 0%, rgba(91,127,160,.09), transparent 60%),
    var(--bg-soft);
  border-block: 1px solid var(--line);
}
.bio__inner { max-width: var(--maxw-narrow); margin: 0 auto; }
.bio__copy p { color: var(--ink-muted); font-size: 1.05rem; margin: 0 0 1.1rem; }
.bio__copy p strong { color: var(--ink); font-weight: 600; }
.bio__copy .section-title { text-align: left; }

/* Pull-quote (manifesto) */
.pull-quote {
  margin: var(--space-md) 0;
  padding: 0;
  border: 0;
  position: relative;
  padding-left: clamp(1.25rem, .6rem + 1.5vw, 2rem);
  border-left: 2px solid var(--accent);
}
.pull-quote p {
  font-family: var(--font-display);
  font-weight: 400;
  font-optical-sizing: auto;
  font-variation-settings: "opsz" 144;
  font-size: clamp(1.35rem, 1.05rem + 1.4vw, 2.2rem);
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -.012em;
  margin: 0;
  text-wrap: balance;
}
.pull-quote em {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
  font-variation-settings: "opsz" 100;
  letter-spacing: -.01em;
}

.bio__stats {
  margin: var(--space-lg) 0 0;
  padding: var(--space-md) 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 1rem + 1vw, 2rem);
  border-top: 1px solid var(--line);
}
.bio__stats > div:nth-child(3) dt {
  font-size: clamp(2rem, 1.5rem + 1.8vw, 3.2rem);
  letter-spacing: -.035em;
}
.bio__stats > div { text-align: left; }
.bio__stats dt {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-variation-settings: "opsz" 144;
  font-size: clamp(2.4rem, 1.8rem + 2.4vw, 3.8rem);
  font-weight: 500;
  color: var(--accent);
  line-height: .95;
  letter-spacing: -.025em;
  margin-bottom: .55rem;
  white-space: nowrap;
}
.bio__stats-sep {
  color: var(--accent-soft);
  opacity: .55;
  padding: 0 .04em;
  font-weight: 400;
}
.bio__stats dd {
  margin: 0;
  color: var(--ink-muted);
  font-size: .92rem;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
  line-height: 1.3;
}
.bio__stats dd em {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 500;
  color: var(--ink);
  font-variation-settings: "opsz" 36;
}
@media (max-width: 599px) {
  .bio__stats { grid-template-columns: 1fr; gap: 1.25rem; text-align: center; }
  .bio__stats > div { text-align: center; }
}

/* ---------- VOICES / TESTIMONIALS ---------- */
.voices {
  padding: var(--space-2xl) 0;
  background:
    radial-gradient(700px 400px at 90% 10%, rgba(91,127,160,.08), transparent 60%),
    var(--bg);
  border-block: 1px solid var(--line);
}
.voices__grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  align-items: stretch;
}
@media (min-width: 768px) { .voices__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .voices__grid { grid-template-columns: repeat(3, 1fr); } }

.voice {
  position: relative;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.75rem 1.6rem;
  display: flex; flex-direction: column;
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
  overflow: hidden;
  box-shadow: 0 2px 8px -4px rgba(30,39,51,.06);
}
.voice:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}
.voice--accent {
  background: linear-gradient(180deg, var(--accent), var(--accent-deep));
  border-color: rgba(91,127,160,.5);
  box-shadow: 0 18px 40px -18px rgba(58,88,120,.45);
}
.voice--accent:hover { border-color: rgba(91,127,160,.7); }
.voice.voice--accent .voice__quote p { color: var(--bg); }
.voice.voice--accent .voice__name { color: var(--bg); }
.voice--accent .voice__avatar { background: rgba(251,248,242,.95); color: var(--accent-deep); }
.voice--accent .voice__mark { color: rgba(251,248,242,.40); opacity: 1; }

.voice__mark {
  position: absolute;
  top: -.4rem; left: 1.2rem;
  font-family: var(--font-italic);
  font-style: italic;
  font-size: clamp(4rem, 2rem + 4vw, 6rem);
  line-height: 1;
  color: var(--accent);
  opacity: .25;
  pointer-events: none;
  user-select: none;
}

.voice__quote {
  margin: 0 0 1.5rem;
  padding: 0;
  flex: 1;
}
.voice__quote p {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--ink);
  font-weight: 400;
  letter-spacing: -.005em;
}
.voice__quote em {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
  font-variation-settings: "opsz" 36;
}
.voice.voice--accent .voice__quote em { color: #D7E2EC; }

.voice__author {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  margin: 0;
}
.voice--accent .voice__author { border-top-color: rgba(251,248,242,.22); }
.voice__avatar {
  flex-shrink: 0;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--bg);
  background: linear-gradient(135deg, var(--accent-soft), var(--accent));
  border-radius: 50%;
  letter-spacing: -.02em;
}
.voice__name {
  margin: 0;
  font-size: .92rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -.005em;
}
.voice__meta {
  margin: 1px 0 0;
  font-size: .76rem;
  color: var(--ink-dim);
  letter-spacing: .02em;
}
.voice.voice--accent .voice__meta { color: rgba(251,248,242,.75); }

/* ---------- FAQ ---------- */
.faq { padding: var(--space-2xl) 0; }
.faq__list { max-width: var(--maxw-narrow); margin: 0 auto; display: grid; gap: .75rem; }

.faq__item {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
  overflow: hidden;
  box-shadow: 0 1px 4px -2px rgba(30,39,51,.06);
}
.faq__item[open] {
  border-color: var(--line-strong);
  background: var(--bg-elev-2);
  box-shadow: 0 4px 14px -6px rgba(30,39,51,.10);
}
.faq__item summary {
  cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 1.4rem;
  font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 500;
  letter-spacing: -.015em;
  color: var(--ink);
  user-select: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--accent-soft); }
.faq__icon {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  position: relative;
  transition: transform .3s var(--ease), background .3s var(--ease);
}
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; background: var(--accent); top: 50%; left: 50%;
  width: 10px; height: 1.5px; transform: translate(-50%, -50%);
  transition: transform .3s var(--ease);
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__icon { background: var(--accent); transform: rotate(180deg); }
.faq__item[open] .faq__icon::before, .faq__item[open] .faq__icon::after { background: var(--bg); }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0); }

.faq__body { padding: 0 1.4rem 1.3rem; color: var(--ink-muted); }
.faq__body p { margin: 0; }
.faq__item[open] .faq__body {
  animation: faqIn .35s var(--ease) both;
}
@keyframes faqIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .faq__item[open] .faq__body { animation: none; }
}

/* ---------- PRENOTA / FORM ---------- */
.prenota {
  padding: var(--space-2xl) 0;
  background:
    radial-gradient(900px 500px at 10% 10%, rgba(91,127,160,.10), transparent 60%),
    var(--bg-soft);
  border-top: 1px solid var(--line);
}
.prenota__inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: var(--space-xl);
  align-items: start;
}
@media (max-width: 899px) {
  .prenota__inner { grid-template-columns: 1fr; }
}
.prenota__intro .section-title { text-align: left; font-size: clamp(2rem, 1.4rem + 2.4vw, 3.2rem); }
.prenota__intro p { color: var(--ink-muted); font-size: 1.05rem; }
@media (min-width: 900px) {
  .prenota__intro { padding-top: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
}
.prenota__alt { margin-top: 1rem; color: var(--ink-dim); font-size: .95rem; }
.link-arrow {
  display: inline-flex; align-items: center; gap: .35rem;
  color: var(--accent); font-weight: 500;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 1px;
}
.link-arrow:hover { color: var(--accent-soft); border-bottom-color: var(--accent); }

.form-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  box-shadow: var(--shadow-lg);
  display: grid; gap: 1.15rem;
}
.field { display: grid; gap: .45rem; }
.field-row { display: grid; gap: 1.15rem; grid-template-columns: 1fr; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label {
  font-size: .82rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-dim); font-weight: 500;
}
.field__opt { text-transform: none; letter-spacing: 0; color: var(--ink-dim); font-style: italic; font-weight: 400; }
.field input, .field textarea, .field select {
  width: 100%;
  background: var(--bg-elev);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: .85rem 1rem;
  color: var(--ink);
  transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
  /* 16px minimum to avoid iOS auto-zoom on focus */
  font-size: max(16px, 1rem);
  min-height: 48px;
}
.field textarea { min-height: 120px; }
.field textarea { resize: vertical; line-height: 1.55; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-dim); opacity: .9; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg-elev);
  box-shadow: 0 0 0 4px rgba(91,127,160,.12);
}
.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid select {
  border-color: #B33A2A;
}
.field__error {
  font-size: .82rem; color: #B33A2A; min-height: 1em; line-height: 1.3;
}

.select-wrap {
  position: relative;
}
.select-wrap::after {
  content: ""; position: absolute; right: 1rem; top: 50%;
  width: 8px; height: 8px;
  border-right: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.select-wrap select {
  appearance: none; -webkit-appearance: none;
  padding-right: 2.5rem;
  cursor: pointer;
}
.select-wrap select option { background: var(--bg-elev); color: var(--ink); }

.checkbox {
  display: flex; gap: .8rem; align-items: flex-start;
  font-size: .9rem; color: var(--ink-muted); line-height: 1.5;
  cursor: pointer;
}
.checkbox input {
  appearance: none; -webkit-appearance: none;
  width: 20px; height: 20px; flex-shrink: 0;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  background: var(--bg-elev);
  cursor: pointer;
  position: relative;
  transition: background .2s, border-color .2s;
  margin-top: 1px;
}
.checkbox input:checked { background: var(--accent); border-color: var(--accent); }
.checkbox input:checked::after {
  content: ""; position: absolute; left: 5px; top: 1px;
  width: 6px; height: 11px;
  border: solid var(--bg); border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.form-card__note {
  font-size: .82rem;
  color: var(--ink-dim);
  text-align: center;
  margin: -.4rem 0 0;
  line-height: 1.55;
}
.form-card__status {
  margin: 0; font-size: .92rem; min-height: 1.2em; text-align: center;
}
.form-card__status.is-success { color: #3D6841; }
.form-card__status.is-error { color: #B33A2A; }

/* ---------- FOOTER ---------- */
.site-footer {
  padding: var(--space-xl) 0 calc(var(--space-lg) + env(safe-area-inset-bottom, 0px) + 80px);
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.site-footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}
@media (min-width: 768px) {
  .site-footer__inner { grid-template-columns: 1fr 2fr; gap: var(--space-lg); }
}
.site-footer__brand { display: flex; flex-direction: column; gap: .25rem; }
.site-footer__name { margin: 0; font-family: var(--font-body); font-size: 1rem; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.site-footer__tag { margin: 0; color: var(--ink-dim); font-size: .85rem; }
.site-footer__meta p { margin: 0 0 .8rem; color: var(--ink-dim); font-size: .82rem; line-height: 1.6; }
.site-footer__company { color: var(--ink-muted); font-weight: 500; }
.site-footer__company strong { color: var(--ink); font-weight: 600; }
.site-footer__legal { font-style: italic; opacity: .8; }
.site-footer__copy { color: var(--ink-dim); }
.site-footer__links {
  display: flex; flex-wrap: wrap;
  gap: .6rem 1.5rem;
  margin-bottom: 1.4rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--line);
}
.social-link {
  display: inline-flex; align-items: center; gap: .55rem;
  color: var(--ink-muted);
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: -.005em;
  transition: color .2s var(--ease);
  padding-block: .35rem;
}
.social-link:hover { color: var(--accent); }
.social-link svg { flex-shrink: 0; }

/* ---------- WhatsApp FAB ---------- */
.wa-fab {
  position: fixed;
  right: max(clamp(1rem, 3vw, 1.5rem), env(safe-area-inset-right, 0px));
  bottom: max(clamp(1rem, 3vw, 1.5rem), env(safe-area-inset-bottom, 0px));
  z-index: 40;
  width: 56px; height: 56px;
  background: var(--whats); color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: 0 12px 30px -8px rgba(74,124,78,.55), 0 0 0 0 rgba(74,124,78,.4);
  transition: transform .25s var(--ease), background .2s var(--ease), box-shadow .3s var(--ease);
  animation: pulse 2.6s var(--ease) infinite;
}
@media (max-width: 480px) {
  .wa-fab { width: 52px; height: 52px; }
}
.wa-fab:hover { background: var(--whats-hover); color: #fff; transform: scale(1.08); }
@keyframes pulse {
  0%, 100% { box-shadow: 0 12px 30px -8px rgba(74,124,78,.55), 0 0 0 0 rgba(74,124,78,.4); }
  60% { box-shadow: 0 12px 30px -8px rgba(74,124,78,.55), 0 0 0 16px rgba(74,124,78,0); }
}
@media (prefers-reduced-motion: reduce) { .wa-fab { animation: none; } }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0;
  height: 2px; width: 100%;
  transform: scaleX(var(--p, 0));
  transform-origin: 0 50%;
  background: linear-gradient(to right, var(--accent-deep), var(--accent), var(--accent-soft));
  z-index: 100;
  pointer-events: none;
  transition: transform .12s linear;
}

/* ---------- Mesh + grain inside hero ---------- */
.hero__mesh {
  position: absolute; inset: -15% -10%;
  background:
    radial-gradient(closest-side at 30% 25%, rgba(91,127,160,.16), transparent 70%),
    radial-gradient(closest-side at 75% 55%, rgba(122,154,184,.20), transparent 70%),
    radial-gradient(closest-side at 50% 95%, rgba(155,180,205,.14), transparent 70%);
  filter: blur(60px) saturate(1.05);
  opacity: .8;
  animation: meshDrift 22s ease-in-out infinite alternate;
  z-index: 0;
}
@keyframes meshDrift {
  0%   { transform: translate(0,0) scale(1) rotate(0deg); }
  50%  { transform: translate(-2%, 1.5%) scale(1.06) rotate(2deg); }
  100% { transform: translate(2%, -1%) scale(1.03) rotate(-1.5deg); }
}
.hero__grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.12 0 0 0 0 0.15 0 0 0 0 0.20 0 0 0 .3 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .08;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 1;
}
@media (prefers-reduced-motion: reduce) {
  .hero__mesh { animation: none; }
}

/* ---------- Word-by-word reveal (hero H1) ---------- */
.hero__title .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(28px);
  filter: blur(8px);
  transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease);
  will-change: opacity, transform, filter;
}
.hero__title .word.is-in {
  opacity: 1;
  transform: none;
  filter: blur(0);
}
.hero__title .space { display: inline-block; width: .3em; }
@media (prefers-reduced-motion: reduce) {
  .hero__title .word { opacity: 1; transform: none; filter: none; transition: none; }
}

/* ---------- Marquee ---------- */
.marquee {
  position: relative;
  padding: 1.4rem 0;
  background: var(--bg-wash);
  border-block: 1px solid var(--line);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex; gap: 2.5rem;
  width: max-content;
  animation: marquee 42s linear infinite;
}
.marquee__group { display: flex; gap: 2.5rem; align-items: center; flex-shrink: 0; }
.marquee__group span:not(.marquee__dot) {
  font-size: clamp(1.05rem, .9rem + .5vw, 1.4rem);
  color: var(--ink-muted);
  white-space: nowrap;
  letter-spacing: -.01em;
  font-weight: 400;
}
.marquee__group em {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
  font-variation-settings: "opsz" 100;
  margin: 0 .1em;
}
.marquee__dot {
  width: 5px; height: 5px;
  background: var(--accent);
  border-radius: 50%;
  opacity: .55;
  flex-shrink: 0;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}

/* ---------- Reveal animations ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  will-change: opacity, transform;
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ---------- Selection ---------- */
::selection { background: var(--accent); color: var(--bg); }

/* ============================================================
   MULTI-PAGE EXTENSIONS
   Page hero · home modules · interior page sections
   ============================================================ */

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--space-lg) + 4rem) 0 var(--space-lg);
  background:
    radial-gradient(900px 500px at 80% 0%, rgba(91,127,160,.10), transparent 60%),
    var(--bg);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
@media (min-width: 768px) {
  .page-hero { padding: calc(var(--space-xl) + 4rem) 0 var(--space-xl); }
}
.page-hero__inner {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  text-align: left;
}
.page-hero__inner.is-centered { text-align: center; margin-inline: auto; }
.page-hero__inner.is-centered .page-hero__lede { margin-left: auto; margin-right: auto; }
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-optical-sizing: auto;
  font-variation-settings: "opsz" 144;
  /* readable on 360px, not billboard at 1920px */
  font-size: clamp(2rem, 1.4rem + 3vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -.018em;
  margin: 0 0 1.1rem;
  color: var(--ink);
  text-wrap: balance;
}
.page-hero h1 em {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
  font-variation-settings: "opsz" 144;
  letter-spacing: -.012em;
}
.page-hero__sub {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.1rem, 1rem + .8vw, 1.55rem);
  color: var(--accent);
  line-height: 1.3;
  margin: 0 0 1.25rem;
  font-variation-settings: "opsz" 100;
  text-wrap: balance;
}
.page-hero__lede {
  font-size: clamp(1.05rem, .98rem + .3vw, 1.18rem);
  color: var(--ink-muted);
  max-width: 60ch;
  margin: 0;
  line-height: 1.65;
}

/* ---------- Hero variants ---------- */
.hero--home {
  /* identical to existing .hero — alias for clarity */
}

/* ---------- HOME — Manifesto / intro ---------- */
.home-intro {
  padding: var(--space-2xl) 0;
  background: var(--bg);
}
.home-intro__inner {
  max-width: 62ch;
  margin: 0 auto;
}
.home-intro p {
  font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem);
  color: var(--ink);
  line-height: 1.6;
  margin: 0 0 1.25rem;
  letter-spacing: -.005em;
}
.home-intro p:last-child { margin-bottom: 0; }
.home-intro p em {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
}

/* ---------- HOME — Teaser cards ---------- */
.home-teasers {
  padding: var(--space-xl) 0;
  background: var(--bg-soft);
  border-block: 1px solid var(--line);
}
.home-teasers__grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
  .home-teasers__grid { grid-template-columns: repeat(3, 1fr); }
}
.teaser-card {
  display: block;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem 1.85rem 1.9rem;
  color: var(--ink);
  transition: transform .35s var(--ease), border-color .3s var(--ease), box-shadow .35s var(--ease);
  position: relative;
  overflow: hidden;
}
.teaser-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  color: var(--ink);
  box-shadow: var(--shadow-md);
}
.teaser-card .eyebrow { margin-bottom: .9rem; }
.teaser-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-optical-sizing: auto;
  font-size: 1.45rem;
  line-height: 1.2;
  letter-spacing: -.012em;
  margin: 0 0 .65rem;
  color: var(--ink);
}
.teaser-card h3 em {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
}
.teaser-card p {
  color: var(--ink-muted);
  margin: 0 0 1.25rem;
  font-size: .98rem;
}
.teaser-card__arrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .92rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: .005em;
  transition: gap .3s var(--ease), color .25s var(--ease);
}
.teaser-card:hover .teaser-card__arrow { gap: .75rem; color: var(--accent-soft); }
.teaser-card__arrow span:last-child { transition: transform .3s var(--ease); }
.teaser-card:hover .teaser-card__arrow span:last-child { transform: translateX(4px); }

/* ---------- HOME — Pull quote section ---------- */
.home-quote {
  padding: var(--space-2xl) 0;
  background:
    radial-gradient(800px 400px at 50% 0%, rgba(91,127,160,.10), transparent 60%),
    var(--bg-elev-2);
  border-block: 1px solid var(--line);
  text-align: center;
}
.home-quote__inner {
  max-width: 24ch;
  margin: 0 auto;
}
.home-quote p {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.6rem, 1.1rem + 2.6vw, 3rem);
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -.02em;
  margin: 0;
  font-variation-settings: "opsz" 144;
  text-wrap: balance;
}
.home-quote p em {
  color: var(--accent);
}
.home-quote::before {
  content: "“";
  display: block;
  font-family: var(--font-italic);
  font-style: italic;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: .6;
  color: var(--accent);
  opacity: .35;
  margin-bottom: 1rem;
  font-variation-settings: "opsz" 144;
}

/* ---------- HOME — Resources teaser ---------- */
.home-resources {
  padding: var(--space-xl) 0;
  background: var(--bg);
}
.home-resources__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .home-resources__grid { grid-template-columns: 1fr 1fr; }
}
.resource-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem 1.85rem;
  transition: transform .35s var(--ease), border-color .3s var(--ease), box-shadow .35s var(--ease);
  color: var(--ink);
}
.resource-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
  color: var(--ink);
}
.resource-card--disabled { opacity: .85; }
.resource-card--disabled:hover { transform: none; box-shadow: none; cursor: default; }
.resource-card .eyebrow { margin-bottom: .9rem; }
.resource-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-optical-sizing: auto;
  font-size: 1.35rem;
  line-height: 1.2;
  letter-spacing: -.012em;
  margin: 0 0 .55rem;
}
.resource-card p {
  color: var(--ink-muted);
  margin: 0 0 1.4rem;
  font-size: .96rem;
  flex: 1;
}
.resource-card__action {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--accent);
  font-weight: 500;
  font-size: .94rem;
  transition: gap .3s var(--ease);
}
.resource-card:hover .resource-card__action { gap: .65rem; }

/* ---------- HOME — CTA finale ---------- */
.home-cta {
  padding: var(--space-2xl) 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  text-align: center;
}
.home-cta__inner {
  max-width: 56ch;
  margin: 0 auto;
}
.home-cta h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-optical-sizing: auto;
  font-variation-settings: "opsz" 144;
  font-size: clamp(2rem, 1.5rem + 2.4vw, 3.3rem);
  line-height: 1.1;
  letter-spacing: -.018em;
  margin: 0 0 1rem;
  color: var(--ink);
  text-wrap: balance;
}
.home-cta h2 em {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.home-cta p {
  font-size: 1.1rem;
  color: var(--ink-muted);
  margin: 0 0 var(--space-md);
  line-height: 1.65;
}
.home-cta__actions {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .9rem;
}

/* ---------- CHI SONO — Bio long ---------- */
.bio-long {
  padding: var(--space-2xl) 0;
  background: var(--bg);
}
.bio-long__inner {
  max-width: 64ch;
  margin: 0 auto;
}
.bio-long p {
  font-size: 1.1rem;
  color: var(--ink);
  line-height: 1.75;
  margin: 0 0 1.4rem;
}
.bio-long p:first-child::first-letter {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2.6rem, 2rem + 1.8vw, 3.6rem);
  line-height: 1;
  float: left;
  padding: .3rem .55rem 0 0;
  color: var(--accent);
  font-variation-settings: "opsz" 144;
}
.bio-long p em {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
}

/* ---------- CHI SONO — Values ---------- */
.values {
  padding: var(--space-xl) 0;
  background: var(--bg-soft);
  border-block: 1px solid var(--line);
}
.values__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 600px) { .values__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .values__grid { grid-template-columns: repeat(4, 1fr); } }
.value-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.value-card:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: var(--shadow-md); }
.value-card h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.3;
  letter-spacing: -.01em;
  margin: 0 0 .65rem;
  color: var(--ink);
}
.value-card h3 em {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
}
.value-card p {
  color: var(--ink-muted);
  font-size: .94rem;
  margin: 0;
  line-height: 1.6;
}

/* Bio-stats reuse — wrap container for chi-sono */
.bio-stats-wrap {
  padding: var(--space-xl) 0;
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.bio-stats-wrap .bio__stats {
  max-width: var(--maxw-narrow);
  margin: 0 auto;
  border-top: 0;
  padding-top: 0;
}

/* ---------- METODO — Principles ---------- */
.principles {
  padding: var(--space-2xl) 0;
  background: var(--bg);
}
.principles__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: var(--maxw-narrow);
  margin: 0 auto;
}
@media (min-width: 600px) {
  .principles__grid { grid-template-columns: repeat(2, 1fr); }
}
.principle-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem 1.85rem;
  transition: transform .35s var(--ease), border-color .3s var(--ease), box-shadow .35s var(--ease);
  position: relative;
}
.principle-card:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: var(--shadow-md); }
.principle-card__num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .82rem;
  color: var(--accent);
  letter-spacing: .14em;
  font-weight: 500;
  margin-bottom: 1rem;
}
.principle-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-optical-sizing: auto;
  font-size: 1.55rem;
  line-height: 1.2;
  letter-spacing: -.012em;
  margin: 0 0 .6rem;
  color: var(--ink);
}
.principle-card h3 em {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
}
.principle-card__intro {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 400;
  font-size: 1.05rem;
  color: var(--accent);
  margin: 0 0 1rem;
  font-variation-settings: "opsz" 36;
  line-height: 1.45;
}
.principle-card p {
  color: var(--ink-muted);
  margin: 0;
  font-size: .98rem;
  line-height: 1.65;
}

/* ---------- METODO — Audience ---------- */
.audience {
  padding: var(--space-xl) 0;
  background: var(--bg-soft);
  border-block: 1px solid var(--line);
}
.audience__inner {
  max-width: var(--maxw-narrow);
  margin: 0 auto;
}
.audience__intro {
  font-size: 1.05rem;
  color: var(--ink-muted);
  margin: 0 0 1.5rem;
  line-height: 1.7;
}
.audience__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: .85rem 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
@media (min-width: 480px) { .audience__list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .audience__list { grid-template-columns: repeat(3, 1fr); } }
.audience__list li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.5;
}
.audience__list li::before {
  content: ""; position: absolute; left: 0; top: .65em;
  width: .8rem; height: 1px; background: var(--accent);
}

/* Section CTA helper */
.section-cta {
  padding: var(--space-xl) 0;
  background: var(--bg);
  border-top: 1px solid var(--line);
  text-align: center;
}
.section-cta__inner { max-width: 56ch; margin: 0 auto; }
.section-cta h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-optical-sizing: auto;
  font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -.015em;
  margin: 0 0 .85rem;
  color: var(--ink);
}
.section-cta h2 em {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.section-cta p {
  color: var(--ink-muted);
  font-size: 1.05rem;
  margin: 0 0 var(--space-md);
}
.section-cta__actions {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .9rem;
}

/* ---------- SERVIZI — Service cards ---------- */
.services {
  padding: var(--space-2xl) 0;
  background: var(--bg);
}
.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: var(--maxw-narrow);
  margin: 0 auto;
}
/* Desktop (≥1024px): switch to 3 side-by-side cards using full width */
@media (min-width: 1024px) {
  .services__grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: var(--maxw);
  }
}
.service-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 1.25rem + 1.5vw, 2.75rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  transition: transform .35s var(--ease), border-color .3s var(--ease), box-shadow .35s var(--ease);
}
/* Tablet portrait (768–1023): 1 card per row, head/body side-by-side for editorial feel */
@media (min-width: 768px) and (max-width: 1023px) {
  .service-card {
    grid-template-columns: 1fr 2fr;
    gap: clamp(1.25rem, 1rem + 1.5vw, 2.5rem);
  }
}
.service-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}
.service-card__head .eyebrow { margin-bottom: .65rem; }
.service-card__head h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-optical-sizing: auto;
  font-variation-settings: "opsz" 144;
  font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem);
  line-height: 1.1;
  letter-spacing: -.015em;
  margin: 0 0 .5rem;
  color: var(--ink);
}
.service-card__head h3 em {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.service-card__body p {
  color: var(--ink-muted);
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.7;
}
.service-card__body p:last-of-type { margin-bottom: 1.25rem; }
.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--accent);
  font-weight: 500;
  font-size: .96rem;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
  transition: gap .3s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.service-card__link:hover { gap: .65rem; border-bottom-color: var(--accent); color: var(--accent-soft); }

/* ---------- SERVIZI — Process timeline ---------- */
.process {
  padding: var(--space-xl) 0;
  background: var(--bg-soft);
  border-block: 1px solid var(--line);
}
.process__steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  counter-reset: process;
  position: relative;
}
@media (min-width: 600px) { .process__steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .process__steps { grid-template-columns: repeat(4, 1fr); } }
.process__step {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  position: relative;
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.process__step:hover { transform: translateY(-2px); border-color: var(--line-strong); box-shadow: var(--shadow-md); }
.process__num {
  display: block;
  font-family: var(--font-mono);
  font-size: .78rem;
  color: var(--accent);
  letter-spacing: .14em;
  font-weight: 500;
  margin-bottom: .85rem;
}
.process__step h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.08rem;
  letter-spacing: -.01em;
  margin: 0 0 .45rem;
  color: var(--ink);
}
.process__step p {
  color: var(--ink-muted);
  margin: 0;
  font-size: .92rem;
  line-height: 1.6;
}

/* ---------- RISORSE — Feature ebook ---------- */
.resource-feature {
  padding: var(--space-2xl) 0;
  background: var(--bg);
}
.resource-feature__card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 1.25rem + 1.5vw, 3rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 1rem + 2vw, 3rem);
  align-items: center;
  max-width: var(--maxw-narrow);
  margin: 0 auto;
  box-shadow: var(--shadow-md);
}
@media (min-width: 768px) {
  .resource-feature__card {
    grid-template-columns: minmax(220px, 2fr) 3fr; /* ~40 / 60 */
  }
}
/* Cap cover width on small screens so it doesn't overpower text */
@media (max-width: 767px) {
  .resource-feature__cover {
    max-width: 280px;
    width: 100%;
    margin: 0 auto;
  }
}
.resource-feature__cover {
  aspect-ratio: 3 / 4;
  background:
    linear-gradient(180deg, var(--accent-deep), var(--accent)),
    var(--bg-soft);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  color: var(--bg);
  box-shadow: 0 20px 50px -20px rgba(30,39,51,.30);
  position: relative;
  overflow: hidden;
}
.resource-feature__cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(closest-side at 30% 20%, rgba(255,255,255,.18), transparent 70%);
  pointer-events: none;
}
.resource-feature__cover-label {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  opacity: .8;
  margin-bottom: 1rem;
}
.resource-feature__cover-title {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.4rem, 1rem + 1.4vw, 2rem);
  line-height: 1.2;
  text-align: center;
  font-variation-settings: "opsz" 144;
  margin: 0;
}
.resource-feature__body .eyebrow { margin-bottom: .9rem; }
.resource-feature__body h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-optical-sizing: auto;
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem);
  line-height: 1.15;
  letter-spacing: -.015em;
  margin: 0 0 .85rem;
  color: var(--ink);
}
.resource-feature__body p {
  color: var(--ink-muted);
  margin: 0 0 1.5rem;
  font-size: 1.02rem;
  line-height: 1.7;
}

/* ---------- RISORSE — Insights ---------- */
.insights {
  padding: var(--space-xl) 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
}
.insights__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 600px) { .insights__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .insights__grid { grid-template-columns: repeat(3, 1fr); } }
.insight-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.85rem 1.65rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.insight-card:hover { transform: translateY(-2px); border-color: var(--line-strong); box-shadow: var(--shadow-md); }
.insight-card h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.08rem;
  line-height: 1.3;
  letter-spacing: -.01em;
  margin: 0;
  color: var(--ink);
}
.insight-card p {
  color: var(--ink-muted);
  font-size: .94rem;
  margin: 0;
  line-height: 1.6;
  flex: 1;
}
.insight-card__tag {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: .4rem;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  padding: .35rem .65rem;
  background: var(--accent-faint);
  border-radius: 999px;
  margin-top: .5rem;
}

/* ---------- CONTATTI — Split ---------- */
.contact-split {
  padding: var(--space-2xl) 0;
  background: var(--bg);
}
.contact-split__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 1.5rem + 2vw, 3.5rem);
  align-items: start;
}
@media (min-width: 900px) {
  .contact-split__grid { grid-template-columns: 1.1fr .9fr; }
}
.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-channels__intro {
  font-size: 1rem;
  color: var(--ink-muted);
  margin: 0 0 .5rem;
  line-height: 1.6;
}
.channel-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.4rem;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.channel-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  color: var(--ink);
  box-shadow: var(--shadow-md);
}
.channel-card__icon {
  flex-shrink: 0;
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  background: var(--accent-faint);
  color: var(--accent);
  border-radius: 12px;
}
.channel-card__label {
  display: block;
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: .25rem;
  font-weight: 500;
}
.channel-card__value {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink);
  letter-spacing: -.01em;
}
.contact-channels__note {
  font-size: .9rem;
  color: var(--ink-dim);
  margin: .5rem 0 0;
  font-style: italic;
  font-family: var(--font-italic);
  font-weight: 400;
}

/* ---------- FOOTER — Pages nav ---------- */
/* Mobile-first: single column stack (overrides earlier 2-col rule via cascade order) */
.site-footer__inner { grid-template-columns: 1fr; }
@media (min-width: 768px) {
  .site-footer__inner { grid-template-columns: 1.1fr 1fr 1.6fr; gap: var(--space-lg); }
}
.site-footer__nav {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}
.site-footer__nav a {
  color: var(--ink-muted);
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: -.005em;
  transition: color .2s var(--ease);
  width: max-content;
  /* Taller tap target on touch devices */
  padding-block: .5rem;
}
.site-footer__nav a:hover { color: var(--accent); }
@media (min-width: 768px) {
  .site-footer__nav a { padding-block: .25rem; }
}

/* ---------- Reveal extensions ---------- */
.teaser-card, .value-card, .principle-card, .service-card,
.channel-card, .resource-card, .insight-card, .process__step,
.home-intro__inner, .page-hero__inner, .resource-feature__card,
.home-quote__inner, .home-cta__inner, .bio-long__inner,
.section-cta__inner, .audience__inner {
  /* default state hooks for reveal — JS adds [data-reveal] */
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .wa-fab, .scroll-progress,
  .hero__bg, .hero__mesh, .hero__halo, .hero__grain,
  .hero__scroll, .marquee, .nav-toggle, .skip-link { display: none !important; }
  body { background: #fff; color: #000; }
  a { color: #000; text-decoration: underline; }
  .hero, .page-hero { min-height: 0; padding: 1.5rem 0; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .container { max-width: none; padding-inline: 0; }
  section { break-inside: avoid; }
}
