/* History in USA — Chronicle Rails Design Tokens & Self-Hosted Fonts */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url(../fonts/oswald-normal-500-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: 'Oswald';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url(../fonts/oswald-normal-500-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 {
  --hiu-cobalt: #6E260E;
  --hiu-cobalt-dark: #551D0A;
  --hiu-midnight: #1F1815;
  --hiu-marigold: #E6B450;
  --hiu-marigold-hover: #C59A44;
  --hiu-marigold-ink: #111827;
  --hiu-on-dark-accent: #E6B450;

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

  --hiu-font-display: 'Oswald', sans-serif;
  --hiu-font-body: 'Open Sans', sans-serif;

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

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

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