/* SDForest design foundation — sitewide.
   Self-hosted fonts (no runtime Google Fonts fetch), the dusk-forest
   palette, and an opt-in page skin (html.forest-skin) that carries the
   grain/vignette texture and typographic voice to every subpage.

   Fonts (latin + latin-ext + cyrillic + cyrillic-ext subsets):
     Cormorant Garamond  display serif — headings, titles
     Alegreya            body serif — reading text
     Alegreya Sans       humanist sans — UI labels, kickers, buttons */

/* Cormorant Garamond italic 400 cyrillic-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/web/vendor/fonts/cormorant-garamond-italic-400-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* Cormorant Garamond italic 400 cyrillic */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/web/vendor/fonts/cormorant-garamond-italic-400-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* Cormorant Garamond italic 400 latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/web/vendor/fonts/cormorant-garamond-italic-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Cormorant Garamond italic 400 latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/web/vendor/fonts/cormorant-garamond-italic-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;
}
/* Cormorant Garamond italic 500 cyrillic-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(/web/vendor/fonts/cormorant-garamond-italic-500-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* Cormorant Garamond italic 500 cyrillic */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(/web/vendor/fonts/cormorant-garamond-italic-500-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* Cormorant Garamond italic 500 latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(/web/vendor/fonts/cormorant-garamond-italic-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Cormorant Garamond italic 500 latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(/web/vendor/fonts/cormorant-garamond-italic-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;
}
/* Cormorant Garamond italic 600 cyrillic-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url(/web/vendor/fonts/cormorant-garamond-italic-600-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* Cormorant Garamond italic 600 cyrillic */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url(/web/vendor/fonts/cormorant-garamond-italic-600-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* Cormorant Garamond italic 600 latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url(/web/vendor/fonts/cormorant-garamond-italic-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Cormorant Garamond italic 600 latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url(/web/vendor/fonts/cormorant-garamond-italic-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;
}
/* Cormorant Garamond normal 400 cyrillic-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/web/vendor/fonts/cormorant-garamond-normal-400-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* Cormorant Garamond normal 400 cyrillic */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/web/vendor/fonts/cormorant-garamond-normal-400-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* Cormorant Garamond normal 400 latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/web/vendor/fonts/cormorant-garamond-normal-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Cormorant Garamond normal 400 latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/web/vendor/fonts/cormorant-garamond-normal-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;
}
/* Cormorant Garamond normal 500 cyrillic-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/web/vendor/fonts/cormorant-garamond-normal-500-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* Cormorant Garamond normal 500 cyrillic */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/web/vendor/fonts/cormorant-garamond-normal-500-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* Cormorant Garamond normal 500 latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/web/vendor/fonts/cormorant-garamond-normal-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Cormorant Garamond normal 500 latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/web/vendor/fonts/cormorant-garamond-normal-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;
}
/* Cormorant Garamond normal 600 cyrillic-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/web/vendor/fonts/cormorant-garamond-normal-600-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* Cormorant Garamond normal 600 cyrillic */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/web/vendor/fonts/cormorant-garamond-normal-600-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* Cormorant Garamond normal 600 latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/web/vendor/fonts/cormorant-garamond-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Cormorant Garamond normal 600 latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/web/vendor/fonts/cormorant-garamond-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;
}
/* Cormorant Garamond normal 700 cyrillic-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/web/vendor/fonts/cormorant-garamond-normal-700-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* Cormorant Garamond normal 700 cyrillic */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/web/vendor/fonts/cormorant-garamond-normal-700-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* Cormorant Garamond normal 700 latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/web/vendor/fonts/cormorant-garamond-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Cormorant Garamond normal 700 latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/web/vendor/fonts/cormorant-garamond-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;
}
/* Alegreya italic 400-900 cyrillic-ext */
@font-face {
  font-family: 'Alegreya';
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url(/web/vendor/fonts/alegreya-italic-400-900-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* Alegreya italic 400-900 cyrillic */
@font-face {
  font-family: 'Alegreya';
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url(/web/vendor/fonts/alegreya-italic-400-900-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* Alegreya italic 400-900 latin-ext */
@font-face {
  font-family: 'Alegreya';
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url(/web/vendor/fonts/alegreya-italic-400-900-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Alegreya italic 400-900 latin */
@font-face {
  font-family: 'Alegreya';
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url(/web/vendor/fonts/alegreya-italic-400-900-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;
}
/* Alegreya normal 400-900 cyrillic-ext */
@font-face {
  font-family: 'Alegreya';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(/web/vendor/fonts/alegreya-normal-400-900-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* Alegreya normal 400-900 cyrillic */
@font-face {
  font-family: 'Alegreya';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(/web/vendor/fonts/alegreya-normal-400-900-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* Alegreya normal 400-900 latin-ext */
@font-face {
  font-family: 'Alegreya';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(/web/vendor/fonts/alegreya-normal-400-900-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Alegreya normal 400-900 latin */
@font-face {
  font-family: 'Alegreya';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(/web/vendor/fonts/alegreya-normal-400-900-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;
}
/* Alegreya Sans italic 400 cyrillic-ext */
@font-face {
  font-family: 'Alegreya Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/web/vendor/fonts/alegreya-sans-italic-400-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* Alegreya Sans italic 400 cyrillic */
@font-face {
  font-family: 'Alegreya Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/web/vendor/fonts/alegreya-sans-italic-400-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* Alegreya Sans italic 400 latin-ext */
@font-face {
  font-family: 'Alegreya Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/web/vendor/fonts/alegreya-sans-italic-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Alegreya Sans italic 400 latin */
@font-face {
  font-family: 'Alegreya Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/web/vendor/fonts/alegreya-sans-italic-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;
}
/* Alegreya Sans normal 400 cyrillic-ext */
@font-face {
  font-family: 'Alegreya Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/web/vendor/fonts/alegreya-sans-normal-400-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* Alegreya Sans normal 400 cyrillic */
@font-face {
  font-family: 'Alegreya Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/web/vendor/fonts/alegreya-sans-normal-400-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* Alegreya Sans normal 400 latin-ext */
@font-face {
  font-family: 'Alegreya Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/web/vendor/fonts/alegreya-sans-normal-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Alegreya Sans normal 400 latin */
@font-face {
  font-family: 'Alegreya Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/web/vendor/fonts/alegreya-sans-normal-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;
}
/* Alegreya Sans normal 500 cyrillic-ext */
@font-face {
  font-family: 'Alegreya Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/web/vendor/fonts/alegreya-sans-normal-500-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* Alegreya Sans normal 500 cyrillic */
@font-face {
  font-family: 'Alegreya Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/web/vendor/fonts/alegreya-sans-normal-500-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* Alegreya Sans normal 500 latin-ext */
@font-face {
  font-family: 'Alegreya Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/web/vendor/fonts/alegreya-sans-normal-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Alegreya Sans normal 500 latin */
@font-face {
  font-family: 'Alegreya Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/web/vendor/fonts/alegreya-sans-normal-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;
}
/* Alegreya Sans normal 700 cyrillic-ext */
@font-face {
  font-family: 'Alegreya Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/web/vendor/fonts/alegreya-sans-normal-700-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* Alegreya Sans normal 700 cyrillic */
@font-face {
  font-family: 'Alegreya Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/web/vendor/fonts/alegreya-sans-normal-700-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* Alegreya Sans normal 700 latin-ext */
@font-face {
  font-family: 'Alegreya Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/web/vendor/fonts/alegreya-sans-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Alegreya Sans normal 700 latin */
@font-face {
  font-family: 'Alegreya Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/web/vendor/fonts/alegreya-sans-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;
}

/* ------------------------------------------------------------------ *
 * Design tokens — the dusk forest.
 * Deep warm green-black ground, dawn-amber jewel light, moss life.
 * ------------------------------------------------------------------ */
:root {
  /* Canonical primitives. Public --forest-*, generic, and --home-* names
     below deliberately remain aliases so existing page pixels do not move. */
  --theme-ui-bg: #07070b;
  --theme-ui-surface: #0f0f15;
  --theme-ui-border: rgba(255, 255, 255, .08);
  --theme-ui-text-primary: #f3f4f6;
  --theme-ui-text-muted: #9ca3af;
  --theme-ui-accent: #4f46e5;
  --theme-ui-accent-green: #22c55e;
  /* Keyboard focus ring. Deliberately NOT --accent: indigo on this ground
     is 3.2:1, too dim to find a ring by. This is the same #818cf8 the
     title gradient bottoms out at — 6.7:1 on --bg. */
  --theme-ui-focus-ring: #818cf8;
  --theme-ui-radius: 8px;
  --theme-ui-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --theme-shell-bg: #070a08;
  --theme-shell-bg-deep: #04070a;
  --theme-shell-surface: #0d120e;
  --theme-shell-panel: rgba(9, 14, 10, .8);
  --theme-shell-ink: #f2efe4;
  --theme-shell-soft: #bcc6b4;
  --theme-shell-muted: #7d8877;
  --theme-shell-line: rgba(226, 235, 209, .13);
  --theme-shell-amber: #e8b86b;
  --theme-shell-moss: #8fe6ae;
  --theme-shell-rose: #d98a7f;
  --theme-shell-accent: #8fe6ae;
  --theme-shell-accent-rgb: 143, 230, 174;
  --theme-shell-glow-amber: rgba(232, 184, 107, .32);
  --theme-shell-glow-moss: rgba(143, 230, 174, .28);
  --theme-shell-radius: 24px;
  --theme-shell-display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --theme-shell-body: Alegreya, "Iowan Old Style", Georgia, serif;
  --theme-shell-sans: "Alegreya Sans", "Gill Sans", "Segoe UI", system-ui, sans-serif;
  --theme-shell-mono: "Cascadia Code", Consolas, "JetBrains Mono", monospace;

  --theme-home-bg: var(--theme-ui-bg);
  --theme-home-surface: var(--theme-ui-surface);
  --theme-home-ink: var(--theme-ui-text-primary);
  --theme-home-soft: #d1d5db;
  --theme-home-muted: var(--theme-ui-text-muted);
  --theme-home-line: var(--theme-ui-border);
  --theme-home-amber: var(--theme-ui-accent);
  --theme-home-moss: var(--theme-ui-accent-green);
  --theme-home-display: var(--theme-shell-display);
  --theme-home-body: var(--theme-shell-body);
  --theme-home-sans: var(--theme-shell-sans);

  --bg: var(--theme-ui-bg);
  --surface: var(--theme-ui-surface);
  --border: var(--theme-ui-border);
  --text-primary: var(--theme-ui-text-primary);
  --text-muted: var(--theme-ui-text-muted);
  --accent: var(--theme-ui-accent);
  --accent-green: var(--theme-ui-accent-green);
  --focus-ring: var(--theme-ui-focus-ring);
  --radius: var(--theme-ui-radius);
  --font: var(--theme-ui-font);

  /* Shared motion language */
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-standard: ease;
  --ease-in-out: ease-in-out;
  --ease-linear: linear;
  --ease-grain: steps(4);
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 600ms;
  --duration-spring: 400ms;
  --duration-crown-enter: 800ms;
  --duration-crown-breathe: 4s;
  --duration-hero: 900ms;
  --duration-feature: 1150ms;
  --duration-highlight: 1.1s;
  --duration-scroll-invite: 1.8s;
  --duration-loop: 1s;
  --duration-loop-fast: 2.7s;
  --duration-loop-slow: 4.8s;
  --duration-dot-pulse: 1.2s;
  --duration-grain: 1.4s;
  --duration-scroll-settle: 260ms;
  --duration-scroll-state: 180ms;
  --duration-reduced: 0.01ms;
  --duration-shake: 200ms;
  --duration-recovery: 500ms;
  --duration-deliberation-stagger: 200ms;
  --duration-convergence: 500ms;
  --delay-stagger-xs: 80ms;
  --delay-stagger-sm: 100ms;
  --delay-stagger-md: 160ms;
  --delay-stagger-lg: 240ms;
  --delay-hero-kicker: 120ms;
  --delay-hero-title: 200ms;
  --delay-hero-subtitle: 500ms;
  --delay-hero-copy: 720ms;
  --delay-hero-invite: 950ms;
  --stagger-dot: 200ms;
  --stagger-card: 80ms;
  --stagger-list: 30ms;
  --forest-trails-duration-arrive: var(--duration-recovery);
  --forest-trails-duration-flow: 7s;
  --forest-trails-duration-glow: 3800ms;
  --forest-trails-duration-drawer: var(--duration-spring);
  --forest-trails-edge-stagger: 900ms;
  --forest-trails-node-stagger: var(--duration-slow);
  --forest-trails-ease-flow: linear;
  --forest-trails-ease-glow: ease-in-out;

  --forest-display: var(--theme-shell-display);
  --forest-body: var(--theme-shell-body);
  --forest-sans: var(--theme-shell-sans);
  --forest-mono: var(--theme-shell-mono);
  --forest-bg: var(--theme-shell-bg);
  --forest-bg-deep: var(--theme-shell-bg-deep);
  --forest-surface: var(--theme-shell-surface);
  --forest-panel: var(--theme-shell-panel);
  --forest-ink: var(--theme-shell-ink);
  --forest-soft: var(--theme-shell-soft);
  --forest-muted: var(--theme-shell-muted);
  --forest-line: var(--theme-shell-line);
  --forest-amber: var(--theme-shell-amber);
  --forest-moss: var(--theme-shell-moss);
  --forest-rose: var(--theme-shell-rose);
  --forest-accent: var(--theme-shell-accent);
  --forest-accent-rgb: var(--theme-shell-accent-rgb);
  --forest-glow-amber: var(--theme-shell-glow-amber);
  --forest-glow-moss: var(--theme-shell-glow-moss);
  --forest-radius: var(--theme-shell-radius);

  --home-bg: var(--theme-home-bg);
  --home-surface: var(--theme-home-surface);
  --home-ink: var(--theme-home-ink);
  --home-soft: var(--theme-home-soft);
  --home-muted: var(--theme-home-muted);
  --home-line: var(--theme-home-line);
  --home-amber: var(--theme-home-amber);
  --home-moss: var(--theme-home-moss);
  --home-display: var(--theme-home-display);
  --home-body: var(--theme-home-body);
  --home-sans: var(--theme-home-sans);
}

/* ------------------------------------------------------------------ *
 * Keyboard focus.
 * forest-shell.css carries the same ring, but only ever reaches pages
 * that both set data-forest-page AND load it — which left the landing
 * page and four subpages on the browser default, near-invisible on a
 * #07070b ground. This file is the one stylesheet every page loads, so
 * the ring belongs here. The shell's own rule is more specific and
 * still wins where it applies; the two are kept identical on purpose.
 * ------------------------------------------------------------------ */
:where(a, button, input, textarea, select, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 4px;
}

/* Classes engage only after the shared runtime adds them, so content remains
   readable when JavaScript or IntersectionObserver is unavailable. */
.forest-motion-card {
  opacity: 0;
  transform: translateY(40px);
  transition:
    transform var(--duration-fast) var(--ease-out),
    box-shadow var(--duration-fast) var(--ease-out),
    border-color var(--duration-fast) var(--ease-out);
}

.forest-motion-card.in {
  opacity: 1;
  transform: translateY(0);
  animation: card-slam var(--duration-spring) var(--spring) both;
  animation-delay: calc(var(--i, 0) * var(--stagger-card));
}

.forest-motion-card.forest-motion-settled {
  animation: none;
  opacity: 1;
  transform: translateY(0);
}

@keyframes card-slam {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.forest-motion-header {
  opacity: 0;
  transform: translateX(-20px);
}

.forest-motion-header.in {
  opacity: 1;
  transform: translateX(0);
  transition:
    transform var(--duration-normal) var(--ease-out),
    opacity var(--duration-normal) var(--ease-out);
}

@media (hover: hover) {
  .forest-motion-card.forest-motion-settled:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--accent) 50%, var(--border));
    box-shadow: 0 12px 32px rgba(0, 0, 0, .45);
  }
}

.forest-scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  contain: strict;
  pointer-events: none;
  opacity: .52;
  mix-blend-mode: screen;
}

body[data-forest-ambient-overlay="true"] > .forest-scene {
  z-index: 3;
  opacity: .28;
}

/* ------------------------------------------------------------------ *
 * Opt-in page skin. A subpage adds class="forest-skin" on <html> and
 * gets the grain (film noise via inline SVG turbulence) plus a soft
 * vignette pulling the edges into dusk. Adding "forest-palette" as
 * well remaps the shared token names onto the dusk-forest palette —
 * pages with their own color identity (kids apps, periodic table)
 * take the skin without the palette.
 * ------------------------------------------------------------------ */
html.forest-skin.forest-palette {
  --bg: var(--forest-bg);
  --surface: var(--forest-surface);
  --border: rgba(226, 235, 209, .1);
  --text-primary: var(--forest-ink);
  --text-muted: var(--forest-muted);
  --accent: var(--forest-amber);
  --accent-green: var(--forest-moss);
  --focus-ring: var(--forest-moss);
}

html.forest-skin body { position: relative; }

/* Film grain: tiny tiled SVG turbulence, fixed over everything,
   blended softly. pointer-events: none keeps it inert. */
html.forest-skin body::after,
.forest-grain {
  content: "";
  position: fixed;
  z-index: 2147483000;
  inset: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: forest-grain-shift var(--duration-grain) var(--ease-grain) infinite;
}

@keyframes forest-grain-shift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-1.2%, .8%); }
  50% { transform: translate(.9%, -1.1%); }
  75% { transform: translate(-.7%, -.6%); }
  100% { transform: translate(0, 0); }
}

/* Dusk vignette — the page breathes inward at the edges. */
html.forest-skin body::before,
.forest-vignette {
  content: "";
  position: fixed;
  z-index: 2147482999;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 120% 105% at 50% 38%, transparent 55%, rgba(3, 6, 4, .38) 100%);
}

@media (prefers-reduced-motion: reduce) {
  html.forest-skin body::after,
  .forest-grain { animation: none; }

  .forest-motion-card,
  .forest-motion-card.in,
  .forest-motion-header,
  .forest-motion-header.in {
    animation: none;
    opacity: 1;
    transform: none;
    transition: none;
  }

  .forest-scene { opacity: .26; }
}

/* Selection, in the site's voice, everywhere the skin runs. */
html.forest-skin ::selection {
  background: rgba(232, 184, 107, .28);
  color: var(--forest-ink);
}

/* Cross-document navigation keeps the page change legible without turning
   persistent chrome into a second animation system. */
@view-transition {
  navigation: auto;
}

::view-transition-old(root) {
  animation: forest-root-out var(--duration-normal) var(--ease-out) both;
}

::view-transition-new(root) {
  animation: forest-root-in var(--duration-normal) var(--ease-out) both;
}

@keyframes forest-root-out {
  to { opacity: 0; }
}

@keyframes forest-root-in {
  from { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(root),
  ::view-transition-group(forest-chrome),
  ::view-transition-old(root),
  ::view-transition-new(root),
  ::view-transition-old(forest-chrome),
  ::view-transition-new(forest-chrome) {
    animation: none !important;
    animation-duration: 0s !important;
  }
}
