/* ESN Uni Wien – self-hosted fonts and design tokens. */

/* Oswald (variable, 200–700): display type, headings, buttons. SIL OFL 1.1 */
@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-display: swap;
  font-weight: 200 700;
  src: url("fonts/oswald-latin-ext-wght-normal.woff2") format("woff2-variations");
  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: "Oswald";
  font-style: normal;
  font-display: swap;
  font-weight: 200 700;
  src: url("fonts/oswald-latin-wght-normal.woff2") format("woff2-variations");
  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;
}

/* Lato 400, 400 italic, 700: body text. SIL OFL 1.1 */
@font-face {
  font-family: "Lato";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("fonts/lato-latin-ext-400-normal.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: "Lato";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("fonts/lato-latin-400-normal.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: "Lato";
  font-style: italic;
  font-display: swap;
  font-weight: 400;
  src: url("fonts/lato-latin-ext-400-italic.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: "Lato";
  font-style: italic;
  font-display: swap;
  font-weight: 400;
  src: url("fonts/lato-latin-400-italic.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: "Lato";
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url("fonts/lato-latin-ext-700-normal.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: "Lato";
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url("fonts/lato-latin-700-normal.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 {
  /* Brand core (immutable, ESN Visual Identity) */
  --esn-cyan: #00aeef;
  --esn-magenta: #ec008c;
  --esn-green: #7ac143;
  --esn-orange: #f47b20;
  --esn-dark-blue: #2e3192;

  /* Hover / pressed shades */
  --esn-cyan-strong: #0090c8;
  --esn-magenta-strong: #c30074;
  --esn-green-strong: #63a233;
  --esn-orange-strong: #d9640f;
  --esn-dark-blue-strong: #23256e;

  /* Soft tints (backgrounds, chips) */
  --esn-cyan-tint: #e5f7fe;
  --esn-magenta-tint: #fde5f2;
  --esn-green-tint: #f1f9e9;
  --esn-orange-tint: #fef1e6;
  --esn-dark-blue-tint: #e9eaf4;

  /* Neutral ramp (blue-tinted) */
  --esn-ink: #16173a;
  --esn-ink-soft: #43456b;
  --esn-muted: #74769a;
  --esn-line: #e4e5f0;
  --esn-line-soft: #eef0f6;
  --esn-surface-muted: #f5f6fb;
  --esn-surface-sunken: #eef0f7;

  /* Typography */
  --esn-font-display: "Oswald", "Bahnschrift", "Arial Narrow", system-ui, sans-serif;
  --esn-font-body: "Lato", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Corner radii: generous on cards, pill on buttons */
  --esn-radius-md: 10px;
  --esn-radius-lg: 16px;
  --esn-radius-xl: 24px;
  --esn-radius-2xl: 32px;
  --esn-radius-pill: 999px;

  /* Shadows */
  --esn-shadow-sm: 0 1px 2px rgba(22, 23, 58, 0.06), 0 1px 3px rgba(22, 23, 58, 0.08);
  --esn-shadow-md: 0 4px 12px rgba(22, 23, 58, 0.08), 0 2px 4px rgba(22, 23, 58, 0.05);
  --esn-shadow-lg: 0 18px 40px rgba(22, 23, 58, 0.12), 0 6px 12px rgba(22, 23, 58, 0.07);

  /* Motion */
  --esn-ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  /* ESN colour stripe across the top of the page, as on esn.ch:
     79px per colour with a 1px white gap, repeating every 320px. */
  --esn-stripe: repeating-linear-gradient(90deg,
    var(--esn-cyan) 0 79px, #fff 79px 80px,
    var(--esn-magenta) 80px 159px, #fff 159px 160px,
    var(--esn-green) 160px 239px, #fff 239px 240px,
    var(--esn-orange) 240px 319px, #fff 319px 320px);
  --esn-stripe-height: 5px;
}
