/* Room for the New huisstijl (Brand manual RFTN) — layered over the compiled Tailwind build.
   Highlighter #FFEE45 · Blueprint #222530 · Concrete #E7E5DA · White #FFFEF9
   Titles: Ailerion Bold (falls back to Instrument Sans) · Body: Instrument Sans Medium */

body { font-weight: 500; }

/* Titles in sentence case, like the brand manual; small labels and buttons stay uppercase */
h1.uppercase, h2.uppercase, h3.uppercase, h4.uppercase,
.font-headline.uppercase:not(.text-xs):not(.text-sm):not(button) {
  text-transform: none;
}
h1, h2, h3 { font-weight: 700; letter-spacing: -0.025em; }
h4, .font-headline.text-base, .font-headline.text-lg, .font-headline.text-3xl { letter-spacing: -0.02em; }
.font-black { font-weight: 700; }
.text-sm.tracking-tighter, .lang-switch { letter-spacing: 0.02em; }

/* Highlighter: links get a marker stroke instead of a colour shift */
.hover\:text-primary:hover, .group:hover .group-hover\:text-primary {
  color: #222530;
  text-decoration: underline;
  text-decoration-color: #FFEE45;
  text-decoration-thickness: 0.45em;
  text-underline-offset: -0.25em;
  text-decoration-skip-ink: none;
}

/* Yellow buttons turn Blueprint on hover, with Highlighter text */
.hover\:bg-primary:hover { background-color: #222530; color: #FFEE45; }

/* Highlighter accent behind the hero keyword */
h1 .bg-on-surface { padding-left: 0.18em; padding-right: 0.18em; }

/* Footer on Blueprint */
footer .text-\[\#C8C6BA\] { color: #E7E5DA; }
footer .text-\[\#4A4E5A\] { color: #9A9DA6; }

::selection { background: #FFEE45; color: #222530; }

/* Brand promise in the footer */
.rf-tagline {
  font-family: Ailerion, 'Instrument Sans', sans-serif;
  font-weight: 700;
  font-size: 1.75rem;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: #FFFEF9;
}

/* Blueprint blocks: the footer's colour combination used elsewhere on the page */
.rf-dark { background-color: #222530; color: #FFFEF9; }
.rf-dark .text-on-surface { color: #FFFEF9; }
.rf-dark .text-on-surface-variant { color: #E7E5DA; }
.rf-dark .text-outline, .rf-dark .text-primary { color: #FFEE45; }
.rf-dark .bg-surface, .rf-dark .bg-surface-container-low { background-color: #2B2E39; }
.rf-dark .bg-outline\/10 { background-color: rgba(255, 254, 249, 0.12); }
.rf-dark .border-outline\/10 { border-color: rgba(255, 254, 249, 0.12); }
.rf-dark .hover\:border-primary-container:hover { border-color: #FFEE45; }


/* Hero on Blueprint: the yellow keyword flips to a Highlighter block */
.rf-dark h1 .bg-on-surface { background-color: #FFEE45; color: #222530; }
.rf-dark .border-outline\/20 { border-color: rgba(255, 254, 249, 0.25); }
.rf-dark .hover\:bg-on-surface:hover { background-color: #FFFEF9; color: #222530; }

/* Fixed header height, so the content starts exactly under it */
header { left: 0; right: 0; height: 72px; padding-top: 0; padding-bottom: 0; }
header.max-w-\[1920px\] { max-width: none; }
main.pt-24 { padding-top: 72px; }
#mobile-nav { top: 72px; }
@media (min-width: 768px) {
  header { height: 96px; }
  main.pt-24 { padding-top: 96px; }
}
