/* =====================================================================
   Base — reset, typography, layout primitives. Tokens only.
   ===================================================================== */

/* Axiforma — drop the licensed font files into assets/fonts/ with these names.
   Four weights are used across the site: 400 / 500 / 600 / 700.
   .woff2 preferred; .woff is an optional fallback. If absent, --font-sans falls back. */
@font-face {
  font-family: "Axiforma"; font-style: normal; font-weight: 400; font-display: swap;
  src: local("Axiforma Regular"),
       url("../fonts/Axiforma-Regular.woff2") format("woff2"),
       url("../fonts/Axiforma-Regular.woff") format("woff");
}
@font-face {
  font-family: "Axiforma"; font-style: normal; font-weight: 500; font-display: swap;
  src: local("Axiforma Medium"),
       url("../fonts/Axiforma-Medium.woff2") format("woff2"),
       url("../fonts/Axiforma-Medium.woff") format("woff");
}
@font-face {
  font-family: "Axiforma"; font-style: normal; font-weight: 600; font-display: swap;
  src: local("Axiforma SemiBold"),
       url("../fonts/Axiforma-SemiBold.woff2") format("woff2"),
       url("../fonts/Axiforma-SemiBold.woff") format("woff");
}
@font-face {
  font-family: "Axiforma"; font-style: normal; font-weight: 700; font-display: swap;
  src: local("Axiforma Bold"),
       url("../fonts/Axiforma-Bold.woff2") format("woff2"),
       url("../fonts/Axiforma-Bold.woff") format("woff");
}

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

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: var(--fw-regular);
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

ul { list-style: none; margin: 0; padding: 0; }

/* Locked content width: 1240px at the 1440 frame, fluid below. */
.container {
  width: var(--container);
  margin-inline: auto;
}

/* Responsive visibility — the kit defines two layouts (390 / 1440).
   Mobile-first: mobile blocks show by default, desktop at >=1024px. */
.is-desktop { display: none; }
.is-mobile  { display: block; }

@media (min-width: 1024px) {
  .is-desktop { display: block; }
  .is-mobile  { display: none; }
}

/* Language suggestion banner (JS-injected by main.js). Fixed overlay = no CLS. */
.lang-suggest {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0.6rem 1rem;
  background: #0a1623;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.3;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}
.lang-suggest__msg { flex: 1 1 auto; min-width: 0; }
.lang-suggest__cta {
  flex: 0 0 auto;
  color: var(--gold-underline);
  font-weight: 700;
  text-decoration: underline;
  white-space: nowrap;
}
.lang-suggest__close {
  flex: 0 0 auto;
  padding: 0.25rem 0.5rem;
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
}
.lang-suggest__close:hover { opacity: 0.8; }
.lang-suggest__cta:focus-visible,
.lang-suggest__close:focus-visible {
  outline: 2px solid var(--og-blue);
  outline-offset: 4px;
}
