/* ============================================================
   Vini Paolazzi — proposte grafiche
   temi.css : palette colori + abbinamenti tipografici
   Selezionabili dal pannello; valgono per tutte e 3 le versioni.
   Stessa struttura di token dello scaffold condiviso.
   ============================================================ */

/* ---------------- PALETTE ---------------- */

/* 1 · Calce e porfido — chiara, calda: intonaco, pietra rossa della valle */
html[data-pal="1"] {
  color-scheme: light;
  --bg: #f6f2ea;
  --bg-alt: #ede6d8;
  --surface: #fdfaf4;
  --ink: #26201a;
  --ink-soft: #55483c;
  --line: #ded3c0;
  --accent: #a04a38;
  --accent-ink: #83392b;
  --accent-soft: #d29a83;
  --on-accent: #ffffff;
  --motto: #83392b;
  --band-bg: #26201a;
  --band-ink: #efe6d5;
  --foot-bg: #1e1813;
  --foot-ink: #cfc1ad;
  --hero-veil: linear-gradient(180deg, rgba(25,18,13,.16) 0%, rgba(25,18,13,.32) 45%, rgba(25,18,13,.76) 100%);
}

/* 2 · Cantina e rame — scura, calda: volta della cantina, rame e legno */
html[data-pal="2"] {
  color-scheme: dark;
  --bg: #1d1614;
  --bg-alt: #261d1a;
  --surface: #261d1a;
  --ink: #f0e4d4;
  --ink-soft: #b3a28d;
  --line: rgba(240,228,212,.16);
  --accent: #c08a54;
  --accent-ink: #d9a76c;
  --accent-soft: #e3bd8e;
  --on-accent: #1d1614;
  --motto: #e3bd8e;
  --band-bg: #261d1a;
  --band-ink: #f0e4d4;
  --foot-bg: #140e0c;
  --foot-ink: #e6d9c6;
  --hero-veil: linear-gradient(180deg, rgba(12,8,6,.28) 0%, rgba(12,8,6,.45) 45%, rgba(12,8,6,.86) 100%);
}

/* 3 · Pietra e vigna — chiara, fredda: muretti a secco e filari */
html[data-pal="3"] {
  color-scheme: light;
  --bg: #f5f5f1;
  --bg-alt: #eaeae2;
  --surface: #ffffff;
  --ink: #232620;
  --ink-soft: #5f6558;
  --line: rgba(35,38,32,.14);
  --accent: #56704e;
  --accent-ink: #445c40;
  --accent-soft: #90a586;
  --on-accent: #f6f8f4;
  --motto: #445c40;
  --band-bg: #232620;
  --band-ink: #e7e9e2;
  --foot-bg: #232620;
  --foot-ink: #e7e9e2;
  --hero-veil: linear-gradient(180deg, rgba(18,20,16,.14) 0%, rgba(18,20,16,.3) 45%, rgba(18,20,16,.72) 100%);
}

/* 4 · Terra e vinaccia — chiara, materica: terra smossa e vino rosso */
html[data-pal="4"] {
  color-scheme: light;
  --bg: #f7f2ee;
  --bg-alt: #ece0d8;
  --surface: #fffbf6;
  --ink: #2c2321;
  --ink-soft: #6d5c56;
  --line: rgba(44,35,33,.15);
  --accent: #8d3b4b;
  --accent-ink: #762e3d;
  --accent-soft: #c08292;
  --on-accent: #fdf4f4;
  --motto: #762e3d;
  --band-bg: #2c2321;
  --band-ink: #f0e4dc;
  --foot-bg: #2c2321;
  --foot-ink: #f0e4dc;
  --hero-veil: linear-gradient(180deg, rgba(26,17,16,.16) 0%, rgba(26,17,16,.34) 45%, rgba(26,17,16,.78) 100%);
}

/* 5 · Notte e paglierino — scura, fredda: sera in vigna, spumante */
html[data-pal="5"] {
  color-scheme: dark;
  --bg: #16181b;
  --bg-alt: #1e2125;
  --surface: #1e2125;
  --ink: #eceae5;
  --ink-soft: #a3a49f;
  --line: rgba(236,234,229,.16);
  --accent: #c5b384;
  --accent-ink: #d4c49a;
  --accent-soft: #e0d4b4;
  --on-accent: #16181b;
  --motto: #d4c49a;
  --band-bg: #1e2125;
  --band-ink: #eceae5;
  --foot-bg: #0f1113;
  --foot-ink: #e4e2dd;
  --hero-veil: linear-gradient(180deg, rgba(8,9,10,.3) 0%, rgba(8,9,10,.48) 45%, rgba(8,9,10,.88) 100%);
}

/* ---------------- ABBINAMENTI TIPOGRAFICI ---------------- */

/* 1 · Fraunces + Inter — calda e concreta */
html[data-font="1"] {
  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --text: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display-w: 500;
  --display-ls: -0.012em;
}

/* 2 · Playfair Display + Work Sans — classica, da etichetta */
html[data-font="2"] {
  --display: 'Playfair Display', Georgia, serif;
  --text: 'Work Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display-w: 500;
  --display-ls: -0.005em;
}

/* 3 · Space Grotesk + Inter — contemporanea */
html[data-font="3"] {
  --display: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --text: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display-w: 500;
  --display-ls: -0.028em;
}

/* 4 · Cormorant Garamond + Lato — sobria, di montagna */
html[data-font="4"] {
  --display: 'Cormorant Garamond', Georgia, serif;
  --text: 'Lato', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display-w: 600;
  --display-ls: 0em;
}
/* il Cormorant ha un'asta molto sottile: alza il corpo dei titoli */
html[data-font="4"] h1 { font-size: clamp(2.7rem, 6.4vw, 4.9rem); }
html[data-font="4"] h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
html[data-font="4"] blockquote { font-size: clamp(1.6rem, 3.4vw, 2.6rem); }
