/* caprettimatteo.com — identità "Notte immersiva" (28/10/2026)
   Font ospitati sul sito: Instrument Serif (titoli) e Hanken Grotesk (testo), licenza SIL OFL. */

@font-face { font-family: "Instrument Serif"; src: url("fonts/instrument-serif.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("fonts/instrument-serif-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("fonts/hanken-grotesk.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --notte: #04090d;      /* fondo più profondo */
  --abisso: #071319;     /* fondo sezioni */
  --mare: #0b222a;       /* superfici */
  --luce: #ecf5f2;       /* testo principale */
  --bruma: #9fb8b3;      /* testo secondario (contrasto AA su --abisso) */
  --acqua: #7fd6c7;      /* accento luminoso, dal salvia del logo */
  --salvia: #8fbbae;
  --oro: #e8bd82;        /* luce calda, accento raro */
  --vetro: rgba(255, 255, 255, .045);
  --vetro-bordo: rgba(255, 255, 255, .11);
  --linea: rgba(236, 245, 242, .12);
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1240px;
  --gutter: clamp(18px, 4.5vw, 48px);
  --r: 26px;
  --ease: cubic-bezier(.2, .75, .15, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; background: var(--notte); }
body { margin: 0; background: var(--abisso); color: var(--luce); font: 400 17.5px/1.7 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: var(--acqua); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--luce); }
:focus-visible { outline: 2px solid var(--oro); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(127, 214, 199, .35); color: #fff; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); position: relative; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--luce); color: var(--notte); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* grana sottile su tutto il sito */
body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 60; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- tipografia ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.02em; margin: 0; color: #fff; }
h1 { font-size: clamp(52px, 11.5vw, 176px); line-height: .9; overflow-wrap: break-word; hyphens: manual; }
h2 { font-size: clamp(42px, 6.4vw, 92px); line-height: .96; }
h3 { font-size: clamp(28px, 3vw, 40px); line-height: 1.08; }
h1 em, h2 em, h3 em { font-style: italic; color: transparent; background: linear-gradient(100deg, var(--acqua) 0%, #d5f4ee 45%, var(--oro) 100%); -webkit-background-clip: text; background-clip: text; padding-right: .06em; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(18.5px, 1.65vw, 22px); line-height: 1.6; color: var(--bruma); max-width: 38em; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font: 600 12.5px/1.2 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--acqua); margin: 0 0 26px; }
.eyebrow::before { content: ""; width: 26px; height: 1px; background: linear-gradient(90deg, transparent, var(--acqua)); }
.small { font-size: 15px; }

/* ---------- intestazione (vetro) ---------- */
.site-header { position: fixed; top: 14px; left: 0; right: 0; z-index: 50; pointer-events: none; }
.bar { pointer-events: auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 66px; max-width: calc(var(--max) - 2 * var(--gutter) + 40px); margin: 0 auto; padding: 0 12px 0 18px; border-radius: 999px; background: rgba(7, 19, 25, .45); border: 1px solid var(--vetro-bordo); backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5); transition: background .4s, box-shadow .4s; width: calc(100% - 2 * var(--gutter) + 24px); }
.site-header.scrolled .bar { background: rgba(4, 9, 13, .72); box-shadow: 0 18px 50px -20px rgba(0, 0, 0, .7); }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--luce); }
.brand-mark { width: 36px; height: 36px; background: url("img/cm-mark.png") center / contain no-repeat; flex: none; filter: drop-shadow(0 0 14px rgba(127, 214, 199, .45)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font: 400 22px/1 var(--serif); letter-spacing: -.01em; color: #fff; }
.brand-role { font: 600 10.5px/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--bruma); margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { font: 500 15px/1 var(--sans); color: var(--luce); text-decoration: none; padding: 11px 15px; border-radius: 999px; transition: background .25s, color .25s; }
.nav a:hover { background: var(--vetro); }
.nav a[aria-current="page"] { color: var(--acqua); }
.nav .btn { margin-left: 8px; }
.menu-toggle { display: none; }
.has-sub { position: relative; }
.has-sub > button { font: 500 15px/1 var(--sans); color: var(--luce); background: none; border: 0; padding: 11px 15px; border-radius: 999px; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; }
.has-sub > button:hover, .has-sub.open > button { background: var(--vetro); }
.has-sub > button::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .25s; }
.has-sub.open > button::after { transform: rotate(-135deg) translateY(-1px); }
.sub { position: absolute; top: calc(100% + 16px); left: -14px; min-width: 330px; background: rgba(7, 19, 25, .92); border: 1px solid var(--vetro-bordo); border-radius: 22px; padding: 10px; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 30px 80px -30px #000; opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98); transform-origin: top left; transition: .28s var(--ease); }
.has-sub.open .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: 13px 16px; border-radius: 14px; }
.sub a:hover { background: rgba(127, 214, 199, .1); }
.sub a small { display: block; font-size: 13.5px; color: var(--bruma); margin-top: 5px; font-weight: 400; }

/* ---------- pulsanti ---------- */
.btn { position: relative; display: inline-flex; align-items: center; gap: 12px; font: 600 15.5px/1 var(--sans); letter-spacing: .01em; text-decoration: none; padding: 17px 26px; border-radius: 999px; border: 1px solid transparent; background: linear-gradient(120deg, var(--acqua), #b9efe5 55%, var(--oro)); color: var(--notte) !important; box-shadow: 0 10px 40px -12px rgba(127, 214, 199, .7); transition: transform .35s var(--ease), box-shadow .35s, filter .35s; cursor: pointer; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 50px -12px rgba(127, 214, 199, .85); filter: brightness(1.05); }
.btn.ghost { background: var(--vetro); border-color: var(--vetro-bordo); color: var(--luce) !important; box-shadow: none; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn.ghost:hover { border-color: rgba(127, 214, 199, .55); background: rgba(127, 214, 199, .08); }
.btn.small { padding: 12px 19px; font-size: 14.5px; }
.btn .arr { transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

/* ---------- hero con luce sull'acqua ---------- */
.hero { position: relative; overflow: hidden; min-height: 100svh; display: flex; align-items: flex-end; padding: 150px 0 clamp(60px, 9vh, 110px); isolation: isolate; background: radial-gradient(120% 90% at 70% 10%, #0d2f36 0%, var(--abisso) 55%, var(--notte) 100%); }
.hero.page-hero { min-height: 82svh; }
.caustics { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; opacity: 0; transition: opacity 1.6s ease; }
.caustics.on { opacity: 1; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(4, 9, 13, .2) 0%, rgba(4, 9, 13, .1) 40%, rgba(7, 19, 25, .85) 88%, var(--abisso) 100%), radial-gradient(60% 50% at var(--mx, 70%) var(--my, 30%), rgba(127, 214, 199, .12), transparent 70%); pointer-events: none; }
.hero > .wrap { width: 100%; min-width: 0; }
.hero-grid > * { min-width: 0; }
.hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(24px, 5vw, 70px); align-items: end; width: 100%; }
.hero-grid.solo { grid-template-columns: 1fr; }
.hero h1 { margin-bottom: 34px; text-shadow: 0 2px 40px rgba(0, 0, 0, .35); }
.hero .lead { margin-bottom: 40px; color: #c3d6d2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-note { margin-top: 44px; font: 600 12px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--bruma); display: flex; gap: 26px; flex-wrap: wrap; }
.hero-note span { display: inline-flex; align-items: center; gap: 10px; }
.hero-note span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--acqua); box-shadow: 0 0 12px var(--acqua); }
.scroll-cue { position: absolute; right: var(--gutter); bottom: clamp(60px, 9vh, 110px); width: 1px; height: 90px; background: linear-gradient(var(--acqua), transparent); opacity: .7; }
.scroll-cue::after { content: ""; position: absolute; left: -3px; top: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--acqua); box-shadow: 0 0 14px var(--acqua); animation: cue 2.6s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 0; } 20% { opacity: 1; } 100% { transform: translateY(84px); opacity: 0; } }

/* anelli luminosi (pagine interne e invito finale) */
.ripple { position: relative; aspect-ratio: 1; width: 100%; max-width: 440px; justify-self: end; align-self: center; }
.ripple svg { width: 100%; height: 100%; overflow: visible; }
.ripple .ring-s { fill: none; stroke: var(--acqua); stroke-width: .8; opacity: .14; }
.ripple .ring { fill: none; stroke: var(--acqua); stroke-width: 1; transform-origin: 260px 260px; animation: ripple 10s var(--ease) infinite; opacity: 0; filter: drop-shadow(0 0 6px rgba(127, 214, 199, .8)); }
.ripple .ring:nth-child(5) { animation-delay: 0s; } .ripple .ring:nth-child(6) { animation-delay: 2s; } .ripple .ring:nth-child(7) { animation-delay: 4s; } .ripple .ring:nth-child(8) { animation-delay: 6s; } .ripple .ring:nth-child(9) { animation-delay: 8s; }
@keyframes ripple { 0% { transform: scale(.2); opacity: 0; } 15% { opacity: .75; } 100% { transform: scale(1); opacity: 0; } }
.ripple .core { fill: var(--acqua); opacity: .16 !important; }
.ripple .drop { fill: var(--oro); filter: drop-shadow(0 0 8px var(--oro)); }
.ripple .word { font: italic 400 34px var(--serif); fill: #fff; letter-spacing: .01em; }

/* ---------- sezioni ---------- */
section { position: relative; }
.sec { padding: clamp(90px, 12vw, 170px) 0; }
.sec.tight { padding: clamp(70px, 8vw, 120px) 0; }
.paper { background: var(--abisso); }
.sand { background: radial-gradient(90% 70% at 15% 0%, rgba(127, 214, 199, .09), transparent 60%), linear-gradient(180deg, var(--mare), var(--abisso)); }
.dark { background: var(--notte); }
.dark .lead, .dark p { color: var(--bruma); }
.sec-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 90px); align-items: end; margin-bottom: clamp(48px, 7vw, 90px); }
.sec-head .lead { margin: 0; }
.sec + .sec { border-top: 1px solid rgba(255, 255, 255, .04); }

/* manifesto */
.manifesto { text-align: center; background: var(--notte); overflow: hidden; }
.manifesto::before { content: ""; position: absolute; left: 50%; top: 50%; width: 900px; height: 420px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(127, 214, 199, .13), transparent); pointer-events: none; }
.manifesto p.big { position: relative; font: 400 clamp(34px, 5.4vw, 76px)/1.08 var(--serif); color: #fff; max-width: 17em; margin: 0 auto; letter-spacing: -.015em; }
.manifesto p.big em { font-style: italic; color: var(--acqua); }

/* elenco pratiche */
.practices { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--linea); }
.practice a { position: relative; display: grid; grid-template-columns: 90px 1.15fr 1fr 56px; gap: 28px; align-items: center; padding: 42px 8px; border-bottom: 1px solid var(--linea); color: inherit; text-decoration: none; overflow: hidden; transition: padding .5s var(--ease); }
.practice a::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 140% at var(--px, 20%) 50%, rgba(127, 214, 199, .14), transparent 70%); opacity: 0; transition: opacity .45s; }
.practice a:hover { padding-left: 26px; }
.practice a:hover::before { opacity: 1; }
.practice .num { font: italic 400 26px var(--serif); color: var(--oro); position: relative; }
.practice h3 { font-size: clamp(32px, 4vw, 56px); position: relative; transition: color .3s; }
.practice a:hover h3 { color: var(--acqua); }
.practice div { position: relative; }
.practice p { margin: 0; color: var(--bruma); font-size: 16.5px; position: relative; }
.practice .meta { display: block; margin-top: 10px; font: 600 12px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--salvia); }
.practice .go { position: relative; width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--vetro-bordo); display: grid; place-items: center; font-size: 18px; transition: .45s var(--ease); }
.practice a:hover .go { background: var(--acqua); color: var(--notte); border-color: var(--acqua); transform: rotate(-45deg); box-shadow: 0 0 30px rgba(127, 214, 199, .6); }

/* due colonne testo */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 110px); align-items: start; }
.split .sticky { position: sticky; top: 130px; }
.prose { max-width: 38em; }
.prose p { font-size: 18.5px; color: #c6d7d3; }
.prose h3 { margin: 1.6em 0 .55em; font-size: clamp(28px, 2.6vw, 36px); }
.prose ul { padding-left: 0; list-style: none; margin: 0 0 1.3em; }
.prose li { margin-bottom: .7em; padding-left: 28px; position: relative; color: #c6d7d3; }
.prose li::before { content: ""; position: absolute; left: 4px; top: .72em; width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--acqua); box-shadow: 0 0 10px rgba(127, 214, 199, .6); }
.prose strong { color: #fff; font-weight: 600; }

/* ritratto: sfera luminosa finché non c'è la foto */
.portrait { aspect-ratio: 4 / 5; border-radius: 300px 300px var(--r) var(--r); position: relative; overflow: hidden; display: grid; place-items: center; background: radial-gradient(70% 55% at 50% 38%, rgba(127, 214, 199, .35), transparent 70%), radial-gradient(90% 70% at 50% 100%, rgba(232, 189, 130, .18), transparent 70%), var(--mare); border: 1px solid var(--vetro-bordo); box-shadow: inset 0 0 120px rgba(0, 0, 0, .5), 0 40px 120px -50px rgba(127, 214, 199, .45); }
.portrait img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.portrait .ph { width: 34%; aspect-ratio: 1; background: url("img/cm-mark.png") center / contain no-repeat; opacity: .85; filter: drop-shadow(0 0 30px rgba(127, 214, 199, .7)); animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-12px); } }

/* valori: vetro */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.values > div { background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); border: 1px solid var(--vetro-bordo); border-radius: var(--r); padding: clamp(30px, 3.4vw, 46px); transition: transform .5s var(--ease), border-color .4s; }
.values > div:hover { transform: translateY(-6px); border-color: rgba(127, 214, 199, .4); }
.values .n { font: italic 400 22px var(--serif); color: var(--oro); }
.values h3 { margin: 16px 0 12px; font-size: clamp(34px, 3.2vw, 46px); }
.values p { margin: 0; color: var(--bruma); font-size: 16.5px; }

/* passi */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.step { position: relative; padding-top: 30px; border-top: 1px solid var(--linea); }
.step::before { content: ""; position: absolute; top: -1px; left: 0; width: 60px; height: 1px; background: var(--acqua); box-shadow: 0 0 12px var(--acqua); }
.step .n { display: block; font: italic 400 64px/1 var(--serif); color: transparent; -webkit-text-stroke: 1px rgba(127, 214, 199, .7); margin-bottom: 22px; }
.step h3 { margin-bottom: 12px; }
.step p { margin: 0; }

/* scheda fatti */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 40px 0 0; max-width: 760px; }
.fact { background: var(--vetro); border: 1px solid var(--vetro-bordo); border-radius: 18px; padding: 18px 20px; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.fact dt { font: 600 11.5px/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--acqua); margin-bottom: 8px; }
.fact dd { margin: 0; font: 400 24px/1.15 var(--serif); color: #fff; }

/* avvertenza */
.notice { display: block; background: rgba(232, 189, 130, .06); border: 1px solid rgba(232, 189, 130, .22); border-radius: 18px; padding: 20px 24px; font-size: 15.5px; color: var(--bruma); max-width: 50em; }
.notice strong { color: var(--oro); font-weight: 600; }
.notice a { color: var(--oro); }

/* citazione */
.quote { font: italic 400 clamp(36px, 5vw, 72px)/1.08 var(--serif); max-width: 18em; margin: 0; color: #fff !important; }
.quote cite { display: block; font: 600 12px/1 var(--sans); font-style: normal; letter-spacing: .22em; text-transform: uppercase; color: var(--acqua) !important; margin-top: 30px; }

/* temi (A.L.M.A.) */
.topics { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; }
.topics li { padding: 22px 0; border-bottom: 1px solid var(--linea); display: flex; gap: 20px; align-items: baseline; font-size: 18px; }
.topics li span { font: italic 400 22px var(--serif); color: var(--oro); min-width: 32px; }

/* formazione */
.creds { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--linea); }
.creds li { display: grid; grid-template-columns: 1fr auto; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--linea); align-items: baseline; }
.creds li strong { font: 400 clamp(24px, 2.4vw, 32px)/1.15 var(--serif); color: #fff; }
.creds li span { font-size: 14.5px; color: var(--bruma); text-align: right; }

/* invito finale */
.cta { text-align: center; overflow: hidden; background: radial-gradient(70% 60% at 50% 55%, rgba(127, 214, 199, .14), transparent 70%), var(--notte); }
.cta .ripple { position: absolute; width: 1100px; max-width: none; left: 50%; top: 50%; transform: translate(-50%, -50%); opacity: .55; pointer-events: none; }
.cta .inner { position: relative; }
.cta h2 { max-width: 12em; margin: 0 auto 28px; font-size: clamp(48px, 8vw, 120px); }
.cta .lead { margin: 0 auto 40px; }
.cta .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta .mail { margin-top: 30px; font-size: 15px; color: var(--bruma); }

/* contatti */
.contact-card { background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); border: 1px solid var(--vetro-bordo); border-radius: var(--r); padding: clamp(28px, 4vw, 48px); }
.contact-card h3 { margin-bottom: 14px; }
.contact-card p { color: var(--bruma); }
.copy-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 22px 0 8px; }
.copy-row code { font: 500 19px/1 var(--sans); color: #fff; background: rgba(0, 0, 0, .3); padding: 15px 18px; border-radius: 14px; border: 1px solid var(--vetro-bordo); }
.copied { font-size: 14px; color: var(--acqua) !important; min-height: 1.4em; }

/* pagine legali */
.legal { max-width: 800px; padding-top: 70px; }
.legal h1 { font-size: clamp(48px, 8vw, 96px); margin-bottom: 16px; }
.legal h2 { font-size: clamp(30px, 3.2vw, 40px); margin: 56px 0 14px; padding-top: 28px; border-top: 1px solid var(--linea); }
.legal h2 span { color: var(--oro); font: 600 13px/1 var(--sans); letter-spacing: .14em; margin-right: 12px; vertical-align: 6px; }
.legal p, .legal li { color: #c6d7d3; }
.legal strong { color: #fff; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15.5px; margin: 10px 0 20px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 13px; border-bottom: 1px solid var(--linea); color: #c6d7d3; }
.legal th { background: var(--vetro); color: #fff; font-weight: 600; }
.legal .box { background: rgba(232, 189, 130, .06); border: 1px solid rgba(232, 189, 130, .22); padding: 18px 22px; border-radius: 16px; margin: 20px 0; }

/* piè di pagina */
.site-footer { background: var(--notte); color: var(--bruma); font-size: 15px; padding: 90px 0 40px; border-top: 1px solid rgba(255, 255, 255, .05); position: relative; overflow: hidden; }
.site-footer::before { content: "Matteo Capretti"; position: absolute; left: 50%; bottom: -0.32em; transform: translateX(-50%); font: italic 400 clamp(80px, 17vw, 280px)/1 var(--serif); color: rgba(127, 214, 199, .045); white-space: nowrap; pointer-events: none; }
.site-footer a { color: var(--luce); text-decoration: none; }
.site-footer a:hover { color: var(--acqua); }
.foot-grid { position: relative; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--linea); }
.foot-brand .brand { margin-bottom: 20px; }
.foot-brand p { max-width: 24em; }
.site-footer h4 { font: 600 12px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--acqua); margin: 8px 0 20px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 11px; }
.legal-line { position: relative; padding-top: 30px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 30px; font-size: 13.5px; color: #8aa39e; }
.legal-line p { margin: 0; max-width: 62em; }

/* comparsa allo scorrimento (solo con JavaScript attivo) */
.js .reveal { opacity: 0; transform: translateY(34px); filter: blur(6px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease), filter 1.1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; filter: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .hero-grid, .split, .sec-head { grid-template-columns: 1fr; }
  .hero .ripple { display: none; }
  .split .sticky { position: static; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .practice a { grid-template-columns: 54px 1fr 48px; gap: 18px; }
  .practice a p { grid-column: 2 / 3; }
  .practice .go { grid-row: 1; grid-column: 3; width: 48px; height: 48px; }
}
@media (max-width: 880px) {
  .menu-toggle { display: inline-flex; align-items: center; gap: 10px; background: var(--vetro); border: 1px solid var(--vetro-bordo); border-radius: 999px; padding: 11px 17px; font: 600 14.5px/1 var(--sans); color: var(--luce); cursor: pointer; }
  .menu-toggle i { width: 16px; height: 10px; position: relative; display: block; }
  .menu-toggle i::before, .menu-toggle i::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: .35s var(--ease); }
  .menu-toggle i::before { top: 0; } .menu-toggle i::after { bottom: 0; }
  .menu-open .menu-toggle i::before { top: 4px; transform: rotate(45deg); }
  .menu-open .menu-toggle i::after { bottom: 4.5px; transform: rotate(-45deg); }
  .nav { position: fixed; top: 0; left: 0; right: 0; height: 100dvh; background: radial-gradient(90% 60% at 80% 0%, rgba(127, 214, 199, .16), transparent 70%), var(--notte); flex-direction: column; align-items: stretch; gap: 0; padding: 110px var(--gutter) 40px; overflow-y: auto; opacity: 0; visibility: hidden; transition: .4s var(--ease); z-index: -1; }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .nav > a, .has-sub > button { font: 400 40px/1.1 var(--serif); padding: 16px 2px; border-radius: 0; border-bottom: 1px solid var(--linea); width: 100%; justify-content: space-between; text-align: left; color: #fff; }
  .nav a:hover, .has-sub > button:hover, .has-sub.open > button { background: none; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: none; padding: 4px 0 12px; display: none; min-width: 0; backdrop-filter: none; }
  .has-sub.open .sub { display: block; }
  .sub a { font: 500 17px/1.3 var(--sans); padding: 12px 2px; }
  .nav .btn { margin: 30px 0 0; justify-content: center; font: 600 16px/1 var(--sans); padding: 19px 24px; border-radius: 999px; border-bottom: 0; color: var(--notte) !important; }
  body.menu-open { overflow: hidden; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .site-header { top: 10px; }
  .bar { height: 60px; padding: 0 8px 0 14px; }
  .brand-mark { width: 32px; height: 32px; }
  .brand-name { font-size: 20px; }
  .brand-role { font-size: 10px; letter-spacing: .16em; }
  .hero { padding-top: 120px; }
  .hero.page-hero { min-height: 0; padding-bottom: 70px; }
  .scroll-cue { display: none; }
  .values, .steps, .topics { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .practice a { padding: 30px 2px; }
  .practice a:hover { padding-left: 2px; }
  .creds li { grid-template-columns: 1fr; gap: 6px; }
  .creds li span { text-align: left; }
  .legal table, .legal thead, .legal tbody, .legal tr, .legal th, .legal td { display: block; }
  .legal thead { display: none; }
  .legal td { border: 0; padding: 4px 0; }
  .legal tr { border-bottom: 1px solid var(--linea); padding: 10px 0; }
  .legal td:first-child { font-weight: 600; color: #fff; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; filter: none; }
  .ripple .ring { opacity: .25; transform: scale(var(--s, 1)); }
}
