/*
  Tramonto — design token
  Valori dalla guida "Tramonto-Brand-Guide.pdf" (v1.0, dicembre 2026), pagine 2–4.
  Se arriva il file ufficiale brand-tokens.css del kit, sostituisce questo.
*/

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-latin.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: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Palette */
  --color-ivory: #f7f2e9;      /* Avorio — sfondo */
  --color-ink: #2a211e;        /* Inchiostro — testi (14,11:1 su avorio) */
  --color-orange: #e87942;     /* Arancio — marchio e decorazioni */
  --color-amber: #f3b36b;      /* Ambra — accenti */
  --color-terracotta: #bf4d29; /* Terracotta — CTA (bianco: 4,87:1) */
  --color-link: #b94b28;       /* Link e hover */
  --color-stone: #75685f;      /* Pietra — testi secondari (4,83:1 su avorio) */
  --color-sand: #eee5d9;       /* Sabbia — superfici */
  --color-stone-on-sand: #6b5f57; /* pietra scurita per restare ≥ 4,5:1 sulla sabbia */
  --color-on-cta: #ffffff;
  --color-line: #e3d8c9;       /* bordi discreti */

  /* Tipografia */
  --font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --weight-regular: 400;
  --weight-strong: 650;
  --tracking-display: -0.05em;
  --text-body: 1.125rem;       /* 18 px */
  --leading-body: 1.6;

  /* Forme */
  --radius-pill: 999px;
  --radius-window: 18px;
  --radius-control: 14px;
  --shadow-soft: 0 1px 2px rgb(42 33 30 / 0.06), 0 12px 32px rgb(42 33 30 / 0.08);
  --shadow-window: 0 2px 4px rgb(42 33 30 / 0.05), 0 24px 60px rgb(42 33 30 / 0.14);

  /* Layout */
  --content-width: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);

  /* Movimento: transizioni lente (guida, "Regole visive") */
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --duration-light: 1.2s;
}
