/* ============================================================================
   AliothPress Theme: Crimson Velvet
   
   Concept: The quiet luxury of a private wine cellar — burgundy velvet,
   aged oak, candlelight on crystal. Not red as a color, but red as 
   a feeling: warmth, depth, intimacy, and understated opulence.
   Dark mode by default. Light mode via .light-theme class on <html>.
   
   Architecture: ONLY overrides CSS custom properties from core.css.
   Components stay untouched — themes are fully portable.
   ============================================================================ */

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url('/static/fonts/playfair-display/playfair-display-cyrillic-400-normal.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url('/static/fonts/playfair-display/playfair-display-vietnamese-400-normal.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url('/static/fonts/playfair-display/playfair-display-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: 'Playfair Display';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url('/static/fonts/playfair-display/playfair-display-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: 'Playfair Display';
  font-style: italic;
  font-display: swap;
  font-weight: 400;
  src: url('/static/fonts/playfair-display/playfair-display-cyrillic-400-italic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-display: swap;
  font-weight: 400;
  src: url('/static/fonts/playfair-display/playfair-display-vietnamese-400-italic.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-display: swap;
  font-weight: 400;
  src: url('/static/fonts/playfair-display/playfair-display-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: 'Playfair Display';
  font-style: italic;
  font-display: swap;
  font-weight: 400;
  src: url('/static/fonts/playfair-display/playfair-display-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: 'Playfair Display';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url('/static/fonts/playfair-display/playfair-display-cyrillic-500-normal.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url('/static/fonts/playfair-display/playfair-display-vietnamese-500-normal.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url('/static/fonts/playfair-display/playfair-display-latin-ext-500-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: 'Playfair Display';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url('/static/fonts/playfair-display/playfair-display-latin-500-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: 'Playfair Display';
  font-style: italic;
  font-display: swap;
  font-weight: 500;
  src: url('/static/fonts/playfair-display/playfair-display-cyrillic-500-italic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-display: swap;
  font-weight: 500;
  src: url('/static/fonts/playfair-display/playfair-display-vietnamese-500-italic.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-display: swap;
  font-weight: 500;
  src: url('/static/fonts/playfair-display/playfair-display-latin-ext-500-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: 'Playfair Display';
  font-style: italic;
  font-display: swap;
  font-weight: 500;
  src: url('/static/fonts/playfair-display/playfair-display-latin-500-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: 'Playfair Display';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url('/static/fonts/playfair-display/playfair-display-cyrillic-600-normal.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url('/static/fonts/playfair-display/playfair-display-vietnamese-600-normal.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url('/static/fonts/playfair-display/playfair-display-latin-ext-600-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: 'Playfair Display';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url('/static/fonts/playfair-display/playfair-display-latin-600-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: 'Playfair Display';
  font-style: italic;
  font-display: swap;
  font-weight: 600;
  src: url('/static/fonts/playfair-display/playfair-display-cyrillic-600-italic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-display: swap;
  font-weight: 600;
  src: url('/static/fonts/playfair-display/playfair-display-vietnamese-600-italic.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-display: swap;
  font-weight: 600;
  src: url('/static/fonts/playfair-display/playfair-display-latin-ext-600-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: 'Playfair Display';
  font-style: italic;
  font-display: swap;
  font-weight: 600;
  src: url('/static/fonts/playfair-display/playfair-display-latin-600-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: 'Playfair Display';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url('/static/fonts/playfair-display/playfair-display-cyrillic-700-normal.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url('/static/fonts/playfair-display/playfair-display-vietnamese-700-normal.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url('/static/fonts/playfair-display/playfair-display-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: 'Playfair Display';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url('/static/fonts/playfair-display/playfair-display-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;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-display: swap;
  font-weight: 700;
  src: url('/static/fonts/playfair-display/playfair-display-cyrillic-700-italic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-display: swap;
  font-weight: 700;
  src: url('/static/fonts/playfair-display/playfair-display-vietnamese-700-italic.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-display: swap;
  font-weight: 700;
  src: url('/static/fonts/playfair-display/playfair-display-latin-ext-700-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: 'Playfair Display';
  font-style: italic;
  font-display: swap;
  font-weight: 700;
  src: url('/static/fonts/playfair-display/playfair-display-latin-700-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: 'Source Sans 3';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url('/static/fonts/source-sans-3/source-sans-3-cyrillic-ext-400-normal.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url('/static/fonts/source-sans-3/source-sans-3-cyrillic-400-normal.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url('/static/fonts/source-sans-3/source-sans-3-greek-ext-400-normal.woff2') format('woff2');
  unicode-range: U+1F00-1FFF;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url('/static/fonts/source-sans-3/source-sans-3-greek-400-normal.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url('/static/fonts/source-sans-3/source-sans-3-vietnamese-400-normal.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url('/static/fonts/source-sans-3/source-sans-3-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: 'Source Sans 3';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url('/static/fonts/source-sans-3/source-sans-3-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: 'Source Sans 3';
  font-style: italic;
  font-display: swap;
  font-weight: 400;
  src: url('/static/fonts/source-sans-3/source-sans-3-cyrillic-ext-400-italic.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: italic;
  font-display: swap;
  font-weight: 400;
  src: url('/static/fonts/source-sans-3/source-sans-3-cyrillic-400-italic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: italic;
  font-display: swap;
  font-weight: 400;
  src: url('/static/fonts/source-sans-3/source-sans-3-greek-ext-400-italic.woff2') format('woff2');
  unicode-range: U+1F00-1FFF;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: italic;
  font-display: swap;
  font-weight: 400;
  src: url('/static/fonts/source-sans-3/source-sans-3-greek-400-italic.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: italic;
  font-display: swap;
  font-weight: 400;
  src: url('/static/fonts/source-sans-3/source-sans-3-vietnamese-400-italic.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: italic;
  font-display: swap;
  font-weight: 400;
  src: url('/static/fonts/source-sans-3/source-sans-3-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: 'Source Sans 3';
  font-style: italic;
  font-display: swap;
  font-weight: 400;
  src: url('/static/fonts/source-sans-3/source-sans-3-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: 'Source Sans 3';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url('/static/fonts/source-sans-3/source-sans-3-cyrillic-ext-500-normal.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url('/static/fonts/source-sans-3/source-sans-3-cyrillic-500-normal.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url('/static/fonts/source-sans-3/source-sans-3-greek-ext-500-normal.woff2') format('woff2');
  unicode-range: U+1F00-1FFF;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url('/static/fonts/source-sans-3/source-sans-3-greek-500-normal.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url('/static/fonts/source-sans-3/source-sans-3-vietnamese-500-normal.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url('/static/fonts/source-sans-3/source-sans-3-latin-ext-500-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: 'Source Sans 3';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url('/static/fonts/source-sans-3/source-sans-3-latin-500-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: 'Source Sans 3';
  font-style: italic;
  font-display: swap;
  font-weight: 500;
  src: url('/static/fonts/source-sans-3/source-sans-3-cyrillic-ext-500-italic.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: italic;
  font-display: swap;
  font-weight: 500;
  src: url('/static/fonts/source-sans-3/source-sans-3-cyrillic-500-italic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: italic;
  font-display: swap;
  font-weight: 500;
  src: url('/static/fonts/source-sans-3/source-sans-3-greek-ext-500-italic.woff2') format('woff2');
  unicode-range: U+1F00-1FFF;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: italic;
  font-display: swap;
  font-weight: 500;
  src: url('/static/fonts/source-sans-3/source-sans-3-greek-500-italic.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: italic;
  font-display: swap;
  font-weight: 500;
  src: url('/static/fonts/source-sans-3/source-sans-3-vietnamese-500-italic.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: italic;
  font-display: swap;
  font-weight: 500;
  src: url('/static/fonts/source-sans-3/source-sans-3-latin-ext-500-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: 'Source Sans 3';
  font-style: italic;
  font-display: swap;
  font-weight: 500;
  src: url('/static/fonts/source-sans-3/source-sans-3-latin-500-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: 'Source Sans 3';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url('/static/fonts/source-sans-3/source-sans-3-cyrillic-ext-600-normal.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url('/static/fonts/source-sans-3/source-sans-3-cyrillic-600-normal.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url('/static/fonts/source-sans-3/source-sans-3-greek-ext-600-normal.woff2') format('woff2');
  unicode-range: U+1F00-1FFF;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url('/static/fonts/source-sans-3/source-sans-3-greek-600-normal.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url('/static/fonts/source-sans-3/source-sans-3-vietnamese-600-normal.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url('/static/fonts/source-sans-3/source-sans-3-latin-ext-600-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: 'Source Sans 3';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url('/static/fonts/source-sans-3/source-sans-3-latin-600-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: 'Source Sans 3';
  font-style: italic;
  font-display: swap;
  font-weight: 600;
  src: url('/static/fonts/source-sans-3/source-sans-3-cyrillic-ext-600-italic.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: italic;
  font-display: swap;
  font-weight: 600;
  src: url('/static/fonts/source-sans-3/source-sans-3-cyrillic-600-italic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: italic;
  font-display: swap;
  font-weight: 600;
  src: url('/static/fonts/source-sans-3/source-sans-3-greek-ext-600-italic.woff2') format('woff2');
  unicode-range: U+1F00-1FFF;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: italic;
  font-display: swap;
  font-weight: 600;
  src: url('/static/fonts/source-sans-3/source-sans-3-greek-600-italic.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: italic;
  font-display: swap;
  font-weight: 600;
  src: url('/static/fonts/source-sans-3/source-sans-3-vietnamese-600-italic.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: italic;
  font-display: swap;
  font-weight: 600;
  src: url('/static/fonts/source-sans-3/source-sans-3-latin-ext-600-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: 'Source Sans 3';
  font-style: italic;
  font-display: swap;
  font-weight: 600;
  src: url('/static/fonts/source-sans-3/source-sans-3-latin-600-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: 'Source Sans 3';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url('/static/fonts/source-sans-3/source-sans-3-cyrillic-ext-700-normal.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url('/static/fonts/source-sans-3/source-sans-3-cyrillic-700-normal.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url('/static/fonts/source-sans-3/source-sans-3-greek-ext-700-normal.woff2') format('woff2');
  unicode-range: U+1F00-1FFF;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url('/static/fonts/source-sans-3/source-sans-3-greek-700-normal.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url('/static/fonts/source-sans-3/source-sans-3-vietnamese-700-normal.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url('/static/fonts/source-sans-3/source-sans-3-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: 'Source Sans 3';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url('/static/fonts/source-sans-3/source-sans-3-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;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: italic;
  font-display: swap;
  font-weight: 700;
  src: url('/static/fonts/source-sans-3/source-sans-3-cyrillic-ext-700-italic.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: italic;
  font-display: swap;
  font-weight: 700;
  src: url('/static/fonts/source-sans-3/source-sans-3-cyrillic-700-italic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: italic;
  font-display: swap;
  font-weight: 700;
  src: url('/static/fonts/source-sans-3/source-sans-3-greek-ext-700-italic.woff2') format('woff2');
  unicode-range: U+1F00-1FFF;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: italic;
  font-display: swap;
  font-weight: 700;
  src: url('/static/fonts/source-sans-3/source-sans-3-greek-700-italic.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: italic;
  font-display: swap;
  font-weight: 700;
  src: url('/static/fonts/source-sans-3/source-sans-3-vietnamese-700-italic.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: italic;
  font-display: swap;
  font-weight: 700;
  src: url('/static/fonts/source-sans-3/source-sans-3-latin-ext-700-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: 'Source Sans 3';
  font-style: italic;
  font-display: swap;
  font-weight: 700;
  src: url('/static/fonts/source-sans-3/source-sans-3-latin-700-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;
}

/* Metric-adjusted fallbacks — local() only, zero downloads, GDPR-safe.
   Keep the real web font shown as designed; the fallback only fills the brief
   pre-load window with identical line-height/width so swapping causes no CLS.
   unicode-range limits this to the scripts these fonts actually serve, so
   Arabic/Hebrew/CJK keep using the system font (better RTL/CJK rendering). */
@font-face {
  font-family: 'Playfair Display Fallback';
  font-weight: 400;
  src: local('Times New Roman');
  size-adjust: 111.37%;
  ascent-override: 97.16%;
  descent-override: 22.54%;
  line-gap-override: 0.00%;
  unicode-range: U+0000-036F, U+1E00-1FFF, U+2000-206F, U+20A0-20CF, U+2100-214F;
}
@font-face {
  font-family: 'Playfair Display Fallback';
  font-weight: 400;
  src: local('Times New Roman');
  size-adjust: 110.83%;
  ascent-override: 97.62%;
  descent-override: 22.65%;
  line-gap-override: 0.00%;
  unicode-range: U+0301, U+0400-045F, U+0460-052F, U+1C80-1C8A, U+2116;
}
@font-face {
  font-family: 'Playfair Display Fallback';
  font-weight: 500;
  src: local('Times New Roman');
  size-adjust: 112.42%;
  ascent-override: 96.25%;
  descent-override: 22.33%;
  line-gap-override: 0.00%;
  unicode-range: U+0000-036F, U+1E00-1FFF, U+2000-206F, U+20A0-20CF, U+2100-214F;
}
@font-face {
  font-family: 'Playfair Display Fallback';
  font-weight: 500;
  src: local('Times New Roman');
  size-adjust: 112.40%;
  ascent-override: 96.27%;
  descent-override: 22.33%;
  line-gap-override: 0.00%;
  unicode-range: U+0301, U+0400-045F, U+0460-052F, U+1C80-1C8A, U+2116;
}
@font-face {
  font-family: 'Playfair Display Fallback';
  font-weight: 600;
  src: local('Times New Roman');
  size-adjust: 113.46%;
  ascent-override: 95.36%;
  descent-override: 22.12%;
  line-gap-override: 0.00%;
  unicode-range: U+0000-036F, U+1E00-1FFF, U+2000-206F, U+20A0-20CF, U+2100-214F;
}
@font-face {
  font-family: 'Playfair Display Fallback';
  font-weight: 600;
  src: local('Times New Roman');
  size-adjust: 113.94%;
  ascent-override: 94.96%;
  descent-override: 22.03%;
  line-gap-override: 0.00%;
  unicode-range: U+0301, U+0400-045F, U+0460-052F, U+1C80-1C8A, U+2116;
}
@font-face {
  font-family: 'Playfair Display Fallback';
  font-weight: 700;
  src: local('Times New Roman');
  size-adjust: 114.53%;
  ascent-override: 94.47%;
  descent-override: 21.92%;
  line-gap-override: 0.00%;
  unicode-range: U+0000-036F, U+1E00-1FFF, U+2000-206F, U+20A0-20CF, U+2100-214F;
}
@font-face {
  font-family: 'Playfair Display Fallback';
  font-weight: 700;
  src: local('Times New Roman');
  size-adjust: 115.45%;
  ascent-override: 93.72%;
  descent-override: 21.74%;
  line-gap-override: 0.00%;
  unicode-range: U+0301, U+0400-045F, U+0460-052F, U+1C80-1C8A, U+2116;
}
@font-face {
  font-family: 'Source Sans 3 Fallback';
  font-weight: 400;
  src: local('Arial');
  size-adjust: 93.29%;
  ascent-override: 109.76%;
  descent-override: 42.88%;
  line-gap-override: 0.00%;
  unicode-range: U+0000-036F, U+1E00-1FFF, U+2000-206F, U+20A0-20CF, U+2100-214F;
}
@font-face {
  font-family: 'Source Sans 3 Fallback';
  font-weight: 400;
  src: local('Arial');
  size-adjust: 93.94%;
  ascent-override: 109.01%;
  descent-override: 42.58%;
  line-gap-override: 0.00%;
  unicode-range: U+0301, U+0400-045F, U+0460-052F, U+1C80-1C8A, U+2116;
}
@font-face {
  font-family: 'Source Sans 3 Fallback';
  font-weight: 500;
  src: local('Arial');
  size-adjust: 94.64%;
  ascent-override: 108.20%;
  descent-override: 42.27%;
  line-gap-override: 0.00%;
  unicode-range: U+0000-036F, U+1E00-1FFF, U+2000-206F, U+20A0-20CF, U+2100-214F;
}
@font-face {
  font-family: 'Source Sans 3 Fallback';
  font-weight: 500;
  src: local('Arial');
  size-adjust: 95.09%;
  ascent-override: 107.69%;
  descent-override: 42.06%;
  line-gap-override: 0.00%;
  unicode-range: U+0301, U+0400-045F, U+0460-052F, U+1C80-1C8A, U+2116;
}
@font-face {
  font-family: 'Source Sans 3 Fallback';
  font-weight: 600;
  src: local('Arial');
  size-adjust: 95.99%;
  ascent-override: 106.68%;
  descent-override: 41.67%;
  line-gap-override: 0.00%;
  unicode-range: U+0000-036F, U+1E00-1FFF, U+2000-206F, U+20A0-20CF, U+2100-214F;
}
@font-face {
  font-family: 'Source Sans 3 Fallback';
  font-weight: 600;
  src: local('Arial');
  size-adjust: 96.26%;
  ascent-override: 106.38%;
  descent-override: 41.56%;
  line-gap-override: 0.00%;
  unicode-range: U+0301, U+0400-045F, U+0460-052F, U+1C80-1C8A, U+2116;
}
@font-face {
  font-family: 'Source Sans 3 Fallback';
  font-weight: 700;
  src: local('Arial');
  size-adjust: 98.56%;
  ascent-override: 103.90%;
  descent-override: 40.59%;
  line-gap-override: 0.00%;
  unicode-range: U+0000-036F, U+1E00-1FFF, U+2000-206F, U+20A0-20CF, U+2100-214F;
}
@font-face {
  font-family: 'Source Sans 3 Fallback';
  font-weight: 700;
  src: local('Arial');
  size-adjust: 98.48%;
  ascent-override: 103.98%;
  descent-override: 40.62%;
  line-gap-override: 0.00%;
  unicode-range: U+0301, U+0400-045F, U+0460-052F, U+1C80-1C8A, U+2116;
}

/* ============================================================================
   DARK THEME (default)
   ============================================================================ */

:root {
  /* --- Brand: Muted Ruby & Aged Gold --- */
  --ap-color-primary:        #c2717a;
  --ap-color-primary-hover:  #d4919a;
  --ap-color-primary-light:  rgba(194, 113, 122, 0.14);
  --ap-color-primary-subtle: rgba(194, 113, 122, 0.06);
  
  --ap-color-accent:         #c9a84c;
  --ap-color-accent-hover:   #d9be6e;
  
  /* --- Semantic --- */
  --ap-color-success:  #7dba84;
  --ap-color-warning:  #d4b85c;
  --ap-color-error:    #d4736b;
  --ap-color-info:     #7aafc4;
  
  /* --- Surfaces: Wine-Dark Depths --- */
  --ap-color-bg:            #110d0f;
  --ap-color-surface:       #1a1416;
  --ap-color-surface-alt:   #241c1f;
  --ap-color-border:        rgba(255, 240, 245, 0.06);
  --ap-color-border-strong: rgba(255, 240, 245, 0.11);
  
  /* --- Text: Warm Parchment Tones --- */
  --ap-color-text:           #c4b8b0;
  --ap-color-text-secondary: #9a8e87;
  --ap-color-text-muted:     #92847d;
  --ap-color-text-inverse:   #110d0f;
  --ap-color-link:           #c2717a;
  --ap-color-link-hover:     #d4919a;
  
  --ap-color-white: #ffffff;
  --ap-color-black: #110d0f;

  /* --- Header: Smoke & velvet --- */
  --ap-header-bg:         rgba(17, 13, 15, 0.88);
  --ap-header-text:       #f0e8e4;
  --ap-header-link:       rgba(240, 232, 228, 0.50);
  --ap-header-link-hover: #f0e8e4;

  /* --- Footer --- */
  --ap-footer-bg:         #0c090a;
  --ap-footer-text:       #92847d;
  --ap-footer-link:       #9a8e87;
  --ap-footer-link-hover: #c2717a;
  --ap-footer-border:     rgba(255, 240, 245, 0.06);
  
  /* --- Typography: Classic Elegance --- */
  --ap-font-heading: 'Playfair Display', 'Playfair Display Fallback', 'Georgia', 'Times New Roman', serif;
  --ap-font-body:    'Source Sans 3', 'Source Sans 3 Fallback', 'Inter', system-ui, -apple-system, sans-serif;
  --ap-font-mono:    'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;
  
  /* --- Shapes: Soft, luxurious --- */
  --ap-radius-sm:  3px;
  --ap-radius-md:  6px;
  --ap-radius-lg:  10px;
  --ap-radius-xl:  14px;
  
  /* --- Shadows: Deep, warm --- */
  --ap-shadow-sm:  0 1px 3px rgba(0, 0, 0, 0.45);
  --ap-shadow-md:  0 4px 14px rgba(0, 0, 0, 0.5);
  --ap-shadow-lg:  0 8px 28px rgba(0, 0, 0, 0.55);
  --ap-shadow-xl:  0 16px 48px rgba(0, 0, 0, 0.65);
  --ap-shadow-glow: 0 0 24px rgba(194, 113, 122, 0.08);
}

/* --- Header glass --- */
.ap-header {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 240, 245, 0.04);
}

/* --- Headings: warm cream --- */
h1, h2, h3, h4, h5, h6 {
  color: #f0e8e4;
  letter-spacing: -0.01em;
}

/* --- Prose code blocks --- */

/* --- Blockquotes: ruby border, velvet bg --- */
.ap-prose blockquote {
  border-left-color: #c2717a;
  background: rgba(194, 113, 122, 0.05);
  color: #9a8e87;
}

/* --- Tables --- */
.ap-prose th {
  background: #1a1416;
  border-bottom-color: rgba(255, 240, 245, 0.09);
}

.ap-prose td {
  border-bottom-color: rgba(255, 240, 245, 0.05);
}

.ap-prose tbody tr:hover {
  background: rgba(194, 113, 122, 0.04);
}

/* --- Post cards --- */
.ap-post-card__title a {
  color: #f0e8e4;
}

.ap-post-card__title a:hover {
  color: #c2717a;
}

.ap-post-card {
  border-bottom-color: rgba(255, 240, 245, 0.06);
}

/* --- Article title --- */
.ap-article__title {
  color: #f0e8e4;
}

/* --- Language dropdown --- */
.ap-lang__dropdown {
  background: #1a1416;
  border-color: rgba(255, 240, 245, 0.08);
}

.ap-lang__option {
  color: #c4b8b0;
}

.ap-lang__option:hover {
  background: rgba(194, 113, 122, 0.08);
  color: #f0e8e4;
}

.ap-lang__option.is-active {
  color: #d4919a;
  background: rgba(194, 113, 122, 0.12);
}

/* --- Mobile sidebar --- */
.ap-sidebar {
  background: #140f11;
  border-left: 1px solid rgba(255, 240, 245, 0.05);
}

.ap-sidebar__header {
  border-bottom-color: rgba(255, 240, 245, 0.06);
}

.ap-sidebar__title {
  color: #f0e8e4;
}

.ap-sidebar__link {
  color: #c4b8b0;
}

.ap-sidebar__link:hover {
  background: rgba(194, 113, 122, 0.08);
  color: #c2717a;
}

.ap-sidebar__close {
  color: #9a8e87;
}

.ap-sidebar__close:hover {
  background: rgba(255, 240, 245, 0.05);
  color: #f0e8e4;
}

.ap-sidebar__lang-link {
  color: #9a8e87;
  border-color: rgba(255, 240, 245, 0.1);
}

.ap-sidebar__lang-link:hover {
  border-color: #c2717a;
  color: #c2717a;
}

.ap-sidebar__lang-link.is-active {
  background: #c2717a;
  border-color: #c2717a;
  color: #110d0f;
}

/* --- Social icons --- */
.ap-social-icon {
  background: rgba(255, 240, 245, 0.05);
  color: #9a8e87;
}

/* --- Footer nav --- */
.ap-footer__nav {
  border-top-color: rgba(255, 240, 245, 0.06);
}

/* --- Pagination --- */
.ap-pagination a {
  color: #9a8e87;
  border-color: rgba(255, 240, 245, 0.1);
}

.ap-pagination a:hover {
  color: #c2717a;
  border-color: #c2717a;
  background: rgba(194, 113, 122, 0.08);
}

/* --- Tags --- */
.ap-tag {
  color: #d4919a;
  background: rgba(194, 113, 122, 0.1);
}

.ap-tag:hover {
  background: rgba(194, 113, 122, 0.18);
  color: #d4919a;
}

/* --- Buttons --- */
.ap-btn--primary {
  background: #c2717a;
  color: #110d0f;
}

.ap-btn--primary:hover {
  background: #d4919a;
  color: #110d0f;
}

.ap-btn--outline {
  color: #c2717a;
  border-color: rgba(194, 113, 122, 0.35);
}

.ap-btn--outline:hover {
  background: #c2717a;
  color: #110d0f;
}

/* --- HR --- */
.ap-prose hr {
  border-top-color: rgba(255, 240, 245, 0.06);
}

/* --- Focus ring --- */
:focus-visible {
  outline: 2px solid #c2717a;
  outline-offset: 2px;
}

/* ============================================================================
   LIGHT THEME — "Velvet Morning"
   
   Warm ivory, not clinical white. Burgundy accents deepen.
   Like morning light through heavy curtains onto linen tablecloth.
   WCAG contrast ratio ≥ 4.5:1 on all text.
   ============================================================================ */

.light-theme {
  /* --- Surfaces: warm ivory & linen --- */
  --ap-color-bg:            #faf6f3;
  --ap-color-surface:       #f2ece7;
  --ap-color-surface-alt:   #e6ddd6;
  --ap-color-border:        #ddd3cb;
  --ap-color-border-strong: #c7bbb2;
  
  /* --- Text: deep warm brown --- */
  --ap-color-text:           #3b302b;
  --ap-color-text-secondary: #584b44;
  --ap-color-text-muted:     #6c5d55;
  --ap-color-text-inverse:   #faf6f3;
  
  /* --- Primary: deeper burgundy on light --- */
  --ap-color-primary:        #943c47;
  --ap-color-primary-hover:  #7d2f39;
  --ap-color-primary-light:  #f5dde0;
  --ap-color-primary-subtle: #faf0f1;
  --ap-color-link:           #943c47;
  --ap-color-link-hover:     #7d2f39;
  
  --ap-color-accent:         #8e7028;
  --ap-color-accent-hover:   #745b1e;
  
  /* --- Header --- */
  --ap-header-bg:         rgba(250, 246, 243, 0.92);
  --ap-header-text:       #2b201c;
  --ap-header-link:       #584b44;
  --ap-header-link-hover: #2b201c;
  
  /* --- Footer --- */
  --ap-footer-bg:         #f2ece7;
  --ap-footer-text:       #73645c;
  --ap-footer-link:       #73645c;
  --ap-footer-link-hover: #3b302b;
  --ap-footer-border:     #ddd3cb;
  
  /* --- Shadows --- */
  --ap-shadow-sm:  0 1px 2px rgba(50, 30, 20, 0.05);
  --ap-shadow-md:  0 4px 6px -1px rgba(50, 30, 20, 0.07), 0 2px 4px -2px rgba(50, 30, 20, 0.04);
  --ap-shadow-lg:  0 10px 15px -3px rgba(50, 30, 20, 0.08), 0 4px 6px -4px rgba(50, 30, 20, 0.04);
  --ap-shadow-xl:  0 20px 25px -5px rgba(50, 30, 20, 0.09), 0 8px 10px -6px rgba(50, 30, 20, 0.04);
}

.light-theme .ap-header {
  border-bottom-color: #ddd3cb;
}

.light-theme h1,
.light-theme h2,
.light-theme h3,
.light-theme h4,
.light-theme h5,
.light-theme h6 {
  color: #2b201c;
}

.light-theme .ap-article__title {
  color: #2b201c;
}

.light-theme .ap-post-card__title a {
  color: #2b201c;
}

.light-theme .ap-post-card__title a:hover {
  color: #943c47;
}

.light-theme .ap-post-card {
  border-bottom-color: #ddd3cb;
}

.light-theme .ap-prose blockquote {
  border-left-color: #943c47;
  background: #faf0f1;
  color: #584b44;
}

.light-theme .ap-prose th {
  background: #f2ece7;
  border-bottom-color: #ddd3cb;
}

.light-theme .ap-prose td {
  border-bottom-color: #ddd3cb;
}

.light-theme .ap-prose tbody tr:hover {
  background: #faf6f3;
}

.light-theme .ap-prose hr {
  border-top-color: #ddd3cb;
}

.light-theme .ap-lang__trigger {
  color: #584b44;
  border-color: #ddd3cb;
}

.light-theme .ap-lang__trigger:hover {
  color: #2b201c;
  border-color: #c7bbb2;
  background: rgba(50, 30, 20, 0.03);
}

.light-theme .ap-lang__dropdown {
  background: #ffffff;
  border-color: #ddd3cb;
}

.light-theme .ap-lang__option {
  color: #584b44;
}

.light-theme .ap-lang__option:hover {
  background: #f2ece7;
  color: #2b201c;
}

.light-theme .ap-lang__option.is-active {
  color: #943c47;
  background: #faf0f1;
}

.light-theme .ap-sidebar {
  background: #ffffff;
  border-left-color: #ddd3cb;
}

.light-theme .ap-sidebar__header {
  border-bottom-color: #ddd3cb;
}

.light-theme .ap-sidebar__title {
  color: #2b201c;
}

.light-theme .ap-sidebar__link {
  color: #3b302b;
}

.light-theme .ap-sidebar__link:hover {
  background: #f2ece7;
  color: #943c47;
}

.light-theme .ap-sidebar__close {
  color: #6c5d55;
}

.light-theme .ap-sidebar__close:hover {
  background: #f2ece7;
  color: #3b302b;
}

.light-theme .ap-sidebar__lang-link {
  color: #584b44;
  border-color: #ddd3cb;
}

.light-theme .ap-sidebar__lang-link:hover {
  border-color: #943c47;
  color: #943c47;
}

.light-theme .ap-sidebar__lang-link.is-active {
  background: #943c47;
  border-color: #943c47;
  color: #ffffff;
}

.light-theme .ap-social-icon {
  background: #f2ece7;
  color: #73645c;
}

.light-theme .ap-footer__nav {
  border-top-color: #ddd3cb;
}

.light-theme .ap-pagination a {
  color: #584b44;
  border-color: #ddd3cb;
}

.light-theme .ap-pagination a:hover {
  color: #943c47;
  border-color: #943c47;
  background: #faf0f1;
}

.light-theme .ap-tag {
  color: #943c47;
  background: #faf0f1;
}

.light-theme .ap-tag:hover {
  background: #f5dde0;
  color: #943c47;
}

.light-theme .ap-btn--primary {
  background: #943c47;
  color: #ffffff;
}

.light-theme .ap-btn--primary:hover {
  background: #7d2f39;
  color: #ffffff;
}

.light-theme .ap-btn--outline {
  color: #943c47;
  border-color: #943c47;
}

.light-theme .ap-btn--outline:hover {
  background: #943c47;
  color: #ffffff;
}

.light-theme .ap-hamburger__line {
  background: #3b302b;
}

.light-theme .ap-hamburger:hover {
  background: rgba(50, 30, 20, 0.05);
}

.light-theme :focus-visible {
  outline-color: #943c47;
}
