/* Type scale: 10 styles. Each text element carries data-type="<style>".
   Framer sets type through inline --framer-* variables, so these rules
   override those variables. Breakpoints match Framer's: tablet from 810px,
   desktop from 1200px.

   Emphasis rule: italics are always Medium Italic, in Season Mix within
   headings and Season Sans within text, at the size of the surrounding style. */

@font-face { font-family: "Season Mix Medium Italic"; src: url(/assets/fonts/SeasonMix-MediumItalic.woff2) format("woff2"); font-style: italic; font-weight: 580; font-display: swap; }
@font-face { font-family: "Season Sans Medium Italic"; src: url(/assets/fonts/SeasonSans-MediumItalic.woff2) format("woff2"); font-style: italic; font-weight: 550; font-display: swap; }

:root {
  --type-mix: "Season Mix Regular", "Season Mix Regular Placeholder", serif;
  --type-sans: "Season Sans Regular", "Season Sans Regular Placeholder", sans-serif;
  --type-sans-medium: "Season Sans Medium", "Season Sans Medium Placeholder", sans-serif;
  --type-sans-semibold: "Season Sans SemiBold", "Season Sans SemiBold Placeholder", sans-serif;
  --type-muted: rgb(175, 175, 175);

  /* Phone sizes; tablet and desktop below. */
  --type-display-xl: 40px;
  --type-display-l: 36px;
  --type-h1: 30px;
  --type-h2: 24px;
  --type-h3: 20px;
  --type-lead: 19px;
  --type-body: 17px;
  --type-small: 15px;
  --type-label: 16px;
  --type-button: 17px;
}
@media (min-width: 810px) {
  :root {
    --type-display-xl: 64px;
    --type-display-l: 48px;
    --type-h1: 40px;
    --type-h2: 28px;
    --type-h3: 22px;
    --type-lead: 20px;
    --type-body: 18px;
    --type-small: 16px;
    --type-label: 18px;
    --type-button: 18px;
  }
}
@media (min-width: 1200px) {
  :root {
    --type-display-xl: 88px;
    --type-display-l: 64px;
    --type-h1: 48px;
    --type-h2: 32px;
    --type-h3: 24px;
    --type-lead: 24px;
    --type-body: 20px;
    --type-small: 16px;
    --type-label: 18px;
    --type-button: 18px;
  }
}

/* Season Mix. Display line heights leave room for descenders (g, j, p, y). */
[data-type="display-xl"] { --framer-font-family: var(--type-mix) !important; --framer-font-weight: 420 !important; --framer-font-size: var(--type-display-xl) !important; --framer-line-height: 1.2 !important; --framer-letter-spacing: -0.01em !important; }
[data-type="display-l"] { --framer-font-family: var(--type-mix) !important; --framer-font-weight: 420 !important; --framer-font-size: var(--type-display-l) !important; --framer-line-height: 1.2 !important; --framer-letter-spacing: -0.01em !important; }
[data-type="h1"] { --framer-font-family: var(--type-mix) !important; --framer-font-weight: 420 !important; --framer-font-size: var(--type-h1) !important; --framer-line-height: 1.2 !important; --framer-letter-spacing: -0.005em !important; }
[data-type="h2"] { --framer-font-family: var(--type-mix) !important; --framer-font-weight: 420 !important; --framer-font-size: var(--type-h2) !important; --framer-line-height: 1.25 !important; --framer-letter-spacing: 0em !important; }
[data-type="h3"] { --framer-font-family: var(--type-mix) !important; --framer-font-weight: 420 !important; --framer-font-size: var(--type-h3) !important; --framer-line-height: 1.3 !important; --framer-letter-spacing: 0em !important; }

/* Season Sans. */
[data-type="lead"] { --framer-font-family: var(--type-sans) !important; --framer-font-weight: 400 !important; --framer-font-size: var(--type-lead) !important; --framer-line-height: 1.5 !important; --framer-letter-spacing: 0em !important; }
[data-type="body"] { --framer-font-family: var(--type-sans) !important; --framer-font-weight: 400 !important; --framer-font-size: var(--type-body) !important; --framer-line-height: 1.5 !important; --framer-letter-spacing: 0em !important; }
[data-type="small"] { --framer-font-family: var(--type-sans) !important; --framer-font-weight: 400 !important; --framer-font-size: var(--type-small) !important; --framer-line-height: 1.45 !important; --framer-letter-spacing: 0em !important; }
[data-type="label"] { --framer-font-family: var(--type-sans-medium) !important; --framer-font-weight: 550 !important; --framer-font-size: var(--type-label) !important; --framer-line-height: 1.25 !important; --framer-letter-spacing: 0.005em !important; }
[data-type="button"] { --framer-font-family: var(--type-sans-semibold) !important; --framer-font-weight: 650 !important; --framer-font-size: var(--type-button) !important; --framer-line-height: 1.2 !important; --framer-letter-spacing: 0.005em !important; }

/* Eyebrows and stat labels sit a step back from what they introduce. */
[data-tone="muted"] { --framer-text-color: var(--type-muted) !important; }

/* Emphasis: Medium Italic (see the rule at the top). Season Mix emphasis is
   already Medium Italic in the markup; Season Sans italics are normalised here. */
[data-type] span[style*="Season Sans Regular Italic"] { --framer-font-family: "Season Sans Medium Italic", sans-serif !important; --framer-font-weight: 550 !important; }
/* <em> inherits its font rather than reading Framer's variables. */
[data-type] em { font-family: "Season Sans Medium Italic", sans-serif !important; font-weight: 550 !important; font-style: italic; }
[data-type] span[style*="Season Mix Medium Italic"] { --framer-font-weight: 580 !important; }

/* Liquid glass buttons (.lg-btn) set their type in site.css from --type-button. */
