/*
    Typefaces
    Zalando Sans (SIL OFL) — self-hosted for RGPD compliance (no Google CDN call).
    Variable font (weight 300–900), split latin / latin-ext like Google serves it.
*/

@font-face {
    font-family: "Zalando Sans";
    font-style: normal;
    font-weight: 300 900;
    font-display: swap;
    src: url("../fonts/ZalandoSans-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Zalando Sans";
    font-style: normal;
    font-weight: 300 900;
    font-display: swap;
    src: url("../fonts/ZalandoSans-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Zalando Sans";
    font-style: italic;
    font-weight: 300 900;
    font-display: swap;
    src: url("../fonts/ZalandoSans-Italic-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Zalando Sans";
    font-style: italic;
    font-weight: 300 900;
    font-display: swap;
    src: url("../fonts/ZalandoSans-Italic-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/*
    Variables
*/

:root {
    --tabletSize: 48rem;
    --laptopSize: 64rem;
    --desktopLargeSize: 120rem;
    --easing-gentle: cubic-bezier(0.16, 1, 0.3, 1);

    /* Type family — Zalando Sans for everything, UI and editorial alike */
    --font-sans: "Zalando Sans", sans-serif;
    --font-serif: "Zalando Sans", sans-serif;
}

/*
    Elements
*/

* {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    image-rendering: optimizeQuality;
    scroll-behavior: smooth;
    text-underline-offset: 0.3em;
    text-decoration-thickness: 0.01em;
}

html {
    min-height: 100dvh;
    max-height: 100dvh;
    overflow-y: auto;
    scroll-snap-type: y proximity;
    overscroll-behavior: none;
}

body {
    min-height: 100dvh;
    margin: 0;
    font-family: "Zalando Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    color: var(--color-text);
    background-color: var(--color-bg);
}

html.no-scroll {
    overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin: 0;
    font-weight: 500;
}

b,
strong {
    font-weight: 500;
    font-style: italic;
}

a {
    color: inherit;
    transition: 250ms;
    text-underline-offset: 0.15em;
}

button.expand-target::after,
a.expand-target::after {
    content: " ";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

a.no-style {
    text-decoration: none;
}

a.link {
    position: relative;
    display: inline-block;
    text-decoration: none;
}

button {
    border: 0;
    background-color: transparent;
    cursor: pointer;
    color: inherit;
}


a:focus-visible,
button:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
    outline: 1px dashed var(--theme-color);
    outline-offset: 4px;
}

.contact-form input:focus {
    outline: none;
}

.contact-form label.keyboard-focus input:focus {
    outline: 1px dashed var(--theme-color);
    outline-offset: 6px;
}

menu.no-style,
ol.no-style,
ul.no-style {
    list-style: none;
    padding: 0;
    margin: 0;
}

ul {
    padding-inline-start: 1.5rem;
    margin-block-start: 0.5em;
    margin-block-end: 2em;
}


.hidden {
    display: block;
    opacity: 0;
    visibility: hidden;
    height: 0;
    width: 0;
    overflow: hidden;
}

figure {
    margin: 0;
}

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

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

fieldset {
    border: 0;
}

/*
    Text
*/

/* Text: Sizes */
:root {
    --text-uber: 52px;
    --text-h1: 36px;
    --text-h2: 26px;
    --text-h3: 18px;
    --text-p: 15px;
    --text-smaller: 12px;
    --text-min: 10px;
}

/* Tablet: >768 */
@media (min-width: 48rem) {
    :root {
        --text-uber: 80px;
        --text-h1: 64px;
        --text-h2: 30px;
        --text-h3: 20px;
        --text-p: 16px;
        --text-smaller: 12px;
        --text-min: 10px;
    }
}

/* Desktop: >1440 */
@media (min-width: 90rem) {
    :root {
        --text-uber: 112px;
        --text-h1: 64px;
        --text-h2: 32px;
        --text-h3: 22px;
        --text-p: 17px;
        --text-smaller: 12px;
    }
}

.text-details {
    font-size: var(--text-smaller);
    text-transform: uppercase;
    letter-spacing: 15%;
}

/* Text: Properties */
.text-center {
    text-align: center;
}

.text-uppercase {
    text-transform: uppercase;
}

/*
    Colors
*/

:root {
    --color-blue: rgba(10, 49, 65, 1);
    --color-green: rgba(200, 255, 101, 1);

    /* Surfaces & ink — design is black-on-white with thin black hairlines */
    --color-bg: #ffffff;
    --color-text: #000000;
    --color-muted: rgba(0, 0, 0, 0.45);
    --color-line: rgba(0, 0, 0, 1);

    /* Accent used for focus rings / interactive emphasis */
    --theme-color: var(--color-blue);
}

/*
    Margin & Padding
*/

:root {
    --space-v-s: 0.5rem;
    --space-v-m: calc(var(--space-v-s) * 2);
    --space-v-l: calc(var(--space-v-s) * 4);
    --space-h-s: 8px;
    --space-h-m: calc(var(--space-h-s) * 2);
    --space-h-l: calc(var(--space-h-s) * 4);

    /* Page grid — desktop: 12 columns, 12px outer margin, 12px gap */
    --grid-cols: 12;
    --grid-gap: 12px;
    --page-gutter: 1rem;
}

@media (min-width: 48rem) {
    :root {
        --page-gutter: 12px;
    }
}

/* Margin: Top */
.margin-top-s {
    margin-top: var(--space-v-s);
}

.margin-top-m {
    margin-top: var(--space-v-m);
}

.margin-top-l {
    margin-top: var(--space-v-l);
}

/* Margin: Bottom */
.margin-bottom-s {
    margin-bottom: var(--space-v-s);
}

.margin-bottom-m {
    margin-bottom: var(--space-v-m);
}

.margin-bottom-l {
    margin-bottom: var(--space-v-l);
}

/* Margin: Left */
.margin-left-s {
    margin-left: var(--space-h-s);
}

.margin-left-m {
    margin-left: var(--space-h-m);
}

.margin-left-l {
    margin-left: var(--space-h-l);
}

/* Margin: Right */
.margin-right-s {
    margin-right: var(--space-h-s);
}

.margin-right-m {
    margin-right: var(--space-h-m);
}

.margin-right-l {
    margin-right: var(--space-h-l);
}

/* Padding: Top */
.padding-top-s {
    padding-top: var(--space-v-s);
}

.padding-top-m {
    padding-top: var(--space-v-m);
}

.padding-top-l {
    padding-top: var(--space-v-l);
}

/* Padding: Bottom */
.padding-bottom-s {
    padding-bottom: var(--space-v-s);
}

.padding-bottom-m {
    padding-bottom: var(--space-v-m);
}

.padding-bottom-l {
    padding-bottom: var(--space-v-l);
}

/* Padding: Left */
.padding-left-s {
    padding-left: var(--space-h-s);
}

.padding-left-m {
    padding-left: var(--space-h-m);
}

.padding-left-l {
    padding-left: var(--space-h-l);
}

/* Padding: Right */
.padding-right-s {
    padding-right: var(--space-h-s);
}

.padding-right-m {
    padding-right: var(--space-h-m);
}

.padding-right-l {
    padding-right: var(--space-h-l);
}


/*
    CSS Animations
*/

@keyframes fade-in-top {
    from {
        opacity: 0;
        translate: 0 -4rem;
    }

    to {
        opacity: 1;
        translate: 0 0;
    }
}

@keyframes fade-in-bottom {
    from {
        opacity: 0;
        translate: 0 4rem;
    }

    to {
        opacity: 1;
        translate: 0 0;
    }
}

@keyframes fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}