/* ============================================================
   Toms Arena — skriftene, lastet fra eget domene (runde 2026-10-11)

   Instrument Serif (overskrifter, tall) og Poppins (alt
   annet), begge SIL Open Font License. De lå før hos Google Fonts;
   nå sendes ingen IP-adresse til Google for å vise en skrift.

   «TA Serif» er Instrument Serif skalert opp 16 %. Undersidene var satt
   for Fraunces, som har mye høyere x-høyde. I stedet for å endre hundre
   skriftstørrelser bruker de TA Serif, som fyller samme plass.
   ============================================================ */
@font-face {
  font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap;
  src: url('../assets/fonts/instrument-serif-italic-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: 'TA Serif'; font-style: italic; font-weight: 400; font-display: swap;
  src: url('../assets/fonts/instrument-serif-italic-latin-ext.woff2') format('woff2');
  size-adjust: 116%;
  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: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap;
  src: url('../assets/fonts/instrument-serif-italic-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: 'TA Serif'; font-style: italic; font-weight: 400; font-display: swap;
  src: url('../assets/fonts/instrument-serif-italic-latin.woff2') format('woff2');
  size-adjust: 116%;
  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: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../assets/fonts/instrument-serif-normal-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: 'TA Serif'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../assets/fonts/instrument-serif-normal-latin-ext.woff2') format('woff2');
  size-adjust: 116%;
  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: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../assets/fonts/instrument-serif-normal-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: 'TA Serif'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../assets/fonts/instrument-serif-normal-latin.woff2') format('woff2');
  size-adjust: 116%;
  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;
}
/* Poppins (SIL OFL): all brødtekst, knapper, etiketter og nav fra
   runde 2026-10-12. 400–800, latin og latin-ext. */
@font-face {
  font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../assets/fonts/poppins-400-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: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../assets/fonts/poppins-400-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: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('../assets/fonts/poppins-500-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: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('../assets/fonts/poppins-500-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: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../assets/fonts/poppins-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: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../assets/fonts/poppins-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: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('../assets/fonts/poppins-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: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('../assets/fonts/poppins-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: 'Poppins'; font-style: normal; font-weight: 800; font-display: swap;
  src: url('../assets/fonts/poppins-800-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: 'Poppins'; font-style: normal; font-weight: 800; font-display: swap;
  src: url('../assets/fonts/poppins-800-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;
}

/* «TA Script»: kalligrafisk skrift (SIL OFL), bare til ordmerket
   «Toms» i heroen på forsiden. Kun latin, ett snitt. */
@font-face {
  font-family: 'TA Script'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../assets/fonts/pinyon-script-400-latin.woff2') format('woff2');
}

/* ------------------------------------------------------------
   Reserveskrifter med samme mål (runde 22)

   Til Poppins og Instrument Serif er lastet, tegnes teksten med neste
   navn i stabelen. Det var Inter/JetBrains Mono/Fraunces, som ikke
   finnes, og så en systemskrift med helt andre mål: når den ekte
   skriften kom, ble linjer bredere og overskrifter brøt annerledes, og
   headerlenkene hoppet 20 px. Navnene under peker på Arial og Times New
   Roman, skalert og med høyder justert til Poppins og TA Serif (målt i
   Chromium med canvas.measureText: bredde på samme setning og
   fontBoundingBoxAscent/Descent), så byttet knapt flytter noe.
   Ingen filer lastes; local() bruker skriften som alt ligger på maskinen.
   ------------------------------------------------------------ */
@font-face { font-family: 'Inter'; font-weight: 100 450; src: local('Arial'), local('ArialMT'), local('Helvetica'), local('Roboto');
  size-adjust: 110.7%; ascent-override: 94.9%; descent-override: 31.6%; line-gap-override: 9%; }
@font-face { font-family: 'Inter'; font-weight: 451 550; src: local('Arial'), local('ArialMT'), local('Helvetica'), local('Roboto');
  size-adjust: 112%; ascent-override: 93.8%; descent-override: 31.3%; line-gap-override: 8.9%; }
@font-face { font-family: 'Inter'; font-weight: 551 900; src: local('Arial Bold'), local('Arial-BoldMT'), local('Helvetica Bold'), local('Roboto Bold');
  size-adjust: 105.3%; ascent-override: 99.7%; descent-override: 33.2%; line-gap-override: 9.5%; }
@font-face { font-family: 'JetBrains Mono'; font-weight: 100 450; src: local('Arial'), local('ArialMT'), local('Helvetica'), local('Roboto');
  size-adjust: 110.7%; ascent-override: 94.9%; descent-override: 31.6%; line-gap-override: 9%; }
@font-face { font-family: 'JetBrains Mono'; font-weight: 451 550; src: local('Arial'), local('ArialMT'), local('Helvetica'), local('Roboto');
  size-adjust: 112%; ascent-override: 93.8%; descent-override: 31.3%; line-gap-override: 8.9%; }
@font-face { font-family: 'JetBrains Mono'; font-weight: 551 900; src: local('Arial Bold'), local('Arial-BoldMT'), local('Helvetica Bold'), local('Roboto Bold');
  size-adjust: 105.3%; ascent-override: 99.7%; descent-override: 33.2%; line-gap-override: 9.5%; }
@font-face { font-family: 'Fraunces'; font-style: normal; src: local('Times New Roman'), local('TimesNewRomanPSMT'), local('Times'), local('Tinos');
  size-adjust: 95.1%; ascent-override: 120.8%; descent-override: 37.8%; line-gap-override: 0%; }
@font-face { font-family: 'Fraunces'; font-style: italic; src: local('Times New Roman Italic'), local('TimesNewRomanPS-ItalicMT'), local('Times Italic'), local('Tinos Italic');
  size-adjust: 99.3%; ascent-override: 115.6%; descent-override: 36.2%; line-gap-override: 0%; }
