/*
 * Drycastle — design tokens.
 * Unica fonte di colori, font e misure: tutto il resto del CSS usa queste variabili.
 * Le stesse variabili sono replicate nel design system di Elementor V4 (vedi README).
 */

@font-face {
	font-family: "Anton";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/Anton-normal-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: "Anton";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/Anton-normal-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Instrument Serif";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/InstrumentSerif-normal-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: "Instrument Serif";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/InstrumentSerif-normal-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Instrument Serif";
	font-style: italic;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/InstrumentSerif-italic-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: "Instrument Serif";
	font-style: italic;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/InstrumentSerif-italic-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("../fonts/Inter-normal-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: "Inter";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("../fonts/Inter-normal-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
	/* Colori */
	/* Carta ocra: i grigi hanno la stessa dominante calda (provata la carta bianca il 22/10/2026, scartata). */
	--dc-paper: #ECE4D2;
	--dc-field: #F6F1E6;        /* campi dei moduli su carta */
	--dc-ink: #111111;
	--dc-ink-soft: #1E1E1E;
	--dc-accent: #E4441F;       /* contrasto AA (4,6:1) con il testo inchiostro; superfici e bordi: su carta va sempre con testo inchiostro */
	--dc-accent-text: #B8300F;  /* testo accentato su carta (contrasto 4,8:1) */
	--dc-muted: #4A453A;        /* testo secondario su carta (7,5:1) */
	--dc-faint: #A39A86;        /* elementi inattivi e decorativi su carta (es. lettere A–Z senza artisti) */
	--dc-line-soft: #CBBFA6;
	--dc-on-ink: #ECE4D2;       /* testo su fondo inchiostro */
	--dc-on-ink-muted: #CFC7B4; /* testo secondario su inchiostro (11:1) */
	--dc-on-ink-faint: #8F8877; /* numeri e dettagli su inchiostro (5,4:1) */
	--dc-on-ink-line: #333333;

	/* Font */
	--dc-font-display: "Anton", Impact, "Arial Narrow Bold", sans-serif;
	--dc-font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
	--dc-font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

	/* Scala tipografica fluida (mobile 390px → desktop 1440px) */
	--dc-fs-mega: clamp(4.25rem, 15.5vw, 14.75rem);  /* parola-manifesto: CATALOGUE, BOZORIUS */
	--dc-fs-xxl: clamp(3.25rem, 9vw, 8.25rem);       /* titolo di pagina */
	--dc-fs-product: clamp(2.5rem, 5.5vw, 5rem);     /* titolo nella scheda di album e metodo: lascia spazio a copertina e acquisto */
	--dc-fs-xl: clamp(2.5rem, 6.5vw, 6rem);          /* titoli di sezione */
	--dc-fs-l: clamp(1.75rem, 3.6vw, 3.25rem);       /* titoli di card grandi, righe catalogo */
	--dc-fs-m: clamp(1.25rem, 2vw, 1.75rem);         /* titoli di card, serif in evidenza */
	--dc-fs-label: clamp(1rem, 1.3vw, 1.25rem);      /* etichette Anton maiuscole, nav */
	--dc-fs-body: 1.0625rem;
	--dc-fs-s: 0.9375rem;
	--dc-fs-xs: 0.8125rem;

	/* Interlinea dei titoli in Anton: solo due valori, così lo spazio tra le righe è uguale in tutto il sito */
	--dc-lh-display: 0.86;  /* titoli giganti: parola-manifesto, titolo di scheda, numeri grandi */
	--dc-lh-title: 0.94;    /* tutti gli altri titoli in Anton che possono andare a capo: sezioni, card, elenchi */

	/* Spazi e struttura */
	--dc-max: 1360px;
	--dc-gutter: clamp(1rem, 2.8vw, 2.5rem);
	--dc-section: clamp(3.5rem, 8vw, 7.5rem);
	--dc-gap: clamp(1rem, 2.2vw, 2rem);
	--dc-border-w: 2px;
	--dc-border: var(--dc-border-w) solid var(--dc-ink);
	--dc-shadow: 8px 8px 0 var(--dc-ink);
	--dc-shadow-l: 12px 12px 0 var(--dc-ink);
}
