@font-face {
    font-family: "Sweet Sans Pro";
    src: url("../fonts/Sweet Sans/SweetSansPro-Light.otf") format("opentype");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Sweet Sans Pro";
    src: url("../fonts/Sweet Sans/SweetSansPro-Regular.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Sweet Sans Pro";
    src: url("../fonts/Sweet Sans/SweetSansPro-Medium.otf") format("opentype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Sweet Sans Pro";
    src: url("../fonts/Sweet Sans/SweetSansPro-Bold.otf") format("opentype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "TT Commons Pro";
    src: url("../fonts/TT Commons/TTCommonsPro-Lt.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "TT Commons Pro";
    src: url("../fonts/TT Commons/TTCommonsPro-Rg.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "TT Commons Pro";
    src: url("../fonts/TT Commons/TTCommonsPro-Md.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "TT Commons Pro";
    src: url("../fonts/TT Commons/TTCommonsPro-Bd.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    /* MC Media — pink accent + charcoal, white surfaces */
    --color-1: #FFFFFF;
    --color-2: #2A2D35;
    --color-3: #FF3B6D;
    --color-4: #E01840;
    --color-6: #FFFFFF;
    --color-8: #8B909A;
    --color-9: #F4F5F7;
    --color-primary: var(--color-1);
    --color-secondary: var(--color-2);
    --color-accent: var(--color-3);
    --color-accent-deep: var(--color-4);
    --color-muted: var(--color-8);
    --color-surface: var(--color-9);
    --font-primary: "Sweet Sans Pro", "Avenir Next", "Segoe UI", sans-serif;
    --font-secondary: "TT Commons Pro", "Avenir Next", "Segoe UI", sans-serif;
    --transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --size-container-ideal: 1728;
    --size-container: clamp(1025px, 100vw, 1920px);
    /* ~18px at ideal width (was ~16px) */
    --size-font: calc(var(--size-container) / (1728 / 18));
    /* One em-scale (relative to body --size-font). Avoid rem/vw mixes. */
    --text-xs: 0.8em;
    --text-sm: 0.95em;
    --text-md: 1.05em;
    --text-lg: 1.25em;
    --text-s: 1.45em;
    --text-m: 2.125em;
    --text-xl: 4.25em;
    --text-display: 3.25em;
}

@media screen and (max-width: 1024px) {
    :root {
        --size-container: clamp(768px, 100vw, 1024px);
        --size-font: calc(var(--size-container) / (834 / 17.5));
    }
}

@media screen and (max-width: 767px) {
    :root {
        --size-container: clamp(480px, 100vw, 767px);
        --size-font: calc(var(--size-container) / (550 / 17));
        --text-xl: 3.35em;
        --text-m: 1.85em;
        --text-display: 2.75em;
    }
}

@media screen and (max-width: 479px) {
    :root {
        --size-container: clamp(320px, 100vw, 479px);
        --size-font: calc(var(--size-container) / (360 / 16.5));
        --text-xl: 2.85em;
        --text-m: 1.65em;
        --text-s: 1.25em;
        --text-display: 2.4em;
    }
}

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

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: auto;
    scroll-padding-top: 20%;
}

body {
    font-family: var(--font-primary);
    font-size: var(--size-font);
    line-height: 1.65;
    color: var(--color-secondary);
    background-color: var(--color-primary);
}

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

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

ul {
    list-style: none;
}

.eyebrow {
    font-family: var(--font-primary);
    font-size: var(--text-xs);
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.title-xl {
    font-family: var(--font-primary);
    font-size: var(--text-xl);
    font-weight: 400;
    line-height: 0.9;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

.title-m {
    font-family: var(--font-primary);
    font-size: var(--text-m);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.title-s {
    font-family: var(--font-primary);
    font-size: var(--text-s);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.lede {
    font-family: var(--font-secondary);
    font-size: var(--text-lg);
    font-weight: 400;
    line-height: 1.6;
    max-width: 38em;
}

.body-text {
    font-family: var(--font-secondary);
    font-size: var(--text-md);
    line-height: 1.65;
    max-width: 38em;
}

.wrap {
    width: min(72em, calc(100% - 3em));
    margin-inline: auto;
}
