/* Font ospitati su questo sito: nessuna connessione a server esterni */
@font-face {
  font-family: 'Bodoni Moda';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/bodonimoda-400-italic.woff2) format('woff2');
  
}
@font-face {
  font-family: 'Bodoni Moda';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/bodonimoda-400-normal.woff2) format('woff2');
  
}
@font-face {
  font-family: 'Bodoni Moda';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/bodonimoda-600-normal.woff2) format('woff2');
  
}
@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/opensans-400-italic.woff2) format('woff2');
  
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/opensans-400-normal.woff2) format('woff2');
  
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/opensans-600-normal.woff2) format('woff2');
  
}
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/raleway-400-normal.woff2) format('woff2');
  
}
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/raleway-500-normal.woff2) format('woff2');
  
}
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/raleway-600-normal.woff2) format('woff2');
  
}
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(fonts/raleway-800-normal.woff2) format('woff2');
  
}

/* ============================================================
   OSA · Opere d'Autore · palette brand kit
   Antracite #2D2D2F · Arancio #FF7A21 · Petrolio #126176
   Rosa #F052A5 · Avorio #FFF9E8 · Gradiente petrolio→arancio
   Font: Bodoni Moda (≈Dream Avenue) · Raleway · Open Sans
   ============================================================ */

:root {
  --antracite: #2D2D2F;
  --arancio: #FF7A21;
  --petrolio: #126176;
  --rosa: #F052A5;
  --avorio: #FFF9E8;
  --avorio-deep: #F6EED9;
  --grad: linear-gradient(100deg, #0d3a5c 0%, #2a9d9f 45%, #FF7A21 100%);
  --serif: "Bodoni Moda", "Didot", serif;
  --title: "Raleway", "Helvetica Neue", sans-serif;
  --body: "Open Sans", "Segoe UI", sans-serif;
  --ease-out: cubic-bezier(.22,.9,.32,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.nav-open { overflow: hidden; }
body {
  font-family: var(--body);
  color: var(--antracite);
  background: var(--avorio);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }

/* ============ HEADER ============ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 28px;
  padding: 10px clamp(18px, 4vw, 48px);
  background: color-mix(in srgb, var(--avorio) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(45,45,47,.1);
}
.brand img { width: auto; height: 30px; object-fit: contain; }
.main-nav { display: flex; gap: 26px; margin-left: auto; }
.main-nav a {
  font-family: var(--title); font-size: 12px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  padding: 6px 2px; position: relative;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--arancio); transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease-out);
}
.main-nav a:hover::after, .main-nav a:focus-visible::after { transform: scaleX(1); }
.header-cta {
  font-family: var(--title); font-size: 12px; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  background: var(--antracite); color: var(--avorio);
  padding: 13px 22px; border-radius: 999px;
  transition: background .3s, transform .3s;
}
.header-cta:hover { background: var(--arancio); transform: translateY(-2px); }
.nav-toggle { display: none; }

/* ============ HERO ============ */
.hero { position: relative; padding: clamp(28px, 5vw, 70px) clamp(18px, 4vw, 48px) 0; overflow: hidden; }
.hero-blocks .blk { position: absolute; z-index: 0; opacity: 0; animation: blockIn 1s var(--ease-out) forwards; }
.blk-petrolio { background: var(--petrolio); width: min(38vw, 460px); height: min(60vh, 560px); right: 0; top: 0; animation-delay: .15s; }
.blk-arancio  { background: var(--arancio); width: min(26vw, 300px); height: min(34vh, 330px); right: min(30vw, 360px); bottom: 8%; animation-delay: .35s; }
.blk-rosa     { background: var(--rosa); width: 120px; height: 120px; right: 6vw; bottom: 26%; animation-delay: .55s; }
@keyframes blockIn { from { opacity: 0; transform: translateY(60px); } to { opacity: 1; transform: none; } }

.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 64px);
  align-items: center; max-width: 1280px; margin: 0 auto;
}
.hero-badge { width: min(240px, 60%); height: auto; margin-bottom: 18px; }
.eyebrow {
  font-family: var(--title); font-size: 12px; font-weight: 800;
  letter-spacing: .22em; text-transform: uppercase; color: var(--petrolio);
  margin-bottom: 22px;
}
.eyebrow::before { content: ""; display: inline-block; width: 34px; height: 2px; background: var(--arancio); vertical-align: middle; margin-right: 12px; }
.hero h1 { font-family: var(--serif); font-weight: 400; line-height: .98; }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line:first-child { font-size: clamp(28px, 3.4vw, 46px); letter-spacing: .02em; margin-bottom: 6px; }
.hero h1 .line.big { font-size: clamp(56px, 8.4vw, 128px); }
.hero h1 .word { display: inline-block; transform: translateY(110%); animation: wordUp .9s var(--ease-out) forwards; }
.hero h1 .line:nth-child(1) .word { animation-delay: .1s; }
.hero h1 .line:nth-child(2) .word { animation-delay: .28s; }
.hero h1 .line:nth-child(3) .word { animation-delay: .46s; }
@keyframes wordUp { to { transform: none; } }
.hero h1 .accent { color: var(--arancio); }
.hero h1 .em { font-style: italic; color: var(--petrolio); }
.hero-sub { max-width: 44ch; margin-top: 26px; font-size: 17px; }
.hero-actions { display: flex; align-items: center; gap: 26px; margin: 34px 0 46px; flex-wrap: wrap; }

.btn {
  display: inline-block; font-family: var(--title); font-size: 13px; font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  padding: 17px 32px; border-radius: 999px; transition: transform .3s var(--ease-out), box-shadow .3s, background .3s;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(45,45,47,.18); }
.btn-petrolio { background: var(--petrolio); color: var(--avorio); }
.btn-arancio { background: var(--arancio); color: #fff; }
.btn-avorio { background: var(--avorio); color: var(--antracite); }
.btn-text {
  font-family: var(--title); font-size: 13px; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; text-decoration: none; border-bottom: 2px solid var(--arancio);
  padding-bottom: 5px; transition: color .3s;
}
.btn-text:hover { color: var(--arancio); }
.btn-text.light { color: var(--avorio); border-color: var(--arancio); }
.btn-text.light:hover { color: var(--arancio); }

/* --- petali di fiore che cadono --- */
.petals { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.petals span {
  position: absolute; top: -30px;
  width: 18px; height: 14px;
  background: radial-gradient(circle at 30% 30%, #ffd6e4, #f7a8c4 55%, #f052a5);
  border-radius: 150% 10% 150% 10%;
  opacity: .75;
  animation: petal-fall 14s linear infinite;
}
.petals span:nth-child(1)  { left: 6%;  animation-duration: 13s; animation-delay: -2s;  width: 14px; height: 11px; }
.petals span:nth-child(2)  { left: 14%; animation-duration: 17s; animation-delay: -9s;  width: 21px; height: 16px; opacity: .55; }
.petals span:nth-child(3)  { left: 24%; animation-duration: 12s; animation-delay: -5s;  width: 12px; height: 10px; }
.petals span:nth-child(4)  { left: 33%; animation-duration: 19s; animation-delay: -13s; width: 18px; height: 14px; opacity: .5; }
.petals span:nth-child(5)  { left: 42%; animation-duration: 14s; animation-delay: -1s;  width: 16px; height: 12px; }
.petals span:nth-child(6)  { left: 51%; animation-duration: 16s; animation-delay: -7s;  width: 22px; height: 17px; opacity: .6; }
.petals span:nth-child(7)  { left: 60%; animation-duration: 12.5s; animation-delay: -10s; width: 13px; height: 10px; }
.petals span:nth-child(8)  { left: 68%; animation-duration: 18s; animation-delay: -4s;  width: 19px; height: 15px; opacity: .55; }
.petals span:nth-child(9)  { left: 76%; animation-duration: 13.5s; animation-delay: -12s; width: 15px; height: 12px; }
.petals span:nth-child(10) { left: 84%; animation-duration: 15s; animation-delay: -6s;  width: 20px; height: 15px; opacity: .65; }
.petals span:nth-child(11) { left: 91%; animation-duration: 17.5s; animation-delay: -15s; width: 14px; height: 11px; }
.petals span:nth-child(12) { left: 96%; animation-duration: 14.5s; animation-delay: -3s; width: 17px; height: 13px; opacity: .6; }
@keyframes petal-fall {
  0%   { transform: translate(0, -30px) rotate(0deg); }
  25%  { transform: translate(22px, 28vh) rotate(80deg); }
  50%  { transform: translate(-16px, 56vh) rotate(170deg); }
  75%  { transform: translate(20px, 84vh) rotate(250deg); }
  100% { transform: translate(-10px, 114vh) rotate(340deg); }
}

/* --- mazzo di polaroid animato --- */
.deck { position: relative; aspect-ratio: 1100 / 1360; max-width: 560px; width: 100%; justify-self: center; cursor: pointer; }
.deck-card {
  position: absolute; inset: 0; margin: 0;
  transition: transform .75s var(--ease-out), opacity .6s var(--ease-out);
  will-change: transform;
}
.deck-card img { width: 100%; height: 100%; object-fit: cover; border: 10px solid #fff; box-shadow: 0 26px 60px rgba(45,45,47,.26); }
.deck-card[data-pos="0"] { z-index: 4; transform: rotate(1.6deg); }
.deck-card[data-pos="1"] { z-index: 3; transform: rotate(-3.2deg) translate(-18px, 14px) scale(.965); }
.deck-card[data-pos="2"] { z-index: 2; transform: rotate(3.4deg) translate(16px, 26px) scale(.93); }
.deck-card[data-pos="3"] { z-index: 1; transform: rotate(-1.4deg) translate(0, 34px) scale(.9); opacity: .85; }
.deck-card.leaving { transform: translateX(125%) rotate(14deg) !important; opacity: 0; z-index: 5; }
.deck-card .plaque { opacity: 0; transition: opacity .4s .3s; }
.deck-card[data-pos="0"] .plaque { opacity: 1; }
.plaque {
  position: absolute; left: -18px; bottom: 26px;
  background: var(--avorio); border: 1px solid rgba(45,45,47,.18);
  padding: 10px 16px; font-size: 12px; letter-spacing: .04em;
  box-shadow: 0 8px 22px rgba(45,45,47,.14); max-width: 260px;
}
.plaque b { display: block; font-family: var(--title); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--arancio); margin-bottom: 2px; }

/* marquee */
.marquee { position: relative; z-index: 2; margin-top: clamp(30px, 4vw, 60px); background: var(--antracite); color: var(--avorio); overflow: hidden; transform: rotate(-1.2deg) scale(1.02); }
.marquee-track {
  display: inline-flex; align-items: center; gap: 34px; white-space: nowrap;
  padding: 14px 0; font-family: var(--title); font-size: 14px; font-weight: 600;
  letter-spacing: .26em; text-transform: uppercase;
  animation: marquee 26s linear infinite;
}
.marquee-track i { font-style: normal; color: var(--arancio); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ LA PASSERELLA (nastri infiniti) ============ */
.runway { padding: clamp(50px, 7vw, 90px) 0 clamp(60px, 8vw, 100px); overflow: hidden; background: var(--avorio); }
.runway-label {
  font-family: var(--serif); font-size: clamp(24px, 3vw, 38px); text-align: center;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.runway-label em { font-style: italic; color: var(--arancio); }
.runway-row { overflow: hidden; }
.runway-row + .runway-row { margin-top: 16px; }
.runway-track {
  display: flex; gap: 16px; width: max-content;
  animation: runway 42s linear infinite;
}
.runway-track.reverse { animation-direction: reverse; }
.runway-row:hover .runway-track { animation-play-state: paused; }
.runway-track img {
  height: clamp(150px, 24vw, 250px); width: auto;
  border: 6px solid #fff; box-shadow: 0 10px 26px rgba(45,45,47,.14);
  transition: transform .5s var(--ease-out);
}
.runway-track img:hover { transform: scale(1.045) rotate(.8deg); }
@keyframes runway { to { transform: translateX(-50%); } }

/* ============ MANIFESTO ============ */
.manifesto { background: var(--petrolio); padding: clamp(70px, 10vw, 130px) clamp(18px, 6vw, 60px); text-align: center; }
.manifesto-line {
  font-family: var(--serif); font-size: clamp(26px, 4vw, 52px); line-height: 1.25;
  color: var(--avorio); max-width: 22ch; margin: 0 auto;
}
.manifesto-line em { font-style: italic; background: linear-gradient(100deg, #7fd3d4, var(--arancio)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.manifesto-sub { max-width: 58ch; margin: 26px auto 0; color: #cfe3e8; font-size: 15.5px; }

/* ============ SEZIONI ============ */
.section-head { max-width: 1280px; margin: 0 auto clamp(40px, 5vw, 70px); }
.section-number { font-family: var(--title); font-size: 12px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--arancio); margin-bottom: 14px; }
.section-head h2, .artist h2, .contact h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 5.4vw, 76px); line-height: 1.02; }
.section-head h2 em, .artist h2 em, .contact h2 em { font-style: italic; color: var(--petrolio); }
.section-head.light h2 em { color: var(--arancio); }
.section-intro { max-width: 52ch; margin-top: 20px; font-size: 16.5px; }

/* ============ LE OPERE ============ */
.collection { padding: clamp(70px, 9vw, 120px) clamp(18px, 4vw, 48px); }
.swipe-hint { display: none; }

/* O fiorita: grande, a sinistra del titolo, tagliata a metà dal bordo pagina */
.hero-o {
  position: absolute; z-index: 0;
  left: 0; top: 50%;
  transform: translate(-50%, -50%);
  width: clamp(240px, 30vw, 460px); height: auto;
  opacity: .95; pointer-events: none;
  animation: heroOIn 1.2s var(--ease-out) both .3s;
}
@keyframes heroOIn { from { opacity: 0; transform: translate(-60%, -50%); } to { opacity: .95; transform: translate(-50%, -50%); } }
@media (min-width: 981px) {
  .hero-o { top: 44%; }
  .hero-copy { padding-left: clamp(110px, 14vw, 200px); }
  .hero-inner { min-height: min(76vh, 860px); }
}
.gallery {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(22px, 3vw, 44px);
}
.collection-note {
  max-width: 1280px; margin: clamp(36px, 5vw, 56px) auto 0;
  font-family: var(--serif); font-style: italic; font-size: 18px; color: #7a7a7e; text-align: center;
}
.artwork { position: relative; }
.artwork:nth-child(2) { transform: translateY(34px); }
.artwork:nth-child(5) { transform: translateY(34px); }
.artwork.reveal { transform: translateY(60px); }
.artwork.reveal.in { transform: none; }
.artwork.reveal.in:nth-child(2), .artwork.reveal.in:nth-child(5) { transform: translateY(34px); }
.artwork figure { position: relative; overflow: hidden; background: var(--accent); }
/* slideshow nello slot: le foto del prodotto scorrono in dissolvenza */
.artwork figure.slideshow { aspect-ratio: 1100 / 1374; }
.artwork figure.slideshow img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.1s var(--ease-out), transform .8s var(--ease-out);
}
.artwork figure.slideshow img.on { opacity: 1; }
.artwork figure::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(45,45,47,.22), transparent 40%);
  opacity: 0; transition: opacity .4s;
}
.artwork img { transition: transform .8s var(--ease-out); }
.artwork:hover img { transform: scale(1.05); }
.artwork:hover figure::after { opacity: 1; }
.plaque-card {
  background: #fff; border: 1px solid rgba(45,45,47,.12);
  margin: -34px 18px 0; position: relative; padding: 18px 20px 20px;
  box-shadow: 0 14px 34px rgba(45,45,47,.12);
  border-top: 4px solid var(--accent);
}
/* cucitura: bordo tratteggiato interno, come l'etichetta del logo */
.plaque-card::after, .plaque::after {
  content: ""; position: absolute; inset: 5px;
  border: 1.5px dashed rgba(45,45,47,.35);
  border-radius: 3px; pointer-events: none;
}
.plaque-card::after { inset: 7px; }
.plaque-card .num { font-family: var(--title); font-size: 11px; font-weight: 800; letter-spacing: .2em; color: var(--accent); }
.plaque-card h3 { font-family: var(--serif); font-size: 26px; font-weight: 400; margin: 4px 0 6px; }
.plaque-card p { font-size: 13.5px; color: #5b5b5e; margin-bottom: 12px; }
.plaque-card .dims {
  font-family: var(--title); font-size: 10.5px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: #8a8a8e;
  margin: -6px 0 12px;
}
.plaque-card a {
  font-family: var(--title); font-size: 11px; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; text-decoration: none; color: var(--antracite);
  border-bottom: 2px solid var(--accent); padding-bottom: 3px; transition: color .3s;
}
.plaque-card a:hover { color: var(--accent); }

/* ============ FIORI ============ */
.flowers { background: var(--antracite); color: var(--avorio); padding: clamp(70px, 9vw, 120px) clamp(18px, 4vw, 48px); }
.flowers .section-intro { color: #cfcfd2; }
.flower-strip {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.4vw, 30px);
}
.flower-card { position: relative; overflow: hidden; }
.flower-card img { transition: transform .8s var(--ease-out), filter .5s; }
.flower-card:hover img { transform: scale(1.06) rotate(.6deg); }
.flower-card figcaption {
  position: absolute; left: 12px; bottom: 12px;
  background: var(--avorio); color: var(--antracite);
  font-family: var(--title); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  padding: 7px 12px;
}
.flower-card:nth-child(even) { transform: translateY(26px); }

/* ============ SILVIA ============ */
.artist { padding: clamp(70px, 9vw, 130px) clamp(18px, 4vw, 48px); background: var(--avorio-deep); }
.artist-grid { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.artist-photo { position: relative; transform: rotate(-1.4deg); }
.artist-photo img { border: 10px solid #fff; box-shadow: 0 26px 60px rgba(45,45,47,.22); }
.artist-copy h2 { margin-bottom: 24px; }
.artist-copy p + p { margin-top: 14px; }
.credentials { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.credentials li {
  font-family: var(--title); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  border: 1.5px solid var(--antracite); border-radius: 999px; padding: 9px 16px;
  transition: background .3s, color .3s;
}
.credentials li:hover { background: var(--antracite); color: var(--avorio); }

/* ============ SU MISURA ============ */
.atelier { background: var(--petrolio); color: var(--avorio); padding: clamp(70px, 9vw, 120px) clamp(18px, 4vw, 48px); }
.atelier .section-intro { color: #cfe3e8; }
.services-trio {
  max-width: 1280px; margin: 0 auto clamp(44px, 6vw, 70px);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 30px);
}
.services-trio article {
  border: 1px solid rgba(255,249,232,.25); border-top: 4px solid var(--arancio);
  padding: 26px 24px 28px; background: rgba(255,249,232,.04);
  transition: transform .4s var(--ease-out), background .4s;
}
.services-trio article:hover { transform: translateY(-6px); background: rgba(255,249,232,.1); }
.services-trio h3 { font-family: var(--serif); font-size: 24px; font-weight: 400; margin-bottom: 10px; }
.services-trio p { font-size: 14.5px; color: #d9e6ea; }
.steps-label {
  max-width: 1280px; margin: 0 auto 18px;
  font-family: var(--title); font-size: 12px; font-weight: 800;
  letter-spacing: .22em; text-transform: uppercase; color: var(--arancio);
}
.steps {
  max-width: 1280px; margin: 0 auto; list-style: none;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.4vw, 30px);
  counter-reset: step;
}
.steps li {
  background: rgba(255,249,232,.06); border: 1px solid rgba(255,249,232,.18);
  padding: 26px 22px 28px; position: relative; overflow: hidden;
  transition: transform .4s var(--ease-out), background .4s;
}
.steps li:hover { transform: translateY(-6px); background: rgba(255,249,232,.11); }
.steps b { font-family: var(--title); font-size: 42px; font-weight: 800; color: var(--arancio); display: block; line-height: 1; letter-spacing: .02em; }
.steps h3 { font-family: var(--title); font-size: 15px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; margin: 12px 0 8px; }
.steps p { font-size: 14px; color: #d9e6ea; }
.steps li::after { content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 0; background: var(--grad); transition: width .5s var(--ease-out); }
.steps li:hover::after { width: 100%; }
.atelier-cta { text-align: center; margin-top: clamp(36px, 5vw, 60px); }

/* ============ OSA IN BREVE ============ */
.brief { background: var(--avorio-deep); padding: clamp(46px, 6vw, 70px) clamp(18px, 4vw, 48px); border-top: 1px solid rgba(45,45,47,.08); }
.brief-grid {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px);
}
.brief-grid b {
  display: block; font-family: var(--title); font-size: 11px; font-weight: 800;
  letter-spacing: .22em; text-transform: uppercase; color: var(--arancio); margin-bottom: 8px;
}
.brief-grid p { font-size: 14px; color: #4c4c4f; }
@media (max-width: 900px) { .brief-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .brief-grid { grid-template-columns: 1fr; } }

/* ============ FAQ ============ */
.faq { padding: clamp(70px, 9vw, 120px) clamp(18px, 4vw, 48px); }
.faq-list { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid rgba(45,45,47,.16); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  font-family: var(--title); font-size: 17px; font-weight: 600; padding: 22px 4px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--serif); font-size: 30px; color: var(--arancio); transition: transform .35s var(--ease-out); flex-shrink: 0; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 4px 24px; max-width: 62ch; color: #4c4c4f; }

/* ============ CONTATTI ============ */
.contact { background: var(--antracite); color: var(--avorio); padding: clamp(80px, 11vw, 150px) clamp(18px, 4vw, 48px); position: relative; overflow: hidden; }
.contact::before {
  content: ""; position: absolute; inset: 0; opacity: .9;
  background: radial-gradient(700px 420px at 85% 20%, rgba(18,97,118,.55), transparent 65%),
              radial-gradient(560px 380px at 10% 85%, rgba(255,122,33,.35), transparent 60%);
}
.contact-inner { position: relative; max-width: 1280px; margin: 0 auto; text-align: center; }
.contact .section-number { color: var(--arancio); }
.contact h2 em { color: var(--arancio); font-style: italic; }
.contact p { max-width: 46ch; margin: 20px auto 0; color: #d8d8da; }
.contact-actions { display: flex; justify-content: center; align-items: center; gap: 30px; margin-top: 40px; flex-wrap: wrap; }

/* ============ FOOTER ============ */
.site-footer { background: var(--avorio); text-align: center; padding: 56px 20px 44px; font-size: 13.5px; }
.site-footer .footer-o { width: 46px; height: auto; margin: 0 auto 16px; display: block; }
.site-footer .footer-wordmark { width: 150px; height: auto; margin: 0 auto 14px; display: block; }
.site-footer .footer-badge { width: 190px; height: auto; margin: 0 auto 22px; display: block; }
.site-footer p + p { margin-top: 8px; color: #6a6a6e; }
.site-footer a { color: var(--petrolio); }

/* ============ WHATSAPP FLUTTUANTE ============ */
.wa-float {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  z-index: 60; width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 28px rgba(45,45,47,.3);
  opacity: 0; transform: translateY(18px) scale(.8); pointer-events: none;
  transition: opacity .4s var(--ease-out), transform .4s var(--ease-out);
}
.wa-float.show { opacity: 1; transform: none; pointer-events: auto; }
.wa-float:hover { transform: translateY(-3px) scale(1.05); }

/* ============ LIGHTBOX MUSEO ============ */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(35, 35, 37, .96);
  display: flex; align-items: center; justify-content: center;
  padding: clamp(14px, 3vw, 40px);
}
.lightbox[hidden] { display: none; }
.lb-stage { max-width: min(920px, 92vw); text-align: center; margin: 0; }
.lb-stage img {
  max-height: min(74vh, 900px); width: auto; max-width: 100%;
  margin: 0 auto; border: 10px solid #fff;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.lb-plaque {
  display: inline-block; position: relative; background: var(--avorio); color: var(--antracite);
  margin-top: 18px; padding: 12px 26px; font-size: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.lb-plaque::after { content: ""; position: absolute; inset: 5px; border: 1.5px dashed rgba(45,45,47,.35); pointer-events: none; }
.lb-plaque b { display: block; font-family: var(--serif); font-size: 22px; font-weight: 400; }
.lb-plaque span { font-family: var(--title); font-size: 10px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--arancio); }
.lb-close, .lb-nav {
  position: fixed; z-index: 101; background: none; border: none; cursor: pointer;
  color: var(--avorio); font-family: var(--serif); line-height: 1;
  transition: color .3s, transform .3s;
}
.lb-close { top: 16px; right: 22px; font-size: 44px; }
.lb-nav { top: 50%; transform: translateY(-50%); font-size: 64px; padding: 20px 14px; }
.lb-prev { left: 8px; }
.lb-next { right: 8px; }
.lb-close:hover, .lb-nav:hover { color: var(--arancio); }
.artwork figure { cursor: zoom-in; }

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .deck { max-width: 480px; margin-top: 16px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .artwork:nth-child(5) { transform: none; }
  .artwork.reveal.in:nth-child(5) { transform: none; }
  .flower-strip { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .services-trio { grid-template-columns: 1fr; }
  .artist-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--avorio); }
  .main-nav {
    display: flex; position: fixed; inset: 0; z-index: 70;
    background: var(--avorio);
    flex-direction: column; align-items: center; justify-content: center; gap: 6px;
    opacity: 0; pointer-events: none; transition: opacity .35s var(--ease-out);
    padding: env(safe-area-inset-top, 0) 24px calc(90px + env(safe-area-inset-bottom, 0px));
  }
  .main-nav::before {
    content: ""; position: absolute; top: 26px; left: 50%; transform: translateX(-50%);
    width: 120px; height: 48px; background: url("img/brand-osa.png") no-repeat center / contain;
  }
  .main-nav::after {
    content: ""; position: absolute; bottom: 42px; left: 50%; transform: translateX(-50%);
    width: 180px; height: 18px; background: url("img/brand-badge.png") no-repeat center / contain;
  }
  .main-nav.open { opacity: 1; pointer-events: auto; }
  .main-nav a {
    font-family: var(--serif); font-size: 32px; font-weight: 400;
    text-transform: none; letter-spacing: .01em; padding: 10px 18px;
    opacity: 0; transform: translateY(16px);
    transition: opacity .4s var(--ease-out), transform .4s var(--ease-out), color .3s;
  }
  .main-nav.open a { opacity: 1; transform: none; }
  .main-nav.open a:nth-child(1) { transition-delay: .06s; }
  .main-nav.open a:nth-child(2) { transition-delay: .12s; }
  .main-nav.open a:nth-child(3) { transition-delay: .18s; }
  .main-nav.open a:nth-child(4) { transition-delay: .24s; }
  .main-nav.open a:nth-child(5) { transition-delay: .3s; }
  .main-nav a:hover { color: var(--arancio); }
  .main-nav a::after { display: none; }
  .nav-toggle { position: relative; z-index: 80; background: var(--avorio); }
  .header-cta { margin-left: auto; padding: 11px 16px; font-size: 11px; }
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 10px;
    background: none; border: 1.5px solid var(--antracite); border-radius: 10px; cursor: pointer;
  }
  .nav-toggle span { display: block; height: 2px; background: var(--antracite); transition: transform .3s, opacity .3s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .brand img { height: 26px; width: auto; }
  .blk-petrolio { top: auto; bottom: 0; width: 72vw; height: 34%; }
  .blk-rosa { bottom: 6%; right: 4vw; width: 84px; height: 84px; }
  /* galleria a carosello con scatto */
  .gallery {
    display: flex; grid-template-columns: none;
    overflow-x: auto; scroll-snap-type: x mandatory;
    gap: 18px; padding: 4px 4px 22px;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .gallery::-webkit-scrollbar { display: none; }
  .artwork { flex: 0 0 82%; scroll-snap-align: center; }
  .artwork:nth-child(2) { transform: none; }
  .artwork.reveal.in:nth-child(2) { transform: none; }
  .swipe-hint {
    display: block; text-align: center; margin-top: 4px;
    font-family: var(--title); font-size: 11px; font-weight: 800;
    letter-spacing: .2em; text-transform: uppercase; color: var(--arancio);
  }
  .flower-card:nth-child(even) { transform: none; }
  .steps { grid-template-columns: 1fr; }
  .blk-arancio { display: none; }

  /* freccia nello spazio tra un'opera e l'altra: dice "ce n'è un'altra qui accanto" */
  .gallery { gap: 42px; }
  .artwork { flex: 0 0 78%; position: relative; }
  .artwork::after {
    content: ""; position: absolute; top: 33%; right: -27px;
    width: 13px; height: 13px;
    border-top: 2.5px solid var(--arancio);
    border-right: 2.5px solid var(--arancio);
    transform: rotate(45deg);
    pointer-events: none;
  }
  .artwork:last-child::after { content: none; }
  .artwork:first-child::after { animation: nudge 2s var(--ease-out) infinite; }
  @keyframes nudge {
    0%, 55%, 100% { transform: rotate(45deg) translate(0, 0); }
    28% { transform: rotate(45deg) translate(5px, -5px); }
  }
}

/* ============ RIFINITURE MOBILE (nuovo design) ============ */
@media (max-width: 760px) {
  .hero { padding-top: 16px; }
  .hero-badge { width: 190px; margin-bottom: 12px; }
  .eyebrow { margin-bottom: 14px; font-size: 11px; }
  .hero h1 .line:first-child { font-size: clamp(24px, 7vw, 30px); }
  .hero h1 .line.big { font-size: clamp(46px, 13vw, 60px); }
  .hero-sub { font-size: 15.5px; margin-top: 16px; }
  .hero-actions { margin: 24px 0 26px; gap: 16px; }
  .btn { padding: 15px 26px; font-size: 12px; }
  .deck { max-width: min(400px, 86vw); margin: 6px auto 0; }
  .hero-o { width: 190px; top: auto; bottom: 4%; transform: translate(-50%, 0); animation: none; opacity: .95; }
  .marquee { margin-top: 34px; }
  .marquee-track { font-size: 12px; letter-spacing: .18em; padding: 11px 0; gap: 22px; }
  .manifesto { padding: 58px 22px; }
  .manifesto-line { font-size: clamp(24px, 6.6vw, 30px); }
  .manifesto-sub { font-size: 14.5px; margin-top: 18px; }
  .runway { padding: 46px 0 56px; }
  .runway-label { margin-bottom: 22px; }
  .collection, .flowers, .artist, .atelier, .faq { padding-top: 56px; padding-bottom: 56px; }
  .contact { padding-top: 72px; padding-bottom: 72px; }
  .section-head { margin-bottom: 30px; }
  .section-head h2 { font-size: clamp(33px, 9vw, 42px); }
  .section-intro { font-size: 15px; margin-top: 12px; }
  .plaque-card { margin: -26px 12px 0; padding: 14px 16px 16px; }
  .plaque-card h3 { font-size: 22px; }
  .swipe-hint { margin-top: 0; }
  .collection-note { margin-top: 26px; font-size: 16px; }
  .flower-strip { gap: 12px; }
  .artist-grid { gap: 28px; }
  .artist-copy h2 { margin-bottom: 16px; }
  .credentials { gap: 8px; margin-top: 20px; }
  .credentials li { font-size: 10px; padding: 8px 13px; }
  .services-trio { margin-bottom: 36px; gap: 14px; }
  .services-trio article { padding: 20px 18px 22px; }
  .services-trio h3 { font-size: 21px; }
  .steps-label { margin-bottom: 14px; }
  .steps li { padding: 20px 18px 22px; }
  .steps b { font-size: 34px; }
  .atelier-cta { margin-top: 32px; }
  .brief { padding: 42px 18px; }
  .brief-grid { gap: 18px; }
  .faq summary { font-size: 15.5px; padding: 18px 2px; }
  .faq details p { padding-bottom: 20px; font-size: 15px; }
  .contact-actions { gap: 18px; margin-top: 30px; }
  .site-footer { padding: 44px 16px calc(88px + env(safe-area-inset-bottom, 0px)); }
  /* lightbox: frecce in basso, immagine più contenuta */
  .lb-stage img { max-height: 60vh; border-width: 8px; }
  .lb-plaque { margin-top: 14px; padding: 10px 18px; font-size: 13px; }
  .lb-plaque b { font-size: 19px; }
  .lb-close { top: 10px; right: 14px; font-size: 40px; }
  .lb-nav { top: auto; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); transform: none; font-size: 46px; padding: 8px 22px; }
  .lb-prev { left: 18vw; }
  .lb-next { right: 18vw; }
}

/* ============ MOTION SAFETY ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .artwork.reveal { opacity: 1; transform: none; transition: none; }
  .hero h1 .word { transform: none; animation: none; }
  .hero-blocks .blk { opacity: 1; animation: none; }
  .marquee-track { animation: none; }
  .runway-track { animation: none; }
  .deck-card { transition: none; }
  .petals { display: none; }
  .artwork::after { animation: none; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- freccia "scorri" sul carosello opere (solo mobile) ---------- */
.gallery-viewport { position: relative; }
/* su desktop la griglia mostra tutto: la freccia non serve */


/* ============ PAGINE LEGALI ============ */
.legal-header {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 14px clamp(18px, 4vw, 48px);
  border-bottom: 1px solid rgba(45,45,47,.12); background: var(--avorio);
}
.legal-header img { height: 28px; width: auto; }
.legal-header a { text-decoration: none; }
.legal-back {
  font-family: var(--title); font-size: 11px; font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase; color: var(--petrolio);
}
.legal-back:hover { color: var(--arancio); }
.legal {
  max-width: 74ch; margin: 0 auto; padding: clamp(40px, 6vw, 72px) clamp(18px, 5vw, 32px) 80px;
}
.legal .eyebrow-legal {
  font-family: var(--title); font-size: 11px; font-weight: 800;
  letter-spacing: .22em; text-transform: uppercase; color: var(--arancio); margin-bottom: 12px;
}
.legal h1 {
  font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 6vw, 54px);
  line-height: 1.05; margin-bottom: 10px;
}
.legal h1 em { font-style: italic; color: var(--petrolio); }
.legal .updated { font-size: 13.5px; color: #7a7a7e; margin-bottom: 36px; }
.legal h2 {
  font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 3vw, 27px);
  margin: 38px 0 12px; padding-top: 26px; border-top: 1px dashed rgba(45,45,47,.28);
}
.legal h3 {
  font-family: var(--title); font-size: 13px; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; margin: 22px 0 8px; color: var(--petrolio);
}
.legal p, .legal li { font-size: 15.5px; line-height: 1.75; }
.legal p { margin-bottom: 14px; }
.legal ul { margin: 0 0 16px 20px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--petrolio); }
.legal a:hover { color: var(--arancio); }
.legal .box {
  background: var(--avorio-deep); border: 1px solid rgba(45,45,47,.14);
  padding: 22px 24px; margin: 24px 0; position: relative;
}
.legal .box::after {
  content: ""; position: absolute; inset: 6px;
  border: 1.5px dashed rgba(45,45,47,.3); pointer-events: none;
}
.legal .box p:last-child { margin-bottom: 0; }
.legal-footer {
  background: var(--antracite); color: var(--avorio); text-align: center;
  padding: 40px 20px; font-size: 13.5px;
}
.legal-footer a { color: var(--avorio); text-decoration: underline; }
.legal-footer a:hover { color: var(--arancio); }
.legal-footer .sep { opacity: .4; margin: 0 8px; }

/* footer principale: dati identificativi */
.site-footer .legal-links { margin-top: 16px; font-size: 13px; }
.site-footer .legal-links a { color: var(--petrolio); }
.site-footer .legal-links a:hover { color: var(--arancio); }
.site-footer .sep { opacity: .45; margin: 0 8px; }

/* pagina 404 */
.notfound {
  min-height: 74vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 60px clamp(18px, 5vw, 40px);
}
.notfound img.o { width: 92px; height: auto; margin-bottom: 26px; }
.notfound h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 7vw, 64px); line-height: 1.03; }
.notfound h1 em { font-style: italic; color: var(--arancio); }
.notfound p { max-width: 46ch; margin: 18px auto 34px; font-size: 16.5px; }

/* dichiarazione immagini AI nel footer */
.site-footer .ai-note {
  max-width: 62ch; margin: 18px auto 0; font-size: 12px; line-height: 1.6; color: #8a8a8e;
}
@media (max-width: 760px) { .site-footer .ai-note { font-size: 11.5px; } }
