/* =============================================================
   ROSIE GLIDDON THERAPY
   De Stijl / Mondrian — polish pass
   Mobile-first stylesheet
   ============================================================= */


/* --- Fonts (self-hosted) --- */
/* cyrillic-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/co3ZmX5slCNuHLi8bLeY9MK7whWMhyjYrEtFmSqn7B6DxjY.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: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/co3ZmX5slCNuHLi8bLeY9MK7whWMhyjYrEtMmSqn7B6DxjY.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/co3ZmX5slCNuHLi8bLeY9MK7whWMhyjYrEtHmSqn7B6DxjY.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: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/co3ZmX5slCNuHLi8bLeY9MK7whWMhyjYrEtGmSqn7B6DxjY.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/co3ZmX5slCNuHLi8bLeY9MK7whWMhyjYrEtImSqn7B6D.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: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/co3ZmX5slCNuHLi8bLeY9MK7whWMhyjYrEtFmSqn7B6DxjY.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: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/co3ZmX5slCNuHLi8bLeY9MK7whWMhyjYrEtMmSqn7B6DxjY.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/co3ZmX5slCNuHLi8bLeY9MK7whWMhyjYrEtHmSqn7B6DxjY.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: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/co3ZmX5slCNuHLi8bLeY9MK7whWMhyjYrEtGmSqn7B6DxjY.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/co3ZmX5slCNuHLi8bLeY9MK7whWMhyjYrEtImSqn7B6D.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: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/co3bmX5slCNuHLi8bLeY9MK7whWMhyjYpHtKky2F7i6C.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: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/co3bmX5slCNuHLi8bLeY9MK7whWMhyjYrXtKky2F7i6C.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/co3bmX5slCNuHLi8bLeY9MK7whWMhyjYpntKky2F7i6C.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: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/co3bmX5slCNuHLi8bLeY9MK7whWMhyjYp3tKky2F7i6C.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/co3bmX5slCNuHLi8bLeY9MK7whWMhyjYqXtKky2F7g.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: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/co3bmX5slCNuHLi8bLeY9MK7whWMhyjYpHtKky2F7i6C.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: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/co3bmX5slCNuHLi8bLeY9MK7whWMhyjYrXtKky2F7i6C.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/co3bmX5slCNuHLi8bLeY9MK7whWMhyjYpntKky2F7i6C.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: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/co3bmX5slCNuHLi8bLeY9MK7whWMhyjYp3tKky2F7i6C.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/co3bmX5slCNuHLi8bLeY9MK7whWMhyjYqXtKky2F7g.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/UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuLyfAZJhiJ-Ek-_EeAmM.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/UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuLyfAZthiJ-Ek-_EeAmM.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/UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuLyfAZNhiJ-Ek-_EeAmM.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/UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuLyfAZxhiJ-Ek-_EeAmM.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/UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuLyfAZBhiJ-Ek-_EeAmM.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/UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuLyfAZFhiJ-Ek-_EeAmM.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuLyfAZ9hiJ-Ek-_EeA.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: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/JTUSjIg1_i6t8kCHKm459WRhyyTh89ZNpQ.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: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/JTUSjIg1_i6t8kCHKm459W1hyyTh89ZNpQ.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/JTUSjIg1_i6t8kCHKm459WZhyyTh89ZNpQ.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: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/JTUSjIg1_i6t8kCHKm459WdhyyTh89ZNpQ.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/JTUSjIg1_i6t8kCHKm459WlhyyTh89Y.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: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/JTUSjIg1_i6t8kCHKm459WRhyyTh89ZNpQ.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: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/JTUSjIg1_i6t8kCHKm459W1hyyTh89ZNpQ.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/JTUSjIg1_i6t8kCHKm459WZhyyTh89ZNpQ.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: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/JTUSjIg1_i6t8kCHKm459WdhyyTh89ZNpQ.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/JTUSjIg1_i6t8kCHKm459WlhyyTh89Y.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: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/JTUSjIg1_i6t8kCHKm459WRhyyTh89ZNpQ.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: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/JTUSjIg1_i6t8kCHKm459W1hyyTh89ZNpQ.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/JTUSjIg1_i6t8kCHKm459WZhyyTh89ZNpQ.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: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/JTUSjIg1_i6t8kCHKm459WdhyyTh89ZNpQ.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/JTUSjIg1_i6t8kCHKm459WlhyyTh89Y.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* --- Design Tokens --- */
:root {
  /* Softened primary palette — warm, therapy-appropriate */
  --accent:      #A85C4A;   /* muted brick       */
  --accent-dark: #8F4A38;   /* deeper brick — hover state */
  --blue:      #4A6E8A;   /* dusty slate blue  */
  --yellow:    #C49A3C;   /* warm ochre        */
  --black:     #1C1815;   /* warm near-black   */
  --white:     #F8F4EE;   /* warm parchment    */
  --off-white: #EDE8DF;   /* warm light ground */
  --grey:      #7D7870;   /* warm mid-grey     */
  --grey-dark: #4A4540;   /* warm dark-grey    */

  --border-md: 4px solid var(--black);
  --border-lg: 6px solid var(--black);

  --font-serif:   'Cormorant Garamond', Georgia, serif;
  --font-display: 'Montserrat', sans-serif;
  --font-body:    'Inter', sans-serif;

  --space-xs:  0.5rem;   /*  8px */
  --space-sm:  1rem;     /* 16px */
  --space-md:  2rem;     /* 32px */
  --space-lg:  4rem;     /* 64px */
  --space-xl:  7rem;     /* 112px */

  --max-width: 1160px;
  --header-h:  60px;

  --ease: 200ms ease;
}


/* --- Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  max-width: 100%;
  overflow-x: clip;
}

html {
  scroll-behavior: smooth;
  /* Offset anchor jumps so sticky header never obscures a section heading */
  scroll-padding-top: var(--header-h);
  font-size: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--black);
  background: var(--off-white);
  overflow-x: clip;
  /* Crisp font rendering on retina */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --- Page frame --- */
.page-frame {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  overflow-x: clip;
  background: var(--white);
  position: relative;
}

@media (min-width: 1601px) {
  .page-frame {
    overflow-x: visible;
    box-shadow: -6px 3px 0 0 var(--black), 6px 3px 0 0 var(--black);
  }
}

img, svg { display: block; max-width: 100%; }
ul, ol   { list-style: none; }
address  { font-style: normal; }
p        { max-width: 62ch; }

a {
  color: inherit;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: color var(--ease);
}
a:hover { color: var(--accent); }

/*
  Paper grain — fixed overlay above all content.
  SVG feTurbulence noise tiled at low opacity breaks the
  flat, perfectly-digital feel without visible artifacting.
  pointer-events: none ensures it never blocks interactions.
*/
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.038;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='256' height='256'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='256' height='256' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}


/* --- Accessibility --- */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -120%;
  left: var(--space-sm);
  padding: 0.6rem 1.2rem;
  background: var(--yellow);
  color: var(--black);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: var(--border-md);
  z-index: 9999;
  transition: top var(--ease);
}
.skip-link:focus {
  top: calc(var(--header-h) + var(--space-sm));
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}


/* --- Typography --- */
h1, h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

h1 { font-size: clamp(2.8rem, 7vw, 5.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.75rem); }


/* --- Button --- */
.btn {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 0.85rem 2rem;
  min-height: 44px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border: var(--border-md);
  cursor: pointer;
  transition: background var(--ease), color var(--ease), border-color var(--ease);
}

.btn--primary {
  background: var(--black);
  color: var(--white);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--white);
  outline: none;
}

.btn--cta-email {
  background: var(--yellow);
  color: var(--black);
  border-color: var(--yellow);
  margin-top: var(--space-lg);
}

.btn--cta-email:hover,
.btn--cta-email:focus-visible {
  background: transparent;
  color: var(--yellow);
  border-color: var(--yellow);
  outline: none;
}


/* --- Photos --- */
/*
  Both photos use object-fit: cover so they fill their container
  without distortion. object-position is tuned per image to keep
  the face in frame across all viewport sizes.
*/

/* Hero portrait — tall column on desktop, fixed-height on mobile */
.hero-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%; /* bias up: keeps face visible when column is very tall */
  filter: saturate(0.7) sepia(0.2);
}

/* Scroll reveal */
.reveal {
  opacity: 1;
  transform: translateY(0);
}

.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.is-visible { opacity: 1; transform: translateY(0); }


/* =============================================================
   HEADER
   ============================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--header-h);
  background: var(--black);
  border-bottom: var(--border-md); /* 4px — refined from 6px */
  overflow: visible;
}

/* Thin accent line at the very top — sits above the black header background */
.site-header::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--accent);
  top: 0;
  z-index: 1;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}

/*
  2×2 Mondrian mark — inline SVG inside the span renders
  pixel-perfectly on retina; no CSS gradient blurring at small sizes.
*/
.logo-mark {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-text {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: var(--white);
  letter-spacing: 0.02em;
  line-height: 1;
}


/* --- Navigation --- */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: 2px solid transparent;
  cursor: pointer;
  padding: 8px;
  transition: border-color var(--ease);
}

.nav-toggle:focus-visible {
  border-color: var(--yellow);
  outline: none;
}

.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform var(--ease), opacity var(--ease);
  transform-origin: center;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px)  rotate(45deg);  }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav — slide-in panel from right */
.nav-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: var(--header-h) 0 0 auto;
  width: min(75vw, 320px);
  background: var(--black);
  padding: var(--space-lg) var(--space-md);
  gap: var(--space-md);
  z-index: 190;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 300ms ease, visibility 300ms;
  visibility: hidden;
}

.nav-menu.is-open {
  transform: translateX(0);
  visibility: visible;
}

.nav-backdrop {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: rgba(28, 24, 21, 0.5);
  z-index: 180;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
}

.nav-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* Shared nav link base */
.nav-link {
  color: var(--white);
  text-decoration: none;
  transition: color var(--ease);
}

.nav-link:hover,
.nav-link[aria-current] { color: var(--yellow); }

/* Mobile panel link styles — scoped so they never affect desktop */
@media (max-width: 1023px) {
  .nav-link {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: 1.6rem;
    font-style: italic;
    letter-spacing: 0.02em;
    display: block;
    padding: var(--space-xs) 0;
    border-bottom: 1px solid rgba(248, 244, 238, 0.1);
  }
}

/* Desktop nav */
@media (min-width: 1024px) {
  .nav-toggle { display: none; }

  .nav-menu {
    display: flex !important;
    position: static;
    width: auto;
    background: transparent;
    padding: 0;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    inset: auto;
    overflow: visible;
    transform: none;
    visibility: visible;
  }

  .nav-link {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    padding: 2px 0;
    position: relative;
  }

  .nav-link::after {
    content: '';
    position: absolute;
    left: 0; bottom: -2px;
    width: 0; height: 2px;
    background: var(--accent);
    transition: width var(--ease);
  }

  .nav-link:hover::after,
  .nav-link[aria-current]::after { width: 100%; }

  .nav-link--cta {
    border: 1px solid rgba(248, 244, 238, 0.4);
    padding: 0.4rem 1rem;
    transition: border-color var(--ease), color var(--ease);
  }

  .nav-link--cta:hover {
    border-color: var(--yellow);
    color: var(--yellow);
  }

  .nav-link--cta::after {
    display: none;
  }
}


/* =============================================================
   HERO
   ============================================================= */

.hero {
  min-height: calc(100svh - var(--header-h));
  /*
    Subtle warm gradient — slightly cooler parchment at top-left
    dissolving to the base white. Creates a sense of depth and
    keeps the eye moving toward the content.
  */
  background: linear-gradient(155deg, var(--off-white) 0%, var(--white) 45%);
  border-bottom: var(--border-lg);
  display: flex;
  align-items: stretch;
  position: relative;
}

/* Mobile layout — stack content above image */
.hero-layout {
  display: grid;
  width: 100%;
  grid-template-areas:
    "content"
    "image";
  grid-template-rows: auto 1fr;
  padding: var(--space-md);
  gap: var(--space-md);
}

.hero-accent-col { display: none; }

.hero-content {
  grid-area: content;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);         /* tighter on mobile */
  justify-content: center;
  border-left: 4px solid var(--accent);
  padding-left: var(--space-sm); /* less indent on mobile */
}

.hero-eyebrow {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-dark);
  max-width: none;
}

.hero-headline em {
  font-style: italic;
  color: var(--accent);
}

.hero-body {
  font-size: 1.05rem;
  color: var(--grey-dark);
  line-height: 1.75;
}

.hero-image-wrap {
  grid-area: image;
  margin: 0;
  /*
    Mobile: give the container a fixed height so the img's
    height: 100% resolves correctly (% needs a defined parent height).
  */
  height: 380px;
  overflow: hidden;
}

/* Desktop hero — three-column Mondrian layout */
@media (min-width: 768px) {
  .hero { display: block; }

  .hero-layout {
    min-height: calc(100svh - var(--header-h));
    height: calc(100svh - var(--header-h));
    grid-template-areas: "accent content image";
    grid-template-columns: 80px 1fr 320px;
    grid-template-rows: 1fr;
    padding: 0;
    gap: 0;
  }

  .hero-accent-col {
    display: flex;
    flex-direction: column;
    grid-area: accent;
    border-right: var(--border-lg);
  }

  .hero-accent-col .accent-block        { flex: 1; }
  .hero-accent-col .accent-block--blue  { flex: 1.6; border-bottom: var(--border-lg); }

  .hero-content {
    grid-area: content;
    padding: var(--space-xl) var(--space-lg);
    border-left: none;
    border-right: var(--border-lg);
    gap: var(--space-md); /* more breathing room on desktop */
  }

  .hero-image-wrap {
    grid-area: image;
    /* Reset mobile fixed height — let the grid row define the height */
    height: 100%;
    overflow: hidden;
  }

  /*
    In the CSS Grid context the image wrap fills its grid cell
    (grid-template-rows: 1fr). height: 100% on the img then
    fills the wrap correctly.
  */
}

@media (min-width: 1024px) {
  .hero-layout {
    grid-template-columns: 90px 1fr 380px;
  }
}

.accent-block--accent  { background: var(--accent); }
.accent-block--blue    { background: var(--blue); }
.accent-block--yellow  { background: var(--yellow); }


/* =============================================================
   SECTIONS — SHARED
   All content sections share padding, a max-width inner
   container, and a 6px black border-bottom as divider.
   ============================================================= */

.section {
  padding: var(--space-lg) 0;
  border-bottom: var(--border-lg);
}

@media (min-width: 768px) {
  .section { padding: var(--space-xl) 0; }
}

/* The centred content wrapper — matches across every section */
.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section-header {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

/* Coloured accent bar beside section heading */
.section-accent {
  flex-shrink: 0;
  width: 5px;
  min-height: 44px;
  margin-top: 9px; /* optical alignment with Cormorant cap height */
}

.section-accent--accent  { background: var(--accent); }
.section-accent--yellow  { background: var(--yellow); }
.section-accent--blue    { background: var(--blue); }

.section-title { margin-bottom: 0; }


/* =============================================================
   WHAT I OFFER
   ============================================================= */

.section--offer {
  background: var(--off-white);
}

.offer-layout {
  display: grid;
  grid-template-columns: 1fr 4px;
  gap: 0;
}

.offer-accent-block--image { display: none; }

@media (min-width: 768px) {
  .offer-layout {
    grid-template-columns: 1fr 280px;
  }

  .offer-accent-col {
    border: var(--border-lg);
    min-height: 480px;
  }

  .offer-accent-block--image {
    display: block;
  }

  .offer-body {
    padding-right: var(--space-lg);
    padding-left: 0;
  }
}

@media (min-width: 1024px) {
  .offer-layout {
    grid-template-columns: 1fr 320px;
  }
}

.offer-accent-col {
  display: flex;
  flex-direction: column;
}

.offer-accent-block {
  flex: 1;
}

.offer-accent-block--accent  { background: var(--accent); flex: 1; }
.offer-accent-block--blue    { background: var(--blue);   flex: 1; }
.offer-accent-block--yellow  { background: var(--yellow); flex: 1; }
.offer-accent-block--image   { flex: 3; overflow: hidden; position: relative; border-top: var(--border-lg); border-bottom: var(--border-lg); margin: 0; }

.offer-accent-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  filter: saturate(0.7) sepia(0.2) brightness(0.8);
}


.offer-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding-left: var(--space-md);
  padding-right: var(--space-sm);
}


.offer-list {
  display: flex;
  flex-direction: column;
}

.offer-item {
  padding: var(--space-sm) 0 var(--space-sm) var(--space-sm);
  border-left: 4px solid transparent;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--black);
  border-bottom: 1px solid rgba(28, 24, 21, 0.08);
}

.offer-item:last-child {
  border-bottom: none;
}

.offer-item--accent    { border-left-color: var(--accent); }
.offer-item--blue   { border-left-color: var(--blue); }
.offer-item--yellow { border-left-color: var(--yellow); }

.offer-item-lead {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: var(--black);
  margin-bottom: 0.3rem;
}

.section-subheading {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--grey-dark);
}





/* =============================================================
   ABOUT ME
   ============================================================= */

.section--about {
  background: var(--white);
}

.section--qualifications {
  background: var(--off-white);
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 4px;
  gap: 0;
}

.about-accent-block--image { display: none; }

@media (min-width: 768px) {
  .about-layout {
    grid-template-columns: 280px 1fr;
  }

  .about-accent-col {
    grid-column: 1;
    grid-row: 1;
    border: var(--border-lg);
    min-height: 480px;
  }

  .about-accent-block--image {
    display: block;
  }

  .about-body {
    grid-column: 2;
    grid-row: 1;
    padding-left: var(--space-lg);
    padding-right: 0;
  }
}

@media (min-width: 1024px) {
  .about-layout {
    grid-template-columns: 320px 1fr;
  }
}

.about-accent-col {
  display: flex;
  flex-direction: column;
}

.about-accent-block {
  flex: 1;
}

.about-accent-block--accent  { background: var(--accent); flex: 1; }
.about-accent-block--yellow  { background: var(--yellow); flex: 1; }
.about-accent-block--image   { flex: 3; overflow: hidden; position: relative; border-top: var(--border-lg); border-bottom: var(--border-lg); margin: 0; }

.about-accent-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  filter: saturate(0.7) sepia(0.2) brightness(0.8);
}

.about-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding-left: var(--space-md);
  padding-right: var(--space-sm);
}

.about-list {
  display: flex;
  flex-direction: column;
}

.about-item {
  padding: var(--space-sm) 0 var(--space-sm) var(--space-sm);
  border-left: 4px solid transparent;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--black);
  border-bottom: 1px solid rgba(28, 24, 21, 0.08);
}

.about-item:last-child {
  border-bottom: none;
}

.about-item--accent  { border-left-color: var(--accent); }
.about-item--blue    { border-left-color: var(--blue); }
.about-item--yellow  { border-left-color: var(--yellow); }

.about-item-lead {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: var(--black);
  margin-bottom: 0.3rem;
}



/* =============================================================
   QUALIFICATIONS & TRAINING
   ============================================================= */

.qual-grid {
  display: grid;
  gap: var(--space-lg);
}

.qual-intro {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  color: var(--grey-dark);
}

.credential-list {
  display: flex;
  flex-direction: column;
}

.credential-card {
  display: block;
  padding: 1.25rem 0 1.25rem var(--space-sm);
  border-left: 4px solid transparent;
  border-bottom: 1px solid rgba(28, 24, 21, 0.12);
}

.credential-card:last-child { border-bottom: none; }

.credential-card--accent    { border-left-color: var(--accent); }
.credential-card--blue   { border-left-color: var(--blue); }
.credential-card--yellow { border-left-color: var(--yellow); }

.credential-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

/* Override global h3 uppercase for credential titles */
.credential-body h3 {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.95rem;
  font-weight: 600;
}

.credential-body p {
  font-size: 0.82rem;
  color: var(--grey-dark);
  max-width: none;
}

@media (min-width: 768px) {
  .qual-grid {
    grid-template-columns: 1fr 2fr;
    align-items: start;
  }
}




/* =============================================================
   GET IN TOUCH
   ============================================================= */

.section--contact {
  background: var(--black);
  color: var(--white);
  border-bottom: var(--border-lg);
  overflow: hidden;
  padding: 0;
}

/*
  Constrain to --max-width so text aligns with every other section.
  The black background remains full-bleed on .section--contact.
*/
.contact-layout {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  display: grid;
  min-height: 420px;
  overflow: hidden;
}

.contact-content {
  padding: var(--space-xl) var(--space-md);
}

.section--contact .section-title { color: var(--white); }

.contact-intro {
  color: rgba(248, 244, 238, 0.75);
  margin-bottom: var(--space-lg);
  font-size: 1.05rem;
  max-width: 50ch;
}

.contact-details {
  display: flex;
  flex-direction: column;
}

/* Stack label above value on narrow screens */
.contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid rgba(248, 244, 238, 0.08);
}

.contact-item:last-child { border-bottom: none; }

/* Two-column label / value from 480px up */
@media (min-width: 480px) {
  .contact-item {
    display: grid;
    grid-template-columns: 110px 1fr;
    align-items: baseline;
    gap: var(--space-sm);
  }
}

.contact-item dt {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--yellow);
}

.contact-item dd {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.contact-item a {
  color: var(--white);
  text-decoration-color: rgba(248, 244, 238, 0.4);
}
.contact-item a:hover { color: var(--yellow); }

.contact-item small {
  display: block;
  font-size: 0.8rem;
  color: rgba(248, 244, 238, 0.65);
  margin-top: 0.15rem;
}

.contact-ethics,
.contact-crisis {
  font-size: 0.72rem;
  color: rgba(248, 244, 238, 0.6);
  max-width: 44ch;
}

.contact-ethics {
  margin-top: var(--space-md);
}

.contact-crisis {
  margin-top: var(--space-sm);
}

/* Decorative Mondrian panel — desktop only */
.contact-mondrian-wrap {
  display: none;
  border-left: var(--border-lg);
  overflow: hidden;
}

/*
  Gap on the grid container acts as the black Mondrian lines —
  no border juggling required.
*/
.contact-mondrian {
  display: grid;
  grid-template-areas:
    "a a b"
    "c d e"
    "c f e";
  grid-template-columns: 2fr 1fr 1.5fr;
  grid-template-rows: 2fr 1fr 1fr;
  gap: 6px;
  background: var(--black);
  height: 100%;
}

.cm-a { grid-area: a; background: var(--off-white); }
.cm-b { grid-area: b; background: var(--accent); }
.cm-c { grid-area: c; background: var(--blue); }
.cm-d { grid-area: d; background: var(--white); }
.cm-e { grid-area: e; background: var(--yellow); }
.cm-f { grid-area: f; background: var(--off-white); }

@media (min-width: 768px) {
  .contact-layout {
    grid-template-columns: 3fr 2fr;
  }

  .contact-mondrian-wrap { display: block; }
}


/* =============================================================
   FOOTER
   ============================================================= */

.site-footer {
  background: var(--black);
  color: rgba(248, 244, 238, 0.65);
  border-top: 4px solid var(--yellow);
  padding: var(--space-sm) 0;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-xs) var(--space-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  text-align: center;
}

.footer-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  max-width: none;
}

.footer-note {
  font-size: 0.68rem;
  max-width: none;
}

.footer-link {
  color: rgba(248, 244, 238, 0.85);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-link:hover,
.footer-link:focus-visible {
  color: var(--white);
}

.footer-bacp {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.footer-bacp-wrap {
  background: var(--white);
  padding: 4px 8px;
  display: inline-flex;
  align-items: center;
}

.footer-reg {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(248, 244, 238, 0.55);
  max-width: none;
}

.footer-bacp-logo {
  height: 44px;
  width: auto;
  display: block;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }
}


/* =============================================================
   LEGAL PAGES
   ============================================================= */

.legal-intro-header {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.legal-intro-header .section-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
}

.legal-updated {
  margin-top: 0.15rem;
}

.legal-intro {
  max-width: 58ch;
  padding-left: calc(5px + var(--space-sm));
  border-left: 4px solid var(--blue);
  margin-left: 0;
  margin-bottom: var(--space-lg);
  color: var(--grey-dark);
  font-size: 1.05rem;
}

.section--legal {
  background: var(--white);
}

.legal-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.legal-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.legal-list {
  display: flex;
  flex-direction: column;
}

.legal-item {
  padding: var(--space-sm) 0 var(--space-sm) var(--space-sm);
  border-left: 4px solid transparent;
  border-bottom: 1px solid rgba(28, 24, 21, 0.08);
}

.legal-item:last-child {
  border-bottom: none;
}

.legal-item--accent { border-left-color: var(--accent); }
.legal-item--blue   { border-left-color: var(--blue); }
.legal-item--yellow { border-left-color: var(--yellow); }

.legal-item-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: var(--black);
  margin-bottom: 0.45rem;
  line-height: 1.4;
}

.legal-item p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--black);
  max-width: 62ch;
}

.legal-item p + p {
  margin-top: 0.65rem;
}

.legal-back {
  align-self: flex-start;
  margin-top: var(--space-sm);
}

.legal-accent-col {
  display: none;
}

@media (min-width: 1024px) {
  .legal-layout {
    grid-template-columns: 1fr 200px;
    gap: var(--space-lg);
  }

  /* Bounded, framed colour composition that mirrors the About accent
     block — sticks alongside the policy rather than stretching into a
     full-height slab. */
  .legal-accent-col {
    display: flex;
    flex-direction: column;
    grid-column: 2;
    border: var(--border-lg);
    height: clamp(360px, 60vh, 540px);
    align-self: start;
    position: sticky;
    top: calc(var(--header-h) + var(--space-md));
  }

  .legal-accent-block--accent { background: var(--accent); flex: 1; }
  .legal-accent-block--yellow { background: var(--yellow); flex: 1.7; border-top: var(--border-lg); border-bottom: var(--border-lg); }
  .legal-accent-block--blue   { background: var(--blue);   flex: 1; }
}

/* Static nav on legal pages — no hamburger needed */
.nav-menu--static {
  display: flex;
  position: static;
  inset: auto;
  width: auto;
  transform: none;
  visibility: visible;
  background: transparent;
  padding: 0;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  overflow: visible;
}

.nav-menu--static .nav-link {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--white);
  text-decoration: none;
  white-space: nowrap;
}

.nav-menu--static .nav-link:hover,
.nav-menu--static .nav-link:focus-visible {
  color: var(--yellow);
}

@media (min-width: 768px) {
  .nav-menu--static .nav-link {
    font-size: 0.7rem;
    letter-spacing: 0.14em;
  }
}


/* =============================================================
   REDUCED MOTION
   ============================================================= */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html          { scroll-behavior: auto; }
  .js .reveal   { opacity: 1; transform: none; transition: none; }
}


/* =============================================================
   FORCED COLOURS (Windows High Contrast)
   ============================================================= */

@media (forced-colors: active) {
  .btn--primary       { border: 2px solid ButtonText; }
  .offer-list li      { border-left-color: Highlight; }
  .credential-card    { border-left-color: Highlight; }
}


/* =============================================================
   LARGE SCREEN FRAMING (> 1600px)
   box-shadow provides the side borders without inset content area.
   site-header::before extends to cover the shadow at the very top
   so the red accent strip runs edge-to-edge above the borders.
   ============================================================= */

@media (min-width: 1601px) {
  .site-header::before {
    left: -6px;
    right: -6px;
  }
}
