/*
Theme Name: Syncro
Theme URI: https://syncro.agency/
Author: Syncro Agency
Author URI: https://syncro.agency/
Description: Tema nativo dell'agenzia Syncro. Classic theme + theme.json. Blocchi ACF per sezione. Performance-first, WPML-ready, senza Elementor.
Version: 0.1.0
Requires at least: 6.5
Tested up to: 6.7
Requires PHP: 8.1
License: Proprietary
Text Domain: syncro
Tags: classic, custom-blocks, brutalist
*/

/* ---------------------------------------------------------------
   Reset minimale (Josh Comeau flavor, semplificato)
   Il resto vive in assets/css/base.css e nei singoli blocchi.
--------------------------------------------------------------- */

*,
*::before,
*::after {
	box-sizing: border-box;
}

* {
	margin: 0;
}

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

html,
body {
	height: 100%;
}

body {
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	background: var(--wp--preset--color--cream, #F3F0E9);
	color: var(--wp--preset--color--black, #000000);
	font-family: var(--wp--preset--font-family--inter, "Inter", system-ui, sans-serif);
}

img,
picture,
video,
canvas,
svg {
	display: block;
	max-width: 100%;
}

input,
button,
textarea,
select {
	font: inherit;
	color: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
	overflow-wrap: break-word;
}

a {
	color: inherit;
	text-decoration: none;
}

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
	outline: 2px solid var(--wp--preset--color--black, #000);
	outline-offset: 2px;
}

::selection {
	background: var(--wp--preset--color--lime, #DFFF00);
	color: var(--wp--preset--color--black, #000);
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
		scroll-behavior: auto !important;
	}
}
