/* Science in the World — Discovery Plates Design Tokens & Self-Hosted Fonts */
@font-face {
  font-family: 'Domine';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/domine-normal-600-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Domine';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/domine-normal-600-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: 'Domine';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/domine-normal-700-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Domine';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/domine-normal-700-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: 'Open Sans';
  font-style: italic;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/open-sans-italic-400-700-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/open-sans-italic-400-700-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: 'Open Sans';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/open-sans-normal-400-700-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/open-sans-normal-400-700-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;
}

:root {
  --siw-cobalt: #1A3BB8;
  --siw-cobalt-dark: #142E8F;
  --siw-midnight: #0E2066;
  --siw-marigold: #F59E0B;
  --siw-marigold-hover: #D28709;
  --siw-marigold-ink: #111827;
  --siw-on-dark-accent: #F59E0B;

  --siw-bg: #FFFFFF;
  --siw-surface: #F6F8FB;
  --siw-tint: #EEF4FA;
  --siw-ink: #111827;
  --siw-body: #243042;
  --siw-muted: #4B5563;
  --siw-subtle: #64748B;
  --siw-rule: #DCE3EC;
  --siw-rule-strong: #C5D0DF;

  --siw-font-display: 'Domine', serif;
  --siw-font-body: 'Open Sans', sans-serif;

  --siw-body-size: clamp(1.0625rem, 1.02rem + 0.22vw, 1.15625rem);
  --siw-h1-size: clamp(2rem, 1.45rem + 2.1vw, 2.75rem);
  --siw-h2-size: clamp(1.5rem, 1.25rem + 1vw, 2rem);
  --siw-h3-size: clamp(1.2rem, 1.08rem + 0.5vw, 1.45rem);

  --siw-max: 1240px;
  --siw-reading: 760px;
  --siw-sidebar: 312px;
  --siw-gutter: clamp(16px, 3vw, 32px);
  --siw-r-sm: 4px;
  --siw-r-md: 8px;
  --siw-r-lg: 12px;

  --color-primary: var(--siw-cobalt);
  --color-primary-hover: var(--siw-cobalt-dark);
  --color-heading: var(--siw-ink);
  --color-accent: var(--siw-marigold);
  --color-text-dark: var(--siw-ink);
  --color-text-medium: var(--siw-muted);
  --color-text-light: var(--siw-subtle);
  --color-background: var(--siw-bg);
  --color-background-light: var(--siw-surface);
  --color-border: var(--siw-rule);
  --color-footer-bg: var(--siw-midnight);
}
