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

html {
    overflow-x: hidden;
    overflow-x: clip;
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
}

body {
    margin: 0;
    min-width: 320px;
    min-height: 100vh;
    overflow-x: hidden;
    font-family: var(--fibau-body-font);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--fibau-text);
    background: var(--fibau-warm-white);
    -webkit-font-smoothing: antialiased;
}

body.nav-open { overflow: hidden; }
img, picture, video { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--fibau-terracotta); outline-offset: 4px; }
::selection { color: var(--fibau-warm-white); background: var(--fibau-terracotta); }
.site-main { min-height: 60vh; }

.skip-link {
    position: fixed;
    z-index: 999;
    top: .75rem;
    left: .75rem;
    padding: .7rem 1rem;
    color: var(--fibau-warm-white);
    background: var(--fibau-terracotta);
    transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.flash-messages {
    position: relative;
    z-index: 20;
    width: min(calc(100% - 2 * var(--fibau-gutter)), var(--fibau-max-width));
    margin: 1rem auto;
}

.flash { padding: .8rem 1rem; border: 1px solid var(--fibau-border); background: var(--fibau-warm-white); }
.flash--success { border-left: 4px solid #3d7653; }
.flash--error { border-left: 4px solid #a43838; }
.flash--warning { border-left: 4px solid #a66e20; }
.flash--info { border-left: 4px solid #386f8e; }

.static-page { padding-block: var(--fibau-section-space); }
.static-page__title {
    max-width: 14ch;
    margin: 0 0 2rem;
    font: 700 clamp(3rem, 8vw, 7rem)/.92 var(--fibau-display-font);
    letter-spacing: -.035em;
    text-transform: uppercase;
}
.static-page__content { max-width: 72ch; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
