@font-face {
  font-family: Poppins;
  src: url("assets/fonts/Poppins-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Varela Round";
  src: url("assets/fonts/VarelaRound-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --paper: #000000;
  --navy: #0d213c;
  --ink: #c4d1e1;
  --red: #db162f;
}
*, *::before, *::after { box-sizing: border-box; }
html { min-width: 280px; background: var(--paper); }
body { margin: 0; color: var(--ink); font-family: Poppins, "Helvetica Neue", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
::selection { background: var(--ink); color: var(--paper); }
.page {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: clamp(24px, 4.4vw, 72px) clamp(24px, 5.5vw, 100px) clamp(24px, 3.2vw, 52px);
}
.page::before { content: ""; position: fixed; inset: 0; background: radial-gradient(ellipse 65vw 65vh at 100% 0%, rgb(13 33 60 / 80%) 0%, rgb(13 33 60 / 35%) 35%, transparent 72%); z-index: -1; pointer-events: none; }
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 44px; }
.brand-name { margin: 0; font-size: clamp(18px, 1.55vw, 24px); line-height: 1.3; letter-spacing: -.055em; }
.brand-dot { color: var(--red); }
.contact { display: inline-flex; gap: 22px; align-items: center; min-height: 44px; color: inherit; text-decoration: none; font-size: 13px; white-space: nowrap; }
.contact span { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; text-decoration-color: transparent; transition: text-decoration-color 160ms ease; }
.contact svg { transition: transform 160ms ease; }
.contact:hover span { text-decoration-color: currentColor; }
.contact:hover svg { transform: translate(2px, -2px); }
.contact:focus-visible { outline: 2px solid var(--ink); outline-offset: 6px; }
.composition { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(48px, 8vh, 80px); padding: 24px 0 32px; text-align: center; min-width: 0; }
.identity { width: min(34vh, 320px, 60vw); flex: none; }
.logo { display: block; width: 100%; height: auto; }
.statement { width: 100%; min-width: 0; }
h1 { font-size: clamp(34px, 4.1vw, 68px); font-weight: 400; line-height: 1.12; letter-spacing: -.075em; margin: 0 0 20px; }
h1 span { display: inline; }
.support { font-family: "Varela Round", "Helvetica Neue", Arial, sans-serif; font-size: clamp(13px, 1.1vw, 16px); line-height: 1.7; margin: 0; letter-spacing: -.015em; }
.mobile-break { display: none; }
.colophon { display: flex; justify-content: flex-end; min-height: 44px; }
.language-switcher { display: flex; align-items: center; gap: 3px; font-size: 10px; }
.language-switcher[hidden] { display: none; }
.language-switcher button { border: 0; border-radius: 0; background: transparent; color: var(--ink); font: inherit; letter-spacing: .12em; min-width: 36px; min-height: 44px; padding: 8px; cursor: pointer; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.language-switcher button[aria-pressed="true"] { text-decoration-color: var(--red); }
.language-switcher button:hover { text-decoration-color: currentColor; }
.language-switcher button:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }
html:lang(it) h1 { font-size: clamp(32px, 4vw, 64px); letter-spacing: -.065em; }
@media (min-width: 1800px) {
  .page { max-width: 1920px; margin-inline: auto; }
}
@media (max-width: 760px) {
  .page { padding: 24px 26px; }
  .masthead { gap: 16px; }
  .brand-name { font-size: 19px; }
  .contact { gap: 12px; font-size: 12px; }
  .contact svg { width: 16px; height: 16px; }
  h1 { font-size: clamp(32px, 8.4vw, 60px); letter-spacing: -.07em; }
  h1 span { display: block; }
  html:lang(it) h1 { font-size: clamp(27px, 6.8vw, 48px); }
  .support { font-size: 13px; }
}
@media (max-width: 400px) {
  .page { padding-inline: 22px; }
  .brand-name { font-size: 17px; }
  .contact { gap: 10px; }
  .mobile-break { display: block; }
}
@media (max-height: 700px) {
  .page { padding-top: 16px; padding-bottom: 16px; }
  .composition { gap: 48px; padding-block: 20px; }
  h1 { margin-bottom: 16px; }
}
/* Keep the vertical composition in short landscape viewports too. */
@media (max-height: 540px) {
  .page { padding: 12px 24px; }
  .composition { gap: 28px; padding-block: 16px; }
  .identity { width: min(25vh, 160px, 50vw); }
  h1, html:lang(it) h1 { font-size: clamp(26px, 4.6vw, 42px); margin-bottom: 12px; }
  h1 span { display: inline; }
  .support { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
