/* Casalume — concept immobiliare (ZEROLAB Creative)
   Un solo movimento di camera: dalla stanza buia, attraverso la finestra, sul mare;
   poi notte, alba e giorno pieno lungo tutta la pagina. */
:root {
  --night: #0b1315;
  --wall: #120f0d;
  --bg: #f3eee6;
  --bg-2: #ebe3d6;
  --paper: #fbf8f3;
  --ink: #1b2120;
  --ink-2: #4a524f;
  --sea: #17464a;
  --sea-2: #0f3336;
  --terra: #a4552a;
  --sand: #d9c7a7;
  --line: rgba(27, 33, 32, .14);
  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --radius: 22px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--night); }
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 var(--sans);
  overflow-x: hidden; overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
em { font-style: italic; }
p { margin: 0; }

:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; border-radius: 6px; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }

.eyebrow {
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--terra);
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
}
.eyebrow--light { color: var(--sand); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: ping 2.4s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(217, 199, 167, .7); } 80%, 100% { box-shadow: 0 0 0 12px rgba(217, 199, 167, 0); } }

.h2 { font-family: var(--serif); font-size: clamp(40px, 6.4vw, 92px); line-height: .98; letter-spacing: -.01em; }
.h2 em, .cta__title em { color: var(--terra); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 48px; padding: 0 24px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 600; font-size: 15px;
  transition: background .3s, color .3s;
}
.btn:hover { background: var(--sea); }
.btn--big { min-height: 64px; padding: 0 34px; font-size: 17px; }
.btn i { font-style: normal; transition: transform .4s var(--ease); }
.btn:hover i { transform: translateX(5px); }

/* Progress */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--sand); transform-origin: 0 50%; transform: scaleX(0); }

/* Header minimale */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px var(--gutter); padding-top: max(12px, env(safe-area-inset-top));
  color: #fff; transition: color .5s, background .5s, box-shadow .5s;
}
.nav::before { content: ""; position: absolute; inset: 0 0 -30px; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(11, 19, 21, .6), rgba(11, 19, 21, 0)); transition: opacity .5s; }
.nav.is-light::before { opacity: 0; }
.nav.is-light { color: var(--ink); background: rgba(243, 238, 230, .78); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--serif); font-size: 26px; line-height: 1; min-height: 44px; }
.brand__mark { width: 30px; height: 30px; }
.nav__links { display: flex; gap: 2px; }
.nav__links a { position: relative; text-decoration: none; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 14px 12px; }
.nav__links a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 10px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }

/* Pillola CTA fissa */
.pill {
  position: fixed; z-index: 55; left: 50%; bottom: max(16px, env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 22px 0 18px;
  border-radius: 999px; text-decoration: none; white-space: nowrap; font-size: 14px; font-weight: 600;
  background: rgba(251, 248, 243, .94); color: var(--ink);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .55);
  transform: translateX(-50%); transition: transform .6s var(--ease), opacity .4s, background .5s, color .5s;
}
.pill.is-light { background: var(--ink); color: var(--paper); }
.pill.is-gone { transform: translate(-50%, 160%); opacity: 0; pointer-events: none; }
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--terra); box-shadow: 0 0 0 4px rgba(164, 85, 42, .2); }
.pill i { font-style: normal; transition: transform .4s var(--ease); }
.pill:hover i { transform: translateX(4px); }

/* ---------- Viaggio (sezione pinnata) ---------- */
.journey { position: relative; height: 360vh; height: 360svh; background: var(--night); }
.journey__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; color: #fff; }
.scene { position: absolute; inset: 0; overflow: hidden; }
.scene picture { position: absolute; inset: 0; display: block; will-change: transform; transform: scale(1.45); }
.scene img { width: 100%; height: 100%; object-fit: cover; }
.scene__night { position: absolute; inset: 0; background: var(--night); opacity: .22; pointer-events: none; }
/* la sala: immagine intera in proporzione 3:2, centrata a "cover"; lo zoom parte dal mare oltre la vetrata */
.scene--room { --ox: 80%; --oy: 42%; --k: 1.5; --px: 50%; transform-origin: var(--ox) var(--oy); will-change: transform; }
.room { position: absolute; top: 50%; left: var(--px); width: max(100vw, calc(100svh * var(--k))); aspect-ratio: 3 / 2; transform: translate(calc(var(--px) * -1), -50%); }
.scene--room .room picture { transform: none; position: absolute; inset: 0; }
/* ammorbidisce un piccolo oggetto con logo sul tavolo (nessun marchio visibile) */
.room__soft { position: absolute; left: 47.2%; top: 53.7%; width: 6.6%; height: 2.6%; border-radius: 30%; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.scene--a picture { transform: scale(1.35); }
.journey .scene__shade, .journey .scene__night { z-index: 1; }
.journey .intro, .journey .hero__inner { z-index: 2; }
.intro { background: linear-gradient(0deg, rgba(8, 14, 16, .55), rgba(8, 14, 16, 0) 45%); }
.scene__shade { position: absolute; inset: 0; pointer-events: none; opacity: 0; background:
  linear-gradient(180deg, rgba(8, 20, 22, .5) 0%, rgba(8, 20, 22, 0) 28%),
  linear-gradient(0deg, rgba(8, 20, 22, .88) 0%, rgba(8, 20, 22, .6) 45%, rgba(8, 20, 22, .25) 72%, rgba(8, 20, 22, 0) 90%); }


.intro { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 var(--gutter) clamp(40px, 9vh, 96px); pointer-events: none; }
.intro__kicker { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--sand); margin-bottom: 16px; }
.intro__title { font-family: var(--sans); font-weight: 600; font-size: clamp(34px, 3.8vw, 58px); line-height: 1.05; letter-spacing: -.03em; max-width: 12ch; }
.intro__title em { font-family: var(--serif); font-weight: 400; letter-spacing: 0; color: var(--sand); }
.intro__scroll { position: absolute; right: var(--gutter); bottom: clamp(40px, 9vh, 96px); display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.mouse { width: 22px; height: 34px; border: 1.5px solid rgba(255, 255, 255, .8); border-radius: 12px; display: grid; justify-items: center; padding-top: 6px; }
.mouse span { width: 3px; height: 7px; border-radius: 2px; background: #fff; animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 80%, 100% { transform: translateY(10px); opacity: 0; } }

.hero__inner { position: absolute; inset: auto 0 0 0; z-index: 2; padding: 0 var(--gutter) 116px; }
.hero__eyebrow { color: var(--sand); }
.hero__title { font-family: var(--serif); font-size: clamp(54px, 9vw, 150px); line-height: .92; letter-spacing: -.02em; }
.hero__title em { color: var(--sand); }
.line { display: block; overflow: hidden; padding-bottom: .06em; }
.line > span { display: inline-block; }
.hero__lead { max-width: 46ch; font-size: clamp(16px, 1.3vw, 18px); color: rgba(255, 255, 255, .88); margin: 22px 0 28px; }
.js .hero__inner { visibility: hidden; }
.js .hero__inner .line > span { transform: translateY(105%); }

/* Search mockup */
.search {
  display: grid; grid-template-columns: 1.5fr 1fr .7fr auto; align-items: stretch;
  max-width: 820px; padding: 8px; gap: 4px;
  background: rgba(251, 248, 243, .94); color: var(--ink); border-radius: 999px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .45);
}
.search__field { display: flex; flex-direction: column; justify-content: center; padding: 6px 22px; border-radius: 999px; min-width: 0; position: relative; }
.search__field + .search__field::before { content: ""; position: absolute; left: -2px; top: 22%; bottom: 22%; width: 1px; background: var(--line); }
.search__label { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.search__value { font-size: 17px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: inline-flex; align-items: center; }
.search__value.flip { animation: flip .6s var(--ease); }
@keyframes flip { 0% { opacity: 0; transform: translateY(60%); } 100% { opacity: 1; transform: none; } }
.caret { display: inline-block; width: 2px; height: 1.1em; background: var(--terra); margin-left: 3px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.search__btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 28px;
  border: 0; border-radius: 999px; background: var(--sea); color: #fff; font-weight: 600; cursor: pointer; transition: background .3s;
}
.search__btn:hover { background: var(--terra); }
.search__btn svg { width: 20px; height: 20px; }

/* ---------- Manifesto: notte → alba ---------- */
.manifesto { position: relative; background: var(--night); color: #fff; }
.manifesto::before { /* stelle */
  content: ""; position: absolute; inset: 0 0 40% 0; pointer-events: none; opacity: .55;
  background:
    radial-gradient(1.5px 1.5px at 12% 18%, #fff, transparent), radial-gradient(1px 1px at 28% 62%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 46% 12%, #fff, transparent), radial-gradient(1px 1px at 63% 44%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 78% 22%, #fff, transparent), radial-gradient(1px 1px at 88% 70%, #fff, transparent),
    radial-gradient(1px 1px at 6% 82%, #fff, transparent), radial-gradient(1.5px 1.5px at 94% 8%, #fff, transparent),
    radial-gradient(1px 1px at 36% 88%, #fff, transparent), radial-gradient(1px 1px at 54% 76%, #fff, transparent);
}
.manifesto__inner { position: relative; max-width: 1240px; margin: 0 auto; padding: clamp(120px, 18vw, 240px) var(--gutter) clamp(80px, 10vw, 140px); }
.manifesto__text { font-family: var(--sans); font-weight: 600; font-size: clamp(28px, 4.3vw, 62px); line-height: 1.14; letter-spacing: -.03em; }
.manifesto__text .w { color: #34403f; transition: color .45s linear; }
.manifesto__text .w.on { color: #fff; }
.dawn { position: relative; height: 90vh; height: 90svh; overflow: hidden;
  background: linear-gradient(180deg, var(--night) 0%, #16303a 22%, #3d4a5c 40%, #a8706a 58%, #e2a882 70%, #f0d8bd 84%, var(--bg) 100%); }
.dawn__sun { position: absolute; left: 50%; top: 62%; width: min(46vw, 420px); aspect-ratio: 1; margin-left: calc(min(46vw, 420px) / -2); border-radius: 50%;
  background: radial-gradient(circle, #fff3dc 0%, #ffd7a6 38%, rgba(255, 196, 140, 0) 70%); will-change: transform; }

/* Marquee */
.marquee { overflow: hidden; background: var(--bg); color: var(--ink); padding: 26px 0; border-block: 1px solid var(--line); }
.marquee__track { display: flex; width: max-content; gap: 34px; align-items: center; animation: marquee 36s linear infinite; }
.marquee span { font-family: var(--serif); font-size: clamp(28px, 3.6vw, 48px); white-space: nowrap; line-height: 1; }
.marquee span:nth-of-type(even) { font-style: italic; color: var(--terra); }
.marquee i { font-style: normal; color: var(--terra); font-size: 16px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Section head */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(32px, 5vw, 64px); }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }

/* Properties */
.props { padding: clamp(96px, 12vw, 160px) var(--gutter); max-width: 1500px; margin: 0 auto; }
.filters { display: flex; gap: 8px; padding: 6px; background: var(--bg-2); border-radius: 999px; }
.chip { min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent; cursor: pointer; font-weight: 600; font-size: 14px; transition: background .3s, color .3s; }
.chip.is-active { background: var(--ink); color: var(--paper); }
.props__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.card { position: relative; }
.card:nth-child(3n+2) { margin-top: 64px; }
.card.is-out { display: none; }
.card__media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--bg-2); isolation: isolate; }
.card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), clip-path .9s var(--ease); }
.card__img--b { clip-path: inset(100% 0 0 0); transform: scale(1.12); }
.card__media:hover .card__img--a, .card.show-b .card__img--a { transform: scale(1.08); }
.card__media:hover .card__img--b, .card.show-b .card__img--b { clip-path: inset(0 0 0 0); transform: scale(1); }
.card__tag { position: absolute; z-index: 2; top: 14px; left: 14px; font-size: 12px; font-weight: 600; letter-spacing: .06em; padding: 7px 12px; border-radius: 999px; background: rgba(251, 248, 243, .92); color: var(--ink); }
.card__swap {
  position: absolute; z-index: 2; right: 12px; bottom: 12px; min-height: 44px; min-width: 44px; padding: 0 16px; border: 0; border-radius: 999px;
  background: rgba(15, 51, 54, .8); color: #fff; font-size: 13px; font-weight: 600; cursor: pointer;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.card__body { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 18px 4px 0; }
.card__body h3 { font-family: var(--serif); font-size: 32px; line-height: 1.05; }
.card__specs { grid-column: 1; color: var(--ink-2); font-size: 15px; }
.card__price { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: 13px; font-weight: 600; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; white-space: nowrap; }

/* Method + 3D */
.method { position: relative; height: 420vh; background: var(--paper); }
.method__sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center; gap: 24px;
  padding: 80px var(--gutter) 40px;
}
.method__copy { max-width: 560px; }
.method .h2 { font-size: clamp(40px, 5vw, 76px); margin-bottom: 36px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.step { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); opacity: .38; transition: opacity .5s; }
.step h3 { font-family: var(--serif); font-size: 28px; line-height: 1.1; }
.step p { max-height: 0; overflow: hidden; color: var(--ink-2); font-size: 15px; transition: max-height .7s var(--ease), margin .5s; }
.step.is-active { opacity: 1; }
.step.is-active p { max-height: 120px; margin-top: 6px; }
.step__n { font-size: 13px; font-weight: 700; color: var(--terra); padding-top: 8px; letter-spacing: .06em; }
.method__bar { height: 2px; background: var(--line); margin-top: 18px; border-radius: 2px; overflow: hidden; }
.method__bar span { display: block; height: 100%; background: var(--terra); transform-origin: 0 50%; transform: scaleX(0); }
.method__stage { position: relative; height: min(78vh, 760px); border-radius: 28px; overflow: hidden; background: radial-gradient(120% 90% at 50% 30%, #f7efe2 0%, #e9dcc6 60%, #dccaa9 100%); }
.method__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: inset(100% 0 0 0); transform: scale(1.14); transition: clip-path 1.1s var(--ease), transform 1.6s var(--ease); will-change: clip-path, transform; }
.method__img.is-on { clip-path: inset(0 0 0 0); transform: scale(1.02); }
.method__img:nth-of-type(2) { z-index: 1; } .method__img:nth-of-type(3) { z-index: 2; } .method__img:nth-of-type(4) { z-index: 3; }
.method__count { position: absolute; z-index: 5; left: 18px; bottom: 16px; font-size: 13px; font-weight: 700; letter-spacing: .12em; color: #fff; background: rgba(15, 51, 54, .62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); padding: 8px 14px; border-radius: 999px; }

/* Zones */
.zones { padding: clamp(96px, 12vw, 160px) var(--gutter); max-width: 1500px; margin: 0 auto; }
.zones__wrap { display: flex; gap: 16px; height: min(78vh, 720px); }
.zone { position: relative; flex: 1; border-radius: var(--radius); overflow: hidden; color: #fff; text-decoration: none; transition: flex .8s var(--ease); isolation: isolate; }
.zone img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.zone::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(8, 26, 28, .85), rgba(8, 26, 28, .05) 65%); }
.zones__wrap:hover .zone:hover { flex: 1.6; }
.zone:hover img { transform: scale(1.06); }
.zone__body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(22px, 3vw, 40px); }
.zone__n { font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--sand); }
.zone h3 { font-family: var(--serif); font-size: clamp(44px, 5.6vw, 84px); line-height: 1; margin: 6px 0 12px; }
.zone p { max-width: 38ch; color: rgba(255, 255, 255, .88); }
.zone__more { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; min-height: 44px; font-weight: 600; border-bottom: 1px solid rgba(255, 255, 255, .5); }
.zone__more i { font-style: normal; transition: transform .4s var(--ease); }
.zone:hover .zone__more i { transform: translateX(6px); }

/* Services */
.services { position: relative; padding: 0 var(--gutter) clamp(96px, 12vw, 160px); max-width: 1500px; margin: 0 auto; }
.svc { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.svc__row { display: grid; grid-template-columns: 70px minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: baseline; padding: 30px 0; border-top: 1px solid var(--line); }
.svc__row h3 { font-family: var(--serif); font-size: clamp(30px, 3.8vw, 56px); line-height: 1.05; transition: transform .6s var(--ease); }
.svc__row p { color: var(--ink-2); max-width: 44ch; }
.svc__n { font-size: 13px; font-weight: 700; color: var(--terra); letter-spacing: .06em; }
.svc__row:hover h3 { transform: translateX(14px); font-style: italic; }
.svc__preview { position: fixed; left: 0; top: 0; z-index: 30; width: 300px; height: 220px; border-radius: 16px; overflow: hidden; pointer-events: none; opacity: 0; transform: translate3d(-999px, -999px, 0); transition: opacity .35s; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .4); }
.svc__preview.on { opacity: 1; }
.svc__preview img { width: 100%; height: 100%; object-fit: cover; }

/* CTA: pieno giorno */
.cta { position: relative; overflow: hidden; text-align: center; padding: clamp(110px, 16vw, 220px) var(--gutter) clamp(130px, 18vw, 240px);
  background: linear-gradient(180deg, var(--bg) 0%, #fbf3e4 100%); }
.cta__glow { position: absolute; left: 50%; top: 46%; width: 900px; height: 900px; max-width: 160vw; max-height: 160vw; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(255, 205, 140, .55), rgba(255, 220, 170, 0) 62%); animation: breathe 7s ease-in-out infinite; pointer-events: none; }
@keyframes breathe { 50% { transform: translate(-50%, -50%) scale(1.15); } }
.cta .eyebrow { position: relative; }
.cta__title { position: relative; font-family: var(--serif); font-size: clamp(46px, 8.4vw, 132px); line-height: .95; letter-spacing: -.02em; }
.cta__lead { position: relative; margin: 26px auto 40px; max-width: 42ch; color: var(--ink-2); font-size: 18px; }
.cta .btn { position: relative; }
.cta__note { position: relative; min-height: 1.6em; margin-top: 22px; font-size: 15px; color: var(--terra); font-weight: 600; }

/* Footer */
.footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 24px; padding: 24px var(--gutter) 96px; background: #fbf3e4; color: var(--ink-2); font-size: 14px; border-top: 1px solid var(--line); }
.footer__brand { font-family: var(--serif); font-size: 26px; color: var(--ink); }
.footer a { color: var(--ink); text-underline-offset: 3px; display: inline-block; padding: 12px 0; font-weight: 600; }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* Cursor (solo puntatori fini) */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .has-cursor .cursor { display: block; position: fixed; inset: 0; pointer-events: none; z-index: 90; }
  .cursor__dot, .cursor__ring { position: fixed; left: 0; top: 0; border-radius: 50%; will-change: transform; }
  .cursor__dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--terra); }
  .cursor__ring { width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 1px solid rgba(164, 85, 42, .55); display: grid; place-items: center; transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), background .4s, border-color .4s; }
  .cursor__ring em { font-style: normal; font-size: 13px; font-weight: 700; color: #fff; opacity: 0; transition: opacity .3s; }
  .cursor.is-link .cursor__ring { width: 60px; height: 60px; margin: -30px 0 0 -30px; background: rgba(164, 85, 42, .12); }
  .cursor.is-label .cursor__ring { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--terra); border-color: var(--terra); }
  .cursor.is-label .cursor__ring em { opacity: 1; }
  .cursor.is-label .cursor__dot { opacity: 0; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .props__grid { grid-template-columns: repeat(2, 1fr); }
  .card:nth-child(3n+2) { margin-top: 0; }
  .card:nth-child(even) { margin-top: 48px; }
  .intro { padding-bottom: 104px; }
  .intro__scroll { display: none; }
}

@media (max-width: 860px) {
  .journey { height: 270vh; height: 270svh; }
  .nav__links a { padding: 14px 8px; font-size: 12px; }
  .search { grid-template-columns: 1fr 1fr; border-radius: 22px; padding: 8px; }
  .search__field { padding: 8px 14px; border-radius: 14px; }
  .search__field--type { grid-column: 1 / -1; border-bottom: 1px solid var(--line); border-radius: 14px 14px 0 0; }
  .search__field--type + .search__field::before { display: none; }
  .search__btn { grid-column: 1 / -1; justify-content: center; border-radius: 16px; min-height: 50px; }

  .method { height: 380vh; }
  .method__sticky { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-content: start; gap: 14px; padding: 72px var(--gutter) 20px; }
  .method__copy { max-width: none; order: 2; }
  .method__sticky { align-items: start; }
  .method__stage { order: 1; height: 40vh; height: 40svh; border-radius: 20px; }
  .method .eyebrow { margin-bottom: 8px; }
  .method .h2 { font-size: clamp(30px, 8.4vw, 44px); margin-bottom: 12px; }
  .step { padding: 8px 0; grid-template-columns: 34px 1fr; }
  .step h3 { font-size: 22px; }
  .step:not(.is-active) { display: none; }
  .step.is-active { border-top: 0; }

  .zones__wrap { flex-direction: column; height: auto; }
  .zone { min-height: 440px; }
  .zones__wrap:hover .zone:hover { flex: 1; }

  .svc__row { grid-template-columns: 40px minmax(0, 1fr); gap: 6px 12px; padding: 24px 0; }
  .svc__row p { grid-column: 2; }
  .svc__preview { display: none; }
}

@media (max-width: 699px) {
  .scene--room { --ox: 77%; --oy: 50%; --k: .5; }
  .room { aspect-ratio: 1 / 2; }
  .room__soft { display: none; }
}

@media (max-width: 600px) {
  .props__grid { grid-template-columns: 1fr; gap: 40px; }
  .card:nth-child(even) { margin-top: 0; }
  .card__media { aspect-ratio: 4 / 4.4; }
  .section-head { align-items: flex-start; }
  .filters { width: 100%; }
  .chip { flex: 1; padding: 0 10px; }
  .hero__inner { padding-bottom: 88px; }
  .hero__title { font-size: clamp(44px, 12.8vw, 64px); }
  .hero__lead { margin: 14px 0 18px; font-size: 15px; }
  .hero__eyebrow { margin-bottom: 12px; }
  .search__value { font-size: 16px; }
  .marquee { padding: 18px 0; }
  .brand { font-size: 23px; }
  .brand__mark { width: 28px; height: 28px; }
  .cta__lead { font-size: 16px; }
  .btn--big { min-height: 58px; padding: 0 26px; font-size: 16px; }
  .footer { flex-direction: column; align-items: flex-start; }
  .dawn { height: 70svh; }
}

@media (max-height: 700px) and (max-width: 600px) {
  .hero__lead { display: none; }
}

/* ---------- Reduced motion: stato finale statico ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .journey { height: auto; }
  .journey__sticky { position: relative; height: 100vh; height: 100svh; min-height: 640px; }
  .scene--room, .intro, .scene__night { display: none; }
  .method__img { clip-path: none !important; transform: none !important; }
  .method__count { display: none; }
  .scene picture { transform: none !important; }
  .scene__shade { opacity: 1 !important; }
  .js .hero__inner { visibility: visible !important; opacity: 1 !important; }
  .js .hero__inner .line > span, .hero__inner > * { transform: none !important; opacity: 1 !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
  .manifesto__text .w { color: #fff; }
  .method { height: auto; }
  .method__sticky { position: relative; height: auto; overflow: visible; }
  .step { opacity: 1; }
  .step p { max-height: none; margin-top: 6px; }
  .step:not(.is-active) { display: grid; }
  .step.is-active { border-top: 1px solid var(--line); }
  .method__bar { display: none; }
  .cursor, .svc__preview, .progress { display: none !important; }
}

/* iPhone: niente vuoto a destra scorrendo di lato */
@supports (overflow:clip){html,body{overflow-x:clip}}
