/* Manrope and JetBrains Mono, SIL Open Font License 1.1 (see /assets/fonts/OFL-*.txt). Same files and subsets Google Fonts served. */
/* cyrillic-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/jetbrains-mono-cyrillic-ext.62213be8.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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/jetbrains-mono-cyrillic.e17cfd15.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/jetbrains-mono-greek.0a557721.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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/jetbrains-mono-vietnamese.c89b9cc0.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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/jetbrains-mono-latin-ext.db5ff4db.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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/jetbrains-mono-latin.83c005d4.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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/jetbrains-mono-cyrillic-ext.62213be8.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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/jetbrains-mono-cyrillic.e17cfd15.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/jetbrains-mono-greek.0a557721.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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/jetbrains-mono-vietnamese.c89b9cc0.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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/jetbrains-mono-latin-ext.db5ff4db.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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/jetbrains-mono-latin.83c005d4.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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/jetbrains-mono-cyrillic-ext.62213be8.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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/jetbrains-mono-cyrillic.e17cfd15.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/jetbrains-mono-greek.0a557721.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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/jetbrains-mono-vietnamese.c89b9cc0.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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/jetbrains-mono-latin-ext.db5ff4db.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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/jetbrains-mono-latin.83c005d4.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/manrope-cyrillic-ext.de37de87.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/manrope-cyrillic.c268b459.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/manrope-greek.2fb2e8cb.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/manrope-vietnamese.6bbb044a.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/manrope-latin-ext.3911b66d.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: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/manrope-latin.a30ddcd3.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/manrope-cyrillic-ext.de37de87.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/manrope-cyrillic.c268b459.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/manrope-greek.2fb2e8cb.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/manrope-vietnamese.6bbb044a.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/manrope-latin-ext.3911b66d.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: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/manrope-latin.a30ddcd3.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/manrope-cyrillic-ext.de37de87.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/manrope-cyrillic.c268b459.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/manrope-greek.2fb2e8cb.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/manrope-vietnamese.6bbb044a.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/manrope-latin-ext.3911b66d.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: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/manrope-latin.a30ddcd3.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/manrope-cyrillic-ext.de37de87.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/manrope-cyrillic.c268b459.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/manrope-greek.2fb2e8cb.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/manrope-vietnamese.6bbb044a.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/manrope-latin-ext.3911b66d.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: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/manrope-latin.a30ddcd3.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/fonts/manrope-cyrillic-ext.de37de87.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/fonts/manrope-cyrillic.c268b459.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/fonts/manrope-greek.2fb2e8cb.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/fonts/manrope-vietnamese.6bbb044a.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/fonts/manrope-latin-ext.3911b66d.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: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/fonts/manrope-latin.a30ddcd3.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;
}

/* ==========================================================================
   Northern Seal & Joint - Premium Specialist Design System
   Brand: NSJ Red (#ed2f33) on warm sandstone | Type: Manrope + JetBrains Mono
   ========================================================================== */


:root {
  /* - Palette - */
  --bg:            #F7F4EE;   /* warm cream */
  --bg-alt:        #EEE8DB;   /* sand panel */
  --bg-dark:       #161412;   /* near-black */
  --surface:       #FFFFFF;
  --ink:           #18161A;   /* near-black */
  --ink-2:         #2E2A2E;   /* heading subtitle */
  --ink-muted:     #6A625C;   /* body subtle */
  --line:          #D9D1C0;   /* hairline */

  /* NSJ Brand Red */
  --brand:         #ED2F33;
  --brand-dark:    #C5252A;
  --brand-darker:  #9E1D21;
  --brand-soft:    #FCE5E6;

  --accent:        var(--brand);
  --accent-2:      var(--brand-dark);
  --highlight:     #F4E9D7;
  --success:       #4B6B3C;
  --danger:        var(--brand);

  /* - Type - */
  --font-sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  --text-xs:   0.78rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.35rem;
  --text-2xl:  1.7rem;
  --text-3xl:  2.25rem;
  --text-4xl:  3rem;
  --text-hero: clamp(2.2rem, 5vw, 4rem);

  /* - Spacing - */
  --s-1: .25rem;  --s-2: .5rem;  --s-3: .75rem;  --s-4: 1rem;
  --s-5: 1.5rem;  --s-6: 2rem;   --s-7: 3rem;    --s-8: 4rem;
  --s-9: 6rem;    --s-10: 8rem;

  --radius:    4px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 2px rgba(20,18,16,.06);
  --shadow:    0 4px 24px -8px rgba(20,18,16,.18);
  --shadow-lg: 0 24px 60px -20px rgba(20,18,16,.25);

  --maxw: 1240px;
  --maxw-prose: 720px;

  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* - Reset & Base - */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--brand-dark); }
button { font-family: inherit; cursor: pointer; }

/* - Typography - */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin: 0 0 var(--s-4);
}
h1 { font-size: var(--text-hero); font-weight: 800; letter-spacing: -0.035em; line-height: 1.1; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
h4 { font-size: 1.1rem; }
p  { margin: 0 0 var(--s-4); color: var(--ink-2); max-width: 70ch; }
strong { font-weight: 700; color: var(--ink); }
ul, ol { margin: 0 0 var(--s-5); padding-left: 1.25rem; color: var(--ink-2); }
li { margin-bottom: .35rem; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 600;
  margin-bottom: var(--s-3);
  display: inline-block;
}

.lead {
  font-size: var(--text-xl);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 60ch;
}

hr.rule { border: 0; border-top: 1px solid var(--line); margin: var(--s-7) 0; }

/* - Layout - */
.container {
  width: min(100% - 2.5rem, var(--maxw));
  margin-inline: auto;
}
.container-prose {
  width: min(100% - 2rem, var(--maxw-prose));
  margin-inline: auto;
}
section { padding: var(--s-9) 0; }
.section-sm { padding: var(--s-7) 0; }
.section-tight { padding: var(--s-6) 0; }

/* - Header / Nav - */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 244, 238, 0.94);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem 0;
  gap: var(--s-5);
  position: relative;
}
@media (max-width: 600px) { .nav { padding: 1rem 0; } }
.logo {
  display: inline-flex; align-items: center; gap: .75rem;
  font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em;
  color: var(--ink);
}
.logo-mark {
  width: 115px; height: 115px; display: inline-block;
  border-radius: 50%; flex-shrink: 0;
}
.logo-text { font-weight: 800; font-size: 1.15rem; white-space: nowrap; }
@media (max-width: 1180px) { .logo-text { display: none; } }
@media (max-width: 600px) { .logo-mark { width: 92px; height: 92px; } }
.nav-links {
  display: flex; gap: var(--s-4); align-items: center; list-style: none; margin: 0; padding: 0;
}
.nav-links a {
  color: var(--ink-2); font-size: 0.88rem; font-weight: 500;
  padding: .5rem 0; position: relative; white-space: nowrap;
}
.nav-links a:hover { color: var(--brand); }
.nav-links a.active { color: var(--brand); }
.nav-cta,
.nav-cta:link,
.nav-cta:visited {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--brand); color: #fff !important;
  padding: .7rem 1.1rem; border-radius: var(--radius);
  font-weight: 600; font-size: .88rem;
  white-space: nowrap;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.nav-cta:hover { background: var(--brand-dark); color: #fff !important; transform: translateY(-1px); }

.nav-toggle {
  display: none; background: transparent; border: 0; padding: .75rem;
  font-size: 4.2rem; line-height: 1; color: var(--ink);
}

@media (max-width: 1180px) {
  .nav-links a { font-size: .82rem; }
  .nav-links { gap: var(--s-3); }
}

@media (max-width: 1180px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; top: 100%; left: 50%; right: auto;
    width: 100vw; transform: translateX(-50%);
    background: var(--bg); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch;
    padding: var(--s-5); gap: var(--s-2);
    max-height: calc(100vh - 100%); overflow-y: auto;
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .25s var(--ease), visibility 0s linear .25s;
    box-shadow: var(--shadow);
  }
  .nav-links.open {
    opacity: 1; visibility: visible; pointer-events: auto;
    transition: opacity .25s var(--ease), visibility 0s linear 0s;
  }
  .nav-links a { padding: .75rem 0; border-bottom: 1px solid var(--line); }
  .nav-cta { justify-content: center; margin-top: var(--s-3); }
}

/* - Hero (text-only, default) - */
.hero {
  position: relative; overflow: hidden;
  padding: var(--s-9) 0 var(--s-8);
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
  border-bottom: 1px solid var(--line);
}
.hero h1 { max-width: 22ch; }
.hero .lead { margin-top: var(--s-4); }
.hero-cta { display: flex; gap: var(--s-4); flex-wrap: wrap; margin-top: var(--s-6); }

/* Hero with image background (service pages) */
.hero-img {
  position: relative; overflow: hidden;
  padding: var(--s-10) 0 var(--s-9);
  background: var(--bg-dark);
  color: #fff;
}
.hero-img::before {
  content: '';
  position: absolute; inset: 0;
  background-image: var(--hero-img, none);
  background-size: cover; background-position: center;
  opacity: 0.95;
  z-index: 0;
}
.hero-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(20,18,16,0.72) 0%, rgba(20,18,16,0.35) 55%, rgba(20,18,16,0.10) 100%);
  z-index: 0;
}
/* Hero <img> tag: sits inside the hero section as a real, crawlable image.
   Positioned absolutely to fill the section; the ::after gradient overlays on top. */
.hero-img .hero-bg-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  z-index: 0;
  display: block;
}
.hero-img > .container { position: relative; z-index: 1; }
.hero-img h1 { color: #fff !important; text-shadow: 0 2px 12px rgba(0,0,0,0.5); }
.hero-img .lead { color: #fff !important; text-shadow: 0 1px 8px rgba(0,0,0,0.6); }
.hero-img .eyebrow { color: #fff !important; opacity: 1; text-shadow: 0 1px 6px rgba(0,0,0,0.5); }
.hero-img h1 { max-width: 22ch; }

/* - Feature list - */
.split-feature { display: grid; gap: var(--s-4); }
.feature-stat {
  display: grid; grid-template-columns: 52px 1fr; gap: var(--s-4);
  align-items: center; padding: var(--s-4) var(--s-5);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.feature-stat:hover { border-color: var(--brand); transform: translateX(4px); }
.feature-num {
  font-family: var(--font-mono); font-size: 1.35rem; font-weight: 600;
  color: var(--brand); width: 52px; height: 52px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--brand-soft); border-radius: 50%;
}
.feature-label { color: var(--ink-2); font-weight: 500; }

/* - Buttons - */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 1.4rem;
  border-radius: var(--radius);
  font-weight: 600; font-size: .98rem;
  border: 1px solid transparent;
  transition: all .2s var(--ease);
  cursor: pointer; text-decoration: none;
  white-space: nowrap;
}
.btn-primary,
.btn-primary:link,
.btn-primary:visited {
  background: var(--brand); color: #fff !important;
  border-color: var(--brand);
}
.btn-primary:hover { background: var(--brand-dark); color: #fff !important; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-secondary,
.btn-secondary:link,
.btn-secondary:visited {
  background: transparent; color: var(--ink) !important; border-color: var(--ink);
}
.btn-secondary:hover { background: var(--ink); color: #fff !important; }
.btn-on-dark,
.btn-on-dark:link,
.btn-on-dark:visited {
  background: transparent; color: #fff !important; border-color: rgba(255,255,255,.55);
}
.btn-on-dark:hover { background: #fff; color: var(--ink) !important; border-color: #fff; }

.btn-ghost {
  background: transparent; color: var(--brand); padding-left: 0; padding-right: 0;
}
.btn-ghost:hover { color: var(--brand-dark); gap: .8rem; }
.btn-ghost::after { content: '→'; transition: transform .2s var(--ease); }
.btn-ghost:hover::after { transform: translateX(3px); }

/* - Cards / Grids - */
.grid {
  display: grid; gap: var(--s-5);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 820px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
@media (min-width: 821px) and (max-width: 1100px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--s-6);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .2s var(--ease);
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
}
a.card:hover, .card.hoverable:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--brand);
}
.card h3 { margin-bottom: var(--s-3); font-size: 1.2rem; color: var(--ink); }
.card p { color: var(--ink-muted); font-size: .95rem; margin-bottom: var(--s-4); }
.card-tag {
  font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase;
  letter-spacing: .1em; color: var(--brand); margin-bottom: var(--s-3); font-weight: 600;
}
.card-link {
  color: var(--brand); font-weight: 600; font-size: .92rem;
  display: inline-flex; align-items: center; gap: .4rem;
  text-decoration: none;
}
.card-link::after { content: '→'; transition: transform .2s var(--ease); }
.card-link:hover { text-decoration: underline; }
.card-link:hover::after { transform: translateX(3px); }
/* Two-link card footer */
.card-links {
  margin-top: auto; display: flex; flex-wrap: wrap; gap: var(--s-3) 1.25rem;
  padding-top: var(--s-4); border-top: 1px solid var(--line);
}
.card-link-fix { color: var(--ink); }
.card-link-fix::after { content: '→'; }

.card-img {
  width: 100%; aspect-ratio: 16/10; object-fit: cover;
  border-radius: 6px; margin-bottom: var(--s-4);
  background: var(--bg-alt);
}

/* - Section header - */
.section-head {
  margin-bottom: var(--s-7);
  max-width: 60ch;
}
.section-head h2 { margin-bottom: var(--s-3); }
.section-head p { color: var(--ink-muted); }

/* Two-column layout */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--s-8); align-items: center; }
.split-reverse { grid-template-columns: 1fr 1.1fr; }
.split img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
@media (max-width: 820px) {
  .split, .split-reverse { grid-template-columns: 1fr; gap: var(--s-6); }
}

/* - Prose / Article Content - */
.prose { max-width: var(--maxw-prose); margin-inline: auto; }
.prose h2 { margin-top: var(--s-7); }
.prose h3 { margin-top: var(--s-6); }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose li { margin-bottom: .5rem; }
.prose blockquote {
  margin: var(--s-6) 0; padding: var(--s-5) var(--s-6);
  border-left: 3px solid var(--brand); background: var(--bg-alt);
  font-style: italic; color: var(--ink-2);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a.btn,
.prose a.btn-primary,
.prose a.btn-secondary,
.prose a.btn-on-dark,
.prose a.btn-ghost { text-decoration: none; }

/* Anchored problem/service prose sections (AEO source-of-truth blocks) */
.problem-prose { scroll-margin-top: 5rem; padding-top: var(--s-5); }
.problem-prose + .problem-prose { border-top: 1px solid var(--line); margin-top: var(--s-6); }
.problem-prose h3 { margin-top: var(--s-4); margin-bottom: var(--s-3); }
.problem-prose h3 a { color: var(--ink); text-decoration: none; }
.problem-prose h3 a:hover { color: var(--brand); text-decoration: underline; text-underline-offset: 4px; }
.problem-prose p { margin: 0 0 var(--s-3); }
.prose-action { font-weight: 500; margin-top: var(--s-3); }
.prose-action-link {
  color: var(--brand); text-decoration: none; font-family: var(--font-mono);
  font-size: .95rem; letter-spacing: .01em;
}
.prose-action-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* - Breadcrumb - */
.breadcrumb {
  font-family: var(--font-mono); font-size: var(--text-xs);
  color: var(--ink-muted); letter-spacing: .04em;
  padding: var(--s-5) 0 0; margin: 0;
}
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.breadcrumb li { display: inline-flex; align-items: center; gap: .35rem; margin: 0; }
.breadcrumb li + li::before { content: '/'; color: var(--line); margin-right: .35rem; }
.breadcrumb a { color: var(--ink-muted); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb [aria-current="page"] { color: var(--ink); }

/* - FAQ - */
.faq-list { display: flex; flex-direction: column; gap: var(--s-3); max-width: 820px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color .2s var(--ease);
}
.faq-item[open] { border-color: var(--brand); }
.faq-item summary {
  list-style: none; cursor: pointer;
  padding: var(--s-5) var(--s-6);
  font-weight: 600; font-size: 1.05rem;
  display: flex; justify-content: space-between; align-items: center; gap: var(--s-4);
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-family: var(--font-mono); font-size: 1.4rem;
  color: var(--brand); transition: transform .2s var(--ease);
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 var(--s-6) var(--s-5); color: var(--ink-2); }
.faq-answer p { margin-bottom: var(--s-3); }

/* - CTA banner - */
.cta-banner {
  background: var(--ink);
  color: #fff;
  padding: var(--s-9) 0;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 30%, rgba(237,47,51,0.22), transparent 55%);
}
.cta-banner > .container { position: relative; }
.cta-banner h2 { color: #fff; max-width: 24ch; }
.cta-banner p { color: rgba(255,255,255,.85); max-width: 50ch; }
.cta-banner .btn-primary { background: var(--brand); border-color: var(--brand); }
.cta-banner .btn-primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.cta-banner .btn-secondary { color: #fff; border-color: #fff; }
.cta-banner .btn-secondary:hover { background: #fff; color: var(--ink); }

/* - Footer - */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,.75);
  padding: var(--s-8) 0 var(--s-5);
}
.site-footer h4 {
  color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .12em;
  font-weight: 600; margin-bottom: var(--s-4); font-family: var(--font-mono);
}
.site-footer a { color: rgba(255,255,255,.75); font-size: .92rem; }
.site-footer a:hover { color: var(--brand); }
.footer-grid {
  display: grid; gap: var(--s-7);
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
}
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .5rem; }
.footer-tag {
  font-family: var(--font-mono); font-size: .78rem; color: rgba(255,255,255,.5);
  margin-bottom: var(--s-3); letter-spacing: .04em;
}
.footer-bottom {
  margin-top: var(--s-7); padding-top: var(--s-5);
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: .82rem; color: rgba(255,255,255,.55);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s-3);
}

/* - Reviews - */
.review-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: var(--s-6);
}
.review-stars { color: #F5A623; font-size: 1.05rem; letter-spacing: .05em; margin-bottom: var(--s-3); }
.review-body { font-style: italic; color: var(--ink-2); margin-bottom: var(--s-4); }
.review-author { font-weight: 600; font-size: .92rem; color: var(--ink); }
.review-meta { font-family: var(--font-mono); font-size: .75rem; color: var(--ink-muted); margin-top: .15rem; }

/* - Tables - */
.spec-table { width: 100%; border-collapse: collapse; font-family: var(--font-mono); font-size: .88rem; margin: var(--s-5) 0; }
.spec-table th, .spec-table td { padding: .7rem .9rem; text-align: left; border-bottom: 1px solid var(--line); }
.spec-table th { color: var(--ink-muted); font-weight: 500; text-transform: uppercase; font-size: .72rem; letter-spacing: .08em; }
.spec-table td { color: var(--ink-2); }

/* - Forms - */
.form-group { margin-bottom: var(--s-4); }
.form-group label { display: block; font-weight: 500; font-size: .92rem; margin-bottom: .35rem; color: var(--ink); }
.form-control {
  width: 100%; padding: .75rem .9rem;
  font-family: inherit; font-size: var(--text-base);
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); color: var(--ink);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.form-control:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(237,47,51,.15); }
textarea.form-control { min-height: 140px; resize: vertical; }
input[type="file"].form-control { padding: .55rem .6rem; font-size: .9rem; cursor: pointer; }
input[type="file"].form-control::file-selector-button {
  margin-right: .9rem; padding: .5rem .9rem;
  border: 0; border-radius: calc(var(--radius) - 2px);
  background: var(--ink); color: #fff; font-family: inherit; font-weight: 500; font-size: .85rem;
  cursor: pointer; transition: background .2s var(--ease);
}
input[type="file"].form-control::file-selector-button:hover { background: var(--brand); }
select.form-control {
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path fill='none' stroke='%23333' stroke-width='1.5' d='M1 1.5l5 5 5-5'/></svg>");
  background-repeat: no-repeat;
  background-position: right .9rem center;
  background-size: .7rem;
  cursor: pointer;
}

/* - Utilities - */
.text-center { text-align: center; }
.text-mono { font-family: var(--font-mono); }
.text-small { font-size: var(--text-sm); }
.text-muted { color: var(--ink-muted); }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }

.pill {
  display: inline-flex; align-items: center; gap: .35rem;
  background: var(--brand-soft); color: var(--brand-darker);
  padding: .3rem .7rem; border-radius: 999px;
  font-size: .78rem; font-weight: 600;
  font-family: var(--font-mono); letter-spacing: .04em;
}

.divider {
  display: flex; align-items: center; gap: var(--s-4); margin: var(--s-7) 0;
  color: var(--ink-muted); font-family: var(--font-mono); font-size: var(--text-xs);
  letter-spacing: .12em; text-transform: uppercase;
}
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }

@media print {
  .site-header, .site-footer, .cta-banner { display: none; }
  body { color: #000; background: #fff; }
}

/* === Cookie consent banner === */
.cookie-banner {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 200;
  width: min(360px, calc(100vw - 2.5rem));
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.25rem 1.25rem 1.1rem;
  box-shadow: 0 18px 48px -16px rgba(20,18,16,.32);
  font-size: .92rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}
.cookie-banner.open { opacity: 1; transform: translateY(0); }
.cookie-banner h4 {
  margin: 0 0 .35rem;
  font-size: 1rem;
  font-weight: 700;
}
.cookie-banner p { margin: 0 0 .9rem; color: var(--ink-2); line-height: 1.5; font-size: .9rem; }
.cookie-actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.cookie-actions .btn { padding: .55rem 1rem; font-size: .85rem; }
.cookie-btn-secondary {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  padding: .55rem 1rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: .85rem;
  cursor: pointer;
  font-family: inherit;
}
.cookie-btn-secondary:hover { border-color: var(--ink); }

/* === Gallery === */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: var(--s-5);
}
@media (min-width: 640px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
.gallery-item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--bg-alt);
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.gallery-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.gallery-item img {
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  transition: transform .6s var(--ease);
}
.gallery-item:hover img { transform: scale(1.03); }
.gallery-item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: .85rem 1rem;
  background: linear-gradient(to top, rgba(20,18,16,.85), rgba(20,18,16,0));
  color: #fff;
  font-size: .82rem;
  line-height: 1.4;
  opacity: 1;
  transition: opacity .25s var(--ease);
}
@media (hover: hover) {
  .gallery-item figcaption { opacity: 0; }
  .gallery-item:hover figcaption,
  .gallery-item:focus-within figcaption { opacity: 1; }
}

/* === Lightbox === */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20,18,16,.94);
  display: none;
  z-index: 300;
  padding: 2rem;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox-figure {
  margin: 0;
  max-width: min(1100px, 100%);
  max-height: 100%;
  text-align: center;
}
.lightbox-figure img {
  max-width: 100%;
  max-height: 78vh;
  margin: 0 auto;
  border-radius: 4px;
  object-fit: contain;
}
.lightbox-figure figcaption {
  color: rgba(255,255,255,.85);
  font-size: .9rem;
  margin-top: 1rem;
  font-family: var(--font-sans);
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
  padding: .5rem .8rem;
  opacity: .8;
  transition: opacity .2s var(--ease);
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { opacity: 1; }
.lightbox-close { top: .8rem; right: 1rem; font-size: 2.6rem; }
.lightbox-prev { left: 1rem; top: 50%; transform: translateY(-50%); font-size: 3rem; }
.lightbox-next { right: 1rem; top: 50%; transform: translateY(-50%); font-size: 3rem; }

/* === Google Reviews placeholder === */
.google-reviews-placeholder {
  border: 1px dashed var(--line);
  padding: 2.5rem 1.5rem;
  border-radius: 8px;
  text-align: center;
  background: var(--surface);
  color: var(--ink-muted);
  font-size: .92rem;
}

/* === Home hero === */
/* Image is provided by a real <img class="hero-bg-img"> tag for SEO/a11y;
   the ::after gradient already supplies the dark overlay for text legibility. */
.hero-img.hero-home { background: var(--bg-dark); }
.hero-img.hero-home,
.hero-img.hero-home h1,
.hero-img.hero-home p,
.hero-img.hero-home .eyebrow { color: #fff; }
.hero-img.hero-home .eyebrow { color: rgba(255,255,255,.85); }
.hero-img.hero-home .lead { color: rgba(255,255,255,.92); }
/* Home hero: inherit standard .hero-img section padding for consistency with inner pages */
.hero-img.hero-home .container {
  min-height: 0;
  display: block;
}

/* === Mobile horizontal-overflow guard === */
body { overflow-x: clip; max-width: 100%; }

/* === Dropdown menus (desktop) === */
.has-dropdown { position: relative; }
.nav-parent { display: inline-flex; align-items: center; gap: .35rem; cursor: pointer; }
.dropdown-toggle {
  background: none; border: 0; padding: 0 .25rem; margin: 0;
  color: inherit; cursor: pointer; line-height: 1;
  display: none; /* hidden on desktop, shown on mobile */
}
.dropdown-toggle .caret { font-size: .7rem; opacity: .65; transition: transform .2s ease; display: inline-block; pointer-events: none; }
.has-dropdown.expanded .dropdown-toggle .caret { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: 100%; left: 0;
  min-width: 240px; padding: .55rem 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(20,18,16,0.10), 0 2px 8px rgba(20,18,16,0.06);
  list-style: none; margin: .35rem 0 0;
  opacity: 0; visibility: hidden; transform: translateY(4px);
  transition: opacity .15s ease, transform .15s ease, visibility 0s linear .15s;
  z-index: 60;
}
@media (hover: hover) and (min-width: 1181px) {
  .has-dropdown:hover > .dropdown,
  .has-dropdown:focus-within > .dropdown {
    opacity: 1; visibility: visible; transform: translateY(0);
    transition: opacity .15s ease, transform .15s ease, visibility 0s linear 0s;
  }
}
.dropdown li { margin: 0; }
.dropdown a {
  display: block; padding: .55rem 1.1rem;
  font-size: .9rem; font-weight: 500; color: var(--ink);
  white-space: nowrap;
  text-decoration: none;
  border-bottom: 0;
}
.dropdown a:hover { background: var(--brand-soft); color: var(--brand-darker); }

/* Compact the main nav so it fits with dropdowns + Contact */
@media (min-width: 1181px) {
  .nav-links { gap: 1.1rem; }
  .nav-links > li > a { font-size: 0.82rem; }
}

/* Mobile: dropdowns are collapsed accordions revealed by the toggle button */
@media (max-width: 900px) {
  .has-dropdown { display: flex; flex-wrap: wrap; align-items: center; }
  .has-dropdown .nav-parent { flex: 1 1 auto; }
  .dropdown-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; font-size: 1.4rem;
  }
  .dropdown-toggle .caret { font-size: 1.1rem; opacity: .8; }
  .dropdown {
    flex: 1 0 100%;
    position: static; opacity: 1; visibility: hidden; transform: none;
    box-shadow: none; border: 0; border-radius: 0;
    margin: 0; background: transparent;
    max-height: 0; overflow: hidden; padding: 0 0 0 1rem;
    transition: max-height .3s ease, padding .3s ease, visibility 0s linear .3s;
  }
  .has-dropdown.expanded > .dropdown {
    visibility: visible;
    max-height: 800px;
    padding: .25rem 0 .6rem 1rem;
    transition: max-height .35s ease, padding .35s ease, visibility 0s linear 0s;
  }
  .has-dropdown.expanded .dropdown-toggle .caret { transform: rotate(180deg); }
  /* Match mobile top-level link size so hub children read consistently */
  .nav-links > li > a { font-size: 1rem; }
  .dropdown a { padding: .5rem 0; font-size: 1rem; color: var(--ink-2); }
}


/* ─── NSJ UX UPGRADE 2026-06-20 ─────────────────────────────────── */

/* == 1. MOBILE ACTION BAR == */
.mob-action-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 200;
  background: var(--bg-dark);
  border-top: 1px solid rgba(255,255,255,.08);
  padding: env(safe-area-inset-bottom, 0) 0 0;
}
@media (max-width: 900px) {
  .mob-action-bar { display: flex; }
  /* Pad page bottom so bar doesn't overlap content */
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
  /* Move cookie banner above the bar */
  .cookie-banner { bottom: calc(64px + env(safe-area-inset-bottom, 0px) + .5rem) !important; }
}
.mob-action-bar__inner {
  display: flex;
  width: 100%;
  align-items: stretch;
}
.mob-action-bar__btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .18rem;
  padding: .55rem .25rem;
  color: rgba(255,255,255,.82);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  border: none;
  background: transparent;
  transition: background .18s var(--ease), color .18s var(--ease);
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
  min-height: 56px;
}
.mob-action-bar__btn:hover,
.mob-action-bar__btn:active { background: rgba(255,255,255,.07); color: #fff; }
.mob-action-bar__btn--primary {
  background: var(--brand);
  color: #fff;
  flex: 1.2;
}
.mob-action-bar__btn--primary:hover,
.mob-action-bar__btn--primary:active { background: var(--brand-dark); color: #fff; }
.mob-action-bar__icon {
  font-size: 1.25rem;
  line-height: 1;
  display: block;
}
.mob-action-bar__divider {
  width: 1px;
  background: rgba(255,255,255,.1);
  margin: .5rem 0;
  flex-shrink: 0;
}

/* == 2. DIAGNOSTIC PATHWAY == */
.diag-pathway {
  background: var(--bg-dark);
  border-radius: var(--radius-lg);
  padding: var(--s-7) var(--s-6);
  margin: var(--s-7) 0 0;
}
.diag-pathway .section-head { margin-bottom: var(--s-5); }
.diag-pathway .section-head h2 { color: #fff; }
.diag-pathway .section-head p { color: rgba(255,255,255,.72); }
.diag-pathway .eyebrow { color: var(--brand); opacity: 1; }
.diag-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: .75rem;
}
@media (max-width: 600px) {
  .diag-grid { grid-template-columns: 1fr 1fr; }
  .diag-pathway { padding: var(--s-6) var(--s-5); border-radius: var(--radius); }
}
.diag-btn {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .85rem 1rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  color: rgba(255,255,255,.88);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.3;
  transition: background .2s var(--ease), border-color .2s var(--ease), transform .15s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.diag-btn:hover {
  background: rgba(237,47,51,.18);
  border-color: var(--brand);
  color: #fff;
  transform: translateY(-2px);
}
.diag-btn:active { transform: translateY(0); }
.diag-btn__icon {
  font-size: 1.35rem;
  flex-shrink: 0;
  line-height: 1;
}
.diag-btn span { flex: 1; }
.diag-footer {
  margin-top: var(--s-5);
  padding-top: var(--s-5);
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  gap: var(--s-4);
  flex-wrap: wrap;
}
.diag-footer p {
  color: rgba(255,255,255,.6);
  font-size: .85rem;
  font-family: var(--font-mono);
  margin: 0;
  flex: 1;
}
.diag-footer a { white-space: nowrap; flex-shrink: 0; }

/* == 3. BEFORE/AFTER SLIDER == */
.ba-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--s-6);
  margin-top: var(--s-6);
}
.ba-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-alt);
  box-shadow: var(--shadow);
  user-select: none;
  -webkit-user-select: none;
}
.ba-card__track {
  position: absolute;
  inset: 0;
}
.ba-card__after,
.ba-card__before {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.ba-card__before {
  /* revealed by clip-path via JS-set --ba-pct */
  clip-path: inset(0 calc(100% - var(--ba-pct, 50%)) 0 0);
}
.ba-card__handle {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--ba-pct, 50%);
  transform: translateX(-50%);
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: ew-resize;
  z-index: 10;
  touch-action: none;
}
.ba-card__line {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 2px;
  background: #fff;
  box-shadow: 0 0 6px rgba(0,0,0,.5);
}
.ba-card__knob {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.35);
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: .03em;
  position: relative;
  z-index: 1;
  white-space: nowrap;
}
.ba-card__label {
  position: absolute;
  bottom: .6rem;
  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: .2rem .5rem;
  border-radius: 3px;
  pointer-events: none;
}
.ba-card__label--before {
  left: .6rem;
  background: rgba(0,0,0,.55);
  color: rgba(255,255,255,.9);
}
.ba-card__label--after {
  right: .6rem;
  background: var(--brand);
  color: #fff;
}
.ba-card figcaption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(22,20,18,.65));
  color: rgba(255,255,255,.9);
  font-size: .82rem;
  padding: 1.5rem .75rem .5rem;
  pointer-events: none;
  opacity: 0;
  transition: opacity .25s var(--ease);
}
.ba-card:hover figcaption,
.ba-card:focus-within figcaption { opacity: 1; }
/* Hint animation: handle nudges on load to reveal slider exists */
@keyframes ba-hint {
  0%,100% { left: var(--ba-pct, 50%); }
  25% { left: 40%; }
  75% { left: 60%; }
}
.ba-card--hinting .ba-card__handle { animation: ba-hint 1.2s ease-in-out 0.6s 1 forwards; }

/* == 4. TRUST STRIP == */
.trust-strip {
  border-bottom: 1px solid var(--line);
  padding: .9rem 0;
  background: var(--surface);
}
@media (max-width: 900px) {
  .trust-strip { padding: .75rem 0; }
}
.trust-strip__inner {
  display: flex;
  align-items: center;
  gap: var(--s-6);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 1px; /* prevent content clip */
}
.trust-strip__inner::-webkit-scrollbar { display: none; }
.trust-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-shrink: 0;
  color: var(--ink-2);
  font-size: .82rem;
  font-family: var(--font-mono);
  letter-spacing: .02em;
  white-space: nowrap;
}
.trust-item__icon {
  color: var(--brand);
  font-size: 1rem;
  line-height: 1;
  flex-shrink: 0;
}
.trust-item strong {
  font-weight: 700;
  color: var(--ink);
}
.trust-divider {
  width: 1px;
  height: 1.1rem;
  background: var(--line);
  flex-shrink: 0;
}

/* == 5. CARD & INTERACTION POLISH == */
/* Sharper card hover - more decisive lift */
a.card:hover, .card.hoverable:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 32px -8px rgba(20,18,16,.22) !important;
  border-color: var(--brand) !important;
}
.card { will-change: transform; }

/* card-link arrow always shows direction */
.card-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-weight: 600;
}
a.card:hover .card-link::after { transform: translateX(5px) !important; }

/* pill hover */
a.pill:hover {
  background: var(--brand-soft);
  color: var(--brand-darker);
  border-color: var(--brand);
  transition: background .18s var(--ease), color .18s var(--ease);
}
a.pill {
  border: 1px solid transparent;
  transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}

/* btn polish: subtler shadow at rest, decisive lift on hover */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background .2s var(--ease);
  pointer-events: none;
}
.btn:hover::after { background: rgba(255,255,255,.06); }
.btn:active { transform: translateY(0) !important; transition-duration: .08s; }

/* nav link underline slide-in */
.nav-links a:not(.nav-cta) {
  position: relative;
}
.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--brand);
  transition: width .2s var(--ease);
}
.nav-links a:not(.nav-cta):hover::after,
.nav-links a:not(.nav-cta).active::after { width: 100%; }

/* gallery item – slightly more punchy */
.gallery-item:hover { transform: translateY(-5px) !important; box-shadow: var(--shadow-lg) !important; }

/* focus ring: brand-coloured, clean */
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

/* == 6. CONTEXTUAL CTA BLOCKS == */
/* problem-page-cta - WhatsApp-led */
.page-cta-problem {
  display: flex;
  gap: var(--s-4);
  flex-wrap: wrap;
  align-items: center;
  margin-top: var(--s-6);
}
.page-cta-problem .cta-hint {
  font-family: var(--font-mono);
  font-size: .78rem;
  color: var(--ink-muted);
  margin: 0;
}
/* service-page-cta - quote-led */
.page-cta-service {
  display: flex;
  gap: var(--s-4);
  flex-wrap: wrap;
  align-items: center;
  margin-top: var(--s-6);
}
/* inspection-cta - diagnosis-led */
.page-cta-inspection {
  display: flex;
  gap: var(--s-4);
  flex-wrap: wrap;
  margin-top: var(--s-6);
}

/* Soften section transitions */
section { transition: background .3s; }


/* === Spacing tidy (draft/spacing) === */
/* nav-fit: logo mark already carries the name; text label pushed 10-item nav past the viewport */
.logo-text { display: none; }
@media (max-width: 1279px) { .nav-links { gap: .6rem; } }
section > .container > .section-head:last-child { margin-bottom: 0; }
.prose > h2:first-child { margin-top: 0; }
.container:has(> .breadcrumb) + section.hero { padding-top: var(--s-6); }
.site-footer { padding-top: var(--s-7); }
@media (max-width: 820px) {
  section, .cta-banner { padding: var(--s-7) 0; }
  .section-sm { padding: var(--s-6) 0; }
  .section-tight { padding: var(--s-6) 0; }
  .hero { padding: var(--s-7) 0 var(--s-6); }
  .hero-img { padding: var(--s-8) 0 var(--s-7); }
  .container:has(> .breadcrumb) + section.hero { padding-top: var(--s-5); }
}
