/* =========================================================================
   Praxis Diewald — design system
   ========================================================================= */

/* latin-ext */
@font-face {
  font-family: 'DM Serif Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/dm-serif-display-400-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Serif Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/dm-serif-display-400-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'DM Serif Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/dm-serif-display-400-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Serif Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/dm-serif-display-400-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/fraunces-italic-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/fraunces-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/fraunces-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(../assets/fonts/fraunces-normal-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(../assets/fonts/fraunces-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(../assets/fonts/fraunces-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/fraunces-normal-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/fraunces-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/fraunces-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../assets/fonts/fraunces-normal-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../assets/fonts/fraunces-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../assets/fonts/fraunces-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../assets/fonts/fraunces-normal-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../assets/fonts/fraunces-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../assets/fonts/fraunces-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(../assets/fonts/inter-normal-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(../assets/fonts/inter-normal-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(../assets/fonts/inter-normal-greek-ext.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(../assets/fonts/inter-normal-greek.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(../assets/fonts/inter-normal-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(../assets/fonts/inter-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(../assets/fonts/inter-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/inter-normal-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/inter-normal-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/inter-normal-greek-ext.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/inter-normal-greek.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/inter-normal-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/inter-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-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(../assets/fonts/inter-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../assets/fonts/inter-normal-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../assets/fonts/inter-normal-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../assets/fonts/inter-normal-greek-ext.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../assets/fonts/inter-normal-greek.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../assets/fonts/inter-normal-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../assets/fonts/inter-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../assets/fonts/inter-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../assets/fonts/inter-normal-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../assets/fonts/inter-normal-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../assets/fonts/inter-normal-greek-ext.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../assets/fonts/inter-normal-greek.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../assets/fonts/inter-normal-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../assets/fonts/inter-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../assets/fonts/inter-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../assets/fonts/inter-normal-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../assets/fonts/inter-normal-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../assets/fonts/inter-normal-greek-ext.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../assets/fonts/inter-normal-greek.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../assets/fonts/inter-normal-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../assets/fonts/inter-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../assets/fonts/inter-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- tokens ---------- */
:root {
  /* palette */
  --bg:           #F4F8FB;
  --bg-noise:     #F7FAFC;
  --surface:      #FFFFFF;
  --surface-soft: #ECF3F9;
  --surface-deep: #D9E7F1;
  --ink:          #0A2540;
  --ink-soft:     #44607A;
  --ink-mute:     #8AA0B5;
  --accent:       #5BA0CF;
  --accent-deep:  #2D6FA1;
  --accent-soft:  #BFDBEF;
  --accent-glow:  rgba(91, 160, 207, .18);
  --gold:         #C5A572;
  --rule:         rgba(10, 37, 64, .08);
  --rule-strong:  rgba(10, 37, 64, .14);

  --status-open:     #2EAD63;
  --status-closed:   #4A5C70;
  --status-vacation: #C5A572;
  --status-holiday:  #A0465A;
  --status-h:        38px;

  /* shadows */
  --shadow-xs: 0 1px 2px rgba(10, 37, 64, .04);
  --shadow-sm: 0 4px 12px rgba(10, 37, 64, .06);
  --shadow-md: 0 12px 28px rgba(10, 37, 64, .08);
  --shadow-lg: 0 28px 64px rgba(10, 37, 64, .12);
  --shadow-xl: 0 40px 80px rgba(10, 37, 64, .16);

  /* type */
  --font-display: 'DM Serif Display', 'Iowan Old Style', 'Apple Garamond', Georgia, serif;
  --font-italic:  'Fraunces', 'Iowan Old Style', 'Apple Garamond', Georgia, serif;
  --font-sans:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;
  --space-11: 192px;

  /* radius */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* layout */
  --content: 1240px;
  --gutter: clamp(20px, 5vw, 64px);

  /* motion */
  --ease-out: cubic-bezier(.22, .61, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --ease-soft: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
body, h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, picture, video, canvas, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; padding: 0; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
::selection { background: var(--accent); color: #fff; }

/* ---------- base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--status-h) + 66px + 28px); }
body {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  font-feature-settings: 'cv11', 'ss01', 'ss02';
  position: relative;
  /* Clean, calm background: two very soft color washes — no patterns, no
     dots, no drift. Just atmosphere that breathes with the page. */
  background-image:
    radial-gradient(80% 60% at 0% 0%,   rgba(91, 160, 207, 0.07) 0%, transparent 60%),
    radial-gradient(70% 60% at 100% 100%, rgba(197, 165, 114, 0.06) 0%, transparent 60%);
}

/* Big complex headlines use DM Serif Display.
   Smaller headings (h3) keep Fraunces for warmth.   */
h1, h2, .display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.02;
  color: var(--ink);
}
h3 {
  font-family: var(--font-italic);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--ink);
  font-variation-settings: 'opsz' 36;
}
h1 { font-size: clamp(3rem, 8.5vw, 8rem); }
h2 { font-size: clamp(2.25rem, 5.4vw, 4.5rem); line-height: 1.04; }
h3 { font-size: clamp(1.375rem, 2vw, 1.625rem); }

p { color: var(--ink-soft); }
.lede { font-size: clamp(1.125rem, 1.4vw, 1.375rem); line-height: 1.55; color: var(--ink-soft); max-width: 56ch; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.italic-serif { font-family: var(--font-italic); font-style: italic; }

/* ---------- layout ---------- */
.shell {
  width: 100%;
  max-width: var(--content);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
section { position: relative; padding-block: clamp(80px, 12vw, 160px); }
section + section { border-top: 1px solid transparent; }

/* ---------- background washes ---------- */
.surface-soft { background: var(--surface-soft); }
.surface-deep { background: linear-gradient(180deg, var(--surface-soft) 0%, var(--surface-deep) 100%); }
.surface-ink  { background: var(--ink); color: var(--surface); }
.surface-ink h1, .surface-ink h2, .surface-ink h3 { color: var(--surface); }
.surface-ink p { color: rgba(255,255,255,0.75); }
.surface-ink .eyebrow { color: var(--accent-soft); }

/* =========================================================================
   STATUS BAR (top strip — open / closed / vacation)
   ========================================================================= */
.status-bar {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 110;
  height: var(--status-h);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #fff;
  transition: background .5s var(--ease-out), color .25s;
  overflow: hidden;
}
.status-bar[data-state="loading"] {
  background: var(--surface-soft);
  color: transparent;
}
.status-bar[data-state="open"] {
  background: linear-gradient(90deg, #239B57 0%, #34C26E 50%, #239B57 100%);
  background-size: 200% 100%;
  animation: status-shimmer 14s linear infinite;
}
.status-bar[data-state="closed"] {
  background: linear-gradient(90deg, #44607A 0%, #5C7088 50%, #44607A 100%);
  background-size: 200% 100%;
  animation: status-shimmer 18s linear infinite;
}
.status-bar[data-state="vacation"] {
  background: linear-gradient(90deg, #B6975F 0%, #D9BC85 50%, #B6975F 100%);
  background-size: 200% 100%;
  animation: status-shimmer 16s linear infinite;
}
.status-bar[data-state="holiday"] {
  background: linear-gradient(90deg, #8B3A4E 0%, #C05A6E 50%, #8B3A4E 100%);
  background-size: 200% 100%;
  animation: status-shimmer 16s linear infinite;
}
@keyframes status-shimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}
.status-bar-inner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-inline: var(--gutter);
  max-width: var(--content);
  width: 100%;
  justify-content: center;
}
.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #fff;
  position: relative;
  flex-shrink: 0;
}
.status-bar[data-state="open"] .status-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  animation: status-pulse 2s var(--ease-in-out) infinite;
}
@keyframes status-pulse {
  0%, 100% { transform: scale(1); opacity: .5; }
  50%      { transform: scale(1.6); opacity: 0; }
}
.status-text { font-weight: 600; letter-spacing: .02em; }
.status-sep  { opacity: .55; }
.status-detail { opacity: .85; font-weight: 400; }
@media (max-width: 640px) {
  :root { --status-h: 52px; }
  .status-bar { font-size: 0.8125rem; height: var(--status-h); }
  .status-bar-inner {
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    gap: 0 6px;
    line-height: 1.3;
  }
  .status-sep { display: none; }
  .status-detail { flex-basis: 100%; text-align: center; font-size: 0.75rem; opacity: .75; }
}

/* =========================================================================
   NAV
   ========================================================================= */
.nav {
  position: fixed;
  top: var(--status-h);
  inset-inline: 0;
  z-index: 100;
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: background-color .35s var(--ease-out), backdrop-filter .35s, padding .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(244, 248, 251, 0.82);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom-color: var(--rule);
  padding-block: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-italic);
  font-weight: 500;
  letter-spacing: -0.01em;
  font-size: 1.0625rem;
  color: var(--ink);
  white-space: nowrap;
  flex-shrink: 0;
}
.brand-text { transition: opacity .25s; }
.brand-logo {
  height: 42px;
  width: auto;
  display: block;
  border-radius: 6px;
  flex-shrink: 0;
  transition: transform .35s var(--ease-out);
}
.brand:hover .brand-logo { transform: scale(1.04); }
/* Legacy fallback if .brand-mark span is ever used again */
.brand-mark {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--accent) 0%, var(--accent-deep) 100%);
  display: grid; place-items: center;
  color: #fff;
  font-family: var(--font-italic);
  font-weight: 500;
  font-size: 0.875rem;
  font-variation-settings: 'opsz' 36;
  box-shadow: var(--shadow-sm);
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 22px;
  align-items: center;
}
.nav-links a {
  font-size: 0.9rem;
  color: var(--ink-soft);
  position: relative;
  padding: 8px 0;
  transition: color .25s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 2px;
  height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: right;
  transition: transform .35s var(--ease-out);
}
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-right { display: flex; align-items: center; gap: 14px; }

.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.nav-actions .btn { padding: 10px 18px; font-size: 0.875rem; }
.nav-actions .btn-ghost { padding: 8px 14px; font-size: 0.8125rem; }

/* language switcher */
.lang-switch {
  display: inline-flex;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--r-pill);
  padding: 4px;
  gap: 2px;
}
.lang-switch button {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 11px;
  border-radius: var(--r-pill);
  color: var(--ink-mute);
  transition: color .25s, background-color .25s;
}
.lang-switch button:hover { color: var(--ink); }
.lang-switch button.is-active {
  background: var(--ink);
  color: #fff;
}

/* mobile menu toggle */
.menu-toggle {
  display: none;
  width: 40px; height: 40px;
  border-radius: var(--r-pill);
  border: 1px solid var(--rule);
  background: var(--surface);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.menu-toggle span {
  display: block;
  width: 18px; height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform .3s var(--ease-soft), opacity .2s;
  pointer-events: none;
}
.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================================
   BUTTONS
   ========================================================================= */
.btn {
  --bg: var(--ink);
  --fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  background: var(--bg);
  color: var(--fg);
  border-radius: var(--r-pill);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: transform .25s var(--ease-out), background-color .25s, color .25s, box-shadow .25s, border-color .25s;
  position: relative;
  overflow: hidden;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }

.btn-primary { --bg: var(--accent-deep); }
.btn-primary:hover { --bg: var(--ink); }

.btn-primary-light { --bg: #6BB0DA; --fg: #fff; }
.btn-primary-light:hover { --bg: var(--accent-deep); }

.btn-ghost {
  --bg: transparent;
  --fg: var(--ink);
  border-color: var(--rule-strong);
}
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.btn-icon { width: 18px; height: 18px; }

.btn-sm { padding: 10px 16px; font-size: 0.875rem; }

/* link with arrow */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  transition: gap .25s, color .25s, border-color .25s;
}
.arrow-link svg { transition: transform .25s; }
.arrow-link:hover { gap: 12px; color: var(--accent-deep); border-color: var(--accent-deep); }
.arrow-link:hover svg { transform: translateX(2px); }

/* =========================================================================
   HERO  — sized so that hero + marquee end exactly at the viewport bottom.
   The subtraction value approximates the marquee's natural height across
   viewports (font-size scales with vw, padding-block 22px each, ~104 px
   on desktop, ~86 px on mobile).
   ========================================================================= */
@media (min-width: 641px) {
  .hero .shell {
    padding-inline-start: 0;
  }
}

.hero {
  position: relative;
  min-height: calc(100svh - clamp(86px, 7.2vw, 104px));
  padding-top: clamp(130px, 13vh, 160px);
  padding-bottom: clamp(80px, 8vh, 110px);
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute; inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 80% at 80% 20%, var(--accent-glow) 0%, transparent 60%),
    radial-gradient(50% 60% at 10% 90%, rgba(197, 165, 114, .12) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--surface-soft) 100%);
}

.hero-orb {
  position: absolute;
  width: clamp(420px, 55vw, 820px);
  aspect-ratio: 1 / 1;
  right: -8%;
  top: 8%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.9) 0%, var(--accent-soft) 35%, var(--accent) 100%);
  border-radius: 50%;
  filter: blur(2px);
  opacity: .55;
  z-index: -1;
  animation: orb-float 18s var(--ease-in-out) infinite;
}
.hero-orb-2 {
  width: clamp(220px, 30vw, 420px);
  right: auto;
  left: -6%;
  top: auto;
  bottom: 10%;
  background: radial-gradient(circle at 50% 40%, rgba(255,255,255,.7) 0%, rgba(197,165,114,.35) 50%, rgba(197,165,114,.55) 100%);
  opacity: .35;
  animation: orb-float 22s var(--ease-in-out) infinite reverse;
}
@keyframes orb-float {
  0%, 100% { transform: translate(0,0) scale(1); }
  50%      { transform: translate(-3%, 4%) scale(1.04); }
}

.hero-grain {
  position: absolute; inset: 0;
  z-index: -1;
  opacity: .35;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/><feColorMatrix type='matrix' values='0 0 0 0 0.04, 0 0 0 0 0.14, 0 0 0 0 0.25, 0 0 0 0.6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: multiply;
}

/* very subtle ekg / pulse line decoration in hero */
.hero-pattern {
  position: absolute;
  left: 0; right: 0;
  bottom: 8%;
  height: 60px;
  z-index: -1;
  opacity: .12;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 60' fill='none' stroke='%232D6FA1' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><path d='M0 30 H80 L90 30 L100 30 L110 12 L120 48 L130 6 L140 50 L150 30 L165 30 L175 30 L195 30 L210 30 L220 22 L230 38 L240 30 H320 L335 30 L345 12 L355 48 L365 6 L375 50 L385 30 L400 30 L420 30 L430 22 L440 38 L450 30 L470 30 L485 30 L495 12 L505 48 L515 6 L525 50 L535 30 H600'/></svg>");
  background-repeat: repeat-x;
  background-size: 600px 60px;
  background-position: 50% 50%;
  animation: hero-pattern-pan 60s linear infinite;
}
@keyframes hero-pattern-pan {
  from { background-position: 0% 50%; }
  to   { background-position: -1200px 50%; }
}

.hero-photo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: clamp(300px, 46vw, 680px);
  z-index: 0;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 28%);
  mask-image: linear-gradient(to right, transparent 0%, black 28%);
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 44%;
  display: block;
  opacity: 0.78;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: clamp(20px, 3vw, 40px);
  position: relative;
  z-index: 1;
}

.hero-kicker {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
}


.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3rem, 8.6vw, 8rem);
  line-height: 0.96;
  letter-spacing: -0.035em;
  color: var(--ink);
  max-width: 14ch;
}
.hero-title .em {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 400;
  font-variation-settings: 'opsz' 144;
  color: var(--accent-deep);
}

.hero-lede {
  margin-top: clamp(28px, 3.2vw, 48px);
  max-width: 48ch;
  font-size: clamp(1.0625rem, 1.3vw, 1.25rem);
  line-height: 1.55;
  color: var(--ink-soft);
}

.hero-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(36px, 4.5vw, 64px);
}

/* Informational pill — visually similar to .btn-primary but non-interactive */
.hero-cta-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: var(--accent-deep);
  color: #fff;
  border-radius: var(--r-pill);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  opacity: 0.55;
  cursor: default;
  pointer-events: none;
  user-select: none;
}

/* Visible only on mobile (≤960px), hidden on desktop */
.show-on-mobile { display: none; }

.hero-meta {
  position: absolute;
  bottom: clamp(28px, 4vw, 56px);
  right: var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  font-size: 0.8125rem;
  color: var(--ink-soft);
}
.hero-meta strong { color: var(--ink); font-weight: 500; }

.scroll-cue {
  position: absolute;
  bottom: clamp(28px, 4vw, 56px);
  left: var(--gutter);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.scroll-cue .line {
  position: relative;
  width: 1px; height: 48px; background: var(--rule-strong);
  overflow: hidden;
}
.scroll-cue .line::after {
  content: ""; position: absolute; top: -50%; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(180deg, transparent 0%, var(--ink) 100%);
  animation: scroll-pulse 2.4s var(--ease-in-out) infinite;
}
@keyframes scroll-pulse {
  0%   { transform: translateY(0); }
  100% { transform: translateY(200%); }
}

/* =========================================================================
   MARQUEE
   ========================================================================= */
.marquee {
  border-block: 1px solid var(--rule);
  padding-block: 22px;
  overflow: hidden;
  background: var(--bg);
  position: relative;
}
.marquee::before, .marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0;
  width: 80px; pointer-events: none;
  z-index: 2;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg) 0%, transparent 100%); }
.marquee::after  { right: 0; background: linear-gradient(270deg, var(--bg) 0%, transparent 100%); }
.marquee-track {
  display: flex;
  gap: 56px;
  white-space: nowrap;
  animation: marquee 76s linear infinite;
  width: max-content;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.5rem, 2.8vw, 2.25rem);
  color: var(--ink);
  display: inline-flex; align-items: center; gap: 56px;
  letter-spacing: -0.01em;
}
.marquee-item::after {
  content: "✦";
  font-style: normal;
  color: var(--accent);
  font-size: 0.7em;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =========================================================================
   ABOUT
   ========================================================================= */
#about { position: relative; isolation: isolate; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
  position: relative;
  z-index: 1;
}

.about-portrait {
  position: sticky;
  top: calc(var(--status-h) + 100px);
  aspect-ratio: 4 / 5;
  border-radius: var(--r-lg);
  overflow: hidden;
  background:
    radial-gradient(140% 90% at 50% 0%, var(--accent-soft) 0%, var(--surface-deep) 60%, var(--accent) 100%);
  box-shadow: var(--shadow-lg);
  isolation: isolate;
  /* Force GPU layer so the clip doesn't flicker during child transforms */
  transform: translateZ(0);
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  mask-image: radial-gradient(white, black );
}
/* Real photo — fills the container, sits behind the editorial overlays */
.portrait-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  z-index: 1;
  /* Inherit the rounded corners directly so a transform on this layer
     doesn't reveal the square edges during the hover-scale animation. */
  border-radius: inherit;
  will-change: transform;
  backface-visibility: hidden;
  transition: transform 1.4s var(--ease-soft);
}
.about-portrait:hover .portrait-img { transform: scale(1.03); }

.about-portrait::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='2'/><feColorMatrix type='matrix' values='0 0 0 0 1, 0 0 0 0 1, 0 0 0 0 1, 0 0 0 0.4 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
  opacity: .35;
  z-index: 2;
  pointer-events: none;
}
.portrait-shape {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(40% 38% at 50% 38%, rgba(255,255,255,0.18) 0%, transparent 70%),
    radial-gradient(80% 60% at 50% 100%, rgba(10,37,64,0.45) 0%, transparent 70%);
  z-index: 2;
  pointer-events: none;
}
.portrait-monogram {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(8rem, 18vw, 16rem);
  font-variation-settings: 'opsz' 144;
  color: rgba(10, 37, 64, 0.18);
  letter-spacing: -0.04em;
  user-select: none;
  z-index: 0;  /* behind image — only visible if image fails */
}
.portrait-caption {
  position: absolute;
  bottom: 18px; left: 18px; right: 18px;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 6px rgba(10, 37, 64, 0.4);
  z-index: 3;
}
/* If image fails to load, monogram becomes the focal point on the gradient */
.about-portrait:not(:has(.portrait-img)) .portrait-monogram {
  z-index: 2;
  color: rgba(10, 37, 64, 0.18);
}
.about-portrait:not(:has(.portrait-img)) .portrait-caption {
  color: rgba(10, 37, 64, 0.7);
  text-shadow: none;
}

.about-body { padding-top: 8px; }
.about-title { margin-top: 18px; max-width: 14ch; }
.about-lead {
  font-family: var(--font-italic);
  font-weight: 300;
  font-style: italic;
  font-variation-settings: 'opsz' 96;
  font-size: clamp(1.25rem, 1.8vw, 1.625rem);
  line-height: 1.4;
  color: var(--ink);
  margin-top: 32px;
  max-width: 38ch;
}
.about-text {
  margin-top: 24px;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 56ch;
}
.about-text::first-letter {
  font-family: var(--font-display);
  font-size: 3.4em;
  line-height: 0.9;
  font-weight: 400;
  float: left;
  margin: 6px 12px 0 -2px;
  color: var(--accent-deep);
}

.credentials { margin-top: 48px; }
.credentials-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 20px;
}
.credentials-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}
.credentials-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--r-pill);
  font-size: 0.875rem;
  color: var(--ink);
  box-shadow: var(--shadow-xs);
  transition: transform .25s var(--ease-out), border-color .25s, background-color .25s, box-shadow .25s;
}
.credentials-list li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.credentials-list li:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}

/* languages — same family as credentials but with subtle distinction */
.languages { margin-top: 32px; }
.languages-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}
.languages-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-soft) 100%);
  border: 1px solid var(--rule);
  border-radius: var(--r-pill);
  font-size: 0.875rem;
  color: var(--ink);
  font-weight: 500;
  box-shadow: var(--shadow-xs);
  transition: transform .25s var(--ease-out), border-color .25s, box-shadow .25s;
}
.languages-list li::before {
  content: "";
  width: 14px; height: 14px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, var(--accent-soft) 0%, var(--accent) 70%, var(--accent-deep) 100%);
  flex-shrink: 0;
}
.languages-list li:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.signature {
  margin-top: 40px;
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 300;
  font-variation-settings: 'opsz' 96;
  font-size: 1.5rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}

/* =========================================================================
   PHILOSOPHY
   ========================================================================= */
.philosophy {
  text-align: center;
  position: relative;
  overflow: hidden;
}
.philosophy::before {
  content: "\201C";
  position: absolute;
  top: -20px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-italic);
  font-style: italic;
  font-size: clamp(14rem, 26vw, 26rem);
  line-height: 1;
  color: var(--accent-glow);
  font-weight: 300;
  font-variation-settings: 'opsz' 144;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.philosophy > * { position: relative; z-index: 1; }
.philosophy-quote {
  font-family: var(--font-italic);
  font-weight: 300;
  font-style: italic;
  font-variation-settings: 'opsz' 144;
  font-size: clamp(1.625rem, 3.4vw, 3rem);
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--ink);
  max-width: 22ch;
  margin: 32px auto 0;
  position: relative;
}
.philosophy-attribution {
  margin-top: 32px;
  font-size: 0.875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* =========================================================================
   SERVICES
   ========================================================================= */
#services { position: relative; isolation: isolate; }

.services-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.services-head h2 { max-width: 14ch; }
.services-head p { max-width: 40ch; font-size: 1.125rem; }

/* list container — ruled, no card borders */
.services-grid {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--rule);
}

/* each row */
.service {
  border-bottom: 1px solid var(--rule);
  position: relative;
  transition: background-color .4s var(--ease-out);
}
.service::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--accent-deep);
  border-radius: 0 2px 2px 0;
  opacity: 0;
  transform: scaleY(0.4);
  transition: opacity .35s var(--ease-out), transform .4s var(--ease-soft);
}
.service.is-open {
  background: linear-gradient(90deg, rgba(91,160,207,.035) 0%, transparent 60%);
}
.service.is-open::before {
  opacity: 1;
  transform: scaleY(1);
}

/* trigger row — 4-column grid: num | icon | main | chevron */
.service-trigger {
  display: grid;
  grid-template-columns: clamp(2rem, 3vw, 3.5rem) 28px 1fr 18px;
  gap: 0 clamp(14px, 2vw, 28px);
  align-items: center;
  padding-block: clamp(20px, 2.6vw, 32px);
  padding-inline: clamp(16px, 2.5vw, 32px) clamp(16px, 2.5vw, 32px);
  width: 100%;
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
  color: inherit;
}
.service-trigger:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

/* number */
.service-num {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(0.9375rem, 1.3vw, 1.125rem);
  font-variation-settings: 'opsz' 96;
  color: var(--ink-mute);
  letter-spacing: -0.02em;
  transition: color .25s;
  line-height: 1;
}
.service.is-open .service-num { color: var(--accent-deep); }

/* icon */
.service-icon {
  width: 28px; height: 28px;
  flex-shrink: 0;
  color: var(--accent-deep);
  opacity: .7;
  transition: transform .4s var(--ease-soft), opacity .25s;
}
.service.is-open .service-icon,
.service-trigger:hover .service-icon {
  transform: scale(1.1) rotate(-4deg);
  opacity: 1;
}

/* title + summary */
.service-main {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.service-title {
  font-family: var(--font-italic);
  font-weight: 500;
  font-size: clamp(1.125rem, 1.6vw, 1.5rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
  transition: color .25s;
}
.service.is-open .service-title { color: var(--accent-deep); }
.service-summary {
  font-size: 0.8125rem;
  color: var(--ink-mute);
  font-style: italic;
  font-family: var(--font-italic);
  line-height: 1.3;
  transition: color .25s;
}
.service.is-open .service-summary { color: var(--ink-soft); }

/* chevron */
.service-chevron {
  width: 18px; height: 18px;
  flex-shrink: 0;
  color: var(--ink-mute);
  transition: transform .4s var(--ease-soft), color .25s;
  justify-self: end;
}
.service.is-open .service-chevron {
  transform: rotate(180deg);
  color: var(--accent-deep);
}

/* accordion body */
.service-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .45s var(--ease-soft);
}
.service.is-open .service-body {
  grid-template-rows: 1fr;
}
.service-body-inner {
  overflow: hidden;
  min-height: 0;
}

/* detail text — indented to align with title column */
.service-desc {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 68ch;
  padding-bottom: clamp(20px, 2.6vw, 32px);
  padding-inline: clamp(16px, 2.5vw, 32px);
  /* indent: num col + icon col + two gap widths */
  padding-left: calc(clamp(2rem, 3vw, 3.5rem) + 28px + clamp(14px, 2vw, 28px) * 2 + clamp(16px, 2.5vw, 32px));
}

/* =========================================================================
   TEAM
   ========================================================================= */
.team-section { position: relative; isolation: isolate; }
.team-section .shell { position: relative; z-index: 1; }
.team-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.team-head h2 { max-width: 14ch; margin-top: 16px; }
.team-head p  { max-width: 40ch; font-size: 1.0625rem; }

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 2.5vw, 36px);
}
.team-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  padding: 0;
  overflow: hidden;
  transition: transform .4s var(--ease-soft), box-shadow .4s var(--ease-soft), border-color .3s;
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.team-portrait {
  aspect-ratio: 4 / 5;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  clip-path: inset(0 round var(--r-lg) var(--r-lg) 0 0);
  transform: translateZ(0);
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  mask-image: radial-gradient(white, black);
  background:
    radial-gradient(140% 90% at 50% 0%, var(--accent-soft) 0%, var(--surface-deep) 60%, var(--accent) 100%);
}
.team-card[data-idx="1"] .team-portrait {
  background: radial-gradient(140% 90% at 50% 0%, #E8DCC2 0%, #D9BC85 60%, var(--gold) 100%);
}
.team-card[data-idx="2"] .team-portrait {
  background: radial-gradient(140% 90% at 50% 0%, #D9E7F1 0%, #B8CFE0 60%, #5A7A92 100%);
}
/* Real photo — fills the slot. If <img> fails to load, JS removes it
   via onerror and the gradient + monogram fallback take over. */
.team-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  z-index: 2;
  border-radius: inherit;
  will-change: transform;
  backface-visibility: hidden;
  transition: transform 1.4s var(--ease-soft);
}
.team-card:hover .team-photo { transform: scale(1.04); }
.team-portrait::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='2'/><feColorMatrix type='matrix' values='0 0 0 0 1, 0 0 0 0 1, 0 0 0 0 1, 0 0 0 0.35 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
  opacity: .55;
  z-index: 3;
  pointer-events: none;
}
.team-portrait::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(70% 50% at 50% 100%, rgba(10,37,64,0.45) 0%, transparent 70%);
  z-index: 3;
  pointer-events: none;
}
.team-portrait-mono {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(5rem, 8vw, 8rem);
  font-variation-settings: 'opsz' 144;
  color: rgba(10, 37, 64, 0.22);
  letter-spacing: -0.04em;
  user-select: none;
  z-index: 1; /* behind photo — only visible when image fails */
}
.team-info {
  padding: clamp(20px, 2vw, 28px);
}
.team-name {
  font-family: var(--font-italic);
  font-weight: 500;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-variation-settings: 'opsz' 36;
}
.team-role {
  margin-top: 6px;
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}

/* --- hero card (doctor) --- */
.team-card--hero {
  width: 48%;
  margin-inline: auto;
}
.team-card--hero .team-name {
  font-size: clamp(1.375rem, 2vw, 1.75rem);
}
.team-card--hero .team-role {
  font-size: 0.875rem;
}

/* --- assistant cards --- */
.team-assistants {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2vw, 28px);
  width: 80%;
  margin-inline: auto;
}


/* =========================================================================
   OFFERS (Werbung / Angebote)
   ========================================================================= */
.offers-section { position: relative; isolation: isolate; overflow: hidden; }
.offers-section .shell { position: relative; z-index: 1; }
.offers-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.offers-head h2 { max-width: 14ch; margin-top: 16px; }
.offers-head p  { max-width: 40ch; font-size: 1.0625rem; }

.offers-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(20px, 2.5vw, 36px);
}
.offer-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex: 0 0 calc((100% - 2 * clamp(20px, 2.5vw, 36px)) / 3);
  cursor: pointer;
  transition: transform .4s var(--ease-soft), box-shadow .4s var(--ease-soft), border-color .3s;
}
.offer-card:hover,
.offer-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
  outline: none;
}
.offer-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.offer-image {
  aspect-ratio: 16 / 14;
  position: relative;
  overflow: hidden;
  background: radial-gradient(140% 90% at 50% 0%, var(--accent-soft) 0%, var(--surface-deep) 60%, var(--accent) 100%);
}
.offer-card[data-idx="1"] .offer-image {
  background: radial-gradient(140% 90% at 50% 0%, #E8DCC2 0%, #D9BC85 60%, var(--gold) 100%);
}
.offer-card[data-idx="2"] .offer-image {
  background: radial-gradient(140% 90% at 50% 0%, #D9E7F1 0%, #B8CFE0 60%, #5A7A92 100%);
}
.offer-card[data-idx="3"] .offer-image {
  background: radial-gradient(140% 90% at 50% 0%, #D4EAD8 0%, #8BBF94 60%, #3D7A4A 100%);
}
.offer-card[data-idx="4"] .offer-image {
  background: radial-gradient(140% 90% at 50% 0%, #EDD9D9 0%, #C98A84 60%, #9B4E48 100%);
}
.offer-image-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.offer-image::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='2'/><feColorMatrix type='matrix' values='0 0 0 0 1, 0 0 0 0 1, 0 0 0 0 1, 0 0 0 0.4 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
  opacity: .5;
  z-index: 1;
}
.offer-image::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10,37,64,0.35) 100%);
  z-index: 1;
}
.offer-image.has-photo::after {
  background: linear-gradient(180deg, rgba(10,37,64,0.15) 0%, rgba(10,37,64,0.6) 100%);
}
.offer-image-icon {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 2;
  color: rgba(255,255,255,.85);
  filter: drop-shadow(0 6px 24px rgba(10,37,64,0.35));
  transition: transform .4s var(--ease-soft);
}
.offer-card:hover .offer-image-icon { transform: scale(1.08); }
.offer-image-icon svg { width: 68px; height: 68px; }
.offer-highlight {
  position: absolute;
  top: 16px; left: 16px;
  z-index: 3;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.95);
  color: var(--ink);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
}
.offer-body {
  padding: clamp(24px, 2.8vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.offer-body-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.offer-title {
  font-family: var(--font-italic);
  font-weight: 500;
  font-variation-settings: 'opsz' 36;
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.offer-title-sub {
  font-family: var(--font-italic);
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--ink-mute);
  margin: -4px 0 0;
  letter-spacing: 0.01em;
}
.offer-desc {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ink-soft);
}
.offer-more {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  opacity: .75;
  transition: opacity .25s, gap .25s var(--ease-soft);
}
.offer-more-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.offer-more svg { width: 14px; height: 14px; flex-shrink: 0; transition: transform .3s var(--ease-soft); }
.offer-card:hover .offer-more,
.offer-card:focus-visible .offer-more { opacity: 1; gap: 10px; }
.offer-card:hover .offer-more svg,
.offer-card:focus-visible .offer-more svg { transform: translateX(3px); }
.offers-note {
  margin-top: clamp(36px, 4vw, 56px);
  font-size: 0.9375rem;
  font-style: italic;
  color: var(--ink-mute);
  text-align: center;
  font-family: var(--font-italic);
}

/* =========================================================================
   OFFER DETAIL MODAL
   ========================================================================= */
.offer-modal-root {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 48px);
}
.offer-modal-root.is-open { display: flex; }

.offer-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 37, 64, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  cursor: pointer;
  animation: om-bd-in .3s var(--ease-soft) both;
}
.offer-modal-root.is-closing .offer-modal-backdrop {
  animation: om-bd-out .32s var(--ease-soft) both;
}
@keyframes om-bd-in  { from { opacity: 0; } to { opacity: 1; } }
@keyframes om-bd-out { from { opacity: 1; } to { opacity: 0; } }

.offer-modal-panel {
  position: relative;
  background: var(--surface);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-xl);
  width: 100%;
  max-width: 700px;
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  animation: om-panel-in .42s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  scrollbar-width: thin;
  scrollbar-color: var(--rule-strong) transparent;
}
.offer-modal-panel::-webkit-scrollbar { width: 6px; }
.offer-modal-panel::-webkit-scrollbar-track { background: transparent; }
.offer-modal-panel::-webkit-scrollbar-thumb { background: var(--rule-strong); border-radius: 3px; }
.offer-modal-root.is-closing .offer-modal-panel {
  animation: om-panel-out .32s var(--ease-soft) both;
}
@keyframes om-panel-in  { from { opacity: 0; transform: scale(.88) translateY(28px); } to { opacity: 1; transform: scale(1) translateY(0); } }
@keyframes om-panel-out { from { opacity: 1; transform: scale(1) translateY(0); } to { opacity: 0; transform: scale(.9) translateY(20px); } }

.offer-modal-close {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 10;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  color: var(--ink);
  border: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 16px rgba(10,37,64,.22);
  transition: background .22s, color .22s, transform .28s var(--ease-soft), box-shadow .22s;
}
.offer-modal-close:hover {
  background: var(--ink);
  color: #fff;
  transform: rotate(90deg) scale(1.06);
  box-shadow: 0 4px 24px rgba(10,37,64,.3);
}
.offer-modal-close:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.offer-modal-close svg { width: 18px; height: 18px; }

.offer-modal-visual {
  aspect-ratio: 21 / 8;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  background: radial-gradient(140% 90% at 50% 0%, var(--accent-soft) 0%, var(--surface-deep) 60%, var(--accent) 100%);
}
.offer-modal-visual--1 { background: radial-gradient(140% 90% at 50% 0%, #E8DCC2 0%, #D9BC85 60%, var(--gold) 100%); }
.offer-modal-visual--2 { background: radial-gradient(140% 90% at 50% 0%, #D9E7F1 0%, #B8CFE0 60%, #5A7A92 100%); }
.offer-modal-visual--3 { background: radial-gradient(140% 90% at 50% 0%, #D4EAD8 0%, #8BBF94 60%, #3D7A4A 100%); }
.offer-modal-visual--4 { background: radial-gradient(140% 90% at 50% 0%, #EDD9D9 0%, #C98A84 60%, #9B4E48 100%); }
.offer-modal-visual::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='2'/><feColorMatrix type='matrix' values='0 0 0 0 1, 0 0 0 0 1, 0 0 0 0 1, 0 0 0 0.4 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
  opacity: .45;
  z-index: 1;
}
.offer-modal-visual::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10,37,64,0.28) 100%);
  z-index: 1;
}
.offer-modal-visual.has-photo::after {
  background: linear-gradient(180deg, rgba(10,37,64,0.1) 0%, rgba(10,37,64,0.55) 100%);
}
.offer-modal-visual .offer-image-icon {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 2;
  color: rgba(255,255,255,.88);
  filter: drop-shadow(0 6px 28px rgba(10,37,64,.4));
}
.offer-modal-visual .offer-image-icon svg { width: 64px; height: 64px; }
.offer-modal-visual .offer-highlight { z-index: 3; }

.offer-modal-body {
  padding: clamp(24px, 3.5vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.offer-modal-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0;
}
.offer-modal-title-sub {
  font-family: var(--font-italic);
  font-size: 1rem;
  font-weight: 400;
  color: var(--ink-mute);
  margin: -6px 0 4px;
  display: block;
}
.offer-modal-text {
  font-size: 0.9375rem;
  line-height: 1.68;
  color: var(--ink-soft);
  margin: 0;
  display: block;
}
.offer-modal-list-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: -6px;
  display: block;
}
.offer-modal-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.offer-modal-list li {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--ink-soft);
  padding-left: 22px;
  position: relative;
  display: block;
}
.offer-modal-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}
.offer-modal-outro {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--ink-mute);
  border-top: 1px solid var(--rule);
  padding-top: 16px;
  margin-top: 6px;
  display: block;
}

/* Staggered reveal animation */
.offer-modal-reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: om-reveal .5s var(--ease-soft) var(--reveal-delay, 200ms) both;
}
@keyframes om-reveal {
  to { opacity: 1; transform: translateY(0); }
}

/* Disable animations for reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .offer-modal-backdrop,
  .offer-modal-panel,
  .offer-modal-reveal {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
@media (max-width: 640px) {
  .offer-modal-root { padding: 0; align-items: flex-end; }
  .offer-modal-panel {
    max-width: 100%;
    max-height: 92dvh;
    border-radius: var(--r-xl) var(--r-xl) 0 0;
  }
  .offer-modal-visual { aspect-ratio: 21 / 7; }
}

/* =========================================================================
   VISIT (hours / insurance / address / map)
   ========================================================================= */
#visit {
  position: relative;
  isolation: isolate;
  padding-bottom: clamp(20px, 3vw, 48px);
}
#visit > .shell { position: relative; z-index: 1; }

.visit-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 88px);
}
.visit-head h2 { max-width: 14ch; }

.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 32px;
}
.panel {
  background: var(--surface);
  padding: clamp(32px, 4vw, 56px);
}

.panel-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 32px;
}

.hours-list {
  display: flex;
  flex-direction: column;
}
.hours-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
  gap: 16px;
  transition: padding-left .35s var(--ease-out);
  position: relative;
}
.hours-row:last-child { border-bottom: 0; }
.hours-row::before {
  content: "";
  position: absolute;
  left: -8px; top: 50%;
  transform: translateY(-50%);
  width: 3px; height: 50%;
  background: var(--accent);
  border-radius: 2px;
  opacity: 0;
  transition: opacity .35s, transform .35s var(--ease-out);
}
.hours-row.is-today::before { opacity: 1; }
.hours-row.is-today { padding-left: 12px; }
.hours-day {
  font-family: var(--font-italic);
  font-weight: 500;
  font-size: 1.0625rem;
  color: var(--ink);
  letter-spacing: -0.005em;
  font-variation-settings: 'opsz' 36;
}
.hours-row.is-today .hours-day { color: var(--accent-deep); }
.hours-time {
  font-variant-numeric: tabular-nums;
  font-size: 0.9375rem;
  color: var(--ink-soft);
  font-weight: 500;
}
.hours-row.is-closed .hours-time {
  font-style: italic;
  color: var(--ink-mute);
  font-weight: 400;
}
.hours-holiday-badge {
  display: inline-block;
  margin-left: 8px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--status-holiday);
  background: color-mix(in srgb, var(--status-holiday) 12%, transparent);
  padding: 2px 7px;
  border-radius: 3px;
  vertical-align: middle;
  font-style: normal;
  font-family: var(--font-sans);
}
.hours-row.is-holiday .hours-time {
  color: var(--ink-mute);
  font-style: italic;
  font-weight: 400;
}
.hours-note {
  margin-top: 24px;
  font-size: 0.875rem;
  color: var(--ink-mute);
  font-style: italic;
  line-height: 1.5;
}

.vacation-block {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
}
.vacation-label.panel-label { margin-bottom: 16px; }
.vacation-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.vacation-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: linear-gradient(180deg, rgba(197,165,114,.10) 0%, rgba(197,165,114,.04) 100%);
  border: 1px solid rgba(197,165,114,.25);
  border-radius: var(--r-md);
  font-size: 0.875rem;
  color: var(--ink);
}
.vacation-list li::before {
  content: "";
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
.vacation-list .vac-dates { font-weight: 600; font-variant-numeric: tabular-nums; }
.vacation-list .vac-label { color: var(--ink-mute); margin-left: auto; font-style: italic; }
.vacation-empty {
  font-size: 0.875rem;
  color: var(--ink-mute);
  font-style: italic;
}

.insurance-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}
.insurance-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--surface-soft);
  border-radius: var(--r-pill);
  font-family: var(--font-italic);
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  transition: transform .25s, background-color .25s;
}
.insurance-tag:hover { transform: translateY(-1px); background: var(--accent-soft); }
.insurance-note {
  margin-top: 24px;
  font-size: 0.9375rem;
  color: var(--ink-soft);
  max-width: 36ch;
  line-height: 1.6;
}

.address-block { margin-top: 24px; }
.address-line {
  font-family: var(--font-italic);
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
  font-variation-settings: 'opsz' 36;
}
.address-line + .address-line { color: var(--ink-soft); font-size: 1.125rem; }

/* map */
.map-wrap {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--rule);
  position: relative;
  background: var(--surface-soft);
  aspect-ratio: 16 / 9;
}
.map-wrap iframe { border: 0; width: 100%; height: 100%; }
.map-overlay {
  position: absolute;
  bottom: 24px; left: 24px;
  background: var(--surface);
  border-radius: var(--r-md);
  padding: 18px 22px;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 14px;
  max-width: calc(100% - 48px);
}
.map-overlay-mark {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--accent-deep);
  display: grid; place-items: center;
  color: #fff;
  flex-shrink: 0;
}
.map-overlay-text strong {
  display: block;
  font-family: var(--font-italic);
  font-size: 1.0625rem;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.map-overlay-text small {
  display: block;
  font-size: 0.8125rem;
  color: var(--ink-soft);
  margin-top: 2px;
}

/* =========================================================================
   CONTACT — light, calm box. On hover: heart starts beating + ECG line draws
   across the box. Fully on-theme for a doctor's site, never tacky.
   ========================================================================= */
#contact { padding-block: clamp(16px, 2vw, 32px) clamp(40px, 5vw, 72px); }
.contact-section {
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-soft) 100%);
  color: var(--ink);
  border: 1px solid var(--rule);
  border-radius: clamp(20px, 3vw, 32px);
  padding: clamp(40px, 5vw, 72px) clamp(28px, 5vw, 72px);
  margin-block: 0;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .55s var(--ease-soft), transform .55s var(--ease-soft);
}
.contact-section:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

/* Soft accent washes — present at rest, gently brighten on hover */
.contact-section::before {
  content: "";
  position: absolute;
  top: -30%; right: -15%;
  width: 65%; aspect-ratio: 1;
  background: radial-gradient(circle at 50% 50%, rgba(91,160,207,.18) 0%, transparent 65%);
  z-index: -1;
  transition: opacity .6s var(--ease-soft);
  opacity: .8;
}
.contact-section::after {
  content: "";
  position: absolute;
  bottom: -40%; left: -12%;
  width: 55%; aspect-ratio: 1;
  background: radial-gradient(circle at 50% 50%, rgba(197,165,114,.14) 0%, transparent 65%);
  z-index: -1;
  transition: opacity .6s var(--ease-soft);
  opacity: .8;
}
.contact-section:hover::before { opacity: 1; }
.contact-section:hover::after  { opacity: 1; }

/* Heart shape — ambient presence at rest, barely perceptible; on hover a
   slow breath-like pulse draws the eye just enough without dominating. */
.contact-heart {
  position: absolute;
  right: clamp(-40px, -3vw, -12px);
  top: 50%;
  width: clamp(220px, 32vw, 420px);
  aspect-ratio: 1;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.4;
  stroke-linejoin: round;
  opacity: .07;
  z-index: -1;
  pointer-events: none;
  transform: translateY(-50%) scale(1);
  transform-origin: center;
  transition: opacity .8s var(--ease-soft);
}
.contact-section:hover .contact-heart {
  opacity: .16;
  animation: heart-breathe 3s ease-in-out infinite;
}
/* Beats synced to blip entry points: beat 1 at 0% (blip-1 enters), beat 2 at 24% (blip-2 enters, 0.72s / 3s = 24%) */
@keyframes heart-breathe {
  0%    { transform: translateY(-50%) scale(1.06); }  /* beat 1 — blip-1 enters */
  4%    { transform: translateY(-50%) scale(1); }
  22%   { transform: translateY(-50%) scale(1); }
  24%   { transform: translateY(-50%) scale(1.06); }  /* beat 2 — blip-2 enters (0.72s later) */
  28%   { transform: translateY(-50%) scale(1); }
  100%  { transform: translateY(-50%) scale(1); }
}

/* ECG track — full-width strip across the bottom of the box. Two pulse
   blips travel through it from left to right, each emerging in sync with
   one heartbeat. Hidden at rest, both blips animate only on hover. */
.contact-pulse-track {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(48px, 5.5vw, 72px);
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.contact-pulse-track::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  height: 1px;
  background: var(--accent-deep);
  opacity: 0.08;
  transform: translateY(-50%);
  pointer-events: none;
}
.contact-section:hover .contact-pulse-track::before {
  opacity: 0.22;
  transition: opacity 0.5s;
}
.contact-pulse-blip {
  position: absolute;
  top: 50%;
  left: -12%;
  width: clamp(70px, 7vw, 100px);
  height: 100%;
  transform: translateY(-50%);
  fill: none;
  stroke: var(--accent-deep);
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 4px rgba(45, 111, 161, 0.15));
  opacity: 0;
}
.contact-section:hover .blip-1 {
  animation: pulse-travel 3s linear infinite;
}
.contact-section:hover .blip-2 {
  animation: pulse-travel 3s linear infinite;
  animation-delay: 0.72s;
}
/* Blip travels from left edge to right edge along the baseline */
@keyframes pulse-travel {
  0%   { left: -12%; opacity: 0; }
  5%   { opacity: 0.6; }
  90%  { opacity: 0.6; }
  100% { left: 112%; opacity: 0; }
}

/* Typography — ink on light bg */
.contact-eyebrow { color: var(--accent-deep); }
.contact-title {
  margin-top: 18px;
  font-size: clamp(2.25rem, 5.4vw, 4.5rem);
  letter-spacing: -0.025em;
  color: var(--ink);
  max-width: 14ch;
  position: relative;
}
.contact-lead {
  margin-top: 22px;
  font-size: 1.125rem;
  color: var(--ink-soft);
  max-width: 50ch;
  position: relative;
}
.contact-actions {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  position: relative;
}
.contact-actions .btn {
  --bg: var(--surface);
  --fg: var(--ink);
  border-color: var(--rule-strong);
  backdrop-filter: none;
}
.contact-actions .btn:hover {
  --bg: var(--ink);
  --fg: #fff;
  border-color: var(--ink);
}
.contact-actions .btn-primary {
  --bg: var(--accent-deep);
  --fg: #fff;
  border-color: transparent;
}
.contact-actions .btn-primary:hover {
  --bg: var(--ink);
  --fg: #fff;
}

/* =========================================================================
   CONTACT NOTICE — warm, elevated card for booking advisory
   ========================================================================= */
.contact-notice {
  margin-top: clamp(40px, 5vw, 64px);
  max-width: 640px;
  background: linear-gradient(180deg, rgba(197, 165, 114, .07) 0%, rgba(197, 165, 114, .03) 100%);
  border: 1px solid rgba(197, 165, 114, .22);
  border-left: 3px solid var(--gold);
  border-radius: var(--r-md);
  padding: clamp(24px, 3vw, 36px) clamp(24px, 3vw, 36px) clamp(24px, 3vw, 36px) clamp(28px, 3.5vw, 40px);
  position: relative;
}
.contact-notice-title {
  font-family: var(--font-italic);
  font-weight: 600;
  font-size: clamp(1.125rem, 1.6vw, 1.3125rem);
  font-variation-settings: 'opsz' 36;
  color: var(--ink);
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}
.contact-notice-lead {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 16px;
}
.contact-notice-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}
.contact-notice-list li {
  position: relative;
  padding-left: 20px;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--ink-soft);
}
.contact-notice-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}
.contact-notice-footer {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
  font-style: italic;
  font-family: var(--font-italic);
  font-weight: 400;
  font-variation-settings: 'opsz' 36;
}

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer {
  padding-block: 56px 32px;
  border-top: 1px solid var(--rule);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 56px;
}
.footer-brand {
  font-family: var(--font-italic);
  font-size: 1.375rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  max-width: 28ch;
  line-height: 1.3;
  font-variation-settings: 'opsz' 36;
}
.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; font-size: 0.9375rem; color: var(--ink-soft); }
.footer-col a { transition: color .25s; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  font-size: 0.8125rem;
  color: var(--ink-mute);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom .credit {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 0.875rem;
  color: var(--ink-soft);
}

/* =========================================================================
   FOOTER LEGAL LINKS
   ========================================================================= */
.footer-legal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.legal-link {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  color: var(--ink-mute);
  letter-spacing: 0.02em;
  background: none;
  border: 0;
  padding: 4px 0;
  cursor: pointer;
  position: relative;
  transition: color .25s;
}
.legal-link:hover { color: var(--ink); }
.legal-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s var(--ease-out);
}
.legal-link:hover::after { transform: scaleX(1); transform-origin: left; }
.legal-sep { color: var(--ink-mute); opacity: .5; }

/* =========================================================================
   MODALS (Impressum / Datenschutz)
   ========================================================================= */
.modal-root {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 4vw, 60px);
}
.modal-root.is-open {
  display: flex;
  animation: modal-root-in .25s var(--ease-out);
}
@keyframes modal-root-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 37, 64, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
}
.modal {
  position: relative;
  background: var(--surface);
  border-radius: clamp(16px, 2vw, 24px);
  width: 100%;
  max-width: 720px;
  max-height: min(86vh, 880px);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  transform: translateY(20px);
  opacity: 0;
  animation: modal-in .35s var(--ease-soft) .04s forwards;
}
/* explicit override — [hidden] is otherwise overridden by display:flex above */
.modal[hidden] { display: none; }
@keyframes modal-in {
  to { opacity: 1; transform: translateY(0); }
}
.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(20px, 3vw, 32px) clamp(24px, 4vw, 40px);
  padding-bottom: clamp(16px, 2.5vw, 24px);
  border-bottom: 1px solid var(--rule);
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-soft) 100%);
}
.modal-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin: 0 0 6px;
}
.modal-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
}
.modal-close {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--rule);
  background: var(--surface);
  display: grid;
  place-items: center;
  color: var(--ink-soft);
  flex-shrink: 0;
  transition: background-color .25s, color .25s, transform .25s;
}
.modal-close:hover {
  background: var(--ink);
  color: #fff;
  transform: rotate(90deg);
}
.modal-close svg { width: 18px; height: 18px; }
.modal-body {
  padding: clamp(20px, 3vw, 32px) clamp(24px, 4vw, 40px);
  overflow-y: auto;
  flex: 1;
  scrollbar-width: thin;
}
.modal-body::-webkit-scrollbar { width: 8px; }
.modal-body::-webkit-scrollbar-track { background: transparent; }
.modal-body::-webkit-scrollbar-thumb {
  background: var(--rule-strong);
  border-radius: 4px;
}
.modal-section {
  padding-block: clamp(14px, 1.8vw, 22px);
  border-bottom: 1px solid var(--rule);
}
.modal-section:last-child { border-bottom: 0; }
.modal-section h3 {
  font-family: var(--font-italic);
  font-weight: 500;
  font-variation-settings: 'opsz' 36;
  font-size: 1.0625rem;
  color: var(--ink);
  margin: 0 0 10px;
  letter-spacing: -0.005em;
}
.modal-section p {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}
.modal-section p + p { margin-top: 8px; }

/* lock body scroll while modal is open */
body.modal-open { overflow: hidden; }

/* =========================================================================
   MOTION — two-way reveal: longer fade IN, snappier fade OUT
   ========================================================================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  /* default = OUT transition: shorter, no delay */
  transition:
    opacity .45s var(--ease-out),
    transform .45s var(--ease-out);
  transition-delay: 0s !important;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
  /* IN transition: longer, with stagger delays from the level data */
  transition:
    opacity .9s var(--ease-soft),
    transform .9s var(--ease-soft);
}
[data-reveal].is-visible[data-reveal-delay="1"] { transition-delay: .08s !important; }
[data-reveal].is-visible[data-reveal-delay="2"] { transition-delay: .16s !important; }
[data-reveal].is-visible[data-reveal-delay="3"] { transition-delay: .24s !important; }
[data-reveal].is-visible[data-reveal-delay="4"] { transition-delay: .32s !important; }
[data-reveal].is-visible[data-reveal-delay="5"] { transition-delay: .40s !important; }

/* variant: scale-in (use data-reveal-mode="scale" for cards) */
[data-reveal][data-reveal-mode="scale"] { transform: translateY(20px) scale(.96); }
[data-reveal][data-reveal-mode="scale"].is-visible { transform: translateY(0) scale(1); }

/* =========================================================================
   PHASE 2 — STACKING FIX
   ========================================================================= */
main#top   { position: relative; z-index: 1; }
footer.footer { position: relative; z-index: 1; }

/* =========================================================================
   PHASE 2 — FLOATING MEDICAL ICONS OVERLAY
   ========================================================================= */
.medical-floats {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.medical-floats svg {
  position: absolute;
  opacity: 0;
  filter: blur(1.5px);
  color: var(--accent-deep);
}

/* all paths are diagonal: both x and y change significantly during travel */
@keyframes mf-1 {
  /* left-mid → bottom-right corner (diagonal) */
  0%   { transform: translate(-80px, 25vh) rotate(-12deg); opacity: 0; }
  6%   { opacity: 0.07; }
  44%  { opacity: 0.07; }
  48%  { transform: translate(calc(100vw + 80px), 82vh) rotate(22deg); opacity: 0; }
  49%  { transform: translate(12vw, -80px) rotate(-8deg); opacity: 0; }
  55%  { opacity: 0.07; }
  94%  { opacity: 0.07; }
  100% { transform: translate(calc(100vw - 15vw), calc(100vh + 80px)) rotate(18deg); opacity: 0; }
}

@keyframes mf-2 {
  /* top-right → bottom-left (diagonal) */
  0%   { transform: translate(80vw, -80px) rotate(35deg); opacity: 0; }
  7%   { opacity: 0.06; }
  46%  { opacity: 0.06; }
  50%  { transform: translate(-80px, 75vh) rotate(-25deg); opacity: 0; }
  51%  { transform: translate(calc(100vw + 80px), 38vh) rotate(15deg); opacity: 0; }
  57%  { opacity: 0.06; }
  93%  { opacity: 0.06; }
  100% { transform: translate(8vw, -80px) rotate(-20deg); opacity: 0; }
}

@keyframes mf-3 {
  /* bottom-left → top-right (diagonal) */
  0%   { transform: translate(5vw, calc(100vh + 80px)) rotate(20deg); opacity: 0; }
  5%   { opacity: 0.07; }
  47%  { opacity: 0.07; }
  50%  { transform: translate(calc(100vw + 80px), 8vh) rotate(-18deg); opacity: 0; }
  51%  { transform: translate(58vw, -80px) rotate(8deg); opacity: 0; }
  56%  { opacity: 0.07; }
  95%  { opacity: 0.07; }
  100% { transform: translate(-80px, 68vh) rotate(-12deg); opacity: 0; }
}

@keyframes mf-4 {
  /* top-left → bottom-right (diagonal) */
  0%   { transform: translate(8vw, -80px) rotate(-30deg); opacity: 0; }
  8%   { opacity: 0.06; }
  45%  { opacity: 0.06; }
  49%  { transform: translate(calc(100vw + 80px), 82vh) rotate(20deg); opacity: 0; }
  50%  { transform: translate(-80px, 68vh) rotate(-10deg); opacity: 0; }
  58%  { opacity: 0.06; }
  92%  { opacity: 0.06; }
  100% { transform: translate(78vw, -80px) rotate(15deg); opacity: 0; }
}

@keyframes mf-5 {
  /* top-right → bottom-left (diagonal) */
  0%   { transform: translate(85vw, -80px) rotate(45deg); opacity: 0; }
  6%   { opacity: 0.055; }
  46%  { opacity: 0.055; }
  50%  { transform: translate(-80px, 78vh) rotate(-30deg); opacity: 0; }
  51%  { transform: translate(calc(100vw + 80px), 88vh) rotate(10deg); opacity: 0; }
  57%  { opacity: 0.055; }
  94%  { opacity: 0.055; }
  100% { transform: translate(18vw, -80px) rotate(-20deg); opacity: 0; }
}

@keyframes mf-6 {
  /* bottom-right → top-left (diagonal) */
  0%   { transform: translate(84vw, calc(100vh + 80px)) rotate(-15deg); opacity: 0; }
  9%   { opacity: 0.065; }
  44%  { opacity: 0.065; }
  49%  { transform: translate(-80px, 12vh) rotate(20deg); opacity: 0; }
  50%  { transform: translate(88vw, -80px) rotate(-8deg); opacity: 0; }
  58%  { opacity: 0.065; }
  93%  { opacity: 0.065; }
  100% { transform: translate(-80px, 52vh) rotate(12deg); opacity: 0; }
}

@keyframes mf-7 {
  /* left-lower → top-right (diagonal) */
  0%   { transform: translate(-80px, 65vh) rotate(10deg); opacity: 0; }
  7%   { opacity: 0.055; }
  45%  { opacity: 0.055; }
  50%  { transform: translate(calc(100vw + 80px), 5vh) rotate(-22deg); opacity: 0; }
  51%  { transform: translate(32vw, calc(100vh + 80px)) rotate(15deg); opacity: 0; }
  57%  { opacity: 0.055; }
  94%  { opacity: 0.055; }
  100% { transform: translate(-80px, 22vh) rotate(-8deg); opacity: 0; }
}

.mf-cross   { width: 52px; height: 52px; color: var(--accent-deep); animation: mf-1 38s ease-in-out infinite; }
.mf-syringe { width: 44px; height: 44px; color: var(--accent-deep); animation: mf-2 45s ease-in-out infinite; animation-delay: -12s; }
.mf-steth   { width: 56px; height: 56px; color: var(--accent-deep); animation: mf-3 32s ease-in-out infinite; animation-delay: -7s; }
.mf-pill    { width: 40px; height: 40px; color: var(--gold);        animation: mf-4 50s ease-in-out infinite; animation-delay: -22s; }
.mf-ecg     { width: 60px; height: 60px; color: var(--accent-deep); animation: mf-5 28s ease-in-out infinite; animation-delay: -5s; }
.mf-heart   { width: 46px; height: 46px; color: var(--gold);        animation: mf-6 42s ease-in-out infinite; animation-delay: -18s; }
.mf-thermo  { width: 38px; height: 38px; color: var(--accent);      animation: mf-7 55s ease-in-out infinite; animation-delay: -30s; }

/* =========================================================================
   PHASE 2 — SECTION COLOR ATMOSPHERE ORBS
   ========================================================================= */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* =========================================================================
   SCROLL PROGRESS BAR (under status bar)
   ========================================================================= */
.scroll-progress {
  position: fixed;
  top: var(--status-h);
  left: 0;
  right: 0;
  height: 2px;
  z-index: 99;
  pointer-events: none;
  background: transparent;
}
.scroll-progress-bar {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-deep) 50%, var(--gold) 100%);
  background-size: 200% 100%;
  animation: progress-shimmer 6s linear infinite;
  transform-origin: left;
  transition: width .12s linear;
}
@keyframes progress-shimmer {
  0% { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}

/* =========================================================================
   HERO CURSOR GLOW + PARTICLES
   ========================================================================= */
.hero-cursor {
  position: absolute;
  pointer-events: none;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91,160,207,.32) 0%, rgba(91,160,207,.10) 35%, transparent 70%);
  transform: translate3d(-50%, -50%, 0);
  z-index: -1;
  opacity: 0;
  transition: opacity .35s var(--ease-out);
  mix-blend-mode: screen;
  filter: blur(12px);
}
.hero:hover .hero-cursor { opacity: 1; }

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.hero-particles span {
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91,160,207,.55) 0%, rgba(91,160,207,0) 70%);
  opacity: .8;
  animation: particle-float 22s var(--ease-in-out) infinite;
}
.hero-particles span:nth-child(1) { left: 12%; top: 30%; width: 8px;  height: 8px; animation-delay: 0s;     animation-duration: 28s; }
.hero-particles span:nth-child(2) { left: 22%; top: 70%; width: 5px;  height: 5px; animation-delay: -3s;    animation-duration: 24s; }
.hero-particles span:nth-child(3) { left: 48%; top: 18%; width: 4px;  height: 4px; animation-delay: -8s;    animation-duration: 32s; opacity: .55; }
.hero-particles span:nth-child(4) { left: 65%; top: 60%; width: 7px;  height: 7px; animation-delay: -14s;   animation-duration: 26s; }
.hero-particles span:nth-child(5) { left: 84%; top: 40%; width: 5px;  height: 5px; animation-delay: -19s;   animation-duration: 30s; opacity: .65; }
.hero-particles span:nth-child(6) { left: 92%; top: 78%; width: 6px;  height: 6px; animation-delay: -10s;   animation-duration: 22s; }
@keyframes particle-float {
  0%   { transform: translate(0,0)   scale(1);   opacity: .25; }
  25%  { transform: translate(20px,-30px) scale(1.2); opacity: .8; }
  50%  { transform: translate(-15px,20px) scale(.85); opacity: .5; }
  75%  { transform: translate(25px,15px) scale(1.1); opacity: .9; }
  100% { transform: translate(0,0)   scale(1);   opacity: .25; }
}

/* =========================================================================
   3D TILT (team cards only)
   ========================================================================= */
.team-grid {
  perspective: 1200px;
}
.team-card {
  transform-style: preserve-3d;
  will-change: transform;
}
.team-card .team-info,
.team-card .team-portrait {
  transform-style: preserve-3d;
}
/* a small floating sheen on hover */
.team-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.18) 50%, transparent 70%);
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s var(--ease-out);
  z-index: 4;
  mix-blend-mode: overlay;
}
.team-card:hover::after { opacity: 1; }

/* =========================================================================
   MAGNETIC BUTTON (micro-translate handled by JS)
   ========================================================================= */
.btn { will-change: transform; }
.btn span, .btn .btn-icon {
  position: relative;
  z-index: 1;
  transition: transform .25s var(--ease-out);
}

/* =========================================================================
   SERVICE ICONS — draw-in stroke animation on first reveal
   ========================================================================= */
.service-icon {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 1.6s var(--ease-soft) .15s, transform .4s var(--ease-soft);
}
.service[data-reveal].is-visible .service-icon {
  stroke-dashoffset: 0;
}

/* =========================================================================
   SECTION DIVIDER GLYPH (between major sections, decorative)
   ========================================================================= */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-block: clamp(20px, 3vw, 40px);
  color: var(--ink-mute);
}
.section-divider::before,
.section-divider::after {
  content: "";
  flex: 0 1 90px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--rule-strong) 50%, transparent 100%);
}
.section-divider .glyph {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--accent);
  font-variation-settings: 'opsz' 36;
}

/* =========================================================================
   HERO TITLE — subtle gradient highlight on each render
   ========================================================================= */
.hero-title .em {
  background: linear-gradient(90deg, var(--accent-deep) 0%, var(--accent) 50%, var(--accent-deep) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: title-gradient 14s linear infinite;
}
@keyframes title-gradient {
  0% { background-position: 0% 50%; }
  100% { background-position: 220% 50%; }
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1100px) {
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 0.85rem; }
}

@media (max-width: 960px) {
  .nav-links {
    position: fixed;
    inset: calc(var(--status-h) + 78px) 0 auto 0;
    flex-direction: column;
    background: rgba(244, 248, 251, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 32px var(--gutter);
    gap: 22px;
    align-items: flex-start;
    border-bottom: 1px solid var(--rule);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s, transform .3s var(--ease-out);
  }
  .nav-links.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .nav-links a { font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); padding: 11px 0; }
  .menu-toggle { display: inline-flex; }

  .about-grid { grid-template-columns: 1fr; }
  .about-portrait { position: relative; top: 0; width: 100%; max-width: 480px; margin: 0 auto; }

  .offer-card { flex: 0 0 calc((100% - clamp(20px, 2.5vw, 36px)) / 2); }
  .services-head, .visit-head, .team-head, .offers-head { grid-template-columns: 1fr; gap: 20px; }
  .visit-grid { grid-template-columns: 1fr; }

  .team-card--hero { width: 70%; }
  .team-assistants { width: 90%; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .footer-brand { grid-column: 1 / -1; }

  .hide-on-mobile { display: none !important; }
  .show-on-mobile { display: inline-flex !important; }
}

@media (max-width: 640px) {
  .hero-lede { margin-top: 30px; }
  .hero-actions { margin-top: 42px; gap: 12px; display: flex; width: 100%; }
  .hero-meta { display: none; }
  .scroll-cue { display: none; }
  .hero-photo { display: none; }
  .offer-card { flex: 0 0 100%; }
  .service-desc {
    padding-left: clamp(16px, 2.5vw, 32px);
  }
  .team-card--hero { width: 100%; }
  .team-assistants { width: 100%; grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .map-wrap { aspect-ratio: 4 / 3; }
  .map-overlay { left: 12px; bottom: 12px; padding: 14px 16px; }
  .lang-switch button { padding: 11px 9px; font-size: 0.6875rem; }
  .menu-toggle { width: 44px; height: 44px; }
  .brand-text { display: none; }
  .nav-right { gap: 10px; }
  .nav { gap: 12px; }
}
