/* ==========================================================================
   Studio Legale Avv. Andrea Lautorisi
   ========================================================================== */

:root {
  --bg: #0b0b0d;
  --bg-2: #111115;
  --bg-3: #17171c;
  --ink: #ece7dd;
  --muted: #9b968c;
  --gold: #c8a96a;
  --gold-2: #e6d09e;
  --gold-3: #8c7444;
  --line: rgba(236, 231, 221, 0.12);
  --line-2: rgba(236, 231, 221, 0.22);

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pad: clamp(16px, 4vw, 56px);
  --header-h: 84px;
}

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

html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }

::selection { background: var(--gold); color: var(--bg); }

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
em { font-style: italic; color: var(--gold-2); }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }

.container { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 var(--pad); }
.section { padding: clamp(96px, 14vw, 200px) 0; position: relative; }

/* ---------- Tipografia ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold); font-weight: 500; margin-bottom: 28px;
}
.eyebrow__line { width: 40px; height: 1px; background: currentColor; display: inline-block; }

.title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(38px, 5.4vw, 80px);
  line-height: 1.04; letter-spacing: -0.01em;
  margin-bottom: 36px;
}
.body { color: var(--muted); max-width: 52ch; margin-bottom: 20px; font-size: 17px; }

/* Testo diviso per parole (animato in JS) */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.w > span { display: inline-block; will-change: transform; }

/* ---------- Bottoni ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  height: 56px; padding: 0 32px; border-radius: 999px;
  font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500;
  overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease), border-color .5s var(--ease);
}
.btn span { position: relative; z-index: 1; }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit;
  transform: translateY(101%); transition: transform .6s var(--ease);
}
.btn:hover::before { transform: translateY(0); }

.btn--gold { background: var(--gold); color: var(--bg); }
.btn--gold::before { background: var(--ink); }

.btn--ghost { border: 1px solid var(--line-2); color: var(--ink); height: 46px; padding: 0 24px; font-size: 11px; }
.btn--ghost::before { background: var(--gold); }
.btn--ghost:hover { color: var(--bg); border-color: var(--gold); }
.btn--full { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500;
  position: relative; padding: 6px 0;
}
.link-arrow::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: currentColor;
  transform-origin: right; transform: scaleX(0.35); transition: transform .6s var(--ease);
}
.link-arrow:hover::after { transform: scaleX(1); transform-origin: left; }
.link-arrow i { font-style: normal; transition: transform .6s var(--ease); color: var(--gold); }
.link-arrow:hover i { transform: translateX(6px); }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 1000; background: var(--bg);
  display: grid; place-items: center; color: var(--gold);
}
.preloader__inner { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.preloader__mark { width: 96px; height: 96px; }
.preloader__mark circle { stroke-dasharray: 352; stroke-dashoffset: 352; }
.preloader__mark text { opacity: 0; }
.preloader__count { font-family: var(--serif); font-size: 15px; letter-spacing: 0.3em; color: var(--muted); }
.preloader__bar { width: 160px; height: 1px; background: var(--line); overflow: hidden; }
.preloader__bar span { display: block; height: 100%; background: var(--gold); transform-origin: left; transform: scaleX(0); }

/* ---------- Grana ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 900; pointer-events: none; opacity: 0.06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); }
  80% { transform: translate(3%, 3%); }
}

/* ---------- Cursore ---------- */
.cursor { position: fixed; inset: 0; pointer-events: none; z-index: 950; display: none; }
.has-cursor .cursor { display: block; }
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor label { cursor: none; }
.cursor__dot, .cursor__ring { position: fixed; top: 0; left: 0; border-radius: 50%; will-change: transform; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--gold); }
.cursor__ring {
  width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 1px solid rgba(200, 169, 106, .5);
  display: grid; place-items: center;
  transition: width .5s var(--ease), height .5s var(--ease), margin .5s var(--ease), background .5s var(--ease), border-color .5s var(--ease);
}
.cursor__label { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--bg); font-weight: 600; opacity: 0; transition: opacity .3s; }
.cursor.is-hover .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-color: var(--gold); }
.cursor.is-label .cursor__ring { width: 88px; height: 88px; margin: -44px 0 0 -44px; background: var(--gold); border-color: var(--gold); }
.cursor.is-label .cursor__label { opacity: 1; }
.cursor.is-label .cursor__dot { opacity: 0; }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500; height: var(--header-h);
  display: flex; align-items: center; gap: 32px; padding: 0 var(--pad);
  transition: transform .7s var(--ease), background .5s, border-color .5s, height .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(11, 11, 13, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-color: var(--line); height: 70px;
}
.header.is-hidden { transform: translateY(-100%); }

.brand { display: flex; align-items: center; gap: 14px; margin-right: auto; }
.brand__mark {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--gold);
  display: grid; place-items: center; font-family: var(--serif); font-size: 17px; color: var(--gold);
  letter-spacing: 0.04em; transition: background .5s, color .5s;
}
.brand:hover .brand__mark { background: var(--gold); color: var(--bg); }
.brand__text { display: flex; flex-direction: column; line-height: 1.25; }
.brand__text strong { font-family: var(--serif); font-weight: 500; font-size: 19px; letter-spacing: 0.01em; }
.brand__text small { font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }

.nav { display: flex; gap: 36px; }
.nav__link { font-size: 13px; letter-spacing: 0.06em; position: relative; padding: 4px 0; color: var(--ink); opacity: .78; transition: opacity .3s; }
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease);
}
.nav__link:hover { opacity: 1; }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__link.is-active { opacity: 1; }

.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1px; background: var(--ink); transition: transform .5s var(--ease), top .5s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 25px; }
.menu-open .burger span:first-child { top: 22px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 22px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 400; background: var(--bg-2);
  display: flex; flex-direction: column; justify-content: center; padding: 0 var(--pad);
  clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease); visibility: hidden;
}
.menu-open .mobile-menu { clip-path: inset(0 0 0 0); visibility: visible; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 6px; margin-bottom: 40px; }
.mobile-menu nav a { font-family: var(--serif); font-size: clamp(40px, 11vw, 64px); line-height: 1.15; font-weight: 300; }
.mobile-menu p { color: var(--muted); font-size: 14px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; padding: calc(var(--header-h) + 40px) 0 clamp(64px, 9vh, 120px); overflow: hidden; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__vignette {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at 70% 40%, transparent 0%, rgba(11, 11, 13, .55) 55%, var(--bg) 100%),
    linear-gradient(to top, var(--bg) 0%, transparent 40%);
}
.hero__content { position: relative; z-index: 2; }
.hero__title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(56px, 11vw, 176px); line-height: 0.95; letter-spacing: -0.02em;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero__title .line > span { display: inline-block; }
.hero__title .line:nth-child(2) { padding-left: clamp(0px, 8vw, 140px); }
.hero__bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.hero__lead { max-width: 44ch; color: var(--muted); font-size: 17px; }
.hero__actions { display: flex; align-items: center; gap: 36px; flex-wrap: wrap; }
.hero__scroll {
  position: absolute; z-index: 2; right: var(--pad); top: 50%; transform: translateY(-50%) rotate(90deg); transform-origin: right center;
  display: flex; align-items: center; gap: 14px; font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted);
}
.hero__scroll i { width: 60px; height: 1px; background: var(--line-2); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; inset: 0; background: var(--gold); animation: scrollLine 2.4s var(--ease) infinite; }
@keyframes scrollLine { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }

/* ---------- Marquee ---------- */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px 0; overflow: hidden; }
.marquee__track { display: flex; align-items: center; gap: 48px; width: max-content; will-change: transform; }
.marquee__track span { font-family: var(--serif); font-size: clamp(30px, 4vw, 56px); font-weight: 300; font-style: italic; color: transparent; -webkit-text-stroke: 1px rgba(236, 231, 221, .45); white-space: nowrap; transition: color .5s; }
.marquee__track span:hover { color: var(--gold); -webkit-text-stroke-color: var(--gold); }
.marquee__track b { color: var(--gold); font-weight: 400; font-size: 18px; }

/* ---------- Studio ---------- */
.studio__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(48px, 8vw, 140px); align-items: center; }
.studio__media { position: relative; }
.portrait { position: relative; }
.portrait__inner { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 2px; }
.placeholder {
  width: 100%; height: 100%; position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  background:
    radial-gradient(circle at 30% 20%, rgba(200, 169, 106, .22), transparent 55%),
    radial-gradient(circle at 80% 90%, rgba(200, 169, 106, .12), transparent 50%),
    linear-gradient(160deg, #1c1b20, #0e0e11);
  transform: scale(1.15); will-change: transform;
}
.placeholder::before {
  content: ""; position: absolute; inset: 18px; border: 1px solid rgba(200, 169, 106, .25);
}
.placeholder__mono { font-family: var(--serif); font-size: clamp(90px, 12vw, 170px); color: rgba(200, 169, 106, .5); font-weight: 300; line-height: 1; }
.placeholder__note { font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); }
.portrait img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); }
.portrait figcaption { margin-top: 16px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.reveal-img .portrait__inner { clip-path: inset(100% 0 0 0); }

.studio__badge {
  position: absolute; right: clamp(-60px, -4vw, -20px); bottom: 40px; width: 150px; height: 150px;
  display: grid; place-items: center; color: var(--gold);
  background: var(--bg); border-radius: 50%;
}
.studio__badge svg { position: absolute; inset: 0; animation: spin 22s linear infinite; }
.studio__badge text { font-size: 15px; letter-spacing: 0.24em; text-transform: uppercase; fill: var(--gold); font-family: var(--sans); }
.studio__badge span { font-family: var(--serif); font-size: 44px; }
@keyframes spin { to { transform: rotate(360deg); } }

.values { list-style: none; display: flex; gap: 40px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.values li { font-family: var(--serif); font-size: 26px; display: flex; align-items: baseline; gap: 10px; }
.values span { font-family: var(--sans); font-size: 11px; color: var(--gold); letter-spacing: .1em; }

/* ---------- Manifesto ---------- */
.manifesto { padding-top: 40px; }
.manifesto__text {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(32px, 4.8vw, 72px); line-height: 1.18; max-width: 22ch; letter-spacing: -0.01em;
}
.manifesto__text .sw { opacity: .14; transition: none; }

/* ---------- Aree (orizzontale) ---------- */
.areas { position: relative; background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.areas__pin { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: clamp(110px, 15vh, 160px) 0 clamp(48px, 6vh, 80px); overflow: hidden; }
.areas__head { position: relative; margin-bottom: clamp(40px, 6vh, 72px); }
.areas__head .title { margin-bottom: 0; }
.areas__progress { position: absolute; left: var(--pad); right: var(--pad); bottom: -28px; height: 1px; background: var(--line); }
.areas__progress span { display: block; height: 100%; background: var(--gold); transform-origin: left; transform: scaleX(0); }

.areas__track { display: flex; gap: 28px; padding: 0 var(--pad); width: max-content; will-change: transform; }
.area-card {
  width: clamp(300px, 30vw, 440px); min-height: 520px; flex-shrink: 0;
  padding: 40px 36px; border: 1px solid var(--line); border-radius: 4px; background: var(--bg);
  display: flex; flex-direction: column; position: relative; overflow: hidden;
  transition: border-color .6s var(--ease), transform .6s var(--ease);
}
.area-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 0%), rgba(200, 169, 106, .14), transparent 45%);
  opacity: 0; transition: opacity .5s;
}
.area-card:hover { border-color: rgba(200, 169, 106, .5); }
.area-card:hover::before { opacity: 1; }
.area-card__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 60px; }
.area-card__num { font-family: var(--serif); font-size: 64px; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--gold-3); font-weight: 300; }
.area-card__icon { width: 46px; height: 46px; color: var(--gold); }
.area-card__icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.area-card h3 { font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1.1; margin-bottom: 16px; }
.area-card p { color: var(--muted); font-size: 15px; margin-bottom: 28px; }
.area-card ul { list-style: none; margin-top: auto; border-top: 1px solid var(--line); }
.area-card li { font-size: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); display: flex; gap: 12px; align-items: center; transition: padding .4s var(--ease), color .4s; }
.area-card li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; border: 1px solid var(--gold); flex-shrink: 0; transition: background .4s; }
.area-card li:hover { padding-left: 8px; color: var(--gold-2); }
.area-card li:hover::before { background: var(--gold); }

.area-end { width: clamp(260px, 24vw, 340px); flex-shrink: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 18px; padding: 0 20px; }
.area-end p { font-family: var(--serif); font-size: 40px; line-height: 1.1; font-weight: 300; }

/* ---------- Metodo ---------- */
.method__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(48px, 8vw, 140px); align-items: start; }
.method__intro { position: sticky; top: 140px; }
.steps { list-style: none; position: relative; padding-left: 0; }
.steps__line { position: absolute; left: 31px; top: 32px; bottom: 32px; width: 1px; background: var(--line); }
.steps__line span { display: block; width: 100%; height: 100%; background: linear-gradient(var(--gold-2), var(--gold)); transform-origin: top; transform: scaleY(0); }
.step { display: flex; gap: 36px; padding: 32px 0 56px; position: relative; }
.step__num {
  width: 64px; height: 64px; flex-shrink: 0; border-radius: 50%; border: 1px solid var(--line-2); background: var(--bg);
  display: grid; place-items: center; font-family: var(--serif); font-size: 22px; color: var(--muted); position: relative; z-index: 1;
  transition: border-color .6s, color .6s, background .6s;
}
.step.is-active .step__num { border-color: var(--gold); color: var(--bg); background: var(--gold); }
.step h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3vw, 42px); line-height: 1.1; margin: 10px 0 12px; }
.step p { color: var(--muted); max-width: 44ch; }

/* ---------- CTA ---------- */
.cta { border-top: 1px solid var(--line); overflow: hidden; }
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.cta__title { font-family: var(--serif); font-weight: 300; font-size: clamp(42px, 6.6vw, 104px); line-height: 1.02; letter-spacing: -0.015em; }
.cta__circle {
  width: clamp(160px, 16vw, 220px); aspect-ratio: 1; border-radius: 50%; flex-shrink: 0;
  background: var(--gold); color: var(--bg); display: grid; place-items: center; text-align: center;
  font-size: 13px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; line-height: 1.6;
  position: relative; overflow: hidden; isolation: isolate;
}
.cta__circle::before { content: ""; position: absolute; inset: 0; background: var(--ink); border-radius: 50%; transform: scale(0); transition: transform .7s var(--ease); z-index: -1; }
.cta__circle:hover::before { transform: scale(1); }

/* ---------- Contatti ---------- */
.contact { background: var(--bg-2); border-top: 1px solid var(--line); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 8vw, 120px); }
.contact__list { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; margin-bottom: 40px; }
.contact__list dt { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.contact__list dd { font-family: var(--serif); font-size: 22px; line-height: 1.35; word-break: break-word; }
.contact__list a { background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 1px no-repeat; transition: background-size .6s var(--ease); }
.contact__list a:hover { background-size: 100% 1px; }
.map { aspect-ratio: 16 / 10; border: 1px solid var(--line); overflow: hidden; border-radius: 4px; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.9) brightness(.85) sepia(.15); }

.form { display: flex; flex-direction: column; gap: 22px; padding: clamp(28px, 4vw, 52px); border: 1px solid var(--line); border-radius: 4px; background: var(--bg); align-self: start; }
.field { position: relative; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field input, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-2); color: var(--ink);
  font: inherit; font-size: 16px; padding: 26px 0 10px; outline: none; resize: vertical; border-radius: 0;
  transition: border-color .4s;
}
.field label {
  position: absolute; left: 0; top: 26px; color: var(--muted); font-size: 15px; pointer-events: none;
  transform-origin: left top; transition: transform .4s var(--ease), color .4s;
}
.field input:focus, .field textarea:focus { border-color: var(--gold); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-22px) scale(.78); color: var(--gold); }
.field.is-error input, .field.is-error textarea { border-color: #c96a6a; }

.chips { border: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips legend { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 9px 16px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 13px; cursor: pointer; transition: all .4s var(--ease); }
.chips label:hover span { border-color: var(--gold); }
.chips input:checked + span { background: var(--gold); color: var(--bg); border-color: var(--gold); }
.chips input:focus-visible + span { outline: 1px solid var(--gold); outline-offset: 3px; }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: var(--muted); line-height: 1.6; cursor: pointer; }
.check input { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; border: 1px solid var(--line-2); border-radius: 2px; flex-shrink: 0; margin-top: 2px; display: grid; place-items: center; cursor: pointer; }
.check input:checked { background: var(--gold); border-color: var(--gold); }
.check input:checked::after { content: "✓"; color: var(--bg); font-size: 12px; line-height: 1; }
.check.is-error input { border-color: #c96a6a; }
.check a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.form__status { font-size: 14px; color: var(--gold-2); min-height: 1.5em; }

/* ---------- Footer ---------- */
.footer { padding: 80px 0 40px; border-top: 1px solid var(--line); overflow: hidden; }
.footer__big {
  font-family: var(--serif); font-weight: 300; font-size: clamp(80px, 19vw, 300px); line-height: .85; letter-spacing: -0.03em;
  color: transparent; -webkit-text-stroke: 1px rgba(200, 169, 106, .35); text-align: center; margin-bottom: 64px; white-space: nowrap;
}
.footer__grid { display: grid; grid-template-columns: 2fr 1.4fr 1fr; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.footer__grid strong { font-family: var(--serif); font-weight: 500; font-size: 20px; color: var(--ink); display: block; margin-bottom: 6px; }
.footer__links { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.footer__links a:hover { color: var(--gold); }
.footer__copy { padding-top: 28px; font-size: 12px; color: var(--muted); opacity: .8; }

/* ---------- Stati iniziali animazioni ---------- */
.js .fade-up { opacity: 0; transform: translateY(40px); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav, .header__cta { display: none; }
  .burger { display: block; }
}

@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .studio__grid, .method__grid, .contact__grid { grid-template-columns: 1fr; }
  .studio__badge { right: 12px; bottom: -40px; width: 120px; height: 120px; }
  .studio__badge span { font-size: 34px; }
  .method__intro { position: static; }
  .hero__scroll { display: none; }
  .hero__title .line:nth-child(2) { padding-left: 0; }

  .areas__pin { min-height: 0; }
  .areas__track { flex-direction: column; width: 100%; }
  .area-card { width: 100%; min-height: 0; }
  .area-end { width: 100%; padding: 24px 0 0; }
  .areas__progress { display: none; }
}

@media (max-width: 560px) {
  body { font-size: 15px; }
  .brand__text strong { font-size: 16px; }
  .brand__mark { width: 38px; height: 38px; font-size: 15px; }
  .contact__list { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .area-card { padding: 32px 24px; }
  .area-card__top { margin-bottom: 36px; }
  .values { gap: 20px; }
  .values li { font-size: 22px; }
  .hero__actions { gap: 24px; }
  .hero__title { font-size: 16vw; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .grain { display: none; }
}
