/* ==========================================================================
   Scenadinamica — Associazione culturale, Pescara
   Foglio di stile unico. Nessun framework, nessuna richiesta a terzi.
   ========================================================================== */

/* Font self-hosted (variabili, subset latin) — zero richieste a terzi: niente cookie banner */
@font-face{
  font-family:'Cormorant Garamond';
  font-style:normal; font-weight:300 700; font-display:swap;
  src:url('../fonts/cormorant-garamond.woff2') format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face{
  font-family:'Inter';
  font-style:normal; font-weight:100 900; font-display:swap;
  src:url('../fonts/inter.woff2') format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* --------------------------------------------------------------------------
   1. Design token
   -------------------------------------------------------------------------- */
:root {
  /* palette — nero di sala (60) / avorio (30) / ruggine del marchio (10) */
  --bg:            #0C0A0B;
  --bg-alt:        #121011;
  --bg-elev:       #191515;
  --velvet:        #2A1013;

  --rust:          #C24E2B;   /* azioni: bottoni */
  --rust-dark:     #9A3B1E;
  --rust-bright:   #E0764B;   /* testo/link su fondo scuro */
  --rust-soft:     rgba(194, 78, 43, .14);

  --ink:           #F5F0EA;
  --text:          #CFC7BF;
  --muted:         #948A83;
  --line:          rgba(245, 240, 234, .10);
  --line-strong:   rgba(245, 240, 234, .20);

  /* tipografia */
  --font-display: 'Cormorant Garamond', 'Iowan Old Style', Georgia, serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* sistema */
  --container: 1220px;
  --nav-h: 78px;
  --radius: 4px;
  --radius-lg: 10px;
  --shadow-md: 0 18px 40px rgba(0, 0, 0, .45);
  --shadow-lg: 0 34px 80px rgba(0, 0, 0, .6);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* --------------------------------------------------------------------------
   2. Reset e base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }

a { color: var(--rust-bright); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--ink); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 .5em;
  letter-spacing: -.012em;
}

h1 { font-size: clamp(2.5rem, 5.4vw, 4.5rem); line-height: 1.05; }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); line-height: 1.1; }
h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.22; }
h4 { font-size: 1.05rem; line-height: 1.3; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 1.2em; padding-left: 1.15em; }
li { margin-bottom: .4em; }

strong { color: var(--ink); font-weight: 600; }

::selection { background: var(--rust); color: #fff; }

:focus-visible {
  outline: 2px solid var(--rust-bright);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--rust); color: #fff; padding: .8rem 1.2rem; font-weight: 600;
}
.skip-link:focus { left: 0; color: #fff; }

/* --------------------------------------------------------------------------
   3. Layout
   -------------------------------------------------------------------------- */
.container {
  width: min(100% - 2.6rem, var(--container));
  margin-inline: auto;
}

.section { padding: clamp(4.5rem, 9vw, 8rem) 0; position: relative; }
.section-alt { background: var(--bg-alt); }
.section-tight { padding-block: clamp(3rem, 5vw, 4.5rem); }

.section-head { max-width: 640px; margin-bottom: clamp(2.5rem, 4vw, 3.8rem); }
.section-head.is-center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.06rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .7rem;
  font-family: var(--font-body);
  font-size: .74rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--rust-bright);
  margin: 0 0 1.1rem;
}
.eyebrow::before {
  content: ""; width: 34px; height: 1px; background: var(--rust);
  display: inline-block; flex: none;
}
.is-center .eyebrow { justify-content: center; }

.lead {
  font-size: clamp(1.08rem, 1.5vw, 1.28rem);
  line-height: 1.62;
  color: var(--text);
}

/* --------------------------------------------------------------------------
   4. Bottoni
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.9rem;
  font-family: var(--font-body);
  font-size: .93rem; font-weight: 600; letter-spacing: .04em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--rust); color: #fff; }
.btn-primary:hover { background: var(--rust-dark); color: #fff; }

.btn-outline { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--rust-bright); color: var(--rust-bright); }

.btn-ghost { padding: 0; color: var(--rust-bright); font-weight: 600; font-size: .93rem; letter-spacing: .04em; }
.btn-ghost::after { content: "→"; transition: transform .25s var(--ease); display: inline-block; }
.btn-ghost:hover::after { transform: translateX(5px); }

.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; }
.btn-note { margin-top: 1rem; font-size: .84rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   5. Header
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: linear-gradient(to bottom, rgba(12, 10, 11, .82), rgba(12, 10, 11, 0));
  transition: background .3s var(--ease), border-color .3s var(--ease), height .3s var(--ease);
  border-bottom: 1px solid transparent;
}
/* NB: niente backdrop-filter qui — creerebbe un containing block e il menu
   mobile in position:fixed verrebbe ritagliato all'altezza dell'header. */
.site-header.scrolled {
  background: var(--bg);
  border-bottom-color: var(--line);
}

.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.nav-brand { display: block; line-height: 0; }
.nav-brand img { width: 168px; height: auto; }

.nav-links {
  display: flex; align-items: center; gap: 2rem;
  list-style: none; margin: 0; padding: 0;
}
.nav-links li { margin: 0; }
.nav-links a {
  color: var(--text);
  font-size: .86rem; font-weight: 500; letter-spacing: .09em; text-transform: uppercase;
  position: relative; padding-block: .4rem;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: var(--rust-bright);
  transition: width .3s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { width: 100%; }
.nav-links a[aria-current="page"] { color: var(--ink); }

.nav-links .nav-cta { text-transform: none; letter-spacing: .04em; font-size: .9rem; color: #fff; }
.nav-links .nav-cta::after { display: none; }
.nav-links .nav-cta:hover { color: #fff; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px; padding: 0;
  background: none; border: 0; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: flex-end; gap: 6px;
}
.nav-toggle span {
  display: block; width: 26px; height: 1.5px; background: var(--ink);
  transition: transform .3s var(--ease), opacity .2s var(--ease), width .3s var(--ease);
}
.nav-toggle span:nth-child(2) { width: 18px; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); width: 26px; }

/* --------------------------------------------------------------------------
   6. Hero home — split asimmetrico
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(3rem, 7vw, 6rem));
  padding-bottom: clamp(3.5rem, 7vw, 6.5rem);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; top: -30%; right: -10%;
  width: 60vw; height: 60vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(circle, rgba(194, 78, 43, .16), transparent 62%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center;
}
.hero-copy h1 { margin-bottom: .34em; }
.hero-copy h1 em {
  font-style: italic;
  color: var(--rust-bright);
}
.hero-copy .lead { max-width: 34em; color: var(--text); }
.hero-cta { margin-top: 2.2rem; }

.hero-media { position: relative; }
.hero-media img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 22%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(200deg, rgba(12, 10, 11, 0) 45%, rgba(12, 10, 11, .55));
  pointer-events: none;
}
.hero-caption {
  position: absolute; left: 0; bottom: 0; z-index: 2;
  transform: translate(-14%, 26%);
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-left: 2px solid var(--rust);
  padding: 1.15rem 1.5rem;
  max-width: 268px;
  box-shadow: var(--shadow-md);
}
.hero-caption strong { display: block; font-family: var(--font-display); font-size: 1.9rem; line-height: 1; color: var(--ink); }
.hero-caption span { display: block; margin-top: .35rem; font-size: .82rem; color: var(--muted); line-height: 1.45; }

/* --------------------------------------------------------------------------
   7. Hero pagine interne
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(3.5rem, 7vw, 6rem));
  padding-bottom: clamp(3rem, 5vw, 4.5rem);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; top: -40%; left: 50%; transform: translateX(-50%);
  width: 120vw; height: 90vw; max-height: 760px;
  background: radial-gradient(ellipse at center, rgba(194, 78, 43, .13), transparent 60%);
  pointer-events: none;
}
.page-hero .container { position: relative; }
.page-hero h1 { max-width: 15ch; }
.page-hero .lead { max-width: 60ch; margin-top: 1.2rem; color: var(--muted); }

.breadcrumb { font-size: .8rem; color: var(--muted); margin-bottom: 1.6rem; letter-spacing: .04em; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; }
.breadcrumb li { margin: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: .5rem; color: var(--line-strong); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--rust-bright); }

/* --------------------------------------------------------------------------
   8. Fascia numeri
   -------------------------------------------------------------------------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.stat { padding: clamp(1.8rem, 3vw, 2.6rem) 1.5rem; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat-num {
  display: block;
  font-family: var(--font-display); font-size: clamp(2.2rem, 3.6vw, 3.1rem);
  line-height: 1; color: var(--ink);
}
.stat-label { display: block; margin-top: .55rem; font-size: .82rem; color: var(--muted); line-height: 1.45; }

/* --------------------------------------------------------------------------
   9. Card
   -------------------------------------------------------------------------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }

.card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.7rem, 2.6vw, 2.3rem);
  transition: border-color .3s var(--ease), transform .3s var(--ease), background .3s var(--ease);
}
.card:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.card h3 { margin-bottom: .55rem; }
.card p { color: var(--muted); font-size: .98rem; }
.card p:last-of-type { margin-bottom: 0; }
.card .btn-ghost { margin-top: 1.3rem; }

.card-icon {
  width: 46px; height: 46px; margin-bottom: 1.4rem;
  display: grid; place-items: center;
  border: 1px solid var(--rust-soft);
  background: var(--rust-soft);
  border-radius: 50%;
  color: var(--rust-bright);
}
.card-icon svg { width: 21px; height: 21px; }

.card-num {
  display: block;
  font-family: var(--font-display); font-size: 1.05rem; letter-spacing: .1em;
  color: var(--rust-bright); margin-bottom: 1rem;
}

/* card con immagine */
.card-media { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card-media img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; transition: transform .6s var(--ease); }
.card-media:hover img { transform: scale(1.05); }
.card-media .card-body { padding: clamp(1.5rem, 2.2vw, 2rem); flex: 1; display: flex; flex-direction: column; }
.card-media .card-body .btn-ghost { margin-top: auto; padding-top: 1.3rem; }
.card-meta { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .7rem; }

/* --------------------------------------------------------------------------
   10. Split immagine + testo
   -------------------------------------------------------------------------- */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center;
}
.split-media img {
  width: 100%; aspect-ratio: 5 / 4; object-fit: cover;
  border-radius: var(--radius-lg);
}
.split.is-reverse .split-media { order: 2; }
.split-body h2 { margin-bottom: .6em; }
.split-body .btn-row { margin-top: 2rem; }

.figure-quote {
  margin: 1.8rem 0 0; padding-left: 1.4rem;
  border-left: 2px solid var(--rust);
  font-family: var(--font-display); font-size: 1.35rem; line-height: 1.45;
  color: var(--ink); font-style: italic;
}
.figure-quote cite { display: block; margin-top: .7rem; font: 500 .8rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-style: normal; }

/* elenco con segno di spunta */
.list-check { list-style: none; padding: 0; margin: 1.6rem 0 0; }
.list-check li {
  position: relative; padding-left: 1.9rem; margin-bottom: .85rem;
  color: var(--text); font-size: 1rem;
}
.list-check li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 10px; height: 1px; background: var(--rust);
}

/* --------------------------------------------------------------------------
   11. Cronologia
   -------------------------------------------------------------------------- */
.timeline { position: relative; margin-top: 1rem; padding-left: 2.2rem; }
.timeline::before {
  content: ""; position: absolute; left: 5px; top: .8rem; bottom: .8rem;
  width: 1px; background: linear-gradient(to bottom, var(--rust), var(--line) 70%, transparent);
}
.timeline-item { position: relative; padding-bottom: 2.4rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ""; position: absolute; left: -2.2rem; top: .5rem;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--bg); border: 1.5px solid var(--rust);
}
.timeline-year {
  display: block; font-family: var(--font-body); font-size: .78rem; font-weight: 600;
  letter-spacing: .16em; color: var(--rust-bright); margin-bottom: .4rem;
}
.timeline-item h3 { font-size: 1.35rem; margin-bottom: .35rem; }
.timeline-item p { color: var(--muted); font-size: .98rem; margin: 0; }

/* --------------------------------------------------------------------------
   12. Galleria
   -------------------------------------------------------------------------- */
.gallery {
  columns: 3; column-gap: 1.1rem;
}
.gallery-item {
  display: block; width: 100%; margin: 0 0 1.1rem; padding: 0;
  break-inside: avoid;
  background: none; border: 0; cursor: zoom-in;
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  line-height: 0;
}
.gallery-item img { width: 100%; transition: transform .7s var(--ease), opacity .4s var(--ease); }
.gallery-item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(12, 10, 11, .55), transparent 55%);
  opacity: 0; transition: opacity .35s var(--ease);
}
.gallery-item:hover img { transform: scale(1.045); }
.gallery-item:hover::after { opacity: 1; }
.gallery-cap {
  position: absolute; left: 1rem; right: 1rem; bottom: .9rem; z-index: 2;
  font: 500 .82rem/1.35 var(--font-body); color: var(--ink); text-align: left;
  opacity: 0; transform: translateY(6px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.gallery-item:hover .gallery-cap { opacity: 1; transform: translateY(0); }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: none; align-items: center; justify-content: center;
  background: rgba(6, 5, 5, .95);
  padding: clamp(1rem, 4vw, 3rem);
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(1100px, 92vw); max-height: 82vh; border-radius: var(--radius); }
.lightbox-cap {
  position: absolute; left: 0; right: 0; bottom: clamp(1rem, 3vw, 2rem);
  text-align: center; color: var(--muted); font-size: .88rem; padding-inline: 1rem;
}
.lightbox-btn {
  position: absolute; background: none; border: 1px solid var(--line-strong);
  color: var(--ink); width: 46px; height: 46px; border-radius: 50%;
  font-size: 1.3rem; line-height: 1; cursor: pointer;
  display: grid; place-items: center;
  transition: border-color .25s var(--ease), color .25s var(--ease);
}
.lightbox-btn:hover { border-color: var(--rust-bright); color: var(--rust-bright); }
.lightbox-close { top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem); }
.lightbox-prev { left: clamp(.6rem, 3vw, 2rem); top: 50%; transform: translateY(-50%); }
.lightbox-next { right: clamp(.6rem, 3vw, 2rem); top: 50%; transform: translateY(-50%); }

/* --------------------------------------------------------------------------
   13. Banda CTA con immagine
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
  background: var(--bg-alt);
  overflow: hidden;
  text-align: center;
}
.cta-band-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; opacity: .3;
}
.cta-band::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to right, var(--bg) 2%, rgba(12, 10, 11, .72) 45%, var(--bg) 98%);
}
.cta-band .container { position: relative; z-index: 2; }
.cta-band h2 { max-width: 20ch; margin-inline: auto; }
.cta-band p { max-width: 54ch; margin-inline: auto; color: var(--text); }
.cta-band .btn-row { justify-content: center; margin-top: 2.2rem; }

/* --------------------------------------------------------------------------
   14. Patrocini — fascia chiara: gli stemmi istituzionali vanno mostrati
   nei loro colori originali, mai ricolorati (servono anche per i bandi).
   -------------------------------------------------------------------------- */
.patrons-band {
  background: var(--ink);
  color: #2A2320;
  padding: clamp(3rem, 5vw, 4.4rem) 0;
  text-align: center;
}
.patrons-band .eyebrow { color: var(--rust-dark); }
.patrons-band .eyebrow::before { background: var(--rust-dark); }
.patrons-band h2 { color: #17120F; font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: .3em; }
.patrons-band .patrons-intro { color: #5E5550; font-size: .98rem; max-width: 60ch; margin: 0 auto 2.4rem; }

.patrons {
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: center;
  gap: clamp(1rem, 2.4vw, 2rem);
}
.patron {
  display: grid; place-items: center;
  height: 120px; min-width: 110px;
  padding: .7rem 1.1rem;
  background: #fff;
  border: 1px solid rgba(23, 18, 15, .12);
  border-radius: 6px;
}
.patron img { height: 100%; width: auto; max-height: 98px; }

.patrons-note {
  margin-top: 2.2rem;
  font-size: .84rem; line-height: 1.6;
  color: #6B625C;
  max-width: 66ch; margin-inline: auto;
}
.patrons-note a { color: var(--rust-dark); }

@media (max-width: 640px) {
  .patron { height: 92px; min-width: 84px; padding: .5rem .75rem; }
  .patron img { max-height: 74px; }
}

/* --------------------------------------------------------------------------
   15. Contatti e form
   -------------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: start; }

.contact-block { margin-bottom: 2.4rem; }
.contact-block:last-child { margin-bottom: 0; }
.contact-block h3 { font-size: 1.15rem; margin-bottom: .6rem; }
.contact-block p, .contact-block li { color: var(--muted); font-size: .98rem; }
.contact-block ul { list-style: none; padding: 0; margin: 0; }
.contact-block li { margin-bottom: .5rem; }
.contact-block .ref-name { color: var(--muted); }
.contact-block a { color: var(--text); }
.contact-block a:hover { color: var(--rust-bright); }

.form { background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.7rem, 3vw, 2.6rem); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .5rem; }
.field input, .field textarea, .field select {
  width: 100%; padding: .85rem 1rem;
  background: var(--bg); color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  font-family: var(--font-body); font-size: 1rem;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.field textarea { min-height: 148px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--rust-bright); }
.field input::placeholder, .field textarea::placeholder { color: #6E6560; }

.field-check { display: flex; align-items: flex-start; gap: .7rem; margin-bottom: 1.4rem; }
.field-check input { width: 17px; height: 17px; margin-top: .22rem; flex: none; accent-color: var(--rust); }
.field-check label { text-transform: none; letter-spacing: 0; font-size: .88rem; font-weight: 400; color: var(--muted); margin: 0; line-height: 1.5; }

.form-status { margin-top: 1rem; font-size: .9rem; color: var(--rust-bright); min-height: 1.2em; }

/* --------------------------------------------------------------------------
   16. Articoli
   -------------------------------------------------------------------------- */
.article { max-width: 720px; margin-inline: auto; }
.article h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-top: 2.6rem; }
.article h3 { font-size: 1.3rem; margin-top: 1.9rem; }
.article p, .article li { font-size: 1.06rem; }
.article ul { padding-left: 1.2rem; }
.article .article-meta { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.6rem; }
.article-lede { font-size: 1.16rem; line-height: 1.65; color: var(--ink); padding-left: 1.3rem; border-left: 2px solid var(--rust); }
.article-cta { margin-top: 3rem; padding: 2rem; background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.article-cta h3 { margin-top: 0; }

.faq-item { border-top: 1px solid var(--line); padding: 1.4rem 0; }
.faq-item h3 { margin: 0 0 .5rem; font-size: 1.15rem; }
.faq-item p { margin: 0; color: var(--muted); }

/* --------------------------------------------------------------------------
   17. Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding-top: clamp(3.5rem, 6vw, 5rem); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-col h4 { font-family: var(--font-body); font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.2rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: .6rem; font-size: .95rem; color: var(--muted); }
.footer-col a { color: var(--text); font-size: .95rem; }
.footer-col a:hover { color: var(--rust-bright); }
.footer-col p { color: var(--muted); font-size: .95rem; }
.footer-logo { width: 190px; margin-bottom: 1.3rem; }

.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.6rem 0; border-top: 1px solid var(--line);
  font-size: .84rem; color: var(--muted);
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--rust-bright); }
.footer-credit a { color: var(--text); }

/* --------------------------------------------------------------------------
   18. Reveal
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .09s; }
.reveal-d2 { transition-delay: .18s; }
.reveal-d3 { transition-delay: .27s; }

/* --------------------------------------------------------------------------
   19. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-media { max-width: 520px; }
  .hero-caption { transform: translate(0, 26%); left: auto; right: 0; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.2rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .gallery { columns: 2; }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; top: 0; right: 0; bottom: 0; left: auto;
    width: min(88vw, 380px); height: 100vh; overflow-y: auto;
    flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 1.6rem; padding: 2rem 2.4rem;
    background: var(--bg-alt); border-left: 1px solid var(--line);
    transform: translateX(101%); transition: transform .4s var(--ease);
    box-shadow: var(--shadow-lg);
  }
  .nav-links.is-open { transform: none; }
  .nav-links a { font-size: 1.05rem; letter-spacing: .06em; }
  .nav-links .nav-cta { margin-top: .6rem; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .split { grid-template-columns: 1fr; }
  .split.is-reverse .split-media { order: 0; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; text-align: left; }
  .hero-caption { position: static; transform: none; max-width: none; margin-top: 1.2rem; }
  .gallery { columns: 1; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-ghost { width: auto; }
}

@media (max-width: 480px) {
  .nav-brand img { width: 140px; }
  .patrons { gap: 2.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .nav-toggle, .cta-band, .lightbox { display: none !important; }
  body { background: #fff; color: #000; }
}
