/* =========================================================
   Patrizia Merolli · Allestimenti floreali
   ========================================================= */

@font-face {
  font-family: "Cormorant";
  src: url("../assets/fonts/cormorant-garamond-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Cormorant";
  src: url("../assets/fonts/cormorant-garamond-latin-wght-italic.woff2") format("woff2");
  font-weight: 300 700; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("../assets/fonts/jost-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  --cream: #f4eee6;
  --paper: #faf6f0;
  --ink: #2a2924;
  --ink-soft: #5d5a51;
  --sage: #7b8a6c;
  --sage-deep: #3c4636;
  --rose: #c98a83;
  --blush: #ecccc4;
  --terra: #b26a4c;
  --gold: #b89a62;
  --line: rgba(42, 41, 36, .14);

  --serif: "Cormorant", "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(20px, 5vw, 80px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 350;
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; font-family: var(--serif); color: var(--terra); font-weight: 400; }
::selection { background: var(--blush); color: var(--ink); }

/* ---------- layers ---------- */
#scene3d {
  position: fixed; inset: 0; width: 100vw; height: 100vh;
  z-index: 0; pointer-events: none;
}
#trail {
  position: fixed; inset: 0; width: 100vw; height: 100vh;
  z-index: 60; pointer-events: none;
}
.grain {
  position: fixed; inset: -50%; z-index: 70; pointer-events: none; opacity: .06;
  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='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  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%); }
}
main, .footer, .nav { position: relative; z-index: 2; }

/* ---------- cursor ---------- */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 80; pointer-events: none;
  width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  border: 1px solid var(--terra);
  transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), background .4s, border-color .4s;
  display: grid; place-items: center;
}
.cursor__label { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--paper); opacity: 0; transition: opacity .3s; }
.cursor.is-link { width: 46px; height: 46px; margin: -23px 0 0 -23px; background: rgba(201,138,131,.18); border-color: transparent; }
.cursor.is-view { width: 86px; height: 86px; margin: -43px 0 0 -43px; background: var(--terra); border-color: transparent; }
.cursor.is-view .cursor__label { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100;
  background: var(--paper);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  color: var(--terra);
}
.loader__flower { width: 110px; height: 110px; }
.loader__flower .lf { stroke-dasharray: 400; stroke-dashoffset: 400; }
.loader__name { font-family: var(--serif); font-size: 30px; font-style: italic; color: var(--ink); margin: 0; letter-spacing: .02em; opacity: 0; }
.loader__count { margin: 0; font-size: 12px; letter-spacing: .3em; color: var(--ink-soft); }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--gutter);
  transition: padding .5s var(--ease), background .5s, backdrop-filter .5s, transform .6s var(--ease);
}
.nav.is-scrolled { padding-top: 12px; padding-bottom: 12px; background: rgba(244,238,230,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__logo { display: flex; align-items: center; gap: 12px; }
.nav__mono {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--ink);
  display: grid; place-items: center; color: var(--terra);
}
.nav__mono svg { width: 24px; height: 24px; }
.nav__name { font-family: var(--serif); font-size: 22px; letter-spacing: .01em; }
.nav__links { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 40px); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.nav__links a:not(.nav__cta) { position: relative; }
.nav__links a:not(.nav__cta)::after {
  content: ""; position: absolute; left: 0; bottom: -4px; width: 100%; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.nav__links a:not(.nav__cta):hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { padding: 10px 20px; border: 1px solid var(--ink); border-radius: 100px; transition: background .4s, color .4s; }
.nav__cta:hover { background: var(--ink); color: var(--paper); }
.nav__burger { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 0; cursor: pointer; position: relative; z-index: 2; }
.nav__burger span { display: block; width: 28px; height: 1px; background: var(--ink); margin: 7px auto; transition: transform .5s var(--ease); }
.menu-open .nav__burger span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .nav__burger span:last-child { transform: translateY(-4px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 45; background: var(--paper);
  display: flex; flex-direction: column; justify-content: center; padding: 0 var(--gutter);
  clip-path: circle(0% at calc(100% - 44px) 44px); transition: clip-path .9s var(--ease);
}
.menu-open .menu { clip-path: circle(150% at calc(100% - 44px) 44px); }
.menu nav { display: flex; flex-direction: column; gap: 6px; }
.menu nav a { font-family: var(--serif); font-size: clamp(38px, 10vw, 64px); line-height: 1.15; }
.menu__quote { font-family: var(--serif); font-style: italic; color: var(--terra); margin-top: 40px; font-size: 20px; }

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .nav__name { font-size: 19px; }
}

/* ---------- type ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--sage-deep); margin: 0 0 24px;
}
.eyebrow .line { width: 44px; height: 1px; background: currentColor; display: inline-block; }
.eyebrow--center { justify-content: center; }
.eyebrow--light { color: var(--paper); }
.h2 {
  font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 4.6vw, 76px);
  line-height: 1.04; letter-spacing: -.01em; margin: 0 0 28px;
}
.h2--light { color: var(--paper); }
.h2--light em { color: var(--blush); }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  padding: 17px 32px; border-radius: 100px; font-size: 13px; letter-spacing: .16em; text-transform: uppercase;
  overflow: hidden; cursor: pointer; border: 1px solid var(--ink); font-family: var(--sans); isolation: isolate;
}
.btn span { position: relative; z-index: 1; transition: color .5s var(--ease); }
.btn::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 0;
  transform: translateY(101%); transition: transform .6s var(--ease);
}
.btn--solid { background: var(--ink); color: var(--paper); }
.btn--solid::before { background: var(--terra); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost::before { background: var(--ink); }
.btn--ghost:hover span { color: var(--paper); }
.btn:hover::before { transform: translateY(0); }
.btn--wide { width: 100%; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(40px); }
.no-js .reveal, .reduced .reveal { opacity: 1; transform: none; }

/* ---------- HERO ---------- */
.hero {
  min-height: 100vh; min-height: 100svh; position: relative;
  display: flex; align-items: center; padding: 120px var(--gutter) 80px;
}
.hero__inner { max-width: 780px; position: relative; z-index: 2; }
.hero__title {
  font-family: var(--serif); font-weight: 300; margin: 0 0 28px;
  font-size: clamp(64px, 12.5vw, 210px); line-height: .86; letter-spacing: -.035em;
}
.hero__title .split { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .split--italic { font-style: italic; color: var(--terra); padding-left: .5em; }
.hero__title .ch { display: inline-block; transform: translateY(110%); }
.hero__lead { font-size: clamp(18px, 1.6vw, 24px); max-width: 520px; color: var(--ink-soft); margin: 0 0 40px; font-weight: 300; }
.hero__lead em { font-size: 1.15em; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__eyebrow, .hero__lead, .hero__actions, .hero__aside, .hero__scroll { opacity: 0; }
.hero__aside {
  position: absolute; right: var(--gutter); bottom: 90px; text-align: right;
  font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1.4; color: var(--ink-soft);
}
.hero__aside p { margin: 0; }
.hero__scroll {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-soft);
}
.hero__scroll i { width: 1px; height: 56px; background: var(--line); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: -100%; width: 100%; height: 100%; background: var(--ink); animation: drip 2.2s var(--ease) infinite; }
@keyframes drip { to { top: 100%; } }
@media (max-width: 860px) {
  .hero { align-items: flex-end; padding-bottom: 120px; }
  .hero__aside { display: none; }
  .hero__eyebrow { font-size: 10px; letter-spacing: .2em; }
  .hero__eyebrow .line { width: 24px; }
}

/* ---------- MANIFESTO ---------- */
.manifesto {
  padding: clamp(120px, 18vw, 260px) var(--gutter);
  text-align: center; max-width: 1400px; margin: 0 auto;
}
.manifesto__quote { margin: 0; }
.manifesto__quote p {
  font-family: var(--serif); font-weight: 300; font-style: italic;
  font-size: clamp(42px, 7.4vw, 128px); line-height: 1; letter-spacing: -.02em; margin: 0 0 30px;
}
.manifesto__quote cite { font-style: normal; font-size: 13px; letter-spacing: .3em; text-transform: uppercase; color: var(--sage-deep); }
.manifesto__sub { max-width: 560px; margin: 50px auto 0; font-size: clamp(17px, 1.3vw, 21px); color: var(--ink-soft); }
.words .w { display: inline-block; opacity: .12; transition: none; }

/* ---------- placeholders / figures ---------- */
.ph {
  position: relative; margin: 0; overflow: hidden; border-radius: 4px;
  background: linear-gradient(150deg, #efe3d6 0%, #e9d3c9 45%, #dfe2d2 100%);
}
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), opacity .8s; }
.ph.is-missing img { opacity: 0; }
.ph.is-missing::before {
  content: ""; position: absolute; inset: 0;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='%23b26a4c' stroke-width='1' opacity='.55'%3E%3Cpath d='M100 170 C 98 140 104 120 100 96'/%3E%3Cpath d='M100 130 C 84 124 74 112 72 100 C 86 102 96 112 100 130Z'/%3E%3Cpath d='M101 142 C 116 136 128 124 130 112 C 116 114 104 124 101 142Z'/%3E%3Cg transform='translate(100 78)'%3E%3Cpath d='M0 0 C -10 -14 -8 -28 0 -34 C 8 -28 10 -14 0 0Z'/%3E%3Cpath d='M0 0 C 14 -10 28 -8 34 0 C 28 8 14 10 0 0Z'/%3E%3Cpath d='M0 0 C 10 14 8 28 0 34 C -8 28 -10 14 0 0Z'/%3E%3Cpath d='M0 0 C -14 10 -28 8 -34 0 C -28 -8 -14 -10 0 0Z'/%3E%3Cpath d='M0 0 C 2 -14 12 -22 22 -22 C 22 -12 14 -2 0 0Z'/%3E%3Cpath d='M0 0 C 14 2 22 12 22 22 C 12 22 2 14 0 0Z'/%3E%3Cpath d='M0 0 C -2 14 -12 22 -22 22 C -22 12 -14 2 0 0Z'/%3E%3Cpath d='M0 0 C -14 -2 -22 -12 -22 -22 C -12 -22 -2 -14 0 0Z'/%3E%3Ccircle r='4'/%3E%3C/g%3E%3C/svg%3E") center 42% / min(46%, 220px) no-repeat;
}
.ph.is-missing::after {
  content: attr(data-label); position: absolute; left: 0; right: 0; bottom: 8%;
  text-align: center; font-family: var(--serif); font-style: italic; font-size: clamp(16px, 1.4vw, 22px); color: var(--terra); opacity: .8;
}

/* ---------- ABOUT ---------- */
.about {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 8vw, 140px); align-items: center;
  padding: clamp(60px, 10vw, 160px) var(--gutter); max-width: 1500px; margin: 0 auto;
}
.about__media { position: relative; }
.ph--tall { aspect-ratio: 4 / 5.2; border-radius: 300px 300px 4px 4px; }
.ph--small { aspect-ratio: 1; }
.about__media-float { position: absolute; width: 42%; right: -12%; bottom: -10%; border: 10px solid var(--cream); border-radius: 50%; }
.about__badge { position: absolute; left: -8%; top: 8%; width: clamp(120px, 12vw, 170px); aspect-ratio: 1; display: grid; place-items: center; }
.about__badge-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 26s linear infinite; }
.about__badge-ring text { font-size: 15px; letter-spacing: 4.2px; text-transform: uppercase; fill: var(--sage-deep); font-family: var(--sans); }
.about__badge-num { width: 58%; aspect-ratio: 1; border-radius: 50%; background: var(--sage-deep); color: var(--paper); display: grid; place-content: center; text-align: center; line-height: 1; }
.about__badge-num b { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 3.2vw, 46px); }
.about__badge-num small { font-size: 10px; letter-spacing: .25em; text-transform: uppercase; margin-top: 4px; }
@keyframes spin { to { transform: rotate(360deg); } }
.about__text p { color: var(--ink-soft); max-width: 540px; }
.about__sign { font-family: var(--serif); font-style: italic; font-size: 44px; color: var(--terra) !important; margin-top: 30px; }
@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
  .about__media { max-width: 440px; margin: 0 auto 40px; width: 88%; }
  .about__badge { left: -10%; }
}

/* ---------- MARQUEE ---------- */
.marquee { overflow: hidden; padding: 30px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(250,246,240,.5); }
.marquee__track { display: flex; width: max-content; gap: 40px; align-items: center; animation: marquee 32s linear infinite; }
.marquee__track span { font-family: var(--serif); font-style: italic; font-size: clamp(36px, 5vw, 80px); white-space: nowrap; line-height: 1.1; }
.marquee__track i { font-style: normal; color: var(--rose); font-size: clamp(22px, 2.6vw, 38px); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- section head ---------- */
.section-head { max-width: 760px; margin-bottom: clamp(50px, 6vw, 90px); }
.section-head p:not(.eyebrow) { color: var(--ink-soft); max-width: 560px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center p:not(.eyebrow) { margin-left: auto; margin-right: auto; }

/* ---------- STYLE ---------- */
.style { padding: clamp(100px, 13vw, 200px) var(--gutter); max-width: 1500px; margin: 0 auto; }
.style__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.6vw, 40px); perspective: 1200px; }
.style__grid .card:nth-child(2) { transform: translateY(70px); }
.card { background: var(--paper); border-radius: 6px; overflow: hidden; transform-style: preserve-3d; will-change: transform; box-shadow: 0 30px 60px -40px rgba(60, 50, 40, .35); }
.ph--card { aspect-ratio: 4 / 5; border-radius: 0; }
.card:hover .ph img { transform: scale(1.06); }
.card__body { padding: 28px 30px 34px; transform: translateZ(30px); }
.card__num { font-size: 12px; letter-spacing: .25em; color: var(--terra); }
.card__body h3 { font-family: var(--serif); font-weight: 400; font-size: 36px; margin: 6px 0 8px; }
.card__body p { margin: 0; color: var(--ink-soft); }
@media (max-width: 860px) {
  .style__grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .style__grid .card:nth-child(2) { transform: none; }
}

/* ---------- SERVICES (horizontal) ---------- */
.services { background: var(--sage-deep); color: var(--paper); position: relative; z-index: 2; }
.services .eyebrow { color: var(--blush); }
.services em { color: var(--blush); }
.services__pin { height: 100vh; display: flex; align-items: center; overflow: hidden; }
.services__head { flex: 0 0 auto; width: clamp(300px, 34vw, 520px); padding-left: var(--gutter); padding-right: 40px; }
.services__hint { font-size: 12px; letter-spacing: .25em; text-transform: uppercase; opacity: .6; }
.services__hint i { font-style: normal; display: inline-block; animation: nudge 1.6s var(--ease) infinite; }
@keyframes nudge { 50% { transform: translateX(8px); } }
.services__track { display: flex; gap: clamp(20px, 2.4vw, 40px); padding-right: var(--gutter); will-change: transform; }
.service { flex: 0 0 clamp(280px, 28vw, 420px); }
.ph--service { aspect-ratio: 3 / 4; border-radius: 200px 200px 4px 4px; background: linear-gradient(150deg, #56634d, #6d5e52); }
.ph--service.is-missing::before { filter: brightness(2.2) saturate(.4); }
.ph--service.is-missing::after { color: var(--blush); }
.service:hover .ph img { transform: scale(1.06); }
.service__body { padding-top: 22px; }
.service__body span { font-size: 12px; letter-spacing: .25em; color: var(--blush); }
.service__body h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 2.6vw, 40px); margin: 4px 0 6px; }
.service__body p { margin: 0; opacity: .78; max-width: 340px; }
.service--end { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 30px; }
.service__end-text { font-family: var(--serif); font-style: italic; font-size: clamp(34px, 3.4vw, 54px); line-height: 1.05; margin: 0; }
.service--end .btn--solid { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.service--end .btn--solid:hover span { color: var(--paper); }
@media (max-width: 860px) {
  .services__pin { height: auto; flex-direction: column; align-items: stretch; padding: 100px 0; }
  .services__head { width: auto; padding: 0 var(--gutter) 40px; }
  .services__track { overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gutter); -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .services__track::-webkit-scrollbar { display: none; }
  .service { flex-basis: 78vw; scroll-snap-align: center; }
}

/* ---------- METHOD ---------- */
.method { padding: clamp(110px, 14vw, 220px) var(--gutter); max-width: 1500px; margin: 0 auto; }
.method__steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3vw, 50px); position: relative; padding-top: 70px; }
.method__vine { position: absolute; left: 0; top: 0; width: 100%; height: 120px; color: var(--sage); }
.method__vine path { stroke-dasharray: 1400; stroke-dashoffset: 1400; }
.step { position: relative; }
.step__dot { position: absolute; top: -32px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--rose); box-shadow: 0 0 0 8px rgba(201,138,131,.18); }
.step__n { font-family: var(--serif); font-style: italic; font-size: 26px; color: var(--terra); }
.step h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 2.3vw, 36px); margin: 6px 0 10px; }
.step p { margin: 0; color: var(--ink-soft); }
@media (max-width: 860px) {
  .method__steps { grid-template-columns: 1fr 1fr; row-gap: 60px; }
  .method__vine { display: none; }
  .step__dot { position: static; display: block; margin-bottom: 18px; }
}
@media (max-width: 520px) { .method__steps { grid-template-columns: 1fr; } }

/* ---------- GALLERY ---------- */
.gallery { padding: clamp(60px, 8vw, 120px) var(--gutter) clamp(110px, 14vw, 220px); max-width: 1600px; margin: 0 auto; }
.gallery__grid { columns: 3; column-gap: clamp(12px, 1.4vw, 22px); }
.g { cursor: none; border-radius: 4px; break-inside: avoid; margin: 0 0 clamp(12px, 1.4vw, 22px); display: block; }
.g img { height: auto; transform: scale(1.12); }
.g:hover img { transform: scale(1.02); }
.g--g { border-radius: 200px 200px 4px 4px; }
@media (max-width: 860px) { .gallery__grid { columns: 2; } }
@media (hover: none) { .g { cursor: zoom-in; } }

/* ---------- ROME ---------- */
.rome { position: relative; min-height: 110vh; display: grid; place-items: center; overflow: hidden; color: var(--paper); text-align: center; }
.rome__bg { position: absolute; inset: -10% 0; border-radius: 0; background: linear-gradient(160deg, #6b5a4c, #3c4636 70%); }
.rome__bg img { height: 100%; object-position: center 22%; }
.rome__bg::after { z-index: 1; }
.rome::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30,28,24,.15), rgba(30,28,24,.55)); }
.rome__bg.is-missing::before { filter: brightness(2.4) saturate(.3); opacity: .5; }
.rome__bg.is-missing::after { display: none; }
.rome__content { position: relative; z-index: 2; max-width: 820px; padding: 120px var(--gutter); }
.rome__content p:not(.eyebrow) { font-size: clamp(18px, 1.5vw, 23px); opacity: .9; }

/* ---------- CLOSING ---------- */
.closing { padding: clamp(130px, 18vw, 280px) var(--gutter); max-width: 1300px; margin: 0 auto; text-align: center; }
.closing__text { font-family: var(--serif); font-weight: 300; font-size: clamp(36px, 5.6vw, 92px); line-height: 1.08; letter-spacing: -.015em; margin: 0; }

/* ---------- CONTACT ---------- */
.contact {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 7vw, 120px);
  padding: clamp(90px, 10vw, 160px) var(--gutter); max-width: 1500px; margin: 0 auto;
  background: var(--paper); border-radius: 6px; box-shadow: 0 40px 100px -70px rgba(60,50,40,.5);
}
.contact__intro p:not(.eyebrow) { color: var(--ink-soft); max-width: 460px; }
.contact__list { list-style: none; padding: 0; margin: 40px 0 20px; display: grid; gap: 14px; }
.contact__list a { font-variant-numeric: lining-nums; display: inline-flex; align-items: baseline; gap: 14px; font-family: var(--serif); font-size: clamp(22px, 2vw, 30px); border-bottom: 1px solid var(--line); padding-bottom: 4px; transition: color .4s, border-color .4s; }
.contact__list a:hover { color: var(--terra); border-color: var(--terra); }
.contact__list small { font-family: var(--sans); font-size: 11px; letter-spacing: .25em; text-transform: uppercase; color: var(--sage-deep); min-width: 90px; }
.contact__list .soon { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--ink-soft); }
.contact__area { font-size: 12px; letter-spacing: .25em; text-transform: uppercase; color: var(--sage-deep) !important; }
.contact__form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 26px; align-content: start; }
.field { position: relative; grid-column: 1 / -1; }
.field--half { grid-column: span 1; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--line);
  padding: 30px 0 12px; outline: none; border-radius: 0; appearance: none; -webkit-appearance: none; resize: vertical;
  transition: border-color .4s;
}
.field select { cursor: pointer; }
.field--select::after { content: ""; position: absolute; right: 4px; bottom: 20px; width: 8px; height: 8px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); transform: rotate(45deg); pointer-events: none; }
.field label {
  position: absolute; left: 0; top: 30px; color: var(--ink-soft); pointer-events: none;
  transform-origin: left top; transition: transform .45s var(--ease), color .45s;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--terra); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select:focus + label, .field select:valid + label {
  transform: translateY(-24px) scale(.72); color: var(--terra); letter-spacing: .1em; text-transform: uppercase;
}
.field.is-error input, .field.is-error textarea, .field.is-error select { border-color: #b4483a; }
.contact__form .btn { grid-column: 1 / -1; margin-top: 30px; }
.contact__note { grid-column: 1 / -1; min-height: 1.5em; font-size: 14px; color: var(--sage-deep); margin: 6px 0 0; }
@media (max-width: 860px) {
  .contact { grid-template-columns: 1fr; border-radius: 0; }
  .contact__form { grid-template-columns: 1fr; }
  .field--half { grid-column: 1 / -1; }
}

/* ---------- FOOTER ---------- */
.footer { padding: clamp(80px, 10vw, 150px) var(--gutter) 34px; overflow: hidden; }
.footer__big { font-family: var(--serif); font-weight: 300; font-size: clamp(56px, 13.5vw, 240px); line-height: .9; letter-spacing: -.04em; margin: 0 0 50px; white-space: nowrap; }
.footer__row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); border-top: 1px solid var(--line); padding-top: 24px; }
.footer__row p { margin: 0; }
.footer__row a:hover { color: var(--terra); }

/* ---------- LIGHTBOX ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 90; background: rgba(30, 28, 24, .92);
  display: grid; place-items: center; padding: 5vh 5vw; opacity: 0; pointer-events: none; transition: opacity .5s var(--ease);
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 100%; max-height: 90vh; object-fit: contain; border-radius: 4px; transform: scale(.94); transition: transform .7s var(--ease); }
.lightbox.is-open img { transform: scale(1); }
.lightbox__close { position: absolute; top: 20px; right: 26px; background: none; border: 0; color: var(--paper); font-size: 44px; line-height: 1; cursor: pointer; font-family: var(--serif); }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .grain, .marquee__track, .about__badge-ring, .hero__scroll i::after { animation: none; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- senza JavaScript ---------- */
.no-js .hero__eyebrow, .no-js .hero__lead, .no-js .hero__actions, .no-js .hero__aside, .no-js .hero__scroll { opacity: 1; }
.no-js .hero__title .ch { transform: none; }
.no-js .words .w { opacity: 1; }

/* ---------- mobile: rifiniture ---------- */
@media (max-width: 860px) {
  .hero { padding: 0 20px 48px; min-height: 100svh; }
  .hero__inner { width: 100%; }
  .hero__title { display: flex; flex-wrap: wrap; gap: 0 .22em; font-size: clamp(64px, 23vw, 120px); margin-bottom: 18px; }
  .hero__title .split--italic { padding-left: 0; }
  .hero__eyebrow { margin-bottom: 14px; }
  .hero__lead { font-size: 17px; line-height: 1.55; margin-bottom: 26px; }
  .hero__actions .btn--ghost { display: none; }
  .hero__actions .btn { width: 100%; }
  .hero__scroll { display: none; }
  .manifesto { padding-top: 110px; padding-bottom: 110px; }
  .manifesto__sub { margin-top: 32px; }
  .about { padding-top: 60px; padding-bottom: 80px; }
  .about__sign { margin-top: 10px; font-size: 38px; }
  .style, .method, .gallery { padding-top: 80px; padding-bottom: 80px; }
  .section-head { margin-bottom: 40px; }
  .services__pin { padding: 80px 0; }
  .service__body p { font-size: 15px; }
  .rome { min-height: 90svh; }
  .closing { padding: 110px 20px; }
  .contact { padding: 70px 20px; }
  .contact__list a { font-size: 20px; }
  .contact__list small { min-width: 78px; font-size: 10px; }
  .footer { padding-top: 70px; }
  .footer__big { margin-bottom: 30px; }
  .footer__row { flex-direction: column; gap: 6px; }
  .h2 { font-size: clamp(34px, 9.5vw, 48px); }
  .btn { padding: 16px 26px; }
}
@media (max-width: 380px) {
  .contact__list a { font-size: 18px; gap: 10px; }
}
@media (max-width: 860px) { .rome::after { background: linear-gradient(180deg, rgba(30,28,24,.35), rgba(30,28,24,.7)); } }

/* ---------- logo ---------- */
.loader__logo { width: clamp(130px, 18vw, 190px); height: auto; opacity: 0; transform: scale(.94); }
.nav__mark { width: auto; height: 46px; transition: height .5s var(--ease); }
.nav.is-scrolled .nav__mark { height: 38px; }
.nav__name { font-family: var(--sans); font-size: 13px; letter-spacing: .38em; text-transform: uppercase; }
.menu__logo { width: 70px; height: auto; margin-top: 44px; }
.menu__quote { margin-top: 16px; }
.footer__brand { display: flex; align-items: flex-end; gap: clamp(20px, 4vw, 60px); margin-bottom: 50px; }
.footer__brand .footer__big { margin: 0; }
.footer__logo { width: clamp(90px, 12vw, 170px); height: auto; flex: none; }
@media (max-width: 860px) {
  .nav__mark { height: 40px; }
  .nav__name { font-size: 12px; letter-spacing: .3em; }
  .footer__brand { flex-direction: column; align-items: flex-start; gap: 24px; margin-bottom: 30px; }
}
@media (min-width: 861px) {
  .services__head { position: relative; z-index: 2; align-self: stretch; display: flex; flex-direction: column; justify-content: center; background: var(--sage-deep); box-shadow: 30px 0 40px -10px var(--sage-deep); }
  .services__track { position: relative; z-index: 1; }
}

/* lingua IT / EN */
.nav__links { margin-left: auto; }
.lang-switch { display: flex; align-items: center; gap: 6px; margin-left: clamp(18px, 2.4vw, 36px); font-size: 12px; letter-spacing: .16em; color: var(--ink); }
.lang-switch span { opacity: .35; }
.lang-switch button { background: none; border: 0; padding: 6px 2px; font: inherit; letter-spacing: inherit; color: inherit; opacity: .5; cursor: pointer; transition: opacity .3s, color .3s; border-bottom: 1px solid transparent; }
.lang-switch button:hover { opacity: 1; }
.lang-switch button.is-active { opacity: 1; color: var(--terra); border-bottom-color: currentColor; }
@media (max-width: 860px) {
  .nav > .lang-switch { margin-left: auto; margin-right: 10px; }
}
