/* ========================================================================== Studio Grasso — stili globali: reset, tipografia, layout, bottoni, utilità. Gli stili dei singoli componenti stanno nei rispettivi file .astro. ========================================================================== */ /* --- reset leggero --- */ *, *::before, *::after { box-sizing: border-box; } html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); } body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; font-family: var(--font-body); font-size: var(--fs-md); line-height: var(--lh-body); color: var(--ink-900); background: var(--white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; } main { flex: 1 0 auto; } main:focus { outline: none; } img, svg, picture, video { display: block; max-width: 100%; } img { height: auto; } a { color: var(--navy-700); text-decoration-thickness: 1px; text-underline-offset: 3px; } a:hover { color: var(--navy-900); } h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: var(--lh-tight); margin: 0 0 var(--space-4); letter-spacing: -0.01em; color: var(--navy-900); text-wrap: balance; } h1 { font-size: var(--fs-h1); font-weight: 500; } h2 { font-size: var(--fs-h2); font-weight: 500; } h3 { font-size: var(--fs-h3); } p { margin: 0 0 var(--space-4); } ul, ol { margin: 0; padding: 0; } /* gli elenchi con una classe sono elementi d'interfaccia: niente punti elenco */ ul[class], ol[class] { list-style: none; } address { font-style: normal; } button, input, textarea, select { font: inherit; color: inherit; } button { cursor: pointer; } :focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 3px; border-radius: 4px; } ::selection { background: var(--gold-100); color: var(--navy-900); } /* --- utilità --- */ [hidden] { display: none !important; } .visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; border: 0 !important; } /* Visibile solo senza JavaScript (BaseLayout, blocco