/* Identità Le strisce (DESIGN.md), ridotta a ciò che servono countdown e trailer. */
@font-face {
  font-family: "Big Shoulders Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/font/big-shoulders-latin-wght-normal.woff2") format("woff2-variations");
}

@font-face {
  font-family: "Overpass Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/font/overpass-latin-wght-normal.woff2") format("woff2-variations");
}

:root {
  --blu: #375ade;
  --giallo: #f9dc59;
  --asfalto: #181a1e;
  --bianco: #f4f3ef;
  --accento: var(--giallo);
  --font-titoli: "Big Shoulders Variable", "Arial Narrow", sans-serif;
  --font-testo: "Overpass Variable", system-ui, sans-serif;
  --margine: clamp(1rem, 4vw, 2.5rem);
}

body {
  display: grid;
  min-height: 100svh;
  margin: 0;
  background: var(--blu);
  color: var(--bianco);
  font-family: var(--font-testo);
  font-size: 1.125rem;
  line-height: 1.5;
}

:focus-visible {
  outline: 3px solid var(--accento);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Tutto al centro della pagina, in orizzontale e in verticale. */
.pagina {
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  box-sizing: border-box;
  width: min(100%, 64rem);
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 4rem) var(--margine);
}

/* Quattro strisce uguali, la terza fuori riga e gialla. Il logo sta al centro della pagina,
   ma dentro resta com'è: la firma allineata a sinistra sotto il nome. */
.logo {
  display: inline-flex;
  text-align: left;
  align-items: center;
  gap: 0.3em;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.segno {
  height: 1em;
  width: auto;
}

.segno__deviazione {
  fill: var(--accento);
}

.logo__nome {
  font-family: var(--font-titoli);
  font-weight: 800;
  line-height: 0.85;
  text-transform: uppercase;
}

.logo__firma {
  display: block;
  font-family: var(--font-testo);
  font-size: 0.4em;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: var(--font-titoli);
  font-weight: 800;
  line-height: 0.88;
  text-transform: uppercase;
}
