/* =============================================================
   NEODY LEGACY - Design System
   Médiéval premium | or chaud + pierre sombre | cinématique
   ============================================================= */

/* ---------- Fonts ---------- */
/* latin-ext */
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/asset_4.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;
}
/* latin */
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/asset_5.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;
}
/* latin-ext */
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/asset_4.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;
}
/* latin */
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/asset_5.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;
}
/* latin-ext */
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/asset_4.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;
}
/* latin */
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/asset_5.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;
}
/* latin-ext */
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/asset_4.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;
}
/* latin */
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/asset_5.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;
}
/* latin-ext */
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/asset_4.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;
}
/* latin */
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/asset_5.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;
}
/* latin-ext */
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("../fonts/asset_4.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;
}
/* latin */
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("../fonts/asset_5.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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/asset_6.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/asset_7.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/asset_8.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/asset_9.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;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/asset_10.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;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/asset_11.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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/asset_6.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/asset_7.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/asset_8.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/asset_9.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;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/asset_10.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;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/asset_11.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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/asset_6.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/asset_7.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/asset_8.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/asset_9.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;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/asset_10.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;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/asset_11.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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/asset_6.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/asset_7.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/asset_8.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/asset_9.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;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/asset_10.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;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/asset_11.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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/asset_6.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/asset_7.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/asset_8.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/asset_9.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;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/asset_10.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;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/asset_11.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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/asset_6.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/asset_7.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/asset_8.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/asset_9.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;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/asset_10.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;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/asset_11.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;
}


/* ---------- Tokens ---------- */
:root{
  /* stone / dark */
  --stone-950:#0a0806;
  --stone-900:#0f0c09;
  --stone-880:#13100b;
  --stone-850:#17130d;
  --stone-800:#1c1710;
  --stone-750:#241d14;
  --stone-700:#2e2417;
  --stone-600:#3c2f1e;

  /* gold */
  --gold-50:#fbf3d9;
  --gold-100:#f6e7bc;
  --gold-200:#f0d488;
  --gold-300:#ecc869;
  --gold-400:#e6b945;
  --gold-500:#e0a82e;   /* primary */
  --gold-600:#c8901f;
  --gold-700:#a4711a;
  --gold-800:#7a5314;

  /* text */
  --ink:#f1eadc;
  --ink-soft:#d3c9b3;
  --ink-dim:#b4a98f;
  --ink-faint:#867a64;
  --parch:#e7dcc2;

  /* status */
  --online:#62d487;
  --online-glow:rgba(98,212,135,.45);

  /* lines / surfaces */
  --line:rgba(224,168,46,.17);
  --line-soft:rgba(231,220,194,.10);
  --line-strong:rgba(224,168,46,.34);
  --glass:rgba(20,16,11,.78);

  /* type */
  --display:'Cinzel',Georgia,serif;
  --sans:'Manrope',system-ui,sans-serif;

  --shadow-card:0 1px 0 rgba(255,240,200,.04) inset, 0 24px 50px -24px rgba(0,0,0,.85);
  --shadow-gold:0 10px 30px -10px rgba(224,168,46,.45);

  --rad:14px;
  --maxw:1240px;
}

/* ---------- Reset ---------- */
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  font-family:var(--sans);
  background:var(--stone-950);
  color:var(--ink);
  line-height:1.6;
  font-weight:400;
  letter-spacing:.005em;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
img{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
button{font-family:inherit;cursor:pointer;border:none;background:none;color:inherit}
ul{list-style:none}
::selection{background:rgba(224,168,46,.3);color:#fff}

/* scrollbar */
::-webkit-scrollbar{width:11px;height:11px}
::-webkit-scrollbar-track{background:var(--stone-900)}
::-webkit-scrollbar-thumb{background:var(--stone-700);border-radius:20px;border:3px solid var(--stone-900)}
::-webkit-scrollbar-thumb:hover{background:var(--gold-800)}

/* ---------- Layout ---------- */
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 28px}
.section{position:relative;padding:120px 0}
.section--tight{padding:84px 0}

/* ---------- Texture overlays ---------- */
.grain{
  position:fixed;inset:0;pointer-events:none;z-index:1;opacity:.4;mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

/* ---------- Typography ---------- */
.display{font-family:var(--display);font-weight:800;line-height:1.02;letter-spacing:.01em}
.eyebrow{
  font-family:var(--display);font-weight:600;font-size:13px;letter-spacing:.34em;
  text-transform:uppercase;color:var(--gold-400);
  display:inline-flex;align-items:center;gap:14px;
}
.eyebrow::before,.eyebrow--center::after{
  content:"";width:34px;height:1px;
  background:linear-gradient(90deg,transparent,var(--gold-600));
}
.eyebrow--center::before{background:linear-gradient(90deg,var(--gold-600),transparent)}
.eyebrow--center{justify-content:center}

.h-sec{
  font-family:var(--display);font-weight:800;
  font-size:clamp(34px,4.4vw,58px);line-height:1.04;letter-spacing:.005em;
  color:var(--ink);
}
.h-sec em{font-style:normal;color:#e7b53f;text-shadow:0 1px 0 rgba(0,0,0,.55),0 2px 2px rgba(0,0,0,.38),0 -1px 0 rgba(255,233,170,.22)}
.lede{font-size:clamp(16px,1.3vw,19px);color:var(--ink-dim);max-width:62ch;line-height:1.7}

.gold-text{
  color:#e7b53f;
  text-shadow:0 1px 0 rgba(0,0,0,.55),0 2px 1px rgba(0,0,0,.4),0 -1px 0 rgba(255,233,170,.22);
}
:root{--g-grad:linear-gradient(180deg,var(--gold-100) 0%,var(--gold-400) 50%,var(--gold-700) 100%)}

/* ---------- Buttons ---------- */
.btn{
  position:relative;display:inline-flex;align-items:center;justify-content:center;gap:11px;
  font-family:var(--sans);font-weight:700;font-size:15px;letter-spacing:.01em;
  padding:15px 26px;border-radius:11px;cursor:pointer;
  transition:transform .25s cubic-bezier(.2,.7,.2,1),box-shadow .25s,filter .25s,background .25s,border-color .25s;
  white-space:nowrap;
}
.btn svg{width:18px;height:18px}
.btn--gold{
  color:#2a1c08;
  background:linear-gradient(180deg,var(--gold-200),var(--gold-500) 60%,var(--gold-600));
  box-shadow:var(--shadow-gold),inset 0 1px 0 rgba(255,255,255,.5),inset 0 -1px 0 rgba(120,70,10,.5);
}
.btn--gold::after{
  content:"";position:absolute;inset:0;border-radius:inherit;
  background:linear-gradient(180deg,rgba(255,255,255,.35),transparent 45%);
  opacity:0;transition:opacity .25s;
}
.btn--gold:hover{transform:translateY(-2px);filter:brightness(1.06)}
.btn--gold:hover::after{opacity:1}
.btn--gold:active{transform:translateY(0)}

.btn--ghost{
  color:var(--ink);background:rgba(231,220,194,.03);
  border:1px solid var(--line-strong);
  box-shadow:inset 0 1px 0 rgba(255,240,200,.04);
}
.btn--ghost:hover{border-color:var(--gold-500);background:rgba(224,168,46,.08);transform:translateY(-2px);color:var(--gold-100)}

.btn--lg{padding:18px 34px;font-size:16px;border-radius:12px}
.btn--block{width:100%}

/* ---------- Surfaces / cards ---------- */
.card{
  position:relative;background:
    linear-gradient(180deg,rgba(42,34,22,.5),rgba(16,13,9,.86));
  border:1px solid var(--line);border-radius:10px;
  box-shadow:var(--shadow-card);
  transition:transform .35s cubic-bezier(.2,.7,.2,1),border-color .35s,box-shadow .35s;
}
.card::after{content:"";position:absolute;left:14px;right:14px;top:0;height:1px;
  background:linear-gradient(90deg,transparent,rgba(224,168,46,.45),transparent);pointer-events:none}
.card--hover:hover{transform:translateY(-6px);border-color:var(--line-strong);box-shadow:var(--shadow-card),0 30px 60px -30px rgba(224,168,46,.25)}

/* gilded corner ticks.
   NB: .card::after (top hairline) targets the SAME pseudo on .card.gild —
   every property is reset here so the corner anchors bottom-right (the
   over-constrained top/left from .card::after used to pin BOTH ticks
   top-left). Gilded cards trade the hairline for the corner ticks. */
.gild{position:relative}
.gild::before,.gild::after{
  content:"";position:absolute;width:15px;height:15px;pointer-events:none;opacity:.8;
  background:none;border:0;
}
.gild::before{top:10px;left:10px;right:auto;bottom:auto;border-top:1.5px solid var(--gold-500);border-left:1.5px solid var(--gold-500)}
.gild::after{top:auto;left:auto;bottom:10px;right:10px;border-bottom:1.5px solid var(--gold-500);border-right:1.5px solid var(--gold-500)}

/* divider */
.rule{height:1px;background:linear-gradient(90deg,transparent,var(--line-strong),transparent);border:0}
.diamond{display:flex;align-items:center;justify-content:center;gap:16px;color:var(--gold-600)}
.diamond::before,.diamond::after{content:"";height:1px;width:120px;background:linear-gradient(90deg,transparent,var(--gold-700))}
.diamond::after{background:linear-gradient(90deg,var(--gold-700),transparent)}
.diamond span{width:7px;height:7px;background:var(--gold-500);transform:rotate(45deg);box-shadow:0 0 12px var(--gold-600)}

/* pill / badge */
.pill{
  display:inline-flex;align-items:center;gap:8px;
  padding:7px 14px;border-radius:99px;font-size:12.5px;font-weight:600;letter-spacing:.04em;
  background:rgba(224,168,46,.08);border:1px solid var(--line);color:var(--gold-200);
}
.dot-live{width:8px;height:8px;border-radius:50%;background:var(--online);box-shadow:0 0 0 0 var(--online-glow);animation:pulse 2.2s infinite}
@keyframes pulse{0%{box-shadow:0 0 0 0 var(--online-glow)}70%{box-shadow:0 0 0 8px transparent}100%{box-shadow:0 0 0 0 transparent}}

/* ---------- Nav ---------- */
.nav{
  position:fixed;top:0;left:0;right:0;z-index:50;
  transition:background .35s,border-color .35s,backdrop-filter .35s,padding .35s;
  border-bottom:1px solid transparent;
}
.nav.scrolled{background:var(--glass);backdrop-filter:blur(16px) saturate(1.2);border-bottom-color:var(--line)}
.nav__in{display:flex;align-items:center;gap:30px;height:78px;max-width:var(--maxw);margin:0 auto;padding:0 28px}
.brand{display:flex;align-items:center;gap:13px;flex-shrink:0}
.brand img{width:42px;height:42px;filter:drop-shadow(0 4px 10px rgba(0,0,0,.6))}
.brand b{font-family:var(--display);font-weight:700;font-size:18px;letter-spacing:.13em;text-transform:uppercase}
.brand b span{color:var(--gold-400)}
.nav__links{display:flex;align-items:center;gap:6px;margin-left:18px}
.nav__links a{
  position:relative;font-size:14.5px;font-weight:600;color:var(--ink-soft);
  padding:9px 14px;border-radius:9px;transition:color .2s,background .2s;letter-spacing:.01em;
}
.nav__links a:hover{color:var(--gold-100);background:rgba(224,168,46,.06)}
.nav__links a.active{color:var(--gold-300)}
.nav__links a.active::after{content:"";position:absolute;left:14px;right:14px;bottom:3px;height:1.5px;background:var(--gold-500)}
.nav__right{margin-left:auto;display:flex;align-items:center;gap:14px}
.nav__login{font-size:14.5px;font-weight:600;color:var(--ink-soft);transition:color .2s}
.nav__login:hover{color:var(--gold-200)}
.nav__admin{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:700;letter-spacing:.04em;color:var(--gold-300);padding:7px 13px;border:1px solid rgba(224,168,46,.4);border-radius:999px;transition:background .2s,color .2s,border-color .2s}
.nav__admin:hover{background:rgba(224,168,46,.12);color:var(--gold-100);border-color:var(--gold-500)}
.phc__admin{display:inline-flex;align-items:center;gap:7px;margin-top:10px;font-size:13.5px;font-weight:700;color:var(--gold-300);padding:8px 15px;border:1px solid rgba(224,168,46,.4);border-radius:10px;transition:background .2s,color .2s,border-color .2s;width:fit-content}
.phc__admin:hover{background:rgba(224,168,46,.12);color:var(--gold-100);border-color:var(--gold-500)}
.nav__burger{display:none;width:44px;height:44px;align-items:center;justify-content:center;border-radius:10px;border:1px solid var(--line)}
.nav__burger span{width:20px;height:2px;background:var(--ink);position:relative;transition:.3s}
.nav__burger span::before,.nav__burger span::after{content:"";position:absolute;left:0;width:20px;height:2px;background:var(--ink);transition:.3s}
.nav__burger span::before{top:-6px}.nav__burger span::after{top:6px}

/* mobile drawer */
.drawer{position:fixed;inset:0;z-index:60;background:rgba(8,6,4,.96);backdrop-filter:blur(8px);
  display:flex;flex-direction:column;padding:90px 28px 40px;gap:6px;
  transform:translateX(100%);transition:transform .4s cubic-bezier(.2,.7,.2,1);visibility:hidden}
.drawer.open{transform:none;visibility:visible}
.drawer a{font-family:var(--display);font-size:19px;font-weight:600;letter-spacing:.06em;padding:16px 8px;border-bottom:1px solid var(--line-soft);color:var(--ink-soft)}
.drawer a:hover{color:var(--gold-300)}
.drawer__close{position:absolute;top:24px;right:24px;width:44px;height:44px;border-radius:10px;border:1px solid var(--line);font-size:22px;color:var(--ink)}

/* ---------- Footer ---------- */
.foot{position:relative;background:var(--stone-900);border-top:1px solid var(--line);padding:72px 0 32px;z-index:2}
.foot__grid{display:grid;grid-template-columns:1.6fr 1fr 1fr;gap:48px}
.foot h6{font-family:var(--display);font-size:13px;letter-spacing:.18em;text-transform:uppercase;color:var(--gold-300);margin-bottom:20px}
.foot p{color:var(--ink-dim);font-size:14.5px;max-width:38ch}
.foot__links{display:flex;flex-direction:column;gap:11px}
.foot__links a{color:var(--ink-soft);font-size:14.5px;transition:color .2s;width:fit-content}
.foot__links a:hover{color:var(--gold-200)}
.foot__brand img{width:54px;margin-bottom:18px}
.foot__bottom{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;margin-top:54px;padding-top:26px;border-top:1px solid var(--line-soft);color:var(--ink-faint);font-size:13px}

/* ---------- Reveal animation (progressive enhancement) ----------
   Base state is VISIBLE: JS adds .rv-armed only to below-viewport elements
   once the IntersectionObserver is live, then .in reveals them. */
.reveal{transition:opacity .9s cubic-bezier(.2,.7,.2,1),transform .9s cubic-bezier(.2,.7,.2,1)}
.reveal.rv-armed{opacity:0;transform:translateY(28px)}
.reveal.in{opacity:1;transform:none}
.reveal[data-d="1"]{transition-delay:.08s}
.reveal[data-d="2"]{transition-delay:.16s}
.reveal[data-d="3"]{transition-delay:.24s}
.reveal[data-d="4"]{transition-delay:.32s}
.reveal[data-d="5"]{transition-delay:.40s}
@media (prefers-reduced-motion:reduce){.reveal{opacity:1;transform:none}}

/* ---------- Page hero (interior) ---------- */
.phero{position:relative;overflow:hidden;padding:170px 0 78px;text-align:center;border-bottom:1px solid var(--line)}
.phero__bg{position:absolute;inset:0;z-index:0;
  background:radial-gradient(120% 100% at 50% -20%,rgba(224,168,46,.16),transparent 55%),linear-gradient(180deg,#0a0806,#0f0c09)}
.phero__rays{position:absolute;left:50%;top:-40%;width:130vw;height:120vh;transform:translateX(-50%);
  background:conic-gradient(from 180deg at 50% 0%,transparent 0deg,rgba(236,200,105,.06) 8deg,transparent 18deg,transparent 70deg,rgba(236,200,105,.05) 78deg,transparent 88deg,transparent 282deg,rgba(236,200,105,.05) 290deg,transparent 300deg,transparent 344deg,rgba(236,200,105,.06) 352deg,transparent 360deg);
  mix-blend-mode:screen;filter:blur(6px)}
.phero__in{position:relative;z-index:2;display:flex;flex-direction:column;align-items:center;gap:22px}
.phero h1{font-family:var(--display);font-weight:800;font-size:clamp(38px,5.4vw,68px);line-height:1.03;letter-spacing:.01em}
.phero h1 em{font-style:normal;color:#e7b53f;text-shadow:0 1px 0 rgba(0,0,0,.55),0 2px 2px rgba(0,0,0,.38),0 -1px 0 rgba(255,233,170,.22)}
.phero .lede{text-align:center;margin:0 auto}
.phero__crumb{font-size:12.5px;letter-spacing:.14em;text-transform:uppercase;color:var(--ink-faint)}
.phero__crumb a{color:var(--ink-dim)}
.phero__crumb a:hover{color:var(--gold-300)}

/* ---------- Modal (shared) ---------- */
.modal{position:fixed;inset:0;z-index:100;display:flex;align-items:center;justify-content:center;padding:24px;
  background:rgba(6,4,3,.78);backdrop-filter:blur(8px);opacity:0;visibility:hidden;transition:opacity .35s,visibility .35s}
.modal.open{opacity:1;visibility:visible}
.modal__box{width:min(560px,100%);background:linear-gradient(180deg,var(--stone-850),var(--stone-900));border:1px solid var(--line-strong);
  border-radius:20px;box-shadow:0 40px 90px -30px rgba(0,0,0,.9);overflow:hidden;transform:translateY(20px) scale(.97);transition:transform .4s cubic-bezier(.2,.7,.2,1)}
.modal.open .modal__box{transform:none}
.modal__head{padding:30px 32px 24px;border-bottom:1px solid var(--line-soft);position:relative;text-align:center}
.modal__head img{width:56px;margin:0 auto 16px}
.modal__head h3{font-family:var(--display);font-size:24px;font-weight:700;color:var(--ink)}
.modal__head p{font-size:13.5px;color:var(--ink-dim);margin-top:8px}
.modal__close{position:absolute;top:18px;right:18px;width:38px;height:38px;border-radius:10px;border:1px solid var(--line);color:var(--ink-soft);font-size:18px;display:flex;align-items:center;justify-content:center;transition:.2s}
.modal__close:hover{border-color:var(--gold-500);color:var(--gold-200)}
.modal__body{padding:26px 32px 32px}
.modal__note{font-size:13.5px;color:var(--ink-soft);background:rgba(224,168,46,.07);border:1px solid var(--line);border-radius:12px;padding:14px 16px;margin-bottom:22px;line-height:1.55}
.modal__note b{color:var(--gold-200)}
.dlgroup{margin-bottom:20px}
.dlgroup>span{font-family:var(--display);font-size:12px;letter-spacing:.18em;text-transform:uppercase;color:var(--ink-dim);display:block;margin-bottom:11px}
.dlrow{display:flex;gap:12px;flex-wrap:wrap}
.dl{flex:1;min-width:160px;display:flex;align-items:center;gap:13px;padding:14px 16px;border-radius:12px;border:1px solid var(--line);background:rgba(231,220,194,.02);transition:.25s}
.dl:hover{border-color:var(--gold-500);background:rgba(224,168,46,.08);transform:translateY(-2px)}
.dl svg{width:26px;height:26px;color:var(--gold-300);flex-shrink:0}
.dl b{display:block;font-size:14.5px;color:var(--ink);font-weight:700}
.dl small{font-size:12px;color:var(--ink-faint)}

/* ---------- Forms ---------- */
.field{margin-bottom:18px}
.field label{display:block;font-size:13px;font-weight:600;color:var(--ink-soft);margin-bottom:8px;letter-spacing:.02em}
.field input{width:100%;padding:14px 16px;border-radius:11px;background:rgba(8,6,4,.6);border:1px solid var(--line);color:var(--ink);font-family:var(--sans);font-size:15px;transition:.2s}
.field input:focus{outline:none;border-color:var(--gold-500);box-shadow:0 0 0 3px rgba(224,168,46,.12)}
.field input::placeholder{color:var(--ink-faint)}

/* ---------- Responsive ---------- */
@media (max-width:1000px){
  .nav__links{display:none}
  .nav__burger{display:flex}
  .nav__login,.nav__admin{display:none}
  .foot__grid{grid-template-columns:1fr 1fr}
  .section{padding:88px 0}
}
@media (max-width:640px){
  .wrap{padding:0 20px}
  .nav__in{padding:0 20px;height:68px}
  .foot__grid{grid-template-columns:1fr}
  .section{padding:72px 0}
  .diamond::before,.diamond::after{width:60px}
}



/* ============ HERO ============ */
.hero{position:relative;min-height:100dvh;display:flex;align-items:center;justify-content:center;text-align:center;overflow:hidden;padding:128px 0 96px}
.hero__bg{position:absolute;inset:0;z-index:0}
.hero__bg::before{content:"";position:absolute;inset:0;
  background:
    radial-gradient(120% 80% at 50% -10%,rgba(224,168,46,.16),transparent 55%),
    radial-gradient(90% 60% at 50% 0%,rgba(120,83,20,.20),transparent 60%),
    linear-gradient(180deg,#0a0806 0%,#0f0c09 40%,#0a0806 100%);
}
/* volumetric light rays */
.hero__rays{position:absolute;left:50%;top:-30%;width:140vw;height:120vh;transform:translateX(-50%);
  background:conic-gradient(from 180deg at 50% 0%,
    transparent 0deg,rgba(236,200,105,.07) 8deg,transparent 16deg,
    transparent 28deg,rgba(236,200,105,.05) 36deg,transparent 44deg,
    transparent 60deg,rgba(236,200,105,.06) 70deg,transparent 80deg,
    transparent 280deg,rgba(236,200,105,.06) 290deg,transparent 300deg,
    transparent 316deg,rgba(236,200,105,.05) 324deg,transparent 332deg,
    transparent 344deg,rgba(236,200,105,.07) 352deg,transparent 360deg);
  mix-blend-mode:screen;animation:sway 18s ease-in-out infinite alternate;filter:blur(6px)}
@keyframes sway{from{transform:translateX(-50%) rotate(-2deg)}to{transform:translateX(-50%) rotate(2deg)}}
#dust{position:absolute;inset:0;width:100%;height:100%}
.hero__vig{position:absolute;inset:0;background:radial-gradient(70% 70% at 50% 45%,transparent 40%,rgba(8,6,4,.85) 100%)}
.hero__floor{position:absolute;left:0;right:0;bottom:0;height:34vh;
  background:linear-gradient(180deg,transparent,rgba(8,6,4,.7) 60%,#0a0806);z-index:2}

.hero__in{position:relative;z-index:3;max-width:920px;padding:0 24px;display:flex;flex-direction:column;align-items:center}
.hero__emblem{width:clamp(120px,15vw,176px);height:auto;margin-bottom:30px;filter:drop-shadow(0 22px 34px rgba(0,0,0,.78));animation:floaty 6s ease-in-out infinite}
@keyframes floaty{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}
.hero__eyebrow{margin-bottom:26px}
.hero h1{font-family:var(--display);font-weight:800;font-size:clamp(44px,7vw,88px);line-height:1.02;letter-spacing:.01em;margin-bottom:26px;text-shadow:0 4px 30px rgba(0,0,0,.6)}
.hero h1 em{font-style:normal;display:block;color:#e9b740;text-shadow:0 2px 0 rgba(0,0,0,.55),0 3px 6px rgba(0,0,0,.45),0 -1px 0 rgba(255,235,180,.25)}
.hero__lede{font-size:clamp(16px,1.4vw,20px);color:var(--ink-soft);max-width:60ch;margin:0 auto 38px;line-height:1.65}
.hero__cta{display:flex;gap:16px;flex-wrap:wrap;justify-content:center;margin-bottom:46px}

/* Quiet one-line server status (no metric boxes) */
.hero__status{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;
  font-size:14px;color:var(--ink-dim);letter-spacing:.01em}
.hero__status b{color:var(--parch);font-weight:600;display:inline-flex;align-items:center;gap:8px}
.hero__status .sep{width:3px;height:3px;border-radius:50%;background:var(--ink-faint)}


/* ============ SECTION HEADER ============ */
.sechead{text-align:center;max-width:680px;margin:0 auto 64px;display:flex;flex-direction:column;align-items:center;gap:20px}
.sechead .lede{text-align:center}

/* ============ PILLARS (editorial text blocks, no card grid) ============ */
.pillars{display:grid;grid-template-columns:1fr 1fr;gap:34px 72px;max-width:980px;margin:0 auto}
.pillar h3{font-family:var(--display);font-size:20px;font-weight:700;color:var(--ink);margin-bottom:10px;letter-spacing:.01em;display:flex;align-items:baseline;gap:12px}
.pillar h3::before{content:"";width:8px;height:8px;background:var(--gold-500);transform:rotate(45deg);flex-shrink:0;position:relative;top:-2px}
.pillar p{font-size:15px;color:var(--ink-dim);line-height:1.65;padding-left:20px}

/* ============ SHOWCASE (MineColonies) ============ */
.showcase{display:grid;grid-template-columns:1fr 1.05fr;gap:64px;align-items:center}
.showcase__media{position:relative}
.showcase__copy .h-sec{margin:18px 0 22px}
.checklist{display:flex;flex-direction:column;gap:16px;margin:30px 0 36px}
.checklist li{position:relative;padding-left:24px}
.checklist li::before{content:"";position:absolute;left:4px;top:8px;width:7px;height:7px;background:var(--gold-500);transform:rotate(45deg)}
.checklist b{display:block;color:var(--ink);font-weight:700;font-size:15.5px;margin-bottom:3px}
.checklist span{color:var(--ink-dim);font-size:14px}

/* ============ NEWS ============ */
.news{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.ncard{display:flex;flex-direction:column;overflow:hidden}
.ncard image-slot{width:100%;aspect-ratio:16/10;border-radius:0}
.ncard__media{position:relative;overflow:hidden}
.ncard__cat{position:absolute;top:14px;left:14px;z-index:5}
.ncard__body{padding:24px 24px 26px;display:flex;flex-direction:column;flex:1}
.ncard h3{font-family:var(--display);font-size:20px;font-weight:700;line-height:1.22;color:var(--ink);margin-bottom:12px;letter-spacing:.005em;transition:color .25s}
.ncard:hover h3{color:var(--gold-200)}
.ncard p{font-size:14px;color:var(--ink-dim);line-height:1.6;flex:1}
.ncard__foot{display:flex;align-items:center;justify-content:space-between;margin-top:22px;padding-top:18px;border-top:1px solid var(--line-soft)}
.ncard__more{font-size:13.5px;font-weight:700;color:var(--gold-300);display:inline-flex;align-items:center;gap:7px;transition:gap .25s}
.ncard:hover .ncard__more{gap:12px}
.ncard__date{font-size:12px;color:var(--ink-faint);letter-spacing:.04em}

/* ============ LEADERBOARD ============ */
.board{display:grid;grid-template-columns:1.1fr 1fr;gap:56px;align-items:center}
.podium{display:flex;align-items:flex-end;justify-content:center;gap:18px}
.pod{display:flex;flex-direction:column;align-items:center;gap:14px;flex:1;max-width:170px}
.pod__av{position:relative;width:74px;height:74px;border-radius:14px;display:flex;align-items:center;justify-content:center;
  font-family:var(--display);font-size:26px;font-weight:700;color:var(--stone-900);
  background:linear-gradient(180deg,var(--gold-200),var(--gold-600));box-shadow:0 10px 24px -8px rgba(224,168,46,.5)}
.pod--2 .pod__av,.pod--3 .pod__av{background:linear-gradient(180deg,#cabfa9,#6f6453);color:#15110d;width:62px;height:62px;font-size:21px}
.pod__av img{width:100%;height:100%;object-fit:cover;border-radius:12px;image-rendering:pixelated;display:block}
.pod__rank{position:absolute;bottom:-9px;left:50%;transform:translateX(-50%);width:26px;height:26px;border-radius:50%;
  background:var(--stone-800);border:1.5px solid var(--gold-500);display:flex;align-items:center;justify-content:center;
  font-family:var(--display);font-weight:700;font-size:13px;color:var(--gold-200)}
.pod__name{font-weight:700;font-size:15px;color:var(--ink);font-family:var(--display);letter-spacing:.02em}
.pod__vts{font-size:12.5px;color:var(--gold-300);font-weight:600;letter-spacing:.04em}
.pod__bar{width:100%;border-radius:11px 11px 0 0;border:1px solid var(--line);border-bottom:none;
  background:linear-gradient(180deg,rgba(224,168,46,.10),rgba(224,168,46,.02));position:relative}
.pod--1 .pod__bar{height:128px;background:linear-gradient(180deg,rgba(224,168,46,.22),rgba(224,168,46,.03))}
.pod--2 .pod__bar{height:92px}
.pod--3 .pod__bar{height:66px}
.pod__bar span{position:absolute;top:14px;left:0;right:0;text-align:center;font-family:var(--display);font-weight:800;font-size:30px;color:rgba(224,168,46,.35)}
.board__copy .h-sec{margin:18px 0 20px}

/* ============ GALLERY ============ */
.gallery{display:grid;grid-template-columns:repeat(4,1fr);grid-auto-rows:200px;gap:16px}
.gallery image-slot{width:100%;height:100%;border-radius:14px;border:1px solid var(--line)}
.g-wide{grid-column:span 2}.g-tall{grid-row:span 2}

/* ============ DISCORD ============ */
.discord{position:relative;overflow:hidden;border-radius:24px;padding:64px 56px;
  background:linear-gradient(120deg,rgba(88,101,242,.18),rgba(15,12,9,.6) 60%),linear-gradient(180deg,rgba(30,24,16,.8),rgba(12,9,6,.9));
  border:1px solid var(--line);display:grid;grid-template-columns:1.4fr auto;gap:40px;align-items:center}
.discord::before{content:"";position:absolute;right:-60px;top:-60px;width:340px;height:340px;border-radius:50%;background:radial-gradient(circle,rgba(88,101,242,.35),transparent 70%);filter:blur(20px)}
.discord__c{position:relative;z-index:2}
.discord__c .h-sec{font-size:clamp(30px,3.4vw,44px);margin:16px 0 16px}
.discord__c p{color:var(--ink-soft);max-width:50ch;font-size:15.5px}
.discord__cta{position:relative;z-index:2;display:flex;flex-direction:column;align-items:flex-end;gap:14px}

/* ============ FINAL CTA ============ */
.finalcta{text-align:center;position:relative;border-radius:24px;overflow:hidden;padding:88px 40px;border:1px solid var(--line);
  background:radial-gradient(100% 130% at 50% 0%,rgba(224,168,46,.16),transparent 55%),linear-gradient(180deg,rgba(28,23,16,.7),rgba(10,8,6,.9))}
.finalcta .h-sec{margin:22px auto 20px;max-width:18ch}
.finalcta .lede{margin:0 auto 36px}
.finalcta__btns{display:flex;gap:16px;justify-content:center;flex-wrap:wrap}
.finalcta__emblem{width:96px;margin:0 auto;filter:drop-shadow(0 14px 24px rgba(0,0,0,.7))}

/* ============ SCROLL RAIL ============ */
.scrollrail{position:fixed;right:28px;top:50%;transform:translateY(-50%);z-index:40;display:flex;flex-direction:column;align-items:center;gap:16px}
.scrollrail__label{writing-mode:vertical-rl;font-family:var(--display);font-size:10.5px;letter-spacing:.34em;text-transform:uppercase;color:var(--ink-faint);transition:opacity .5s,transform .5s}
.scrollrail.scrolled .scrollrail__label{opacity:0;transform:translateY(8px)}
.scrollrail__track{position:relative;width:2px;height:200px;border-radius:2px;
  background:linear-gradient(180deg,transparent,var(--line-strong) 14%,var(--line-strong) 86%,transparent)}
.scrollrail__fill{position:absolute;left:0;top:0;width:100%;height:0;border-radius:2px;
  background:linear-gradient(180deg,var(--gold-300),var(--gold-600));box-shadow:0 0 9px rgba(224,168,46,.6)}
.scrollrail__bead{position:absolute;left:50%;top:0;width:24px;height:24px;margin:-12px 0 0 -12px;cursor:pointer;
  display:flex;align-items:center;justify-content:center;transition:top .12s linear}
.scrollrail__bead::before{content:"";position:absolute;width:9px;height:9px;background:linear-gradient(180deg,var(--gold-200),var(--gold-500));
  transform:rotate(45deg);box-shadow:0 0 12px rgba(224,168,46,.8),inset 0 1px 0 rgba(255,255,255,.5);transition:transform .3s}
.scrollrail__bead svg{position:relative;width:11px;height:11px;color:#2a1c08;opacity:0;transition:opacity .3s,transform .3s}
.scrollrail__bead:hover::before{transform:rotate(45deg) scale(1.35)}
.scrollrail__bead:hover svg{opacity:.85}
.scrollrail.atend .scrollrail__bead svg{opacity:.85;transform:rotate(180deg)}
@media (max-width:1280px){.scrollrail{display:none}}
@media (prefers-reduced-motion:reduce){.scrollrail__bead,.hero__rays,.hero__emblem,.dot-live{transition:none;animation:none}}
@supports not (height:100dvh){.hero{min-height:100vh}}

/* ============ MODAL ============ */
.modal{position:fixed;inset:0;z-index:100;display:flex;align-items:center;justify-content:center;padding:24px;
  background:rgba(6,4,3,.78);backdrop-filter:blur(8px);opacity:0;visibility:hidden;transition:opacity .35s,visibility .35s}
.modal.open{opacity:1;visibility:visible}
.modal__box{width:min(560px,100%);background:linear-gradient(180deg,var(--stone-850),var(--stone-900));border:1px solid var(--line-strong);
  border-radius:20px;box-shadow:0 40px 90px -30px rgba(0,0,0,.9);overflow:hidden;transform:translateY(20px) scale(.97);transition:transform .4s cubic-bezier(.2,.7,.2,1)}
.modal.open .modal__box{transform:none}
.modal__head{padding:30px 32px 24px;border-bottom:1px solid var(--line-soft);position:relative;text-align:center}
.modal__head img{width:56px;margin:0 auto 16px}
.modal__head h3{font-family:var(--display);font-size:24px;font-weight:700;color:var(--ink)}
.modal__head p{font-size:13.5px;color:var(--ink-dim);margin-top:8px}
.modal__close{position:absolute;top:18px;right:18px;width:38px;height:38px;border-radius:10px;border:1px solid var(--line);color:var(--ink-soft);font-size:18px;display:flex;align-items:center;justify-content:center;transition:.2s}
.modal__close:hover{border-color:var(--gold-500);color:var(--gold-200)}
.modal__body{padding:26px 32px 32px}
.modal__note{font-size:13.5px;color:var(--ink-soft);background:rgba(224,168,46,.07);border:1px solid var(--line);border-radius:12px;padding:14px 16px;margin-bottom:22px;line-height:1.55}
.modal__note b{color:var(--gold-200)}
.dlgroup{margin-bottom:20px}
.dlgroup>span{font-family:var(--display);font-size:12px;letter-spacing:.18em;text-transform:uppercase;color:var(--ink-dim);display:block;margin-bottom:11px}
.dlrow{display:flex;gap:12px;flex-wrap:wrap}
.dl{flex:1;min-width:160px;display:flex;align-items:center;gap:13px;padding:14px 16px;border-radius:12px;border:1px solid var(--line);
  background:rgba(231,220,194,.02);transition:.25s}
.dl:hover{border-color:var(--gold-500);background:rgba(224,168,46,.08);transform:translateY(-2px)}
.dl svg{width:26px;height:26px;color:var(--gold-300);flex-shrink:0}
.dl b{display:block;font-size:14.5px;color:var(--ink);font-weight:700}
.dl small{font-size:12px;color:var(--ink-faint)}


/* ---------- Content pages ---------- */
.content-v2{position:relative;z-index:2}
.content-v2__card{max-width:940px;margin:0 auto;border:1px solid var(--line);border-radius:24px;background:linear-gradient(180deg,rgba(30,24,16,.72),rgba(12,9,6,.92));box-shadow:var(--shadow-card);padding:clamp(26px,5vw,56px);color:var(--ink-soft)}
.content-v2__card h1,.content-v2__card h2,.content-v2__card h3{font-family:var(--display);letter-spacing:.02em;color:var(--ink);line-height:1.12}
.content-v2__card h1{font-size:clamp(34px,5vw,58px);margin:0 0 24px}
.content-v2__card h2{font-size:clamp(22px,3vw,32px);margin:42px 0 14px}
.content-v2__card h3{font-size:20px;margin:30px 0 10px}
.content-v2__card p{font-size:16px;line-height:1.75;color:var(--ink-soft);margin:0 0 18px}
.content-v2__card li{font-size:16px;line-height:1.75;color:var(--ink-soft);margin:0 0 8px}
.content-v2__card a{color:var(--gold-300);font-weight:700;text-decoration:none}
.content-v2__card a:hover{color:var(--gold-100)}
.content-v2__card strong{color:var(--gold-100)}
.content-v2__card ul{list-style:disc;padding-left:1.25rem;margin:0 0 20px}
.content-v2__card ol{list-style:decimal;padding-left:1.25rem;margin:0 0 20px}
.content-v2__card table{width:100%;max-width:680px;border-collapse:collapse;margin:18px 0 28px;overflow:hidden;border-radius:14px;border:1px solid var(--line)}
.content-v2__card td,.content-v2__card th{padding:13px 15px;border-bottom:1px solid var(--line-soft);color:var(--ink-soft);vertical-align:top}
.content-v2__card tr:last-child td{border-bottom:0}
.content-v2__card td:first-child,.content-v2__card th:first-child{color:var(--gold-100);font-weight:800;background:rgba(224,168,46,.06)}
@media (max-width:980px){
  .pillars{grid-template-columns:1fr 1fr}
  .showcase{grid-template-columns:1fr;gap:40px}
  .news{grid-template-columns:1fr 1fr}
  .board{grid-template-columns:1fr;gap:40px}
  .gallery{grid-template-columns:1fr 1fr;grid-auto-rows:180px}
  .discord{grid-template-columns:1fr;text-align:center}
  .discord__cta{align-items:center}
  .discord__c p{margin:0 auto}
}
@media (max-width:560px){
  .pillars{grid-template-columns:1fr}
  .news{grid-template-columns:1fr}
  .hero__status{font-size:13px;gap:8px}
  .gallery{grid-template-columns:1fr;grid-auto-rows:200px}
  .g-wide,.g-tall{grid-column:auto;grid-row:auto}
  .discord{padding:44px 28px}
  .finalcta{padding:60px 24px}
}
