/* The Art of Triangles – stile del sito */
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(fonts/cormorant.woff2) format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 400 500; font-display: swap; src: url(fonts/cormorant-italic.woff2) format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/montserrat.woff2) format('woff2'); }
:root {
  --avorio: #FBF7F1;
  --bianco: #FFFFFF;
  --sabbia: #F4EEE4;
  --bordeaux: #4E0E14;
  --bordeaux-hover: #6B1820;
  --oro: #B08226;
  --oro-chiaro: #E2C15A;
  --oro-testo: #8A6418;
  --inchiostro: #2A1F1F;
  --testo: #4A3D38;
  --testo-2: #6B5E58;
  --filetto: #DDD3C3;
  --bordo-campo: #CFC4B3;
  --errore: #A12A2A;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: Montserrat, system-ui, sans-serif;
  --gutter: 16px;
}
@media (min-width: 900px) { :root { --gutter: 48px; } }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--avorio); color: var(--inchiostro); font-family: var(--serif); font-size: 19px; line-height: 1.5; }
@media (min-width: 900px) { body { font-size: 21px; } }
img, video { max-width: 100%; display: block; }
a { color: var(--bordeaux); }
a:hover { color: var(--oro-testo); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--oro); outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
.wrap { max-width: 1280px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Testi */
.eyebrow { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--oro-testo); }
.label { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.display { font-weight: 500; font-size: 44px; line-height: 1.04; color: var(--bordeaux); }
.h2 { font-weight: 500; font-size: 36px; line-height: 1.06; color: var(--bordeaux); }
.lead { font-size: 21px; line-height: 1.5; color: var(--testo); }
.muted { color: var(--testo-2); }
.caption { font-family: var(--sans); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--testo-2); }
em { font-style: italic; }
@media (min-width: 900px) {
  .display { font-size: 68px; line-height: 1.02; }
  .h2 { font-size: 52px; line-height: 1.05; }
  .lead { font-size: 22px; }
  .caption { font-size: 11px; }
}

/* Pulsanti */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; border: 1px solid var(--bordeaux); cursor: pointer; transition: background .2s, color .2s; }
.btn-p { background: var(--bordeaux); color: #fff; }
.btn-p:hover { background: var(--bordeaux-hover); color: #fff; }
.btn-s { background: transparent; color: var(--bordeaux); }
.btn-s:hover { background: var(--bordeaux); color: var(--avorio); }
.btn-chiaro { background: var(--avorio); color: var(--bordeaux); border-color: var(--avorio); }
.btn-chiaro:hover { background: #fff; color: var(--bordeaux); }
.btn-block { display: flex; width: 100%; }
.lnk { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid var(--oro); padding-bottom: 3px; display: inline-block; }
.tri-r { width: 11px; height: 11px; flex: none; }


/* Header */
.site-header { position: sticky; top: 0; z-index: 30; background: var(--avorio); border-bottom: 1px solid #E8E1D5; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 44px; height: 36px; object-fit: contain; mix-blend-mode: multiply; }
.wordmark { display: flex; flex-direction: column; font-family: var(--sans); font-weight: 700; font-size: 14px; line-height: 1.05; letter-spacing: .06em; }
.wordmark .a { color: var(--oro); } .wordmark .b { color: var(--bordeaux); }
.nav { display: none; }
.menu-btn { width: 48px; height: 48px; border: 0; background: none; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.nav-mobile { display: none; border-top: 1px solid #EDE6DA; background: var(--avorio); padding: 4px var(--gutter) 24px; box-shadow: 0 20px 30px -20px rgba(78,14,20,.3); }
.nav-mobile.open { display: block; }
.nav-mobile a { display: block; padding: 14px 0; border-bottom: 1px solid #EDE6DA; text-decoration: none; font-size: 28px; color: var(--bordeaux); }
.nav-mobile a[aria-current="page"] { color: var(--oro-testo); }
.nav-mobile @media (min-width: 900px) {
  .site-header .wrap { min-height: 86px; }
  .brand { gap: 14px; }
  .brand img { width: 60px; height: 50px; }
  .wordmark { font-size: 18px; }
  .menu-btn, .nav-mobile, .nav-mobile.open { display: none; }
  .nav { display: flex; align-items: center; gap: 34px; font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
  .nav a { color: var(--inchiostro); text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; }
  .nav a:hover { color: var(--oro-testo); border-bottom-color: var(--oro); }
  .nav a[aria-current="page"] { color: var(--bordeaux); border-bottom-color: var(--oro); }
  .nav }

/* Sezioni */
.sec { padding: 56px 0; }
.sec-bianca { background: var(--bianco); border-top: 1px solid #EFE8DC; border-bottom: 1px solid #EFE8DC; }
.sec-sabbia { background: var(--sabbia); }
.sec-bordeaux { background: var(--bordeaux); color: var(--avorio); }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 24px; margin-bottom: 28px; }
.sec-head > div { display: flex; flex-direction: column; gap: 10px; }
.stack { display: flex; flex-direction: column; gap: 20px; }
@media (min-width: 900px) {
  .sec { padding: 104px 0; }
  .sec-head { margin-bottom: 48px; }
  .stack { gap: 26px; }
}

/* Hero */
.hero { display: flex; flex-direction: column-reverse; gap: 28px; padding-bottom: 48px; }
.hero-testo { display: flex; flex-direction: column; gap: 20px; padding: 0 var(--gutter); }
.hero-btns { display: flex; flex-direction: column; gap: 10px; }
.hero-img { position: relative; aspect-ratio: 390 / 440; background: #ECEBE8; overflow: hidden; }
.hero-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; }
.hero-fig figcaption { display: none; }
.replay { position: absolute; right: 12px; bottom: 12px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(251,247,241,.92); display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 2; }
@keyframes triG { 0%, 22% { opacity: 1; transform: scale(1.015); } 48%, 100% { opacity: 0; transform: scale(1); } }
@keyframes triP { 0%, 42% { opacity: 1; } 82%, 100% { opacity: 0; } }
.tri-g { animation: triG 2.4s cubic-bezier(.4,0,.2,1) .5s both; }
.tri-p { animation: triP 2.4s cubic-bezier(.4,0,.2,1) .5s both; }
@media (prefers-reduced-motion: reduce) { .tri { display: none; } }
@media (min-width: 900px) {
  .hero { flex-direction: row; align-items: center; gap: 64px; padding: 64px var(--gutter) 88px; max-width: 1280px; margin: 0 auto; }
  .hero-testo { flex: 1 1 380px; padding: 0; gap: 28px; }
  .hero-btns { flex-direction: row; flex-wrap: wrap; gap: 14px; padding-top: 8px; }
  .hero-fig { flex: 1.6 1 560px; margin: 0; display: flex; flex-direction: column; gap: 14px; }
  .hero-img { aspect-ratio: 1400 / 1008; box-shadow: 0 30px 60px -30px rgba(78,14,20,.25); }
  .hero-img img { object-position: center; }
  .hero-fig figcaption { display: flex; justify-content: space-between; gap: 16px; }
}
.hero-fig { margin: 0; }

/* Intro */
.intro { display: flex; flex-direction: column; gap: 20px; }
.intro h2 { display: flex; align-items: center; gap: 10px; }
.intro p { font-size: 25px; line-height: 1.38; }
@media (min-width: 900px) {
  .intro { flex-direction: row; gap: 64px; }
  .intro h2 { flex: 1 1 280px; align-self: flex-start; }
  .intro .stack { flex: 3 1 560px; }
  .intro p { font-size: 34px; line-height: 1.35; }
}

/* Da vicino / da lontano */
.vicino { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: end; }
.vicino figure { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.vicino .freccia { display: none; }
.box-cover { aspect-ratio: 4 / 5; overflow: hidden; background: #E9E6E1; }
.box-cover img { width: 100%; height: 100%; object-fit: cover; }
.pp { aspect-ratio: 4 / 5; background: var(--bianco); display: flex; align-items: center; justify-content: center; padding: 14px; overflow: hidden; }
.pp img { max-width: 100%; max-height: 100%; object-fit: contain; transition: transform .6s ease; }
@media (min-width: 900px) {
  .vicino { grid-template-columns: 5fr 2fr 5fr; gap: 24px; }
  .vicino .freccia { display: flex; align-items: center; align-self: center; }
  .vicino .pp { padding: 36px; }
}

/* Card opere */
.griglia { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }
@media (min-width: 900px) { .griglia { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 52px 30px; } }
.card { display: flex; flex-direction: column; gap: 10px; }
.card > a { text-decoration: none; color: var(--inchiostro); display: flex; flex-direction: column; gap: 10px; }
.card .pp { box-shadow: 0 1px 2px rgba(78,14,20,.06), 0 12px 30px -18px rgba(78,14,20,.22); }
.card > a:hover .pp img { transform: scale(1.035); }
.card > a:hover .ct { color: var(--oro-testo); }
.card .serie { font-family: var(--sans); font-size: 9px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--oro-testo); }
.card .ct { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; transition: color .2s; }
.card .info { font-size: 16px; color: var(--testo-2); margin-top: -4px; }
.stato { display: inline-flex; align-items: center; gap: 7px; font-family: var(--sans); font-size: 9px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.stato::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.stato-disponibile { color: #2F6B3A; } .stato-venduta { color: #8A2A2A; } .stato-commissione { color: var(--oro-testo); }
.swatches { display: flex; flex-wrap: wrap; margin-left: -6px; }
.sw { width: 32px; height: 40px; padding: 0; border: 0; background: none; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.sw span { width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.18); transition: transform .15s; }
.sw:hover span { transform: scale(1.12); }
.sw[aria-pressed="true"] span { box-shadow: 0 0 0 2px var(--avorio), 0 0 0 3.5px var(--bordeaux); }
.var-nome { font-size: 15px; font-style: italic; color: var(--testo-2); margin-top: -6px; }
@media (min-width: 900px) {
  .card, .card > a { gap: 14px; }
  .card .pp { padding: 28px; }
  .card .serie { font-size: 10px; }
  .card .ct { font-size: 14px; letter-spacing: .08em; }
  .card .info { font-size: 18px; }
  .stato { font-size: 10px; }
}

/* Tecnica */
.fasi { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.fasi li { display: flex; gap: 18px; align-items: center; padding: 18px 0; border-top: 1px solid var(--filetto); }
.fasi li:last-child { border-bottom: 1px solid var(--filetto); }
.fasi .num { font-family: var(--sans); font-size: 10px; font-weight: 600; letter-spacing: .16em; color: var(--oro-testo); }
.fasi h3 { font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.fasi p { display: none; font-size: 18px; line-height: 1.45; color: var(--testo); }
.fasi svg { flex: none; width: 40px; height: 40px; }
@media (min-width: 900px) {
  .fasi { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--filetto); }
  .fasi li, .fasi li:last-child { flex-direction: column; align-items: flex-start; gap: 16px; border: 0; padding: 32px 24px 8px 0; }
  .fasi p { display: block; }
  .fasi svg { width: 48px; height: 48px; }
  .fasi h3 { font-size: 14px; }
}

/* Citazione */
.citazione { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; max-width: 1000px; }
.citazione blockquote { margin: 0; font-style: italic; font-size: 26px; line-height: 1.4; }
.firma { display: flex; align-items: center; gap: 14px; }
.firma img { width: 70px; height: 48px; object-fit: contain; }
@media (min-width: 900px) { .citazione blockquote { font-size: 36px; line-height: 1.38; } .firma img { width: 86px; height: 60px; } }

/* CTA */
.cta { display: flex; flex-direction: column; gap: 16px; }
.cta .btns { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 900px) {
  .cta { flex-direction: row; align-items: center; gap: 56px; border: 1px solid var(--filetto); padding: 64px; }
  .cta .stack { flex: 2 1 420px; }
  .cta .btns { flex: 1 1 280px; }
}

/* Footer */
.site-footer { background: var(--bordeaux); color: #F3EBDD; }
.site-footer a { color: #F3EBDD; text-decoration: none; }
.site-footer a:hover { color: var(--oro-chiaro); }
.footer-top { display: flex; flex-wrap: wrap; gap: 32px 48px; justify-content: space-between; padding: 48px 0 36px; }
.footer-col { display: flex; flex-direction: column; gap: 6px; font-size: 18px; flex: 1 1 200px; }
.footer-col .label { color: var(--oro-chiaro); margin-bottom: 6px; }
.footer-col:first-child { flex: 2 1 280px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 20px 0 32px; border-top: 1px solid rgba(243,235,221,.2); font-family: var(--sans); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: #D9CBB8; }
.footer-bottom span { display: flex; gap: 24px; }
.site-footer .wordmark .a { color: var(--oro-chiaro); } .site-footer .wordmark .b { color: var(--avorio); }
.site-footer .wordmark { font-size: 20px; }

/* Pagina opere */
.page-head { padding: 36px 0 24px; display: flex; flex-direction: column; gap: 12px; }
.page-head h1 { font-weight: 500; font-size: 52px; line-height: 1; color: var(--bordeaux); }
@media (min-width: 900px) {
  .page-head { padding: 72px 0 40px; flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; }
  .page-head > div { display: flex; flex-direction: column; gap: 14px; }
  .page-head h1 { font-size: 76px; }
  .page-head p.lead { max-width: 48ch; }
}
.filtri-bar { position: sticky; top: 64px; z-index: 20; background: rgba(251,247,241,.97); border-top: 1px solid #E8E1D5; border-bottom: 1px solid #E8E1D5; }
@media (min-width: 900px) { .filtri-bar { top: 86px; } }
.filtri { display: flex; gap: 8px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; scrollbar-width: none; }
.filtri::-webkit-scrollbar { display: none; }
.chip { flex: none; min-height: 44px; padding: 0 16px; display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; border: 1px solid var(--bordo-campo); background: transparent; color: var(--inchiostro); font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.chip:hover { border-color: var(--bordeaux); }
.chip[aria-pressed="true"] { background: var(--bordeaux); color: #fff; border-color: var(--bordeaux); }
.chip small { font-size: inherit; font-weight: 500; opacity: .75; }
.gruppo { padding-top: 32px; display: flex; flex-direction: column; gap: 20px; }
.gruppo-head { display: flex; flex-direction: column; gap: 4px; border-bottom: 1px solid var(--filetto); padding-bottom: 12px; }
.gruppo-head h2 { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-weight: 500; font-size: 32px; color: var(--bordeaux); }
.gruppo-head h2 span { font-family: var(--sans); font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--oro-testo); }
.gruppo-head p { font-size: 17px; font-style: italic; color: var(--testo-2); }
@media (min-width: 900px) {
  .gruppo { padding-top: 64px; gap: 36px; }
  .gruppo-head { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: baseline; }
  .gruppo-head h2 { font-size: 44px; justify-content: flex-start; gap: 16px; }
  .gruppo-head h2 span { font-size: 12px; }
  .gruppo-head p { font-size: 19px; max-width: 52ch; }
}

/* Scheda opera */
.briciole { padding-top: 20px; font-family: var(--sans); font-size: 10px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--testo-2); display: flex; gap: 8px; flex-wrap: wrap; }
.briciole a { color: var(--testo-2); text-decoration: none; }
.briciole [aria-current] { color: var(--bordeaux); font-weight: 600; }
.scheda { display: flex; flex-direction: column; gap: 28px; padding-top: 20px; padding-bottom: 56px; }
.galleria { display: flex; flex-direction: column-reverse; gap: 12px; }
.thumbs { display: flex; gap: 10px; overflow-x: auto; }
.thumb { flex: none; width: 72px; height: 88px; padding: 5px; background: #fff; border: 1px solid #E3DBCD; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.thumb[aria-pressed="true"] { border-color: var(--bordeaux); }
.thumb:hover { border-color: var(--oro); }
.foto-grande { position: relative; aspect-ratio: 5 / 6; background: #fff; display: flex; align-items: center; justify-content: center; padding: 24px; box-shadow: 0 30px 60px -36px rgba(78,14,20,.3); }
.foto-grande button { all: unset; cursor: zoom-in; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.foto-grande img { max-width: 100%; max-height: 100%; object-fit: contain; }
.zoom-hint { position: absolute; left: 14px; bottom: 12px; display: flex; align-items: center; gap: 8px; pointer-events: none; }
.scheda-info { display: flex; flex-direction: column; gap: 20px; }
.scheda-info h1 { font-weight: 500; font-size: 42px; line-height: 1.02; color: var(--bordeaux); }
.box-prezzo { display: flex; flex-direction: column; gap: 12px; padding: 20px 0; border-top: 1px solid var(--filetto); border-bottom: 1px solid var(--filetto); }
.prezzo { font-size: 28px; font-weight: 500; }
.tecnica dl { margin: 0; display: grid; grid-template-columns: 120px minmax(0, 1fr); font-size: 18px; }
.tecnica dt, .tecnica dd { padding: 10px 0; border-bottom: 1px solid #E8E0D2; margin: 0; }
.tecnica dt { color: var(--testo-2); }
.tecnica dd.forte { color: var(--bordeaux); font-weight: 600; }
.prev-next { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #E8E1D5; border-bottom: 1px solid #E8E1D5; background: #fff; }
.prev-next a { display: flex; flex-direction: column; gap: 2px; padding: 16px var(--gutter); min-height: 80px; justify-content: center; text-decoration: none; color: var(--inchiostro); }
.prev-next a:first-child { border-right: 1px solid #E8E1D5; }
.prev-next a:last-child { text-align: right; }
.prev-next a span:last-child { font-size: 20px; }
.prev-next a:hover span:last-child { color: var(--oro-testo); }
.barra-cta { position: sticky; bottom: 0; z-index: 15; background: rgba(251,247,241,.97); border-top: 1px solid #E8E1D5; padding: 10px var(--gutter) 14px; display: flex; gap: 8px; box-shadow: 0 -10px 24px -18px rgba(78,14,20,.35); }
.barra-cta .btn-p { flex: 1; padding: 0 12px; font-size: 11px; letter-spacing: .12em; }
.barra-cta .wa { width: 52px; height: 52px; padding: 0; flex: none; }
.lightbox { position: fixed; inset: 0; z-index: 60; background: rgba(28,14,14,.95); display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox button { position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(251,247,241,.4); background: none; display: flex; align-items: center; justify-content: center; cursor: pointer; }
@media (min-width: 900px) {
  .briciole { padding-top: 28px; font-size: 11px; }
  .scheda { flex-direction: row; align-items: flex-start; gap: 64px; padding-top: 32px; padding-bottom: 96px; }
  .galleria { flex: 1.35 1 560px; min-width: 0; flex-direction: row; gap: 20px; }
  .thumbs { flex-direction: column; overflow: visible; }
  .thumb { width: 84px; height: 104px; }
  .foto-grande-wrap { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
  .foto-grande { padding: 48px; }
  .scheda-info { flex: 1 1 400px; position: sticky; top: 110px; gap: 26px; }
  .scheda-info h1 { font-size: 60px; line-height: 1; }
  .prezzo { font-size: 34px; }
  .tecnica dl { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); font-size: 19px; }
  .barra-cta { position: static; background: none; border: 0; box-shadow: none; padding: 0; flex-direction: column; gap: 10px; }
  .barra-cta .btn-p { flex: none; min-height: 56px; font-size: 12px; letter-spacing: .16em; }
  .barra-cta .wa { width: auto; height: auto; min-height: 52px; padding: 0 20px; }
  .barra-cta .wa .wa-testo { display: inline; }
  .prev-next a { min-height: 96px; }
  .prev-next a span:last-child { font-size: 22px; }
}
.wa-testo { display: none; }
@media (min-width: 900px) { .foto-grande-wrap { display: flex; } }
.foto-grande-wrap { display: flex; flex-direction: column; gap: 10px; }

/* Progetto */
.split { display: flex; flex-direction: column; gap: 28px; }
.split > * { min-width: 0; }
@media (min-width: 900px) {
  .split { flex-direction: row; align-items: center; gap: 64px; }
  .split > .grande { flex: 1.35 1 540px; }
  .split > .piccolo { flex: 1 1 380px; }
  .split.top { align-items: flex-start; }
}
.lastra { box-shadow: 0 24px 50px -28px rgba(42,31,31,.5); }
@media (min-width: 900px) { .lastra { transform: rotate(-1.2deg); } }
.titolo-marchio { font-family: var(--sans); font-weight: 700; font-size: 44px; line-height: .98; letter-spacing: .02em; color: var(--bordeaux); }
@media (min-width: 900px) { .titolo-marchio { font-size: 64px; } }
.pixel3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pixel3 div { display: flex; flex-direction: column; gap: 8px; align-items: center; text-align: center; }
.dett2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dett2 figure { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.dett2 figure:last-child { margin-top: 40px; }
.dett2 .box-cover { aspect-ratio: 3 / 5; }
.video-box { position: relative; aspect-ratio: 16 / 9; background: var(--inchiostro); overflow: hidden; }
.video-box video { width: 100%; height: 100%; object-fit: cover; }
.video-box.verticale { aspect-ratio: 9 / 16; }
.video-coppia { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 760px; }
.video-coppia figure { margin: 0; display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 900px) { .video-coppia { gap: 32px; } }
.video-box button { position: absolute; right: 12px; bottom: 12px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(251,247,241,.9); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.fasi-foto { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 26px; }
.fasi-foto li { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; align-items: start; }
.foto-fase { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.foto-ritratto { display: block; width: 100%; max-width: 420px; height: auto; background: #fff; }
.fasi-foto h3 { font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.fasi-foto p { font-size: 17px; line-height: 1.45; color: var(--testo); }
.fasi-foto .num { font-family: var(--sans); font-size: 10px; font-weight: 600; letter-spacing: .16em; color: var(--oro-testo); }
.fasi-foto .txt { display: flex; flex-direction: column; gap: 6px; }
@media (min-width: 900px) {
  .fasi-foto { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
  .fasi-foto li { display: flex; flex-direction: column; gap: 16px; }
  .fasi-foto h3 { font-size: 14px; }
  .fasi-foto p { font-size: 18px; }
}

/* Artista */
.dichiarazione blockquote { margin: 0; font-style: italic; font-size: 25px; line-height: 1.42; color: var(--avorio); }
.dichiarazione blockquote span { color: var(--oro-chiaro); }
@media (min-width: 900px) { .dichiarazione blockquote { font-size: 34px; } }
.mostre { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--filetto); }
.mostre li { padding: 20px 0; border-bottom: 1px solid var(--filetto); }
.mostre .vuota, .mostre .voce { display: flex; flex-direction: column; gap: 4px; }
.mostre .vuota { color: #A39787; }
.mostre .voce { color: var(--inchiostro); }
@media (min-width: 900px) { .mostre .vuota, .mostre .voce { display: grid; grid-template-columns: 160px minmax(0,1fr) 220px; gap: 24px; align-items: baseline; } .mostre .vuota span:last-child, .mostre .voce span:last-child { text-align: right; } }

/* Contatti */
.contatti { display: flex; flex-direction: column; gap: 32px; padding-top: 32px; padding-bottom: 64px; }
.contatti-dir { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.contatti-dir a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 72px; border: 1px solid var(--bordeaux); color: var(--bordeaux); text-decoration: none; font-family: var(--sans); font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.contatti-dir a:first-child { background: var(--bordeaux); color: #fff; }
.lista-contatti { display: none; }
.modulo { background: #fff; border: 1px solid #EFE8DC; padding: 28px 16px 32px; margin: 0 calc(var(--gutter) * -1); }
.modulo form { display: flex; flex-direction: column; gap: 20px; }
.campi2 { display: grid; grid-template-columns: 1fr; gap: 20px; }
.campo { display: flex; flex-direction: column; gap: 6px; }
.campo label, .modulo legend { font-family: var(--sans); font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.campo label small { font-weight: 500; color: var(--testo-2); text-transform: none; letter-spacing: .02em; font-size: 11px; }
.fld { height: 52px; padding: 0 14px; font-family: var(--serif); font-size: 19px; color: var(--inchiostro); background: #fff; border: 1px solid var(--bordo-campo); border-radius: 0; width: 100%; transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none; }
textarea.fld { height: auto; padding: 12px 14px; line-height: 1.5; resize: vertical; }
select.fld { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%234E0E14' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.fld:hover { border-color: #8F8273; }
.fld:focus { outline: none; border-color: var(--bordeaux); box-shadow: 0 0 0 3px rgba(176,130,38,.3); }
.fld[aria-invalid="true"] { border-color: var(--errore); }
.err { font-size: 16px; color: var(--errore); display: none; }
.err.on { display: block; }
.alert { display: none; gap: 12px; align-items: flex-start; padding: 14px; background: #FBEDEC; border: 1px solid #E5B9B5; color: #7A1F1F; font-size: 17px; }
.alert.on { display: flex; }
.modulo fieldset { margin: 0; padding: 0; border: 0; }
.modulo legend { padding: 0 0 8px; }
.pills { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pill { min-height: 46px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--bordo-campo); background: #fff; color: var(--inchiostro); font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.pill:hover { border-color: var(--bordeaux); }
.pill[aria-pressed="true"] { background: var(--bordeaux); border-color: var(--bordeaux); color: #fff; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; line-height: 1.45; color: var(--testo); cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 3px 0 0; accent-color: var(--bordeaux); flex: none; }
.invio-row { display: flex; flex-direction: column-reverse; gap: 12px; }
.inviato { display: none; flex-direction: column; gap: 18px; padding: 16px 0; }
.inviato.on { display: flex; }
.hp { position: absolute; left: -9999px; }
@media (min-width: 900px) {
  .contatti { flex-direction: row; align-items: flex-start; gap: 80px; padding-top: 72px; padding-bottom: 120px; }
  .contatti > .stack { flex: 1 1 340px; }
  .contatti-dir { display: none; }
  .lista-contatti { display: flex; flex-direction: column; border-top: 1px solid var(--filetto); }
  .lista-contatti a { display: flex; align-items: center; gap: 16px; min-height: 68px; border-bottom: 1px solid var(--filetto); text-decoration: none; color: var(--inchiostro); }
  .lista-contatti a:hover { color: var(--oro-testo); }
  .lista-contatti a span { display: flex; flex-direction: column; font-size: 20px; }
  .modulo { flex: 1.5 1 520px; margin: 0; padding: 48px; box-shadow: 0 30px 60px -40px rgba(78,14,20,.3); }
  .campi2 { grid-template-columns: 1fr 1fr; gap: 22px; }
  .campo label, .modulo legend { font-size: 11px; }
  .fld { font-size: 20px; padding: 0 16px; }
  .pills { display: flex; flex-wrap: wrap; gap: 10px; }
  .invio-row { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* Comparsa allo scorrimento */
.appare { opacity: 0; transform: translateY(16px); transition: opacity .4s ease, transform .4s ease; }
.appare.visto { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .appare { opacity: 1; transform: none; transition: none; } }

/* Biografia modificabile dalla pagina L'artista */
.bio { display: flex; flex-direction: column; gap: 22px; }
.bio p { font-size: 21px; line-height: 1.5; color: var(--testo); }
.bio p:first-child { font-size: clamp(24px, 2.4vw, 28px); line-height: 1.38; color: var(--inchiostro); }
@media (min-width: 900px) { .bio p { font-size: 22px; } }

/* Pagine di testo (privacy, cookie) */
.testo-pagina { max-width: 760px; padding-top: 48px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 18px; }
.testo-pagina h1 { font-weight: 500; font-size: clamp(40px, 5vw, 56px); line-height: 1.05; color: var(--bordeaux); }
.testo-pagina h2 { font-weight: 500; font-size: 30px; color: var(--bordeaux); margin-top: 18px; }
.testo-pagina p, .testo-pagina li { font-size: 19px; line-height: 1.55; color: var(--testo); }
.esito { padding: 14px 18px; border: 1px solid var(--errore); color: var(--errore); background: #FFF6F5; font-size: 18px; }
.gruppo[hidden] { display: none; }

/* Avviso cookie */
.banner-cookie { position: fixed; z-index: 60; left: 12px; right: 12px; bottom: 12px; background: var(--inchiostro); color: #EFE6D8; padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 16px 40px -12px rgba(0,0,0,.5); }
.banner-cookie[hidden] { display: none; }
.banner-cookie p { font-size: 17px; line-height: 1.45; }
.banner-cookie a { color: var(--oro-chiaro); }
.banner-cookie .btn { min-height: 46px; background: var(--oro-chiaro); border-color: var(--oro-chiaro); color: var(--inchiostro); align-self: flex-start; }
.banner-cookie .btn:hover { background: #fff; border-color: #fff; color: var(--inchiostro); }
.con-barra .banner-cookie { bottom: 84px; }
@media (min-width: 900px) {
  .banner-cookie { left: auto; right: 24px; bottom: 24px; max-width: 520px; flex-direction: row; align-items: center; gap: 20px; padding: 18px 22px; }
  .banner-cookie .btn { flex: none; align-self: center; }
  .con-barra .banner-cookie { bottom: 24px; }
}
