/* ===================================================
   GB Manufacturing & Fabrication — Main Stylesheet
   Brand: Black + Steel Blue (#1872BE) + Silver
   =================================================== */

/* === FONTS === */
/* Barlow Condensed, Barlow and Inter (SIL Open Font License), served from
   /fonts: the same files Google Fonts serves, so pages no longer wait on a
   second site. The faces used at the top of every page are preloaded in each
   page's <head>. */
/* vietnamese */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/barlow-400-vietnamese.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: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/barlow-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/barlow-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/barlow-500-vietnamese.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: 'Barlow';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/barlow-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/barlow-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/barlow-600-vietnamese.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: 'Barlow';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/barlow-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/barlow-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/barlow-700-vietnamese.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: 'Barlow';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/barlow-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/barlow-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/barlow-condensed-italic-700-vietnamese.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: 'Barlow Condensed';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/barlow-condensed-italic-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/barlow-condensed-italic-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/barlow-condensed-400-vietnamese.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: 'Barlow Condensed';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/barlow-condensed-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/barlow-condensed-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/barlow-condensed-600-vietnamese.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: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/barlow-condensed-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/barlow-condensed-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/barlow-condensed-700-vietnamese.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: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/barlow-condensed-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/barlow-condensed-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/fonts/barlow-condensed-800-vietnamese.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: 'Barlow Condensed';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/fonts/barlow-condensed-800-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/fonts/barlow-condensed-800-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('/fonts/barlow-condensed-900-vietnamese.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: 'Barlow Condensed';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('/fonts/barlow-condensed-900-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('/fonts/barlow-condensed-900-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/fonts/inter-cyrillic-ext.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: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/fonts/inter-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/fonts/inter-greek-ext.woff2') format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/fonts/inter-greek.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: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/fonts/inter-vietnamese.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: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/inter-cyrillic-ext.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: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/inter-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/inter-greek-ext.woff2') format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/inter-greek.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: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/inter-vietnamese.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: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/inter-cyrillic-ext.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: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/inter-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/inter-greek-ext.woff2') format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/inter-greek.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: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/inter-vietnamese.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: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/inter-cyrillic-ext.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: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/inter-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/inter-greek-ext.woff2') format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/inter-greek.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: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/inter-vietnamese.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: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/inter-cyrillic-ext.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: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/inter-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/inter-greek-ext.woff2') format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/inter-greek.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: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/inter-vietnamese.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: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Stand-ins while the fonts above load: Arial (or its same-width twins Liberation
   Sans and Arimo on Linux and ChromeOS; Roboto on Android) resized to
   each web font's proportions, measured on the site's own text, so text keeps
   its line breaks when the real font arrives instead of jumping. They cover
   only characters all three web fonts contain, so once loaded they never
   replace a real glyph. */
@font-face {
  font-family: 'Barlow Fallback';
  src: local('Arial'), local('ArialMT'), local('Liberation Sans'), local('LiberationSans'), local('Arimo'), local('Roboto'), local('Roboto-Regular');
  font-style: normal;
  font-weight: 400;
  size-adjust: 96.13%;
  ascent-override: 104.02%;
  descent-override: 20.80%;
  line-gap-override: 0%;
  unicode-range: U+0020-007E, U+00A0-00FF, U+2013-2014, U+2018-201A, U+201C-201E, U+2022, U+2026;
}
@font-face {
  font-family: 'Barlow Fallback';
  src: local('Arial Bold'), local('Arial-BoldMT'), local('Liberation Sans Bold'), local('LiberationSans-Bold'), local('Arimo Bold'), local('Arimo-Bold'), local('Roboto Bold'), local('Roboto-Bold');
  font-style: normal;
  font-weight: 600;
  size-adjust: 88.86%;
  ascent-override: 112.53%;
  descent-override: 22.51%;
  line-gap-override: 0%;
  unicode-range: U+0020-007E, U+00A0-00FF, U+2013-2014, U+2018-201A, U+201C-201E, U+2022, U+2026;
}
@font-face {
  font-family: 'Barlow Fallback';
  src: local('Arial Bold'), local('Arial-BoldMT'), local('Liberation Sans Bold'), local('LiberationSans-Bold'), local('Arimo Bold'), local('Arimo-Bold'), local('Roboto Bold'), local('Roboto-Bold');
  font-style: normal;
  font-weight: 700;
  size-adjust: 90.65%;
  ascent-override: 110.32%;
  descent-override: 22.06%;
  line-gap-override: 0%;
  unicode-range: U+0020-007E, U+00A0-00FF, U+2013-2014, U+2018-201A, U+201C-201E, U+2022, U+2026;
}
@font-face {
  font-family: 'Barlow Condensed Fallback';
  src: local('Arial'), local('ArialMT'), local('Liberation Sans'), local('LiberationSans'), local('Arimo'), local('Roboto'), local('Roboto-Regular');
  font-style: normal;
  font-weight: 400;
  size-adjust: 65.38%;
  ascent-override: 152.95%;
  descent-override: 30.59%;
  line-gap-override: 0%;
  unicode-range: U+0020-007E, U+00A0-00FF, U+2013-2014, U+2018-201A, U+201C-201E, U+2022, U+2026;
}
@font-face {
  font-family: 'Barlow Condensed Fallback';
  src: local('Arial Bold'), local('Arial-BoldMT'), local('Liberation Sans Bold'), local('LiberationSans-Bold'), local('Arimo Bold'), local('Arimo-Bold'), local('Roboto Bold'), local('Roboto-Bold');
  font-style: normal;
  font-weight: 600;
  size-adjust: 66.45%;
  ascent-override: 150.48%;
  descent-override: 30.10%;
  line-gap-override: 0%;
  unicode-range: U+0020-007E, U+00A0-00FF, U+2013-2014, U+2018-201A, U+201C-201E, U+2022, U+2026;
}
@font-face {
  font-family: 'Barlow Condensed Fallback';
  src: local('Arial Bold'), local('Arial-BoldMT'), local('Liberation Sans Bold'), local('LiberationSans-Bold'), local('Arimo Bold'), local('Arimo-Bold'), local('Roboto Bold'), local('Roboto-Bold');
  font-style: normal;
  font-weight: 700;
  size-adjust: 69.89%;
  ascent-override: 143.08%;
  descent-override: 28.62%;
  line-gap-override: 0%;
  unicode-range: U+0020-007E, U+00A0-00FF, U+2013-2014, U+2018-201A, U+201C-201E, U+2022, U+2026;
}
@font-face {
  font-family: 'Barlow Condensed Fallback';
  src: local('Arial Bold'), local('Arial-BoldMT'), local('Liberation Sans Bold'), local('LiberationSans-Bold'), local('Arimo Bold'), local('Arimo-Bold'), local('Roboto Bold'), local('Roboto-Bold');
  font-style: normal;
  font-weight: 800;
  size-adjust: 69.87%;
  ascent-override: 143.13%;
  descent-override: 28.63%;
  line-gap-override: 0%;
  unicode-range: U+0020-007E, U+00A0-00FF, U+2013-2014, U+2018-201A, U+201C-201E, U+2022, U+2026;
}
@font-face {
  font-family: 'Barlow Condensed Fallback';
  src: local('Arial Bold'), local('Arial-BoldMT'), local('Liberation Sans Bold'), local('LiberationSans-Bold'), local('Arimo Bold'), local('Arimo-Bold'), local('Roboto Bold'), local('Roboto-Bold');
  font-style: normal;
  font-weight: 900;
  size-adjust: 77.30%;
  ascent-override: 129.37%;
  descent-override: 25.87%;
  line-gap-override: 0%;
  unicode-range: U+0020-007E, U+00A0-00FF, U+2013-2014, U+2018-201A, U+201C-201E, U+2022, U+2026;
}
@font-face {
  font-family: 'Inter Fallback';
  src: local('Arial'), local('ArialMT'), local('Liberation Sans'), local('LiberationSans'), local('Arimo'), local('Roboto'), local('Roboto-Regular');
  font-style: normal;
  font-weight: 400;
  size-adjust: 99.11%;
  ascent-override: 97.87%;
  descent-override: 24.22%;
  line-gap-override: 0%;
  unicode-range: U+0020-007E, U+00A0-00FF, U+2013-2014, U+2018-201A, U+201C-201E, U+2022, U+2026;
}
@font-face {
  font-family: 'Inter Fallback';
  src: local('Arial'), local('ArialMT'), local('Liberation Sans'), local('LiberationSans'), local('Arimo'), local('Roboto'), local('Roboto-Regular');
  font-style: normal;
  font-weight: 500;
  size-adjust: 101.69%;
  ascent-override: 95.39%;
  descent-override: 23.60%;
  line-gap-override: 0%;
  unicode-range: U+0020-007E, U+00A0-00FF, U+2013-2014, U+2018-201A, U+201C-201E, U+2022, U+2026;
}
@font-face {
  font-family: 'Inter Fallback';
  src: local('Arial Bold'), local('Arial-BoldMT'), local('Liberation Sans Bold'), local('LiberationSans-Bold'), local('Arimo Bold'), local('Arimo-Bold'), local('Roboto Bold'), local('Roboto-Bold');
  font-style: normal;
  font-weight: 600;
  size-adjust: 99.11%;
  ascent-override: 97.88%;
  descent-override: 24.22%;
  line-gap-override: 0%;
  unicode-range: U+0020-007E, U+00A0-00FF, U+2013-2014, U+2018-201A, U+201C-201E, U+2022, U+2026;
}
@font-face {
  font-family: 'Inter Fallback';
  src: local('Arial Bold'), local('Arial-BoldMT'), local('Liberation Sans Bold'), local('LiberationSans-Bold'), local('Arimo Bold'), local('Arimo-Bold'), local('Roboto Bold'), local('Roboto-Bold');
  font-style: normal;
  font-weight: 700;
  size-adjust: 100.20%;
  ascent-override: 96.81%;
  descent-override: 23.95%;
  line-gap-override: 0%;
  unicode-range: U+0020-007E, U+00A0-00FF, U+2013-2014, U+2018-201A, U+201C-201E, U+2022, U+2026;
}
@font-face {
  font-family: 'Inter Fallback';
  src: local('Arial Bold'), local('Arial-BoldMT'), local('Liberation Sans Bold'), local('LiberationSans-Bold'), local('Arimo Bold'), local('Arimo-Bold'), local('Roboto Bold'), local('Roboto-Bold');
  font-style: normal;
  font-weight: 800;
  size-adjust: 99.22%;
  ascent-override: 97.76%;
  descent-override: 24.19%;
  line-gap-override: 0%;
  unicode-range: U+0020-007E, U+00A0-00FF, U+2013-2014, U+2018-201A, U+201C-201E, U+2022, U+2026;
}


/* === CSS CUSTOM PROPERTIES === */
:root {
  /* Brand Colors */
  --blue:          #1872BE;
  --blue-dark:     #0f5a96;
  --blue-light:    #2a8fd4;
  --blue-glow:     rgba(24, 114, 190, 0.25);
  /* Brighter than --blue specifically for small text on dark backgrounds —
     --blue itself falls short of WCAG AA (4.5:1) at eyebrow/label sizes. */
  --blue-a11y:     #4fa8e8;
  /* Blue used as text (accent words in headings, stat numbers): lighter than
     --blue, which is only ~3.5:1 on the dark sections */
  --blue-text:     #2a8fd4;
  --gold-a11y:     var(--mbe-gold);
  --adv-ghost-color: rgba(79,168,232,0.65);
  --silver:        #9ea5ad;
  --silver-light:  #c8cdd3;
  --steel:         #6b7280;

  /* Backgrounds */
  --black:         #080808;
  --dark-1:        #0f0f0f;
  --dark-2:        #161616;
  --dark-3:        #1e1e1e;
  --dark-4:        #282828;
  --dark-5:        #333333;

  /* Text */
  --text-primary:  #f4f4f5;
  /* Dark-mode reading text (brightened 2026-10-09 for legibility: 9:1+ on cards) */
  --text-secondary:#b8c0c9;
  --text-muted:    #a3acb7;

  /* Accent colors */
  --usa-red:       #B22234;
  --usa-blue:      #3C3B6E;
  --mbe-gold:      #c9a84c;
  --success:       #22c55e;
  --warning:       #f59e0b;

  /* Typography */
  --font-heading:  'Barlow Condensed', 'Barlow Condensed Fallback', sans-serif;
  --font-body:     'Barlow', 'Barlow Fallback', sans-serif;
  --font-ui:       'Inter', 'Inter Fallback', sans-serif;

  /* Reading-text type scale. Use these rather than ad-hoc sizes so pages stay consistent.
     Headings, navigation and buttons keep their own sizes. */
  --fs-xs:         0.8125rem; /* 13px  uppercase labels, eyebrows, tags */
  --fs-sm:         0.875rem;  /* 14px  captions, legal line, form hints */
  --fs-md:         1rem;      /* 16px  bullets, card text, lists, footer links, form fields */
  --fs-body:       1.0625rem; /* 17px  paragraphs */

  /* Spacing */
  --nav-height:    80px;
  --section-pad:   80px;
  --section-pad-sm:60px;

  /* Layout */
  --container-max: 1280px;
  --container-wide:1440px;

  /* Effects */
  --transition:    0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow:0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm:     0 2px 8px rgba(0,0,0,0.4);
  --shadow-md:     0 4px 20px rgba(0,0,0,0.5);
  --shadow-lg:     0 8px 40px rgba(0,0,0,0.6);
  --shadow-blue:   0 8px 40px rgba(24, 114, 190, 0.35);
  --radius:        6px;
  --radius-lg:     12px;

  /* Gradient */
  --grad-blue:     linear-gradient(135deg, #1872BE 0%, #0f5a96 100%);
  --grad-dark:     linear-gradient(180deg, rgba(8,8,8,0) 0%, rgba(8,8,8,0.8) 50%, #080808 100%);
  --grad-steel:    linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
  --grad-metal:    linear-gradient(135deg, #8a9099 0%, #c8cdd3 30%, #9ea5ad 60%, #6b7280 100%);
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* === SKIP LINK === */
.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  z-index: 10000;
  background: var(--blue);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius);
  font-family: var(--font-ui);
  font-weight: 600;
  text-decoration: none;
  transition: top 0.15s ease;
}
.skip-link:focus {
  top: 12px;
}
body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
h1 { font-size: clamp(2.5rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h4 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
h5 { font-size: 1.1rem; }
p { font-size: var(--fs-body); line-height: 1.75; color: var(--text-secondary); }

.text-blue    { color: var(--blue-text); }
.text-silver  { background: var(--grad-metal); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.text-white   { color: var(--text-primary); }
.text-muted   { color: var(--text-muted); }

/* === LAYOUT === */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}
.container--wide { max-width: var(--container-wide); }

.section { padding: var(--section-pad) 0; }
.section--sm { padding: var(--section-pad-sm) 0; }
.section--dark { background: var(--dark-1); }
.section--darker { background: var(--dark-2); }
.section--steel { background: var(--dark-3); }

.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header .eyebrow {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-a11y);
  margin-bottom: 12px;
  padding: 4px 14px;
  border: 1px solid var(--blue);
  border-radius: 999px;
}
.section-header h2 { margin-bottom: 16px; }
.section-header p  { max-width: 600px; margin: 0 auto; font-size: 1.1rem; }

.divider {
  width: 60px; height: 4px;
  background: var(--grad-blue);
  margin: 20px auto;
  border-radius: 2px;
}
.divider--left { margin: 20px 0; }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  opacity: 0;
  transition: var(--transition);
}
.btn:hover::before { opacity: 1; }

.btn-primary {
  background: var(--grad-blue);
  color: #fff;
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 50px rgba(24, 114, 190, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--blue-a11y);
  border: 2px solid var(--blue);
}
.btn-outline:hover {
  background: var(--blue);
  color: #fff;
  transform: translateY(-2px);
}

.btn-white {
  background: #fff;
  color: var(--dark-1);
}
.btn-white:hover {
  background: var(--silver-light);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid rgba(255,255,255,0.2);
}
.btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue-text);
}

.btn-sm { padding: 10px 22px; font-size: 0.85rem; }
.btn-lg { padding: 18px 44px; font-size: 1.15rem; }

/* === SCROLL PROGRESS BAR === */
.scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 3px; width: 0%;
  background: var(--grad-blue);
  box-shadow: 0 0 8px rgba(24,114,190,0.6);
  z-index: 2000;
}

/* === NAVBAR === */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: rgba(8, 8, 8, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: box-shadow 0.4s ease;
}
.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo img {
  height: 58px;
  width: auto;
  transition: var(--transition);
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}
.nav-logo:hover img { opacity: 0.85; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-link {
  padding: 8px 9px;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-primary);
  transition: var(--transition);
  border-radius: var(--radius);
  position: relative;
  white-space: nowrap;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 9px; right: 9px;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--blue-a11y); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

.nav-lab-badge {
  display: inline-block;
  margin-left: 4px;
  padding: 2px 5px;
  font-family: var(--font-ui);
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--grad-blue);
  color: #fff;
  border-radius: 4px;
  vertical-align: 2px;
}

/* Nav action items — btn-nav, btn-parkan, and nav-flag share one height */
.btn-nav {
  margin-left: 8px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  background: var(--grad-blue);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: var(--transition);
  box-shadow: var(--shadow-blue);
  white-space: nowrap;
}
.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(24,114,190,0.5);
}

.btn-parkan {
  margin-left: 6px;
  margin-right: 0;
  height: 40px;
  padding: 0 12px;
  background: #fff;
  border: none;
  border-radius: var(--radius);
  box-shadow: 0 1px 6px rgba(0,0,0,0.35);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-parkan img {
  height: 24px;
  width: auto;
  display: block;
  transition: var(--transition);
  opacity: 0.9;
}
.btn-parkan:hover {
  box-shadow: 0 2px 10px rgba(0,0,0,0.5);
  transform: translateY(-1px);
}
.btn-parkan:hover img {
  opacity: 1;
}

/* US Flag in nav */
.nav-flag {
  height: 40px;
  width: auto;
  margin-left: 6px;
  flex-shrink: 0;
  border-radius: var(--radius);
  box-shadow: 0 1px 4px rgba(0,0,0,0.5);
  display: block;
}

/* Theme toggle */
.theme-toggle {
  margin-left: 6px;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--text-primary);
  transition: var(--transition);
}
.theme-toggle:hover { border-color: var(--blue); color: var(--blue-text); }
.theme-toggle svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; fill: none; }
.theme-toggle .icon-moon { display: none; }
[data-theme="light"] .theme-toggle .icon-sun { display: none; }
[data-theme="light"] .theme-toggle .icon-moon { display: block; }
[data-theme="light"] .theme-toggle { border-color: rgba(16,24,40,0.18); }

/* Theme-dependent logo swap */
.logo-on-light { display: none !important; }
[data-theme="light"] .logo-on-dark { display: none !important; }
[data-theme="light"] .logo-on-light { display: block !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.bar {
  display: block;
  width: 26px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle.open .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open .bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* === HERO SECTIONS === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-height);
}
.hero--sub {
  min-height: 55vh;
  align-items: flex-end;
  padding-bottom: 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  z-index: 0;
  transform: scale(1.05);
  animation: heroZoom 12s ease-out forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.08); }
  to   { transform: scale(1.0); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    130deg,
    rgba(8,8,8,0.90) 0%,
    rgba(8,8,8,0.75) 50%,
    rgba(15,90,150,0.3) 100%
  );
  z-index: 1;
}
.hero-overlay--sub {
  background: linear-gradient(180deg, rgba(8,8,8,0.6) 0%, rgba(8,8,8,0.92) 100%);
}

.hero-media {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 60%;
  overflow: hidden;
  z-index: 0;
}
.hero-video,
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-video { object-position: 38% center; }
/* Sign/logo pictures: shown whole, vertically centered with equal space above and below, pinned to the right; kept narrow enough not to run under the headline */
.hero-media--sign {
  top: calc(var(--nav-height) + 40px);
  bottom: 40px;
  /* stop 710px past the text column's left edge so the picture never runs under the headline */
  width: min(820px, calc(100% - max(24px, (100% - 1280px) / 2 + 24px) - 710px));
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.hero-media--sign .hero-image {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  aspect-ratio: 3 / 2;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 70px);
  mask-image: linear-gradient(to right, transparent 0, #000 70px);
}
/* Media that must show its full height (Why GB video, Industries collage): start
   below the navbar instead of running underneath it */
.hero-media--below-nav {
  top: var(--nav-height);
  background: var(--black);
}
/* Video shown whole: the element is sized to the video's own 16:9 shape, pinned
   right and centered vertically, and its left edge fades so it blends into the
   black instead of ending in a hard line on wide screens */
.hero-media--below-nav:has(.hero-video) {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.hero-media--below-nav .hero-video {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  aspect-ratio: 16 / 9;
  /* nudged right, away from the headline; trims a sliver of the right edge, never top or bottom */
  transform: translateX(6%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 140px);
  mask-image: linear-gradient(to right, transparent 0, #000 140px);
}
/* Shift a hero picture right, away from the headline; the strip it vacates on the
   left sits under the black fade, and a sliver of its right edge is trimmed */
.hero-media--nudge-right .hero-image { transform: translateX(8%); }
/* Grid collage (Industries): shown whole, pinned right, so every row stays full
   height at any screen shape; spare width falls under the left fade */
.hero-media--collage .hero-image {
  object-fit: contain;
  object-position: right center;
}
.hero-fade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg,
    var(--black) 0%,
    var(--black) 38%,
    rgba(8,8,8,0.92) 46%,
    rgba(8,8,8,0.55) 58%,
    rgba(8,8,8,0.15) 72%,
    rgba(8,8,8,0) 85%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}
.hero-content .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 20px;
}
.hero-content .eyebrow::before {
  content: '';
  display: block;
  width: 32px; height: 2px;
  background: var(--blue);
}

.hero-title {
  margin-bottom: 16px;
}
.hero-title span { color: var(--blue-text); }
.hero-title .metal-text {
  background: var(--grad-metal);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 680px;
  line-height: 1.7;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* === STATS BAR === */
.stats-bar {
  background: var(--dark-2);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 0;
}
.stats-bar .container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.stat-item {
  padding: 28px 20px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.06);
  transition: background var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: rgba(24,114,190,0.08); }
/* Four-stat variant (Careers). Stays a clean 4-across or 2x2 at every width. */
.stats-bar.stats-bar--4 .container { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) {
  .stats-bar.stats-bar--4 .container { grid-template-columns: repeat(2, 1fr); }
  .stats-bar--4 .stat-item,
  .stats-bar--4 .stat-item:nth-child(3),
  .stats-bar--4 .stat-item:last-child { grid-column: auto; border-right: 1px solid rgba(255,255,255,0.06); }
  .stats-bar--4 .stat-item:nth-child(2n) { border-right: none; }
  .stats-bar--4 .stat-item:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,0.06); }
}
[data-theme="light"] .stats-bar--4 .stat-item { border-right-color: rgba(16,24,40,0.08); border-bottom-color: rgba(16,24,40,0.08); }
.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  color: var(--blue-text);
  line-height: 1;
  white-space: nowrap;
}
.stat-label {
  display: block;
  font-family: var(--font-ui);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 6px;
}

/* === CAPABILITY CARDS === */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--dark-4);
}
.cap-card {
  background: #000;
  background-size: cover;
  background-position: center;
  padding: 44px 36px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 260px;
  text-decoration: none;
  color: inherit;
}
.cap-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.82) 100%);
  z-index: 1;
  transition: var(--transition);
}
.cap-card:hover .cap-overlay {
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(8,8,8,0.78) 100%);
}
.cap-card-body {
  position: relative;
  z-index: 3;
}
.cap-card-body h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--text-primary);
  transition: color var(--transition);
}
.cap-card:hover .cap-card-body h3 { color: var(--blue-text); }
.cap-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
  z-index: 4;
}
.cap-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(24,114,190,0.12) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition);
  z-index: 2;
}
.cap-card:hover::before { transform: scaleX(1); }
.cap-card:hover::after  { opacity: 1; }
.cap-card:hover { transform: translateY(-3px); }

.cap-icon {
  width: 56px; height: 56px;
  background: rgba(24,114,190,0.12);
  border: 1px solid rgba(24,114,190,0.25);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: var(--transition);
}
.cap-card:hover .cap-icon {
  background: rgba(24,114,190,0.22);
  border-color: var(--blue);
  box-shadow: 0 0 20px rgba(24,114,190,0.3);
}
.cap-icon svg { width: 26px; height: 26px; stroke: var(--blue); fill: none; stroke-width: 1.5; }

.cap-card h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  transition: color var(--transition);
}
.cap-card:hover h3 { color: var(--blue-text); }
.cap-card p { font-size: var(--fs-md); line-height: 1.7; margin-bottom: 20px; }
.cap-card .cap-number {
  position: absolute;
  bottom: 24px; right: 24px;
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 900;
  color: rgba(255,255,255,0.04);
  line-height: 1;
}
.cap-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-a11y);
  transition: var(--transition);
}
.cap-link:hover { gap: 10px; }
.cap-link svg { width: 16px; height: 16px; stroke: currentColor; }

/* === MADE IN USA + MBE SECTION === */
.usa-mbe-section {
  background: var(--dark-1);
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
}
.usa-mbe-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--usa-red), var(--text-primary), var(--usa-blue));
}

.usa-mbe-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.usa-badge {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.usa-flag-stripe {
  display: flex;
  gap: 0;
  margin-bottom: 28px;
}
.stripe {
  height: 6px;
  border-radius: 3px;
}
.stripe--red  { width: 80px; background: var(--usa-red); }
.stripe--white{ width: 40px; background: #fff; margin: 0 4px; }
.stripe--blue { width: 60px; background: var(--usa-blue); }

.usa-label {
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--blue-text);
  margin-bottom: 8px;
}
.usa-badge h2 { margin-bottom: 20px; }
.usa-badge p  { margin-bottom: 28px; max-width: 460px; }

.usa-points {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 8px;
}
.usa-point {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: var(--fs-md);
  font-weight: 500;
  color: var(--text-primary);
}
.usa-point .check {
  width: 24px; height: 24px;
  background: rgba(24,114,190,0.15);
  border: 1px solid var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.usa-point .check svg { width: 12px; height: 12px; stroke: var(--blue); }

.mbe-card {
  background: var(--dark-3);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 52px 44px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.mbe-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--mbe-gold), #e8c97a, var(--mbe-gold));
}

.mbe-badge-icon {
  width: 90px; height: 90px;
  background: linear-gradient(135deg, #c9a84c, #e8c97a, #c9a84c);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--dark-1);
  letter-spacing: 0.05em;
  box-shadow: 0 0 40px rgba(201,168,76,0.4);
}
.mbe-card h3 { margin-bottom: 12px; color: var(--text-primary); }
.mbe-card p  { font-size: var(--fs-md); margin-bottom: 8px; }
.mbe-cert-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mbe-gold);
  margin-top: 16px;
}

/* Anchor offset for fixed navbar (also lets old-site redirects land on a section) */
.industry-detail[id],
section[id],
.advantage-block[id] {
  scroll-margin-top: calc(var(--nav-height) + 24px);
}

/* === INDUSTRY CARDS === */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--dark-4);
}
.industry-card {
  background: var(--dark-2);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
  overflow: hidden;
}
.industry-card:hover { background: var(--dark-3); }

.industry-card-img {
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--dark-3);
}
.industry-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
}
.industry-card:hover .industry-card-img img { transform: scale(1.06); }

.industry-card-label {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 76px;
  padding: 12px 14px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.industry-card-label h3 {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  transition: color var(--transition);
}
.industry-card:hover .industry-card-label h3 { color: var(--blue-text); }

/* === WHY GB PILLARS === */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.pillar-card {
  background: var(--dark-3);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.pillar-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--grad-blue);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: var(--transition-slow);
}
.pillar-card:hover { border-color: rgba(24,114,190,0.3); transform: translateY(-4px); box-shadow: var(--shadow-blue); }
.pillar-card:hover::before { transform: scaleY(1); }

.pillar-num {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  color: rgba(24,114,190,0.15);
  line-height: 1;
  margin-bottom: 16px;
}
.pillar-card h4 { font-size: 1.25rem; margin-bottom: 12px; }
.pillar-card p  { font-size: var(--fs-md); }

/* === TIMELINE === */
.timeline {
  position: relative;
  padding: 20px 0;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--blue) 10%, var(--blue) 90%, transparent);
  transform: translateX(-50%);
}
.timeline-item {
  display: flex;
  gap: 60px;
  margin-bottom: 60px;
  align-items: center;
}
.timeline-item:nth-child(odd) { flex-direction: row-reverse; }
.timeline-content {
  flex: 1;
  background: var(--dark-3);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  transition: var(--transition);
}
.timeline-content:hover { border-color: rgba(24,114,190,0.3); box-shadow: var(--shadow-blue); }
.timeline-year {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--blue-text);
  margin-bottom: 8px;
}
.timeline-content h4 { font-size: 1.1rem; margin-bottom: 8px; }
.timeline-content p  { font-size: var(--fs-md); }
.timeline-dot {
  width: 20px; height: 20px;
  background: var(--blue);
  border: 4px solid var(--black);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 4px rgba(24,114,190,0.2);
}
.timeline-spacer { flex: 1; }

/* === CONNECTED FOR CONTINUITY === */
.connected-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.connected-info .eyebrow {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-a11y);
  margin-bottom: 16px;
  padding: 4px 14px;
  border: 1px solid var(--blue);
  border-radius: 999px;
}
.connected-info h2 { margin-bottom: 16px; }
.connected-info > p { max-width: 440px; margin-bottom: 28px; font-size: var(--fs-md); }
.connected-tagline-1 {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.2vw, 1.85rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 6px !important;
}
.connected-tagline-2 {
  font-size: var(--fs-md);
  color: var(--text-secondary);
  line-height: 1.65;
  text-transform: none;
  font-family: var(--font-body);
  font-weight: 400;
  margin-bottom: 28px !important;
}
.connected-bullets {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
}
.connected-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: var(--fs-md);
  color: var(--text-secondary);
  line-height: 1.55;
}
.connected-bullet-icon {
  width: 22px; height: 22px;
  background: rgba(24,114,190,0.15);
  border: 1px solid var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.connected-bullet-icon svg {
  width: 11px; height: 11px;
  stroke: var(--blue);
  fill: none;
  stroke-width: 2.5;
}
.facilities-map {
  border: 1px solid rgba(24,114,190,0.25);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-md);
}
.facilities-map img {
  width: 100%;
  height: auto;
  display: block;
}

/* === TIMELINE (REDESIGNED — 5 per row, 2 rows, flex-based, no scroll) === */
.timeline-h-wrap {
  padding: 8px 24px 40px;
  overflow-x: auto;
}

.timeline-h {
  display: grid;
  grid-template-columns: repeat(9, minmax(160px, 1fr));
  position: relative;
  min-height: 340px;
  min-width: 1200px;
}
.timeline-h::before {
  content: '';
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  height: 3px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, transparent 0%, var(--blue) 3%, var(--blue) 97%, transparent 100%);
  z-index: 0;
  pointer-events: none;
}

.tl-card {
  display: flex;
  flex-direction: column;
  padding: 0 8px;
  position: relative;
}

/* Upper and lower halves each get 50% of the space (minus the dot) */
.tl-upper, .tl-lower {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tl-upper { padding-top: 14px; }
.tl-lower { padding-bottom: 14px; }

/* The central dot — sits between upper and lower halves */
.tl-dot {
  width: 16px; height: 16px;
  background: var(--blue);
  border: 3px solid #161616;
  border-radius: 50%;
  flex-shrink: 0;
  align-self: center;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 0 4px rgba(24,114,190,0.2), 0 0 14px rgba(24,114,190,0.4);
}

/* Vertical stem connecting content to dot */
.tl-stem-v {
  width: 2px;
  height: 22px;
  background: linear-gradient(to bottom, rgba(24,114,190,0.7), rgba(24,114,190,0.2));
  align-self: center;
  flex-shrink: 0;
}

/* ABOVE: year at top → text fills → stem at bottom of upper half */
.tl-card--above .tl-upper { justify-content: flex-start; }
.tl-card--above .tl-stem-v { margin-top: auto; }
.tl-card--above .tl-lower { /* empty */ }

/* BELOW: stem at top of lower → year → text fills */
.tl-card--below .tl-upper { /* empty */ }
.tl-card--below .tl-lower { justify-content: flex-start; }

/* Year badge */
.tl-year-badge {
  background: var(--blue);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 900;
  padding: 6px 10px;
  border-radius: 4px;
  letter-spacing: 0.08em;
  text-align: center;
  flex-shrink: 0;
  line-height: 1.2;
}

/* Event text card */
.tl-text {
  background: var(--dark-3);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 10px 12px;
  flex: 1;
  transition: var(--transition);
}
.tl-text:hover {
  border-color: rgba(24,114,190,0.4);
  box-shadow: 0 4px 20px rgba(24,114,190,0.2);
}
.tl-text h3 {
  font-size: var(--fs-md);
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-secondary);
}

/* === CTA BANNER === */
.cta-banner {
  background: var(--grad-blue);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-banner h2 { color: #fff; margin-bottom: 16px; position: relative; }
.cta-banner p  { color: rgba(255,255,255,0.9); max-width: 560px; margin: 0 auto 36px; position: relative; font-size: 1.2rem; }
.cta-banner .actions { display: flex; gap: 16px; justify-content: center; position: relative; }

/* === CONTACT FORM === */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group[hidden] { display: none; }
.form-group.full { grid-column: 1 / -1; }
/* Three fields in a row (City / State / ZIP); one per row on phones. */
.form-grid--3 { grid-template-columns: repeat(3, 1fr); }

/* A dropdown that takes several answers: checkboxes in a panel under a
   <details> summary styled like the other fields (initMultiSelects in main.js). */
.multi-select { position: relative; }
.multi-select > summary { list-style: none; line-height: normal; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; user-select: none; }
.multi-select > summary::-webkit-details-marker { display: none; }
.multi-select > summary::after { content: ''; flex-shrink: 0; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); opacity: 0.7; transition: transform var(--transition); }
.multi-select[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
.multi-select-value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.multi-select-value.is-placeholder { color: var(--text-muted); }
.multi-select-panel { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 6px); background: var(--dark-3); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 6px; max-height: 420px; overflow-y: auto; }
.multi-select-option { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: var(--radius); font-size: var(--fs-md); color: var(--text-primary); cursor: pointer; }
.multi-select-option:hover { background: var(--dark-4); }
.multi-select-option input { width: 16px; height: 16px; margin: 0; accent-color: var(--blue); flex-shrink: 0; cursor: pointer; }
[data-theme="light"] .multi-select-panel { border-color: rgba(16,24,40,0.15); }

.form-label {
  font-family: var(--font-ui);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.form-control {
  background: var(--dark-3);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 14px 18px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: var(--fs-md);
  transition: var(--transition);
  outline: none;
  width: 100%;
}
.form-control:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-glow);
  background: var(--dark-4);
}
.form-control::placeholder { color: var(--text-muted); }
textarea.form-control { resize: vertical; min-height: 140px; }
select.form-control option { background: var(--dark-3); }

.form-success {
  display: none;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.3);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  color: var(--success);
  font-weight: 600;
}
.form-error-msg {
  display: none;
  color: #f87171;
  font-size: var(--fs-sm);
  margin-top: 4px;
}

/* === LOCATION CARDS === */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.location-card {
  background: var(--dark-3);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
}
.location-card:hover { border-color: rgba(24,114,190,0.3); transform: translateY(-3px); }
.location-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.location-icon {
  width: 44px; height: 44px;
  background: rgba(24,114,190,0.12);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.location-icon svg { width: 20px; height: 20px; stroke: var(--blue); fill: none; }
.location-card h3 { font-size: 1rem; margin-bottom: 4px; }
.location-card .loc-state { font-size: var(--fs-xs); color: var(--text-muted); letter-spacing: 0.1em; text-transform: uppercase; font-family: var(--font-ui); }
.location-detail { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; font-size: var(--fs-md); color: var(--text-secondary); }
.location-detail svg { width: 14px; height: 14px; stroke: var(--blue); fill: none; flex-shrink: 0; margin-top: 2px; }
.location-detail a:hover { color: var(--blue-text); }

/* === TEAM SECTION === */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.team-card {
  background: var(--dark-3);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.team-card:hover { border-color: rgba(24,114,190,0.3); transform: translateY(-4px); }
.team-photo {
  width: 100%; aspect-ratio: 1;
  background: var(--dark-4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--steel);
  position: relative;
  overflow: hidden;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-photo-placeholder {
  width: 80px; height: 80px;
  background: rgba(24,114,190,0.12);
  border: 2px solid rgba(24,114,190,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue-text);
}
.team-info { padding: 22px 20px; }
.team-info h3 { font-size: 1.05rem; margin-bottom: 4px; }
.team-title { font-size: var(--fs-sm); color: var(--blue-a11y); letter-spacing: 0.08em; font-family: var(--font-ui); font-weight: 500; }

/* === JOB CARDS === */
.jobs-list { display: flex; flex-direction: column; gap: 16px; }
.job-card {
  background: var(--dark-3);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transition: var(--transition);
}
.job-card:hover { border-color: rgba(24,114,190,0.3); background: var(--dark-4); }
.job-info h3 { font-size: 1.2rem; margin-bottom: 8px; }
.job-tags { display: flex; gap: 10px; flex-wrap: wrap; }
.tag {
  padding: 4px 12px;
  background: rgba(24,114,190,0.12);
  border: 1px solid rgba(24,114,190,0.25);
  border-radius: 999px;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--blue-a11y);
  font-family: var(--font-ui);
}
.tag--loc { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.1); color: var(--text-muted); }

/* === BENEFITS GRID === */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--dark-3);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}
.benefit-item:hover { border-color: rgba(24,114,190,0.3); }
.benefit-icon {
  width: 44px; height: 44px;
  background: rgba(24,114,190,0.12);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.benefit-icon svg { width: 20px; height: 20px; stroke: var(--blue); fill: none; }
.benefit-item h3 { font-size: 1.1rem; margin-bottom: 4px; }
.benefit-item p  { font-size: var(--fs-md); }

/* === CAPABILITY DETAIL PAGE === */
.cap-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-bottom: 80px;
}
.cap-detail:nth-child(even) { direction: rtl; }
.cap-detail:nth-child(even) > * { direction: ltr; }
.cap-detail-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--dark-3);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.06);
  position: relative;
}
.cap-detail-img img { width: 100%; height: 100%; object-fit: cover; }
.cap-detail-img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.85rem;
}
.cap-detail-img-placeholder svg { width: 48px; height: 48px; stroke: rgba(24,114,190,0.4); fill: none; }

.cap-detail-content .eyebrow { display: inline-block; font-family: var(--font-ui); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--blue-text); margin-bottom: 12px; }
.cap-detail-content h2 { margin-bottom: 20px; }
.cap-detail-content p  { margin-bottom: 24px; }

.equipment-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.equipment-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--fs-md);
  color: var(--text-secondary);
}
.equipment-list li::before {
  content: '';
  display: block;
  width: 6px; height: 6px;
  background: var(--blue);
  border-radius: 50%;
  margin-top: 7px;
  flex-shrink: 0;
}

/* === IMAGE CONTAINERS === */
.ind-image img, .adv-visual img {
  width: 100%;
  display: block;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

/* === IMAGE PLACEHOLDER UTILITY === */
.img-placeholder {
  background: var(--dark-3);
  border: 1px dashed rgba(24,114,190,0.3);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.8rem;
  text-align: center;
  min-height: 300px;
  position: relative;
}
.img-placeholder::before {
  content: '[ IMAGE PLACEHOLDER ]';
  font-family: var(--font-ui);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: rgba(24,114,190,0.4);
  position: absolute;
  top: 12px;
}

/* === ANIMATIONS === */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(24,114,190,0.4); }
  50%       { box-shadow: 0 0 0 14px rgba(24,114,190,0); }
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-left.visible, .reveal-right.visible { opacity: 1; transform: none; }

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* === FOOTER === */
.footer {
  background: var(--dark-1);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-top { padding: 80px 0 60px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
}
.footer-logo { height: 40px; width: auto; margin-bottom: 20px; }
.footer-brand > p { font-size: var(--fs-md); max-width: 280px; margin-bottom: 24px; }
.footer-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.12); border-radius: 50%; color: var(--text-secondary);
  transition: var(--transition);
}
.footer-social a:hover, .footer-social a:focus-visible { background: var(--blue); border-color: var(--blue); color: #fff; }
.footer-social svg { width: 18px; height: 18px; fill: currentColor; }
[data-theme="light"] .footer-social a { border-color: rgba(16,24,40,0.15); }
.footer-badge {
  padding: 6px 14px;
  border-radius: 4px;
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.footer-badge--mbe { background: rgba(201,168,76,0.15); border: 1px solid rgba(201,168,76,0.4); color: var(--mbe-gold); }
.footer-badge--usa { background: rgba(178,34,52,0.12); border: 1px solid rgba(178,34,52,0.3); color: #e57f8a; }
.footer-badge--iso { background: rgba(24,114,190,0.12); border: 1px solid rgba(24,114,190,0.3); color: var(--blue-light); }

.footer-col h2 {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 20px;
  font-family: var(--font-ui);
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: var(--fs-md);
  color: var(--text-muted);
  transition: color var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-col ul li a:hover { color: var(--blue-text); }
.footer-col ul li a::before { content: '→'; opacity: 0; transform: translateX(-6px); transition: var(--transition); }
.footer-col ul li a:hover::before { opacity: 1; transform: none; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: var(--fs-md);
  color: var(--text-muted);
}
.footer-contact-item svg { width: 16px; height: 16px; stroke: var(--blue); fill: none; flex-shrink: 0; margin-top: 1px; }
.footer-contact-item a { color: var(--text-muted); transition: color var(--transition); }
.footer-contact-item a:hover { color: var(--blue-text); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 22px 0;
}
.footer-bottom .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: var(--fs-sm); color: var(--text-muted); }
/* Form checkboxes: the application's certification, and every form's location
   questions (views/partials/location-checks.ejs). */
.form-certify { display: flex; align-items: flex-start; gap: 10px; margin-top: 20px; font-size: var(--fs-sm); color: var(--text-secondary); line-height: 1.5; cursor: pointer; }
.form-certify input { margin-top: 3px; flex-shrink: 0; width: 16px; height: 16px; accent-color: var(--blue); cursor: pointer; }
.form-checks { display: grid; gap: 10px; margin-top: 20px; }
.form-checks .form-certify { margin-top: 0; }
.form-legal-links { font-size: var(--fs-sm); color: var(--text-muted); line-height: 1.5; margin: 16px 0 20px; }
.form-legal-links a { color: var(--blue-a11y); text-decoration: underline; }
/* Shown to signed-in staff previewing GB Marketplace while it's hidden (server.js, MARKETPLACE). */
.marketplace-preview-note { position: fixed; top: var(--nav-height); left: 0; right: 0; z-index: 999; padding: 8px 16px; background: var(--warning); color: #111; font-size: var(--fs-sm); font-weight: 600; line-height: 1.4; text-align: center; }

.footer-legal-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; }
.footer-legal-links a { font-size: var(--fs-sm); color: var(--text-muted); white-space: nowrap; transition: color var(--transition); }
.footer-legal-links a:hover { color: var(--blue-text); }
.footer-link-btn { background: none; border: none; padding: 0; font: inherit; font-size: var(--fs-sm); color: var(--text-muted); white-space: nowrap; cursor: pointer; transition: color var(--transition); }
.footer-link-btn:hover, .footer-link-btn:focus-visible { color: var(--blue-text); }

/* Cookie consent banner (public/js/analytics.js): a card along the bottom of
   the screen that doesn't block the page; the fixed buttons move up above it. */
.consent-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1100; max-width: 980px; margin: 0 auto; display: flex; align-items: center; gap: 24px; padding: 18px 22px; background: var(--dark-3); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.consent-banner[hidden] { display: none; }
.consent-text { margin: 0; font-size: var(--fs-sm); line-height: 1.6; color: var(--text-secondary); }
.consent-text a { color: var(--blue-a11y); text-decoration: underline; }
.consent-current { color: var(--text-primary); font-weight: 600; }
.consent-actions { display: flex; gap: 10px; flex-shrink: 0; }
.consent-actions .btn { min-width: 112px; justify-content: center; }
html.consent-open .scroll-top, html.consent-open .request-fab { margin-bottom: var(--consent-offset, 0px); }
[data-theme="light"] .consent-banner { border-color: rgba(16,24,40,0.12); box-shadow: 0 8px 32px rgba(16,24,40,0.16); }
@media (max-width: 700px) {
  .consent-banner { flex-direction: column; align-items: stretch; gap: 14px; left: 10px; right: 10px; bottom: 10px; padding: 16px; }
  .consent-actions .btn { flex: 1; min-width: 0; }
}

/* === SCROLL TO TOP === */
.scroll-top {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 48px; height: 48px;
  background: var(--grad-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  z-index: 999;
  box-shadow: var(--shadow-blue);
}
.scroll-top.visible { opacity: 1; pointer-events: all; }
.scroll-top:hover { transform: translateY(-4px); }
.scroll-top svg { width: 20px; height: 20px; stroke: #fff; fill: none; }

/* === UTILITIES === */
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-8  { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }
.mt-4  { margin-top: 4px; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.text-center { text-align: center; }
.hidden { display: none; }

/* Wide feature image */
.feature-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  width: 100%;
}
.feature-img img { width: 100%; height: auto; display: block; }

/* Horizontal rule */
.hr { border: none; border-top: 1px solid rgba(255,255,255,0.06); margin: 60px 0; }

/* =============================================
   RESPONSIVE BREAKPOINTS
   ============================================= */

/* 1280px - Large desktop */
@media (max-width: 1280px) {
  :root { --section-pad: 70px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

/* 1024px - Tablets landscape / small desktop */
/* 1200px — collapse to the hamburger menu before the nav bar runs out of room.
   (The nav grew past what fits in a bar somewhere around 8 links + badges;
   this keeps every item on one line instead of silently overflowing.) */
@media (max-width: 1200px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0; right: 0;
    background: rgba(8,8,8,0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 20px 24px 28px;
    gap: 4px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .nav-menu.open { display: flex; }
  .nav-link { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .nav-link::after { display: none; }
  .btn-nav { margin: 12px 0 0; width: 100%; text-align: center; justify-content: center; }
  .nav-toggle { display: flex; }
}

@media (max-width: 1024px) {
  :root { --section-pad: 64px; }
  .capabilities-grid { grid-template-columns: repeat(2, 1fr); }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .cap-detail { grid-template-columns: 1fr; gap: 40px; }
  .cap-detail:nth-child(even) { direction: ltr; }
  .stats-bar .container { grid-template-columns: repeat(3, 1fr); }
  .stat-item:nth-child(3) { border-right: none; }
  .usa-mbe-grid { grid-template-columns: 1fr; gap: 48px; }
  .locations-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline::before { left: 24px; }
  .timeline-item { flex-direction: row !important; padding-left: 60px; gap: 30px; }
  .timeline-dot { position: absolute; left: 14px; }
  .timeline-item { position: relative; }
  .timeline-spacer { display: none; }
}

/* 768px - Tablets portrait */
@media (max-width: 768px) {
  :root { --section-pad: 60px; --nav-height: 68px; }
  .nav-menu {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0; right: 0;
    background: rgba(8,8,8,0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 20px 24px 28px;
    gap: 4px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .nav-menu.open { display: flex; }
  .nav-link { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .nav-link::after { display: none; }
  .btn-nav { margin: 12px 0 0; width: 100%; text-align: center; justify-content: center; }
  .nav-toggle { display: flex; }

  .hero { min-height: 90vh; }
  .hero--sub { min-height: 45vh; padding-bottom: 48px; }
  .hero-media { display: none; }
  .hero-fade { background: var(--black); }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  .stats-bar .container { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-right: 1px solid rgba(255,255,255,0.06); }
  .stat-item:nth-child(4) { border-right: none; }
  .stat-item:last-child { grid-column: 1 / -1; border-right: none; }

  .capabilities-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .locations-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid--3 { grid-template-columns: 1fr; }
  .form-group.full { grid-column: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
  /* room for the fixed scroll-to-top button (48px at bottom: 32px) so it never covers the legal links */
  .footer-bottom { padding-bottom: 88px; }
  .cta-banner .actions { flex-direction: column; align-items: center; }
  .job-card { flex-direction: column; align-items: flex-start; }
  .section-header { margin-bottom: 40px; }
}

/* 480px - Mobile */
@media (max-width: 480px) {
  :root { --section-pad: 48px; }
  .container { padding: 0 16px; }
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.9rem; }
  .industries-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .stats-bar .container { grid-template-columns: 1fr 1fr; }
  .scroll-top { bottom: 20px; right: 20px; width: 40px; height: 40px; }
  .mbe-card { padding: 36px 24px; }
}

/* ===================================================
   LIGHT THEME
   Activated via data-theme="light" on <html>.
   Dark remains the default (:root values above).
   =================================================== */
[data-theme="light"] {
  --black:         #e9edf2;
  --dark-1:        #f7f9fb;
  --dark-2:        #e4eaf1; /* alternate sections: a light steel tint, clearly apart from --dark-1 */
  --dark-3:        #ffffff;
  --dark-4:        #e2e7ed;
  --dark-5:        #d3dae1;
  /* Text on the light backgrounds (#fff, #f7f9fb, #e4eaf1), contrast measured
     on the lightest and darkest of them: headings 18-15:1, body text 12-10:1,
     small labels 8-6.4:1, accent blue in headings 7.2-5.8:1, small blue
     labels and links 8.3-6.9:1. The still-dark hero/CTA regions below
     restore the dark theme's lighter values. */
  --text-primary:  #10161d;
  --text-secondary:#2c3742;
  --text-muted:    #46525e;
  --blue-a11y:     #0d5089;
  --blue-text:     #0f5a96;
  --gold-a11y:     #5a4614;
  --adv-ghost-color: rgba(15,90,150,0.75);
  --shadow-sm:     0 2px 8px rgba(16,24,40,0.08);
  --shadow-md:     0 4px 20px rgba(16,24,40,0.10);
  --shadow-lg:     0 8px 40px rgba(16,24,40,0.14);
  --shadow-blue:   0 8px 30px rgba(24,114,190,0.22);
  --grad-steel:    linear-gradient(135deg, #f4f6f8 0%, #e7ebef 100%);
}

/* Navbar */
[data-theme="light"] .navbar {
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid rgba(16,24,40,0.08);
}
[data-theme="light"] .navbar.scrolled { box-shadow: 0 2px 20px rgba(16,24,40,0.12); }
[data-theme="light"] .nav-logo img { filter: none; }
[data-theme="light"] .btn-parkan {
  border: 1px solid rgba(16,24,40,0.12);
  box-shadow: 0 1px 6px rgba(16,24,40,0.12);
}
[data-theme="light"] .nav-flag { box-shadow: 0 1px 4px rgba(16,24,40,0.25); }

/* Mobile nav menu */
@media (max-width: 1200px) {
  [data-theme="light"] .nav-menu {
    background: rgba(255,255,255,0.98);
    border-bottom: 1px solid rgba(16,24,40,0.08);
  }
  [data-theme="light"] .nav-link { border-bottom-color: rgba(16,24,40,0.06); }
}

/* Hairline borders that were white-on-dark */
[data-theme="light"] .stats-bar {
  border-top-color: rgba(16,24,40,0.08);
  border-bottom-color: rgba(16,24,40,0.08);
}
[data-theme="light"] .stat-item { border-right-color: rgba(16,24,40,0.08); }
[data-theme="light"] .footer { border-top-color: rgba(16,24,40,0.08); }
[data-theme="light"] .tl-text { border-color: rgba(16,24,40,0.12); }
[data-theme="light"] .tl-dot { border-color: #ffffff; }
[data-theme="light"] .mbe-card { border-color: rgba(16,24,40,0.1); }
[data-theme="light"] .form-control { border-color: rgba(16,24,40,0.15); }

/* Card-style elements get a soft shadow to compensate for invisible white borders */
[data-theme="light"] .team-card,
[data-theme="light"] .location-card,
[data-theme="light"] .info-card,
[data-theme="light"] .lean-card,
[data-theme="light"] .testimonial-card,
[data-theme="light"] .mission-card,
[data-theme="light"] .track-stat,
[data-theme="light"] .cert-img-card,
[data-theme="light"] .contact-form-wrap {
  box-shadow: 0 2px 12px rgba(16,24,40,0.07);
  border-color: rgba(16,24,40,0.08);
}

/* Regions that keep dark imagery / dark or blue backgrounds:
   text inside must stay light in both themes */
[data-theme="light"] .hero,
[data-theme="light"] .cap-card,
[data-theme="light"] .industry-card,
[data-theme="light"] .cta-banner {
  --text-primary:  #f4f4f5;
  --text-secondary:#b9c2cc;
  --text-muted:    #9aa3ad;
  --blue-a11y:     #4fa8e8;
  --blue-text:     #2a8fd4;
}

/* Buttons on the blue CTA banner */
[data-theme="light"] .btn-white { color: #10161d; }

/* Footer badges: dark-theme colors are too light against the pastel
   tint these translucent backgrounds produce on a light page */
[data-theme="light"] .footer-badge--mbe { color: var(--gold-a11y); }
[data-theme="light"] .footer-badge--usa { color: #961c2b; }
[data-theme="light"] .footer-badge--iso { color: var(--blue-a11y); }

/* Facilities map image (white background baked into the image) */
[data-theme="light"] .facilities-map {
  border-color: rgba(16,24,40,0.1);
  box-shadow: 0 2px 12px rgba(16,24,40,0.08);
}

/* ===================================================
   LIGHT MODE PASS (2026-10-09). Every rule here is scoped to
   [data-theme="light"]; dark mode is untouched.
   =================================================== */

/* Page-top banners stay dark in light mode, rendering exactly as in dark
   mode: inside .hero every color token goes back to its dark-theme value,
   so the photo/video, the black fade behind the headline and the light
   text all match. (Previously the fade turned light gray up to 38% and then
   jumped to near-black, and light text sat on a light background.) */
[data-theme="light"] .hero {
  --black:         #080808;
  --dark-1:        #0f0f0f;
  --dark-2:        #161616;
  --dark-3:        #1e1e1e;
  --dark-4:        #282828;
  --dark-5:        #333333;
  --text-primary:  #f4f4f5;
  --text-secondary:#b8c0c9;
  --text-muted:    #a3acb7;
  --blue-a11y:     #4fa8e8;
  --blue-text:     #2a8fd4;
  background-color: #080808;
  /* Text that inherits its color (e.g. the headline) would otherwise keep
     the light page's dark body color, resolved above this scope */
  color: var(--text-primary);
}

/* Outline buttons: the white hairline only works on dark backgrounds */
[data-theme="light"] .btn-ghost:not(:hover) { border-color: rgba(16,24,40,0.28); }
[data-theme="light"] .hero .btn-ghost:not(:hover),
[data-theme="light"] .cta-banner .btn-ghost:not(:hover) { border-color: rgba(255,255,255,0.2); }

/* Hairline borders written as white-on-dark become a soft gray line, so
   cards, frames and dividers keep their edges. :not(:hover) leaves each
   element's own hover border (usually blue) in charge while hovered. */
[data-theme="light"] .industry-card-label:not(:hover),
[data-theme="light"] .pillar-card:not(:hover),
[data-theme="light"] .timeline-content:not(:hover),
[data-theme="light"] .job-card:not(:hover),
[data-theme="light"] .benefit-item:not(:hover),
[data-theme="light"] .cap-detail-img:not(:hover),
[data-theme="light"] .footer-bottom,
[data-theme="light"] .hr,
[data-theme="light"] .detail-row,
[data-theme="light"] .parts-empty,
[data-theme="light"] .part-detail-img,
[data-theme="light"] .team-view-bio-hint,
[data-theme="light"] .bio-modal-header,
[data-theme="light"] .bio-modal-close:not(:hover),
[data-theme="light"] .cap-section,
[data-theme="light"] .cap-image-area:not(:hover),
[data-theme="light"] .capability-jump,
[data-theme="light"] .capability-jump-link:not(:hover),
[data-theme="light"] .industry-detail,
[data-theme="light"] .ind-image:not(:hover),
[data-theme="light"] .industry-jump,
[data-theme="light"] .industry-jump-link:not(:hover),
[data-theme="light"] .advantage-block,
[data-theme="light"] .adv-visual:not(:hover),
[data-theme="light"] .why-point:not(:hover),
[data-theme="light"] .apply-info,
[data-theme="light"] .tag--loc,
[data-theme="light"] .stats-bar .stat-item { border-color: rgba(16,24,40,0.11); }
/* Careers perk tiles set their white hairline inline */
[data-theme="light"] [style*="border:1px solid rgba(255,255,255,0.06)"] { border-color: rgba(16,24,40,0.11) !important; }

/* ===================================================
   ADMIN PANEL — shared across admin-dashboard.ejs and
   admin-users.ejs (internal tool pages, not public site)
   =================================================== */
.admin-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 32px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.admin-header img { height: 34px; }
.admin-header h1 { font-size: 1.1rem; margin-left: 16px; flex: 1; }
.admin-header-left { display: flex; align-items: center; }
.admin-main { max-width: 1100px; margin: 0 auto; padding: 40px 24px 80px; }
.admin-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.admin-toolbar h2 { font-size: 1.4rem; }
.admin-listbar { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }
.admin-search { max-width: 420px; }
.admin-pager { display: flex; gap: 18px; align-items: center; justify-content: flex-end; margin-top: 14px; font-size: var(--fs-sm); color: var(--text-muted); }
.admin-pager[hidden] { display: none; }
.admin-pager button:disabled { opacity: 0.4; cursor: default; }
.admin-table { width: 100%; border-collapse: collapse; background: var(--dark-3); border: 1px solid rgba(255,255,255,0.06); border-radius: var(--radius-lg); overflow: hidden; }
.admin-table th, .admin-table td { padding: 14px 16px; text-align: left; font-size: 0.88rem; border-bottom: 1px solid rgba(255,255,255,0.06); }
.admin-table th { font-family: var(--font-ui); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); }
.admin-table tr:last-child td { border-bottom: none; }
.status-badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 0.75rem; font-weight: 600; }
.status-badge--active { background: rgba(46,160,67,0.15); color: #4caf50; }
.status-badge--closed { background: rgba(255,255,255,0.08); color: var(--text-muted); }
.admin-link-btn { background: none; border: none; color: var(--blue-a11y); cursor: pointer; font-size: 0.85rem; padding: 0; text-decoration: none; }
.admin-link-btn:hover { text-decoration: underline; }
.admin-row-actions { display: flex; gap: 14px; align-items: center; }
.admin-empty { text-align: center; padding: 40px; color: var(--text-muted); }

/* Modals */
.admin-modal-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.6); display: none; align-items: center; justify-content: center; z-index: 2000; padding: 20px; }
.admin-modal-backdrop.open { display: flex; }
.admin-modal { background: var(--dark-3); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-lg); width: 100%; max-width: 560px; max-height: 88vh; overflow-y: auto; padding: 32px; position: relative; }
.admin-modal--wide { max-width: 820px; }
.admin-modal-close { position: absolute; top: 16px; right: 16px; background: none; border: none; color: var(--text-muted); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.admin-modal-close:hover { color: var(--text-primary); }
.admin-modal h3 { font-size: 1.2rem; margin-bottom: 20px; padding-right: 20px; }
.admin-modal .form-group { margin-bottom: 16px; }
.admin-apps-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.admin-apps-table th, .admin-apps-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid rgba(255,255,255,0.08); vertical-align: top; }
.admin-apps-table th { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); }
.admin-form-error { background: rgba(178,34,52,0.12); border: 1px solid rgba(178,34,52,0.3); color: #e57f8a; border-radius: var(--radius); padding: 10px 14px; font-size: 0.85rem; margin-bottom: 16px; display: none; }

/* Applicant detail view (inside the detail modal) */
.detail-section-label { font-family: var(--font-ui); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-a11y); margin: 20px 0 8px; }
.detail-section-label:first-child { margin-top: 0; }
.detail-entry { border-left: 2px solid var(--blue); padding-left: 14px; margin: 10px 0 16px; }
.detail-entry-title { font-family: var(--font-ui); font-size: var(--fs-sm); font-weight: 600; margin-bottom: 4px; }
.detail-row { display: grid; grid-template-columns: 160px 1fr; gap: 12px; padding: 6px 0; font-size: 0.88rem; border-bottom: 1px solid rgba(255,255,255,0.04); }
.detail-label { color: var(--text-muted); }
.detail-value { color: var(--text-primary); }

/* Admin: shared header + section nav (views/partials/admin-header.ejs) */
.admin-header { flex-wrap: wrap; gap: 12px 24px; }
.admin-header-right { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.admin-whoami { font-size: 0.85rem; color: var(--text-muted); }
.admin-nav { display: flex; gap: 4px; padding: 0 24px; border-bottom: 1px solid rgba(255,255,255,0.06); overflow-x: auto; }
.admin-nav-link { padding: 14px 16px; font-family: var(--font-ui); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-secondary); text-decoration: none; border-bottom: 2px solid transparent; white-space: nowrap; }
.admin-nav-link:hover { color: var(--text-primary); }
.admin-nav-link.active { color: var(--blue-a11y); border-bottom-color: var(--blue); }
.admin-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.admin-tab { padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.12); background: none; color: var(--text-secondary); font-size: 0.82rem; cursor: pointer; }
.admin-tab.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.admin-tab .count { opacity: 0.8; margin-left: 4px; }
.admin-hub-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.admin-hub-card { display: block; padding: 28px; background: var(--dark-3); border: 1px solid rgba(255,255,255,0.06); border-radius: var(--radius-lg); text-decoration: none; color: inherit; transition: var(--transition); }
.admin-hub-card:hover { border-color: var(--blue); }
.admin-hub-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.admin-hub-card p { font-size: 0.88rem; margin: 0; }
.admin-help { font-size: 0.85rem; color: var(--text-muted); margin: -12px 0 20px; }
.admin-checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: 0.88rem; color: var(--text-secondary); }
.admin-checkbox input { margin-top: 3px; }
.admin-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.admin-thumb { width: 48px; height: 48px; object-fit: cover; border-radius: 6px; background: var(--dark-4); display: block; }
.admin-thumb--empty { display: flex; align-items: center; justify-content: center; font-size: 0.65rem; color: var(--text-muted); }
.admin-timeline { list-style: none; margin: 0; padding: 0; }
.admin-timeline li { padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.04); font-size: 0.85rem; }
.admin-timeline .when { color: var(--text-muted); font-size: 0.78rem; }
.status-badge--new { background: rgba(24,114,190,0.18); color: var(--blue-a11y); }
.status-badge--contacted { background: rgba(201,168,76,0.18); color: #d4b456; }
.status-badge--confirmed { background: rgba(124,92,255,0.18); color: #a996ff; }
.status-badge--shipped { background: rgba(0,170,170,0.18); color: #3cc; }
.status-badge--completed { background: rgba(46,160,67,0.15); color: #4caf50; }
.status-badge--cancelled { background: rgba(178,34,52,0.15); color: #e57f8a; }
.status-badge--warn { background: rgba(201,168,76,0.18); color: #d4b456; }
@media (max-width: 700px) {
  .admin-header { padding: 16px; }
  .admin-grid-2 { grid-template-columns: 1fr; }
  .admin-main { padding: 24px 16px 60px; }
  .admin-toolbar { flex-wrap: wrap; gap: 12px; }
}
[data-theme="light"] .admin-nav, [data-theme="light"] .admin-header { border-color: rgba(16,24,40,0.1); }
[data-theme="light"] .admin-tab { border-color: rgba(16,24,40,0.15); }
[data-theme="light"] .status-badge--contacted, [data-theme="light"] .status-badge--warn { color: #8a6a00; }
[data-theme="light"] .status-badge--confirmed { color: #5a3fd6; }
[data-theme="light"] .status-badge--shipped { color: #007777; }
[data-theme="light"] .status-badge--completed { color: #1e7b34; }
[data-theme="light"] .status-badge--cancelled { color: #b3263b; }

/* ===================================================
   PARTS STORE (views/parts*.ejs, public/js/parts.js)
   =================================================== */
.parts-toolbar { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.parts-search { flex: 1 1 280px; max-width: 420px; }
.parts-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.parts-cat { padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.14); background: none; color: var(--text-secondary); font-family: var(--font-ui); font-size: var(--fs-sm); font-weight: 600; cursor: pointer; }
.parts-cat:hover { border-color: var(--blue); color: var(--text-primary); }
.parts-cat.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.parts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 24px; }
.part-card { display: flex; flex-direction: column; background: var(--dark-3); border: 1px solid rgba(255,255,255,0.06); border-radius: var(--radius-lg); overflow: hidden; transition: var(--transition); }
.part-card:hover { border-color: rgba(24,114,190,0.45); }
.part-card[hidden] { display: none; }
.part-card-img { position: relative; display: block; aspect-ratio: 4 / 3; background: #f3f5f7; overflow: hidden; }
.part-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.part-img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: var(--dark-4); color: var(--text-muted); font-family: var(--font-ui); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; }
.part-card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.part-sku { font-family: var(--font-ui); font-size: var(--fs-xs); letter-spacing: 0.08em; color: var(--text-muted); text-transform: uppercase; }
.part-card-body h2 { font-size: 1.15rem; line-height: 1.25; margin: 0; }
.part-card-body h2 a { color: inherit; text-decoration: none; }
.part-card-body h2 a:hover { color: var(--blue-a11y); }
.part-card-body p { font-size: var(--fs-md); margin: 0; }
.part-price { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 800; color: var(--text-primary); }
.part-price small { font-size: var(--fs-sm); font-weight: 400; color: var(--text-muted); }
.part-price--request { font-size: var(--fs-md); color: var(--text-secondary); font-weight: 700; }
.part-card-actions { margin-top: auto; padding-top: 10px; display: flex; gap: 10px; align-items: center; }
.avail { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-sm); font-weight: 600; }
.avail::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.avail--in_stock { color: #4caf50; }
.avail--low_stock { color: #d4b456; }
.avail--made_to_order { color: var(--blue-a11y); }
.avail--out_of_stock { color: #e57f8a; }
.part-card-img .avail { position: absolute; top: 10px; left: 10px; padding: 4px 10px; border-radius: 999px; background: rgba(8,8,8,0.78); }
.qty { display: inline-flex; align-items: stretch; border: 1px solid rgba(255,255,255,0.16); border-radius: var(--radius); overflow: hidden; height: 42px; flex-shrink: 0; }
.qty button { width: 36px; background: none; border: none; color: var(--text-primary); font-size: 1.1rem; cursor: pointer; }
.qty button:hover { background: rgba(255,255,255,0.06); }
.qty button:disabled { opacity: 0.35; cursor: default; }
.qty input { width: 58px; text-align: center; border: none; border-left: 1px solid rgba(255,255,255,0.12); border-right: 1px solid rgba(255,255,255,0.12); background: transparent; color: var(--text-primary); font-size: var(--fs-md); -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.part-card-actions .btn { flex: 1; justify-content: center; padding-left: 12px; padding-right: 12px; }
.parts-empty { text-align: center; padding: 60px 24px; border: 1px dashed rgba(255,255,255,0.14); border-radius: var(--radius-lg); }
.parts-empty h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 10px; }
.parts-note { display: flex; gap: 14px; align-items: flex-start; padding: 18px 22px; margin-bottom: 32px; background: rgba(24,114,190,0.08); border: 1px solid rgba(24,114,190,0.25); border-radius: var(--radius-lg); font-size: var(--fs-md); color: var(--text-secondary); }
.parts-note svg { width: 22px; height: 22px; flex-shrink: 0; stroke: var(--blue-a11y); fill: none; stroke-width: 2; margin-top: 1px; }
.parts-note strong { color: var(--text-primary); }

/* Floating "request list" button (opens the request panel) */
.request-fab { position: fixed; right: 24px; bottom: 88px; z-index: 900; display: none; align-items: center; gap: 10px; padding: 14px 20px; border: none; cursor: pointer; border-radius: 999px; background: var(--blue); color: #fff; font-family: var(--font-ui); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.04em; text-decoration: none; box-shadow: 0 10px 30px rgba(0,0,0,0.35); }
.request-fab.visible { display: inline-flex; }
.request-fab svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; }
.request-fab .count { background: #fff; color: var(--blue-text); border-radius: 999px; min-width: 22px; height: 22px; padding: 0 6px; display: inline-flex; align-items: center; justify-content: center; font-size: 0.78rem; }
.parts-toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); opacity: 0; z-index: 1000; padding: 12px 20px; border-radius: var(--radius); background: var(--dark-3); border: 1px solid rgba(24,114,190,0.5); color: var(--text-primary); font-size: var(--fs-md); box-shadow: 0 10px 30px rgba(0,0,0,0.35); transition: opacity 0.2s ease, transform 0.2s ease; pointer-events: none; width: max-content; max-width: calc(100% - 32px); }
.parts-toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Part detail */
.part-breadcrumb { font-size: var(--fs-sm); color: var(--text-muted); margin-bottom: 24px; }
.part-breadcrumb a { color: var(--blue-a11y); text-decoration: underline; text-underline-offset: 3px; }
.part-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.part-detail-img { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid rgba(255,255,255,0.06); }
.part-detail-img .part-img-placeholder { aspect-ratio: 4 / 3; }
.part-detail-img img { width: 100%; height: auto; max-height: 620px; object-fit: contain; display: block; }
.part-detail-info h1 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin: 8px 0 14px; }
.part-detail-info .lead { font-size: var(--fs-body); margin-bottom: 20px; }
.part-buy { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 22px 0 10px; }
.part-buy .btn { flex: 1 1 200px; justify-content: center; }
.part-stock-note { font-size: var(--fs-sm); color: var(--text-muted); }
.part-section { margin-top: 48px; }
.part-section h2 { font-size: 1.4rem; margin-bottom: 14px; }
.part-desc { white-space: pre-line; color: var(--text-secondary); max-width: 780px; }
.spec-table { width: 100%; max-width: 780px; border-collapse: collapse; }
.spec-table td { padding: 11px 14px; border-bottom: 1px solid rgba(255,255,255,0.08); font-size: var(--fs-md); vertical-align: top; }
.spec-table td:first-child { width: 38%; color: var(--text-muted); }

/* Job pages (/careers/<id>-<title>) */
.job-detail { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; align-items: start; }
.job-detail-main h1, .job-closed h1 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin: 8px 0 16px; }
.job-detail-main h2 { font-size: 1.4rem; margin: 36px 0 14px; }
.job-detail-desc { margin-top: 24px; max-width: 760px; }
.job-detail-desc p { margin-bottom: 14px; }
.job-benefits, .job-places { list-style: none; display: grid; gap: 10px; }
.job-benefits li { position: relative; padding-left: 22px; color: var(--text-secondary); font-size: var(--fs-md); }
.job-benefits li::before { content: ''; position: absolute; left: 0; top: 0.6em; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.job-detail-panel { background: var(--dark-3); border: 1px solid rgba(255,255,255,0.06); border-radius: var(--radius-lg); padding: 28px; position: sticky; top: calc(var(--nav-height) + 24px); }
.job-detail-panel h2 { font-size: 1.35rem; margin-bottom: 8px; }
.job-detail-panel h3 { font-size: 1.05rem; margin: 26px 0 10px; }
.job-detail-panel p, .job-places { font-size: var(--fs-md); color: var(--text-secondary); }
.job-detail-panel a:not(.btn) { color: var(--blue-a11y); }
.job-places { gap: 12px; }
.job-places strong { color: var(--text-primary); font-weight: 600; }
.job-detail-apply { width: 100%; justify-content: center; margin-top: 16px; }
.job-detail-back { margin-top: 40px; }
.job-closed { max-width: 640px; }
.job-closed p { margin-bottom: 24px; }
.job-info h3 a { color: inherit; text-decoration: none; }
.job-info h3 a:hover { color: var(--blue-a11y); }
.job-actions { display: flex; gap: 10px; flex-shrink: 0; }

/* Request list panel (views/partials/request-drawer.ejs, public/js/parts.js). On
   wide screens it takes the right half below the menu bar and the page moves to
   the left half; on tablets and phones it covers the page. */
:root { --drawer-w: 50vw; }
.request-drawer { position: fixed; top: var(--nav-height); right: 0; bottom: 0; width: var(--drawer-w); z-index: 950; display: flex; flex-direction: column; background: var(--dark-2); border-left: 1px solid rgba(255,255,255,0.08); box-shadow: -12px 0 40px rgba(0,0,0,0.35); transform: translateX(100%); visibility: hidden; transition: transform 0.3s ease, visibility 0s linear 0.3s; }
html.request-open .request-drawer { transform: none; visibility: visible; transition: transform 0.3s ease; }
body:has(.request-drawer) main, body:has(.request-drawer) footer { transition: margin-right 0.3s ease; }
html.request-open main, html.request-open footer { margin-right: var(--drawer-w); }
html.request-open-instant .request-drawer, html.request-open-instant main, html.request-open-instant footer { transition: none; }
html.request-open .scroll-top { right: calc(var(--drawer-w) + 32px); }
html.request-open .parts-toast { left: calc((100% - var(--drawer-w)) / 2); }
.request-drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 28px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.request-drawer-head h2 { font-size: 1.45rem; margin: 0; }
.request-drawer-head h2:focus { outline: none; }
.request-drawer-close { width: 42px; height: 42px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid rgba(255,255,255,0.16); background: none; color: var(--text-primary); cursor: pointer; }
.request-drawer-close:hover { background: rgba(255,255,255,0.06); }
.request-drawer-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.request-drawer-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 22px 28px 40px; }
.request-drawer-body > * { max-width: 760px; margin-left: auto; margin-right: auto; }
html.consent-open .request-drawer-body { padding-bottom: calc(var(--consent-offset, 0px) + 40px); }
.request-empty { text-align: center; padding: 48px 12px; color: var(--text-secondary); }
.request-empty p:first-child { font-family: var(--font-heading); font-size: 1.35rem; font-weight: 800; color: var(--text-primary); margin-bottom: 10px; }
.request-empty p + p { font-size: var(--fs-md); }
.request-keep { display: inline-block; margin-top: 14px; padding: 0; background: none; border: none; font: inherit; font-size: var(--fs-md); color: var(--blue-a11y); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.request-send { margin-top: 28px; padding: 26px; background: var(--dark-3); border: 1px solid rgba(255,255,255,0.06); border-radius: var(--radius-lg); }
.request-send h3 { font-size: 1.3rem; margin-bottom: 14px; }
.request-send .parts-note { margin-bottom: 20px; padding: 14px 16px; }
.request-send .form-grid { grid-template-columns: 1fr 1fr; }
.request-send details { margin: 6px 0 16px; }
.request-send form > .form-group { margin-bottom: 16px; }
.request-send summary { cursor: pointer; font-size: var(--fs-md); color: var(--blue-a11y); margin-bottom: 12px; }
.request-send #requestSubmit { width: 100%; justify-content: center; margin-top: 20px; }
.request-item.is-new { border-color: rgba(24,114,190,0.7); animation: request-item-new 1.8s ease; }
@keyframes request-item-new { from { background: rgba(24,114,190,0.25); } }
.request-items { display: flex; flex-direction: column; gap: 14px; }
.request-item { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 14px; background: var(--dark-3); border: 1px solid rgba(255,255,255,0.06); border-radius: var(--radius-lg); }
.request-item--unavailable { opacity: 0.75; border-color: rgba(178,34,52,0.45); }
.request-item-img { width: 76px; height: 76px; border-radius: 8px; overflow: hidden; background: #f3f5f7; }
.request-item-img img { width: 100%; height: 100%; object-fit: cover; }
.request-item h4 { font-size: 1.02rem; margin: 2px 0 4px; }
.request-item h4 a { color: inherit; text-decoration: none; }
.request-item-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: var(--fs-sm); color: var(--text-muted); }
.request-item-warn { font-size: var(--fs-sm); color: #d4b456; margin-top: 4px; }
.request-item-controls { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.request-remove { background: none; border: none; color: var(--text-muted); font-size: var(--fs-sm); cursor: pointer; text-decoration: underline; }
.request-remove:hover { color: #e57f8a; }
.request-summary { font-size: var(--fs-md); color: var(--text-muted); margin-bottom: 14px; }
.request-success { text-align: center; max-width: 640px; margin: 0 auto; padding: 40px 28px; background: var(--dark-2); border: 1px solid rgba(46,160,67,0.35); border-radius: var(--radius-lg); }
.request-success h3 { font-size: 1.7rem; margin-bottom: 6px; }
.request-success .order-no { font-family: var(--font-heading); font-size: 2rem; font-weight: 900; color: var(--blue-a11y); margin: 8px 0 16px; }
.request-success ul { list-style: none; padding: 0; margin: 20px 0; text-align: left; }
.request-success li { padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.06); font-size: var(--fs-md); }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 1024px) {
  .part-detail { grid-template-columns: 1fr; gap: 32px; }
  .job-detail { grid-template-columns: 1fr; gap: 32px; }
  .job-detail-panel { position: static; }
  :root { --drawer-w: 100%; }
  html.request-open main, html.request-open footer { margin-right: 0; }
  html.request-open body { overflow: hidden; } /* the panel covers the page: no scrolling underneath */
  html.request-open .parts-toast { left: 50%; }
}
@media (max-width: 600px) {
  .request-item { grid-template-columns: 60px minmax(0, 1fr); }
  .request-item-img { width: 60px; height: 60px; }
  .request-item-controls { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
  .request-drawer-head { padding: 12px 16px; }
  .request-drawer-body { padding: 18px 16px 32px; }
  .request-send { padding: 18px; }
  .request-send .form-grid { grid-template-columns: 1fr; }
  .request-fab { right: 16px; bottom: 76px; }
}
[data-theme="light"] .request-drawer { border-color: rgba(16,24,40,0.12); box-shadow: -12px 0 40px rgba(16,24,40,0.12); }
[data-theme="light"] .request-drawer-head { border-color: rgba(16,24,40,0.1); }
[data-theme="light"] .request-drawer-close { border-color: rgba(16,24,40,0.18); }
[data-theme="light"] .part-card, [data-theme="light"] .request-item, [data-theme="light"] .request-send, [data-theme="light"] .request-success { border-color: rgba(16,24,40,0.1); box-shadow: 0 2px 12px rgba(16,24,40,0.06); }
[data-theme="light"] .parts-cat, [data-theme="light"] .qty { border-color: rgba(16,24,40,0.18); }
[data-theme="light"] .qty input { border-color: rgba(16,24,40,0.12); }
[data-theme="light"] .spec-table td { border-color: rgba(16,24,40,0.1); }
[data-theme="light"] .avail--in_stock { color: #1e7b34; }
[data-theme="light"] .avail--low_stock { color: #8a6a00; }
[data-theme="light"] .avail--out_of_stock { color: #b3263b; }
[data-theme="light"] .part-card-img .avail--in_stock { color: #6fd58a; }
[data-theme="light"] .part-card-img .avail--low_stock { color: #f0cf6a; }
[data-theme="light"] .part-card-img .avail--made_to_order { color: #7cc0ff; }
[data-theme="light"] .part-card-img .avail--out_of_stock { color: #ff9aa6; }
[data-theme="light"] .request-item-warn { color: #8a6a00; }
