html,
body {
    margin: 0;
    font-family: var(--foz-font-body);
    background: var(--foz-bg);
    color: var(--foz-text);
    font-size: 16px;
}

h1,
h2,
h3,
.foz-heading,
.foz-hero-title,
.mud-typography-h1,
.mud-typography-h2,
.mud-typography-h3 {
    font-family: var(--foz-font-heading);
    color: var(--foz-text);
    letter-spacing: -0.025em;
}

.mud-typography-h1 {
    font-size: clamp(2.4rem, 5vw, 4.2rem) !important;
    line-height: 0.95 !important;
    font-weight: 600 !important;
}

.mud-typography-h2 {
    font-size: clamp(2rem, 3.5vw, 3.1rem) !important;
    line-height: 1.05 !important;
    font-weight: 600 !important;
}

.mud-typography-h3 {
    font-size: clamp(1.7rem, 2.6vw, 2.35rem) !important;
    line-height: 1.1 !important;
    font-weight: 600 !important;
}

.mud-typography-h4,
.mud-typography-h5,
.mud-typography-h6 {
    font-family: var(--foz-font-body);
    font-weight: 600 !important;
    letter-spacing: -0.015em;
}

.mud-typography-subtitle1 {
    font-size: clamp(1rem, 1.4vw, 1.18rem) !important;
    line-height: 1.65 !important;
}

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

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

/*scroll snapping.

When the user scrolls down, the page softly lands on the next full section, so every topic feels like a clean “screen”.

For this website, I would use it carefully:

HeroSection       = full screen
ValueCardsSection = almost full screen
RoomsSection      = full section
SharedLiving      = full section

But I would not make it too aggressive, because if a section has more content than the screen, mandatory snapping can become annoying.

So I recommend: scroll-snap-type: y proximity;

not: scroll-snap-type: y mandatory;

proximity feels smoother and less forced.*/

html {
    scroll-behavior: smooth;
}

@media (min-width: 900px) {
    html {
        scroll-snap-type: y mandatory;
        scroll-padding-top: 72px;
    }
}
