/* ============================================================================
   Alterax — colors_and_type.css
   Experience Before Existence.
   ----------------------------------------------------------------------------
   Dark-first design system. All tokens below are the canonical source.
   Import this file directly, or copy the :root block into your own stylesheet.
   ========================================================================= */

/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("assets/inter_0.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/inter_1.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/inter_2.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/inter_3.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/inter_4.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/inter_5.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/inter_6.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/inter_0.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/inter_1.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/inter_2.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/inter_3.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/inter_4.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/inter_5.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/inter_6.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/inter_0.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/inter_1.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/inter_2.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/inter_3.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/inter_4.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/inter_5.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/inter_6.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/inter_0.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/inter_1.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/inter_2.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/inter_3.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/inter_4.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/inter_5.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/inter_6.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/inter_0.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/inter_1.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/inter_2.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/inter_3.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/inter_4.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/inter_5.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/inter_6.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/inter_7.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/inter_8.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/inter_9.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/inter_10.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/inter_11.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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/inter_12.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/inter_7.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/inter_8.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/inter_9.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/inter_10.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/inter_11.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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/inter_12.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/inter_7.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/inter_8.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/inter_9.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/inter_10.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/inter_11.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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/inter_12.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;
}


:root {
  /* ----------------------------------------------------------------------
     1. PALETTE — raw values. Refer to semantic tokens below in your code.
     ---------------------------------------------------------------------- */

  /* Ink — slightly-warm neutral ramp (10 steps + pure ends) */
  --ink-0:    #FFFFFF;
  --ink-50:   #F4F2EC;  /* warm paper */
  --ink-100:  #E8E5DD;
  --ink-200:  #C9C6BE;
  --ink-300:  #9B9892;
  --ink-400:  #6E6C68;
  --ink-500:  #4A4845;
  --ink-600:  #2E2D2B;
  --ink-700:  #1C1B1A;
  --ink-800:  #141417;  /* surface elevated (dark) */
  --ink-900:  #0B0B0D;  /* surface (dark, default) */
  --ink-950:  #050507;  /* surface deep / void */

  /* Accent — Dusk Amber (primary recommendation) */
  --amber-300: #F8CC9A;
  --amber-400: #F2B677;
  --amber-500: #E8A15A;  /* DEFAULT accent */
  --amber-600: #C9824A;
  --amber-700: #9E6238;

  /* Alternates (documented, not in active rotation) */
  --alt-sapphire-500: #3D6FFF;   /* spatial / tech direction */
  --alt-mint-400:     #9FE6C8;   /* calm / distinctive direction */

  /* Status — desaturated, never candy */
  --success-500: #84D0A8;
  --warning-500: #F2C36B;
  --danger-500:  #E8746A;
  --info-500:    #7FB6E8;

  /* ----------------------------------------------------------------------
     2. SEMANTIC TOKENS — dark mode is default. .theme-light flips below.
     Use these in components — not raw palette values.
     ---------------------------------------------------------------------- */

  /* Surface */
  --surface:           var(--ink-900);
  --surface-elevated:  var(--ink-800);
  --surface-deep:      var(--ink-950);
  --surface-overlay:   rgba(11, 11, 13, 0.72);

  /* Text */
  --text-primary:    var(--ink-50);
  --text-secondary:  var(--ink-300);
  --text-muted:      var(--ink-400);
  --text-inverse:    var(--ink-900);
  --text-accent:     var(--amber-500);

  /* Border */
  --border:          rgba(255, 255, 255, 0.08);
  --border-strong:   rgba(255, 255, 255, 0.14);
  --border-accent:   var(--amber-500);

  /* Accent */
  --accent:          var(--amber-500);
  --accent-hover:    var(--amber-400);
  --accent-pressed:  var(--amber-600);
  --accent-fg:       var(--ink-900);  /* readable on amber */
  --accent-glow:     0 0 32px rgba(232, 161, 90, 0.32);

  /* Status semantic */
  --success:  var(--success-500);
  --warning:  var(--warning-500);
  --danger:   var(--danger-500);

  /* ----------------------------------------------------------------------
     3. TYPOGRAPHY
     Primary sans: Inter. Mono accent: JetBrains Mono. No serifs.
     ---------------------------------------------------------------------- */

  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system,
               "Segoe UI", Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo,
               Consolas, monospace;

  /* Type scale — 8pt-aware */
  --fs-caption:    11px;   --lh-caption:    16px;
  --fs-micro:      12px;   --lh-micro:      16px;
  --fs-small:      13px;   --lh-small:      20px;
  --fs-body:       15px;   --lh-body:       24px;
  --fs-body-lg:    17px;   --lh-body-lg:    28px;
  --fs-h6:         18px;   --lh-h6:         24px;
  --fs-h5:         20px;   --lh-h5:         28px;
  --fs-h4:         24px;   --lh-h4:         32px;
  --fs-h3:         32px;   --lh-h3:         40px;
  --fs-h2:         44px;   --lh-h2:         52px;
  --fs-h1:         64px;   --lh-h1:         72px;
  --fs-display:    88px;   --lh-display:    96px;
  --fs-display-xl: 120px;  --lh-display-xl: 116px;

  /* Tracking — Inter is geometric enough that headlines benefit from tightening */
  --tracking-display: -0.03em;
  --tracking-heading: -0.02em;
  --tracking-body:    0;
  --tracking-label:   0.02em;
  --tracking-wide:    0.16em;   /* hoarding / "POWERED BY" / section eyebrows */
  --tracking-mono:    0.02em;

  /* Weights */
  --weight-light:   300;
  --weight-regular: 400;
  --weight-medium:  500;
  --weight-semi:    600;
  --weight-bold:    700;

  /* ----------------------------------------------------------------------
     4. SPACING — 8pt base, with 4pt half-step for tight UI
     ---------------------------------------------------------------------- */
  --space-0:   0px;
  --space-1:   2px;    /* hairline */
  --space-2:   4px;
  --space-3:   8px;    /* base unit */
  --space-4:   12px;
  --space-5:   16px;
  --space-6:   24px;
  --space-7:   32px;
  --space-8:   48px;
  --space-9:   64px;
  --space-10:  96px;
  --space-11:  128px;
  --space-12:  192px;  /* architectural margin */

  /* ----------------------------------------------------------------------
     5. RADII — restrained. Big radii break the architectural language.
     ---------------------------------------------------------------------- */
  --radius-xs:    2px;
  --radius-sm:    4px;
  --radius-md:    8px;
  --radius-lg:    12px;
  --radius-xl:    16px;
  --radius-2xl:   24px;
  --radius-pill:  999px;

  /* ----------------------------------------------------------------------
     6. ELEVATION — subtle on dark; the surface itself does most of the work
     ---------------------------------------------------------------------- */
  --shadow-1: 0 1px 0 rgba(255,255,255,0.04) inset,
              0 1px 2px rgba(0,0,0,0.4);
  --shadow-2: 0 1px 0 rgba(255,255,255,0.05) inset,
              0 8px 24px rgba(0,0,0,0.5);
  --shadow-3: 0 1px 0 rgba(255,255,255,0.06) inset,
              0 24px 60px rgba(0,0,0,0.6);

  /* Light-mode shadows are sharper / shorter */
  --shadow-light-1: 0 1px 2px rgba(20,18,15,0.06);
  --shadow-light-2: 0 8px 24px rgba(20,18,15,0.08),
                    0 1px 2px rgba(20,18,15,0.04);

  /* ----------------------------------------------------------------------
     7. MOTION — camera-like, never bouncy
     ---------------------------------------------------------------------- */
  --ease-camera: cubic-bezier(0.16, 0.84, 0.24, 1);  /* SIGNATURE curve */
  --ease-in:     cubic-bezier(0.5, 0, 0.75, 0);
  --ease-out:    cubic-bezier(0.25, 1, 0.5, 1);
  --ease-linear: linear;

  --duration-instant:  120ms;   /* hover / press */
  --duration-quick:    200ms;   /* small UI moves */
  --duration-standard: 400ms;   /* most transitions */
  --duration-spatial:  800ms;   /* zoom into a property, layer change */
  --duration-cinematic: 1600ms; /* hero entrances */

  /* ----------------------------------------------------------------------
     8. LAYOUT
     ---------------------------------------------------------------------- */
  --max-content:   1280px;
  --max-narrow:     720px;
  --gutter:         24px;
  --column-gap:     32px;
}

/* ============================================================================
   LIGHT THEME — secondary surface (warm paper)
   Apply by adding .theme-light to <html> or any scope.
   ========================================================================= */
.theme-light {
  --surface:           var(--ink-50);
  --surface-elevated:  var(--ink-0);
  --surface-deep:      var(--ink-100);
  --surface-overlay:   rgba(244, 242, 236, 0.84);

  --text-primary:    var(--ink-900);
  --text-secondary:  var(--ink-500);
  --text-muted:      var(--ink-400);
  --text-inverse:    var(--ink-50);

  --border:          rgba(20, 18, 15, 0.08);
  --border-strong:   rgba(20, 18, 15, 0.16);

  --accent-fg:       var(--ink-0);  /* white on amber reads well on light */
  --accent-glow:     0 0 0 rgba(0,0,0,0);
}

/* ============================================================================
   ELEMENT DEFAULTS — opinionated reset + base styles
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--surface);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: var(--lh-body);
  font-feature-settings: "ss01", "cv11", "calt";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--amber-500); color: var(--ink-900); }

/* Headings ---------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.4em;
  font-family: var(--font-sans);
  font-weight: var(--weight-semi);
  color: var(--text-primary);
  text-wrap: balance;
}

h1 { font-size: var(--fs-h1); line-height: var(--lh-h1); letter-spacing: var(--tracking-heading); font-weight: var(--weight-medium); }
h2 { font-size: var(--fs-h2); line-height: var(--lh-h2); letter-spacing: var(--tracking-heading); font-weight: var(--weight-medium); }
h3 { font-size: var(--fs-h3); line-height: var(--lh-h3); letter-spacing: var(--tracking-heading); font-weight: var(--weight-medium); }
h4 { font-size: var(--fs-h4); line-height: var(--lh-h4); letter-spacing: var(--tracking-heading); }
h5 { font-size: var(--fs-h5); line-height: var(--lh-h5); }
h6 { font-size: var(--fs-h6); line-height: var(--lh-h6); }

/* Display utilities ------------------------------------------------------- */
.display    { font-size: var(--fs-display);    line-height: var(--lh-display);    letter-spacing: var(--tracking-display); font-weight: var(--weight-medium); }
.display-xl { font-size: var(--fs-display-xl); line-height: var(--lh-display-xl); letter-spacing: var(--tracking-display); font-weight: var(--weight-light); }

/* Body -------------------------------------------------------------------- */
p { margin: 0 0 1em; max-width: 64ch; text-wrap: pretty; }
.text-lg { font-size: var(--fs-body-lg); line-height: var(--lh-body-lg); }
.text-sm { font-size: var(--fs-small);   line-height: var(--lh-small); }
.text-micro { font-size: var(--fs-micro); line-height: var(--lh-micro); }

.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }
.text-accent { color: var(--accent); }

/* Mono — for coordinates, metadata, project codes, scale bars */
code, kbd, samp, pre, .mono {
  font-family: var(--font-mono);
  font-size: 0.92em;
  letter-spacing: var(--tracking-mono);
  font-feature-settings: "ss01", "calt";
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: var(--weight-medium);
}

.label-wide {
  font-family: var(--font-sans);
  font-size: var(--fs-micro);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  font-weight: var(--weight-medium);
}

/* ----------------------------------------------------------------------
   LOCKUP — composed primary brand lockup (monogram PNG + live wordmark).
   Used everywhere the full PNG lockup would have been, until a new
   "ALTERAX" wordmark is drawn into the supplied logo art.
   ---------------------------------------------------------------------- */
.lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.72em;          /* gap scales with --lockup-size */
  font-size: var(--lockup-size, 24px);
  line-height: 1;
  color: var(--text-primary);
}
.lockup-mark {
  height: 1.32em;        /* monogram cap-height ≈ wordmark cap-height ×1.32 */
  width: auto;
  display: block;
}
.lockup-word {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.78em;     /* wordmark sits visually shorter than monogram */
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-300);  /* mid-grey, matching the original wordmark tone */
  white-space: nowrap;
  transform: translateY(0.06em);   /* optical baseline alignment */
}
.theme-light .lockup-word,
.lockup--on-light .lockup-word { color: var(--ink-500); }

/* Links ------------------------------------------------------------------- */
a {
  color: var(--text-primary);
  text-decoration: none;
  border-bottom: 1px solid var(--border-strong);
  transition: color var(--duration-quick) var(--ease-camera),
              border-color var(--duration-quick) var(--ease-camera);
}
a:hover { color: var(--accent); border-color: var(--accent); }

/* Horizontal rule --------------------------------------------------------- */
hr { border: 0; border-top: 1px solid var(--border); margin: var(--space-7) 0; }

/* Focus ring -------------------------------------------------------------- */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--radius-xs);
}

/* =========================================================================
   Alterax website — site.css
   Tokens come from colors_and_type.css. This file is page-level only.
   ========================================================================= */

:root {
  --site-max: 1600px;
  --gutter-x: 64px;
  --section-gap: 96px;
}

[data-density="compact"] { --section-gap: 128px; }
[data-density="spacious"] { --section-gap: 240px; }

html, body { background: var(--surface); }
body {
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11", "calt";
  overflow-x: hidden;
}

a { border: 0; }

/* ----- Page shell -------------------------------------------------------- */
.site {
  min-height: 100vh;
  background: var(--surface);
  color: var(--text-primary);
}

.container {
  width: 100%;
  max-width: var(--site-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter-x);
  padding-right: var(--gutter-x);
}

/* ----- Nav --------------------------------------------------------------- */
/* ---- Liquid-glass floating nav ------------------------------------------ */
.nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px 10px 20px;
  width: calc(100% - 48px);
  max-width: 920px;
  background: rgba(9, 9, 13, 0.44);
  backdrop-filter: blur(52px) saturate(190%) brightness(1.04);
  -webkit-backdrop-filter: blur(52px) saturate(190%) brightness(1.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 18px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -1px 0 rgba(0, 0, 0, 0.18),
    0 8px 32px rgba(0, 0, 0, 0.42),
    0 2px 8px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(0, 0, 0, 0.14);
  transition:
    background 320ms var(--ease-camera),
    box-shadow 320ms var(--ease-camera),
    border-color 320ms var(--ease-camera);
}
.nav.scrolled {
  background: rgba(7, 7, 11, 0.74);
  border-color: rgba(255, 255, 255, 0.13);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.17),
    inset 0 -1px 0 rgba(0, 0, 0, 0.22),
    0 16px 48px rgba(0, 0, 0, 0.54),
    0 4px 16px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(0, 0, 0, 0.22);
}

.nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-brand img { height: 28px; width: auto; display: block; }
.nav-wordmark {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-primary);
}

/* nested glass pill housing the links */
.nav-links {
  display: flex;
  gap: 8px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 12px;
  padding: 3px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}
.nav-link {
  background: none;
  border: 0;
  color: var(--text-secondary);
  font: inherit;
  font-size: 13.5px;
  font-weight: 500;
  padding: 7px 15px;
  border-radius: 9px;
  cursor: pointer;
  letter-spacing: -0.005em;
  text-decoration: none;
  display: block;
  white-space: nowrap;
  transition:
    color 150ms var(--ease-camera),
    background 150ms var(--ease-camera),
    box-shadow 150ms var(--ease-camera);
  position: relative;
}
.nav-link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.09);
}
.nav-link.active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.13);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(0, 0, 0, 0.12),
    0 1px 4px rgba(0, 0, 0, 0.28);
}
.nav-link.active::after { display: none; }

/* ----- Buttons ----------------------------------------------------------- */
.btn {
  --bg: var(--accent);
  --fg: var(--accent-fg);
  --br: var(--accent);
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--bg); color: var(--fg);
  border: 1px solid var(--br);
  font: 500 14px/1 var(--font-sans);
  letter-spacing: -0.005em;
  padding: 12px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 160ms var(--ease-camera), color 160ms var(--ease-camera), border-color 160ms var(--ease-camera), transform 120ms var(--ease-camera);
}
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn:active { background: var(--accent-pressed); transform: translateY(1px); }
.btn .arrow {
  display: inline-flex;
  transition: transform 200ms var(--ease-camera);
}
.btn:hover .arrow { transform: translate(3px, -3px); }
.btn-secondary {
  --bg: transparent;
  --fg: var(--text-primary);
  --br: var(--border-strong);
}
.btn-secondary:hover { --bg: transparent; --br: var(--text-primary); background: transparent; }
.btn-secondary:hover { color: var(--text-primary); }
.btn-ghost {
  --bg: transparent;
  --fg: var(--text-secondary);
  --br: transparent;
  padding: 10px 14px;
}
.btn-ghost:hover { color: var(--text-primary); background: rgba(255,255,255,0.04); border-color: transparent; }
.btn-lg { padding: 15px 22px; font-size: 15px; }
.btn-xl { padding: 20px 28px; font-size: 16px; }

/* Text link */
.tlink {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--text-primary);
  font-size: 15px; font-weight: 500;
  cursor: pointer;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 160ms var(--ease-camera), border-color 160ms var(--ease-camera);
}
.tlink:hover { color: var(--accent); border-bottom-color: var(--accent); }
.tlink .arrow { transition: transform 200ms var(--ease-camera); }
.tlink:hover .arrow { transform: translateX(4px); }

/* ----- Eyebrow / mono labels -------------------------------------------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--text-muted);
}
.eyebrow.eyebrow-accent { color: var(--accent); }
.eyebrow.eyebrow-accent::before { background: var(--accent); }

.mono {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: var(--tracking-mono);
  color: var(--text-muted);
}

/* ----- Section primitives ----------------------------------------------- */
.section { padding-top: var(--section-gap); position: relative; }
.section-marker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex; justify-content: space-between;
  padding-bottom: 28px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
  margin-bottom: 48px;
}

/* =========================================================================
   1. HERO
   ========================================================================= */
/* Hero is a tall scroll TRACK; the stage pins inside it via sticky.
   The length of the track is the runway for the dive transition. */
.hero {
  position: relative;
  min-height: 280vh;
}

/* The pinned stage — sticks to the viewport while you scroll the track,
   then releases naturally when the track ends. No JS position swapping. */
.hero-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  isolation: isolate;
}

#thesis {
  padding-top: 48px;
}
.hero a, .hero button { cursor: pointer; }

/* WebGL canvas — fills the pinned stage edge to edge */
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  display: block;
}

/* Foreground UI layer — centred column, exits independently on scroll */
.hero-fg {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  max-width: var(--site-max);
  margin: 0 auto;
  padding: 140px var(--gutter-x) 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transform-origin: 50% 40%;
  will-change: transform, opacity;
}

/* Vignette gradient for text readability */
.hero-bg-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(to top, #0B0B0D 0%, rgba(11,11,13,0.55) 10%, transparent 28%),
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(4,4,12,0.7) 0%, transparent 65%),
    linear-gradient(to right, rgba(4,4,12,0.55) 0%, transparent 40%, transparent 60%, rgba(4,4,12,0.3) 100%),
    linear-gradient(to bottom, rgba(4,4,12,0.5) 0%, transparent 25%);
}

/* All hero children above canvas + vignette */
.hero-watermark,
.hero-layout,
.hero-meta {
  position: relative;
  z-index: 2;
}

/* Entrance animation */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-layout {
  animation: heroFadeUp 1.1s var(--ease-camera) 0.25s both;
}
.hero-meta {
  animation: heroFadeUp 1.1s var(--ease-camera) 0.55s both;
}

/* Hero inner split layout */
.hero-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
  width: 100%;
}

.hero-render-stage { display: none; }

.hero-eyebrow { margin-bottom: 40px; display: inline-flex; }
.hero-headline {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: clamp(48px, 6.5vw, 100px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  margin: 24px 0 32px;
  color: var(--text-primary);
  text-wrap: balance;
  max-width: none;
}
.hero-headline .muted { color: var(--text-muted); }
.hero-sub {
  font-size: 19px;
  line-height: 30px;
  max-width: 520px;
  color: var(--text-secondary);
  margin: 0 0 48px;
  letter-spacing: -0.005em;
}
.hero-ctas { display: flex; align-items: center; gap: 20px; }

.hero-meta {
  position: absolute;
  bottom: 64px;
  right: var(--gutter-x);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: var(--tracking-mono);
  text-align: right;
  line-height: 18px;
}
.hero-meta .live::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--accent);
  margin-right: 8px;
  vertical-align: 1px;
  animation: pulse 2s var(--ease-camera) infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(232,161,90,0.5); }
  50% { box-shadow: 0 0 0 6px rgba(232,161,90,0); }
}

/* Faint coordinate watermark in hero — sits in the left gutter */
.hero-watermark {
  position: absolute;
  bottom: 64px;
  left: 8px;
  transform: rotate(-90deg);
  transform-origin: left bottom;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0.55;
  white-space: nowrap;
}

/* Hero embedded render (only in split composition) */
.hero-render {
  position: relative;
  height: 580px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface-elevated);
}

/* =========================================================================
   2. WEBVERSE STAGE — the big visual moment
   ========================================================================= */
.stage-wrap {
  margin-top: 80px;
  padding-left: var(--gutter-x);
  padding-right: var(--gutter-x);
}
.stage-wrap-inner {
  width: 100%;
}
.stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface-deep);
  box-shadow: var(--shadow-3);
}
.stage-render {
  position: absolute; inset: 0;
  overflow: hidden;
}
.stage-sky {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
}

/* Hero focused tower glow (architectural anchor) */
.stage-tower {
  position: absolute;
  left: 58%; top: 28%;
  width: 3px; height: 240px;
  background: linear-gradient(to bottom, var(--accent) 0%, rgba(232,161,90,0.3) 60%, transparent 100%);
  opacity: 0.85;
  box-shadow: 0 0 24px rgba(232,161,90,0.6);
  z-index: 2;
}
.stage-tower::after {
  content: '';
  position: absolute; left: -4px; top: -6px;
  width: 10px; height: 10px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 16px rgba(232,161,90,0.9);
}

/* HUD elements on stage */
.hud {
  position: absolute;
  padding: 10px 14px;
  background: rgba(11, 11, 13, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-secondary);
  letter-spacing: var(--tracking-mono);
  line-height: 1.5;
}
.hud-tl { top: 24px; left: 24px; display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.hud-tl .pip {
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--accent);
  animation: pulse 2s var(--ease-camera) infinite;
}
.hud-tr {
  top: 24px; right: 24px;
  padding: 4px;
  display: flex; flex-direction: column; gap: 2px;
}
.hud-tr button {
  width: 34px; height: 34px;
  background: transparent; border: 0;
  color: var(--text-muted);
  cursor: pointer; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  transition: all 160ms var(--ease-camera);
}
.hud-tr button:hover { color: var(--text-primary); background: rgba(255,255,255,0.04); }
.hud-tr button.on { background: var(--accent); color: var(--accent-fg); }
.hud-bl { bottom: 24px; left: 24px; padding: 0; background: transparent; backdrop-filter: none; border: 0; display: flex; align-items: center; gap: 12px; color: var(--text-muted); }
.scale-bar {
  width: 180px; height: 4px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  position: relative;
}
.scale-bar > div {
  position: absolute; inset: 0;
  width: 46%;
  background: var(--accent);
}
.hud-br {
  bottom: 24px; right: 24px;
  text-align: right;
  color: var(--text-muted);
  font-size: 10.5px;
}
.hud-br .acc { color: var(--accent); }

/* Stage caption strip */
.stage-caption {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: var(--tracking-mono);
  color: var(--text-muted);
}
.stage-caption .left { display: flex; gap: 24px; }
.stage-caption .left .name { color: var(--text-secondary); }

/* ── Hero → thesis seam ──────────────────────────────────────────────────── */
#thesis::before {
  content: '';
  display: block;
  height: 1px;
  background: linear-gradient(to right, transparent 0%, rgba(232,161,90,0.28) 30%, rgba(232,161,90,0.50) 50%, rgba(232,161,90,0.28) 70%, transparent 100%);
  margin-bottom: 48px;
}

/* =========================================================================
   3. PILLARS — three thesis statements
   ========================================================================= */
.pillars-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 64px;
  gap: 48px;
}
.pillars-head h2 {
  font-weight: 400;
  font-size: clamp(32px, 3.2vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 18ch;
  margin: 0;
  flex: 1;
  color: var(--text-primary);
}
.pillars-head .pillars-intro {
  max-width: 380px;
  font-size: 16px;
  line-height: 26px;
  color: var(--text-secondary);
  margin: 0;
  flex-shrink: 0;
  align-self: center;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
}
.pillar {
  padding: 48px 36px 48px;
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column;
  gap: 20px;
  position: relative;
  min-height: 0;
  overflow: hidden;
  will-change: transform;
  transform-origin: center center;
}

.pillar-glare {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,0.09) 0%, rgba(255,255,255,0) 65%);
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 1;
}
.pillar:last-child { border-right: 0; }
.pillar-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}
.pillar h3 {
  font-weight: 400;
  font-size: 26px;
  line-height: 32px;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: none;
}
.pillar p {
  font-size: 15px;
  line-height: 24px;
  color: var(--text-secondary);
  margin: 0;
  max-width: none;
}
.pillar .pillar-stat {
  margin-top: auto;
  padding-top: 32px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.pillar .pillar-stat .big {
  font-family: var(--font-sans);
  font-size: 40px;
  letter-spacing: -0.02em;
  text-transform: none;
  font-weight: 300;
  color: var(--accent);
  line-height: 1;
}

/* =========================================================================
   4. WEBVERSE — the hero product section
   ========================================================================= */
.webverse-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 80px;
}
.webverse-head h2 {
  font-weight: 300;
  font-size: clamp(48px, 6.4vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 0;
  max-width: 11ch;
}
.webverse-head .desc {
  font-size: 17px;
  line-height: 28px;
  color: var(--text-secondary);
  max-width: 440px;
  margin: 0 0 0 auto;
}

/* Zoom-sequence preview: stacked frames showing globe→city→tower→unit */
.zoom-rail {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-bottom: 48px;
}
.zoom-cell {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 14px;
}
.zoom-cell .label {
  position: relative;
  z-index: 4;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: var(--tracking-wide);
  color: var(--text-secondary);
  line-height: 1.4;
}
.zoom-cell .label .n {
  display: block;
  color: var(--text-muted);
  font-size: 9px;
  margin-bottom: 4px;
}
.zoom-cell::before {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 38%;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.72) 65%, rgba(0,0,0,0.95));
  z-index: 3;
  pointer-events: none;
}
/* Each cell has a distinct base tint; SVG provides the actual visual */
.zoom-cell[data-frame="globe"]         { background: radial-gradient(ellipse at 50% 50%, #0a1525 0%, #050810 80%); }
.zoom-cell[data-frame="neighbourhood"] { background: linear-gradient(180deg, #1d2820 0%, #06100a 90%); }
.zoom-cell[data-frame="tower"]         { background: linear-gradient(180deg, #2a2018 0%, #08060a 90%); }
.zoom-cell[data-frame="amenities"]     { background: linear-gradient(180deg, #1c241c 0%, #060a08 90%); }
.zoom-cell[data-frame="floor"]         { background: #0c0a08; }
.zoom-cell[data-frame="view"]          { background: linear-gradient(180deg, #2a3955 0%, #1c2848 25%, #2c2218 55%, #14100a 80%, #0a0805 100%); }

.zoom-svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
  z-index: 1;
}

.crosshair-svg {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 22px; height: 22px;
  opacity: 0.75;
  z-index: 4;
}

.zoom-cell .crosshair {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  z-index: 4;
  width: 24px; height: 24px;
  opacity: 0.7;
}
.zoom-cell .crosshair::before, .zoom-cell .crosshair::after {
  content: '';
  position: absolute;
  background: var(--accent);
}
.zoom-cell .crosshair::before { left: 50%; top: 0; bottom: 0; width: 1px; }
.zoom-cell .crosshair::after  { top: 50%; left: 0; right: 0; height: 1px; }

/* Webverse capability lines */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 64px;
  border-top: 1px solid var(--border);
  padding-top: 48px;
}
.cap {
  display: flex; flex-direction: column; gap: 12px;
}
.cap .label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--text-muted);
}
.cap h4 {
  font-size: 20px;
  line-height: 26px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--text-primary);
}
.cap p {
  font-size: 14px;
  line-height: 22px;
  color: var(--text-secondary);
  margin: 0;
  max-width: 30ch;
}

/* =========================================================================
   5. WORK — built with builders (DSR)
   ========================================================================= */
.work-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 48px;
}
.work-head h2 {
  font-weight: 300;
  font-size: clamp(40px, 5.2vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin: 0;
  max-width: 16ch;
}
.work-head .partner {
  display: flex; align-items: flex-end; flex-direction: column; gap: 16px;
  margin: 0 0 0 auto;
}
.dsr-mark {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--text-secondary);
  white-space: nowrap;
}
.dsr-mark .dot {
  width: 18px; height: 18px;
  border-radius: 4px;
  background: var(--text-primary);
  color: var(--surface);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0;
}
.partner-line {
  font-size: 15px;
  line-height: 24px;
  color: var(--text-secondary);
  max-width: 360px;
  text-align: right;
  margin: 0;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.work-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface-elevated);
  transition: transform 600ms var(--ease-camera), border-color 200ms var(--ease-camera);
  text-decoration: none;
  display: block;
}
.work-card.live { cursor: pointer; }
.work-card.live:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.work-card.dim { cursor: default; pointer-events: none; user-select: none; }
.work-card.dim .render { filter: grayscale(0.4) brightness(0.7); }
.work-card.dim .meta h3,
.work-card.dim .meta .code,
.work-card.dim .meta .loc { color: rgba(244,242,236,0.55); }
.work-card.dim:hover { border-color: var(--border); transform: none; }

/* COMING SOON badge variant */
.work-card .top-badge.soon {
  color: var(--text-muted);
  background: rgba(11,11,13,0.7);
  border-color: var(--border-strong);
}

/* Coming-soon overlay graphic — centered lock + caption */
.soon-overlay {
  position: absolute; inset: 0;
  z-index: 4;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 14px;
  pointer-events: none;
}
.soon-lock {
  width: 32px; height: 32px;
  color: var(--text-muted);
  opacity: 0.85;
}
.soon-cap {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--text-secondary);
  padding: 7px 12px;
  background: rgba(11,11,13,0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  white-space: nowrap;
}
.work-card.span-3 { grid-column: span 3; aspect-ratio: 4 / 3; }
.work-card.span-2 { grid-column: span 2; aspect-ratio: 4 / 5; }
.work-card .render {
  position: absolute; inset: 0;
  transition: transform 800ms var(--ease-camera);
  overflow: hidden;
}
.work-card:hover .render { transform: scale(1.03); }
.work-card.dim:hover .render { transform: none; }
.work-card .render .render-tint {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,0.92));
  z-index: 2;
  pointer-events: none;
}
.work-sil {
  position: absolute; left: 0; right: 0; bottom: 0;
  width: 100%; height: 62%;
  display: block;
  z-index: 1;
}
.work-card .meta {
  position: absolute;
  left: 24px; right: 24px; bottom: 24px;
  z-index: 1;
  display: flex; flex-direction: column;
  gap: 8px;
}
.work-card .meta .code {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: rgba(244,242,236,0.55);
}
.work-card .meta h3 {
  font-size: 28px;
  line-height: 32px;
  letter-spacing: -0.02em;
  font-weight: 500;
  margin: 0;
  color: var(--text-primary);
}
.work-card .meta .loc {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: var(--tracking-mono);
  color: rgba(244,242,236,0.65);
}
.work-card .top-badge {
  position: absolute;
  top: 20px; left: 20px;
  z-index: 1;
  padding: 6px 10px;
  background: rgba(11,11,13,0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--text-secondary);
  display: inline-flex; align-items: center; gap: 8px;
  white-space: nowrap;
}
.work-card .top-badge .pip {
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(232,161,90,0.6);
}
.work-card .pba {
  position: absolute;
  top: 20px; right: 20px;
  z-index: 1;
  display: flex; align-items: center; gap: 8px;
  padding: 6px 10px 6px 8px;
  background: rgba(11,11,13,0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}
.work-card .pba img { height: 14px; display: block; }

/* =========================================================================
   6. BEYOND THE WEBVERSE — three tiles
   ========================================================================= */
.beyond-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 64px;
  gap: 80px;
}
.beyond-head h2 {
  font-weight: 300;
  font-size: clamp(40px, 5.2vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin: 0;
  max-width: 14ch;
}
.beyond-head p {
  max-width: 380px;
  font-size: 16px;
  line-height: 26px;
  color: var(--text-secondary);
  margin: 0;
}

.beyond-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.beyond-card {
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: border-color 200ms var(--ease-camera);
  display: flex; flex-direction: column;
}
.beyond-card:hover { border-color: var(--border-strong); }
.beyond-card .visual {
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
  background: var(--surface-deep);
  border-bottom: 1px solid var(--border);
}
.beyond-card .visual .label {
  position: absolute;
  top: 16px; left: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--text-muted);
  z-index: 2;
}
.beyond-card .body {
  padding: 28px;
}
.beyond-card h3 {
  font-size: 22px;
  line-height: 28px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin: 0 0 10px;
}
.beyond-card p {
  font-size: 14px;
  line-height: 22px;
  color: var(--text-secondary);
  margin: 0;
}

.bv-svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
  z-index: 1;
}
.beyond-card .visual .label { z-index: 3; }
.bv-wt .play-tri {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 56px; height: 56px;
  border-radius: 999px;
  background: rgba(244,242,236,0.95);
  color: var(--surface-deep);
  display: flex; align-items: center; justify-content: center;
  z-index: 3;
  padding-left: 4px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.bv-wt .play-tri svg { width: 20px; height: 20px; }

/* Beyond — VR */
.bv-vr { background: #0a0807; }

/* Beyond — Walkthrough video */
.bv-wt { background: #0d1322; }

/* Beyond — 3D render */
.bv-rd { background: #0a0805; }

/* =========================================================================
   7. PROOF — VR delivery video
   ========================================================================= */
.proof {
  position: relative;
  margin-left: var(--gutter-x);
  margin-right: var(--gutter-x);
}
.proof-inner {
  max-width: var(--site-max);
  margin: 0 auto;
}
.proof-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, #1a1410 0%, #0a0807 100%);
}
.proof-svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
}
.proof-frame .timecode {
  position: absolute;
  bottom: 24px; left: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: var(--tracking-mono);
  color: rgba(244,242,236,0.7);
  display: flex; align-items: center; gap: 12px;
  padding: 8px 12px;
  background: rgba(11,11,13,0.6);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 4px;
}
.proof-frame .timecode .rec {
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--danger);
  animation: pulse 1.4s ease-in-out infinite;
}
.proof-frame .meta-r {
  position: absolute; bottom: 24px; right: 24px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-align: right;
  color: rgba(244,242,236,0.55);
  letter-spacing: var(--tracking-mono);
  line-height: 1.5;
}
.proof-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 80px; height: 80px;
  border: 0;
  border-radius: 999px;
  background: rgba(244,242,236,0.96);
  color: var(--surface-deep);
  backdrop-filter: blur(20px);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: transform 200ms var(--ease-camera);
  z-index: 3;
  padding-left: 4px;
}
.proof-play:hover { transform: translate(-50%, -50%) scale(1.05); }
.proof-play svg { width: 24px; height: 24px; }
.proof-caption {
  display: flex; justify-content: space-between;
  margin-top: 28px;
  font-size: 14px;
  color: var(--text-secondary);
}
.proof-caption .mono {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--text-muted);
}

/* =========================================================================
   8. CLOSING CTA
   ========================================================================= */
.closing {
  text-align: center;
  padding: 100px var(--gutter-x) 120px;
  position: relative;
}
.closing::before {
  content: '';
  position: absolute;
  left: 50%; top: 0;
  transform: translateX(-50%);
  width: 80%;
  max-width: 1200px;
  height: 1px;
  background: var(--border);
}
.closing .eyebrow { justify-content: center; margin-bottom: 32px; }
.closing h2 {
  font-weight: 300;
  font-size: clamp(48px, 7vw, 108px);
  line-height: 0.96;
  letter-spacing: -0.04em;
  margin: 0 auto 56px;
  max-width: 16ch;
}
.closing h2 .muted { color: var(--text-muted); }
.closing .closing-cta { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.closing .or-link {
  font-size: 13px;
  color: var(--text-muted);
}
.closing .or-link a,
.closing .or-link button {
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-strong);
  padding-bottom: 1px;
  transition: color 160ms var(--ease-camera), border-color 160ms var(--ease-camera);
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  cursor: pointer;
  font: inherit;
  font-size: inherit;
  padding-left: 0;
  padding-right: 0;
}
.closing .or-link a:hover,
.closing .or-link button:hover { color: var(--accent); border-color: var(--accent); }

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer {
  border-top: 1px solid var(--border);
  padding: 80px var(--gutter-x) 48px;
  background: var(--surface-deep);
}
.footer-inner {
  width: 100%;
  max-width: var(--site-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-brand { padding-right: 40px; }
.footer-brand img { height: 56px; width: auto; display: block; margin-bottom: 28px; }
.footer-brand .signature {
  font-size: 28px;
  line-height: 34px;
  letter-spacing: -0.02em;
  font-weight: 300;
  margin: 0 0 28px;
  color: var(--text-primary);
}
.footer-brand .contact {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: var(--tracking-mono);
  line-height: 1.7;
}
.footer-brand .contact a {
  color: var(--text-secondary);
  border: 0;
}
.footer-brand .contact a:hover { color: var(--accent); }

.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 20px;
}
.footer-col ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.footer-col a {
  font-size: 14px;
  color: var(--text-secondary);
  border: 0;
}
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  max-width: var(--site-max);
  margin: 80px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: var(--tracking-mono);
  color: var(--text-muted);
}

/* =========================================================================
   ICON HELPER
   ========================================================================= */
.icn {
  width: 1em; height: 1em;
  stroke: currentColor; fill: none;
  stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
  display: inline-block;
  vertical-align: -0.12em;
}

/* =========================================================================
   ACCENT VARIANTS — driven by data-accent on .site
   ========================================================================= */
.site[data-accent="sapphire"] {
  --accent: var(--alt-sapphire-500);
  --accent-hover: #5d8aff;
  --accent-pressed: #2855e0;
  --accent-fg: #ffffff;
  --accent-glow: 0 0 32px rgba(61,111,255,0.35);
  --text-accent: var(--alt-sapphire-500);
  --border-accent: var(--alt-sapphire-500);
}
.site[data-accent="mint"] {
  --accent: var(--alt-mint-400);
  --accent-hover: #b6f0d8;
  --accent-pressed: #7fcfb0;
  --accent-fg: var(--ink-900);
  --accent-glow: 0 0 32px rgba(159,230,200,0.35);
  --text-accent: var(--alt-mint-400);
  --border-accent: var(--alt-mint-400);
}

/* =========================================================================
   Alterax — landing-brief.css
   Page-level styles unique to the brief landing page. Loaded AFTER site.css.
   Only adds new classes (team, compact beyond, brief footer) — never edits
   the full homepage's vocabulary.
   ========================================================================= */

/* The brief page runs a touch tighter than the full homepage. */
.site.brief { --section-gap: 80px; }
.site.brief[data-density="compact"]  { --section-gap: 80px; }
.site.brief[data-density="spacious"] { --section-gap: 140px; }

/* =========================================================================
   BEYOND — compact (text-only, matches the pillars grid language)
   ========================================================================= */
.beyond-brief-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 72px;
  gap: 80px;
}
.beyond-brief-head h2 {
  font-weight: 300;
  font-size: clamp(32px, 3.8vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin: 0;
  max-width: none;
  flex: 1;
}
.beyond-brief-head p {
  max-width: 380px;
  font-size: 16px;
  line-height: 26px;
  color: var(--text-secondary);
  margin: 0;
}

.beyond-brief-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.beyond-brief-item {
  padding: 40px 36px 44px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.026);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  overflow: hidden;
  will-change: transform;
  transition:
    background 400ms cubic-bezier(0.4, 0, 0.2, 1),
    border-color 400ms cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 400ms cubic-bezier(0.4, 0, 0.2, 1);
}
.beyond-brief-item:hover {
  background: rgba(255, 255, 255, 0.030);
  border-color: rgba(232, 161, 90, 0.16);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 246, 232, 0.06);
}

/* Cursor-tracking glare: large amber pool + diagonal streak */
.card-glare {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 5;
  opacity: 0;
  transition: opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  background:
    radial-gradient(380px circle at var(--gx, 50%) var(--gy, 50%),
      rgba(255, 246, 232, 0.14) 0%,
      rgba(232, 161, 90, 0.07) 28%,
      rgba(232, 161, 90, 0) 58%),
    linear-gradient(105deg,
      transparent calc(var(--gx, 50%) - 18%),
      rgba(255, 255, 255, 0.07) var(--gx, 50%),
      transparent calc(var(--gx, 50%) + 18%));
  mix-blend-mode: screen;
}
.beyond-brief-item:hover .card-glare { opacity: 1; }


/* icon chip */
.bbi-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(232, 161, 90, 0.10);
  border: 1px solid rgba(232, 161, 90, 0.20);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
  margin-bottom: 2px;
}

.beyond-brief-item .bb-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--text-muted);
}
.beyond-brief-item h3 {
  font-weight: 400;
  font-size: 24px;
  line-height: 30px;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--text-primary);
}
.beyond-brief-item p {
  font-size: 15px;
  line-height: 25px;
  color: var(--text-secondary);
  margin: 0;
  max-width: 34ch;
}


/* =========================================================================
   TEAM — minimal roster (names + roles, no photos)
   ========================================================================= */
.team-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 72px;
  gap: 80px;
}
.team-head h2 {
  font-weight: 300;
  font-size: clamp(40px, 5.2vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin: 0;
  max-width: 15ch;
}
.team-head p {
  max-width: 360px;
  font-size: 16px;
  line-height: 26px;
  color: var(--text-secondary);
  margin: 0;
}


/* =========================================================================
   BRIEF FOOTER — brand + 3 columns (Work column removed)
   ========================================================================= */
.footer-inner.brief {
  grid-template-columns: 2.4fr 1fr 1fr 1fr;
}

/* =========================================================================
   TESTIMONIAL — editorial pull-quote
   ========================================================================= */
.testimonial {
  margin: 0;
  padding: 80px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.testimonial::before {
  content: '\201C';
  position: absolute;
  top: 40px;
  left: -12px;
  font-size: 220px;
  line-height: 1;
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--accent);
  opacity: 0.10;
  pointer-events: none;
  user-select: none;
}

.testimonial-quote {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: clamp(28px, 3.4vw, 54px);
  line-height: 1.16;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin: 0 0 52px;
  max-width: 960px;
  text-wrap: pretty;
}

.testimonial-by {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(15%);
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.12);
}

.testimonial-by-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.testimonial-by .tb-name {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.testimonial-by .tb-role {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: var(--tracking-mono);
  text-transform: uppercase;
  color: var(--text-muted);
}

/* =========================================================================
   RESPONSIVE — collapse the 3-up grids on narrow widths
   ========================================================================= */



/* =========================================================================
   CUSTOM ADDITIONS — appended below original styles
   ========================================================================= */

/* --- Spacing fix: remove inflated multipliers --- */
.section { padding-top: var(--section-gap); padding-bottom: 0; }
/* Override brief section gap to be tight */

.pillars-head { margin-bottom: 64px; }
.beyond-brief-head { margin-bottom: 64px; }
.team-head { margin-bottom: 56px; }

/* =========================================================================
   STUDIO — webverse block (split layout above the 3-column beyond grid)
   ========================================================================= */
.studio-webverse {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 0;
}
.studio-webverse-text .bb-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
}
.studio-webverse-text h2 {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: clamp(32px, 3.2vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin: 0 0 24px;
}
.studio-webverse-text p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0 0 40px;
  max-width: none;
}
.studio-webverse-visual { position: relative; }

/* Webverse mock browser frame */
.webverse-mock {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface-deep);
  box-shadow: 0 32px 80px rgba(0,0,0,0.5);
}
.wm-bar {
  background: var(--surface-elevated);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
}
.wm-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--border);
}
.wm-dot:first-child { background: #FF5F56; }
.wm-dot:nth-child(2) { background: #FFBD2E; }
.wm-dot:nth-child(3) { background: #27C93F; }
.wm-url {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  margin-left: 8px;
}
.wm-screen { display: block; width: 100%; aspect-ratio: 16/9; overflow: hidden; }
.wm-screen-link { display: block; width: 100%; height: 100%; }
.wm-screen-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}
.wm-screen-link:hover .wm-screen-img {
  transform: scale(1.03);
  opacity: 0.92;
}
.wm-caption {
  padding: 12px 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}

/* 4-column grid — full width of wrap */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: transparent;
}

/* Founder card: double-wide, landscape photo — anchors the grid visually */
.team-member.featured {
  grid-column: span 2;
}
.team-member.featured .team-member-photo {
  aspect-ratio: 16 / 9;
}
.team-member.featured .tm-name {
  font-size: 18px;
}

.team-member {
  background: var(--surface-deep);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  position: relative;
  transition: transform 300ms var(--ease-camera), border-color 200ms, box-shadow 300ms;
  display: flex;
  flex-direction: column;
}

.team-member:hover {
  transform: translateY(-5px);
  border-color: rgba(255,255,255,0.16);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
}

/* Photo */
.team-member-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  position: relative;
  background: #111116;
  flex-shrink: 0;
}

.team-member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  filter: grayscale(100%);
  transition: filter 0.4s ease, transform 0.5s ease;
}

.team-member:hover .team-member-photo img {
  filter: grayscale(40%);
  transform: scale(1.04);
}

/* Frosted name bar pinned to bottom of photo */
.team-member-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 18px 18px;
  background: rgba(8, 8, 10, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 0 12px;
}

.team-member .tm-index { display: none; }

.team-member .tm-name {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #fff;
  margin: 0;
  grid-column: 1;
  grid-row: 1;
}

.team-member .tm-role {
  display: block;
  grid-column: 1;
  grid-row: 2;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  margin-top: 3px;
}

/* Amber dot hint */
.team-member-expand {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(232,161,90,0.15);
  border: 1px solid rgba(232,161,90,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  transition: background 0.2s, border-color 0.2s;
}
.team-member:hover .team-member-expand {
  background: var(--accent);
  border-color: var(--accent);
}
.team-member-expand svg { width: 10px; height: 10px; }

/* =========================================================================
   TEAM BIO MODAL
   ========================================================================= */
.team-drawer-overlay {
  display: none;
  position: fixed; inset: 0;
  z-index: 90;
  overflow: hidden;
}
.team-drawer-overlay.open { display: block; }

/* Blurred person photo fills overlay background */
.team-drawer-overlay::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--drawer-bg-photo, none) center/cover no-repeat;
  filter: grayscale(100%) blur(28px) brightness(0.28);
  transform: scale(1.1);
}
.team-drawer-overlay::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.40);
}

/* Modal card */
.team-drawer {
  position: fixed;
  top: 50%;
  left: 50%;
  bottom: auto;
  right: auto;
  transform: translate(-50%, -44%) scale(0.94);
  width: min(640px, calc(100vw - 40px));
  opacity: 0;
  pointer-events: none;
  transition: transform 0.28s cubic-bezier(0.32,0.72,0,1), opacity 0.22s ease;
  z-index: 100;
  border-radius: 16px;
  overflow: hidden;
}
.team-drawer.open {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.team-drawer-inner {
  background: rgba(20, 20, 24, 0.96);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: row;
  gap: 28px;
  align-items: flex-start;
  box-shadow: 0 40px 100px rgba(0,0,0,0.85);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.team-drawer-photo {
  width: 190px;
  height: 250px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: #111116;
}

.team-drawer-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.team-drawer-photo-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #1c1c22, #0e0e14);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 56px;
  font-weight: 200;
  color: rgba(255,255,255,0.12);
}

.team-drawer-content {
  flex: 1;
  padding: 4px 0 0;
  display: flex;
  flex-direction: column;
}

.team-drawer-index { display: none; }

.team-drawer-name {
  font-family: var(--font-sans);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 4px;
  line-height: 1.15;
}

.team-drawer-role {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.40);
  margin: 0 0 20px;
}

.team-drawer-bio {
  font-size: 14px;
  line-height: 1.72;
  color: rgba(255,255,255,0.70);
  margin: 0;
}

.team-drawer-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  z-index: 2;
}
.team-drawer-close:hover {
  background: rgba(255,255,255,0.18);
  color: #fff;
}

/* ── Responsive ─────────────────── */
@media (max-width: 1200px) {
  .team-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; }
}
@media (max-width: 900px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .team-member.featured { grid-column: span 2; }
  .team-member.featured .team-member-photo { aspect-ratio: 16 / 9; }
  .beyond-brief-grid { grid-template-columns: 1fr; gap: 12px; }
  .beyond-brief-item { border-radius: 12px; }
  .studio-webverse { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr; }
  .pillars-head { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .team-drawer-inner { flex-direction: column; gap: 20px; }
  .team-drawer-photo { width: 100%; height: 200px; }
  .team-drawer-content { padding: 0; }
  .team-section-wrap { padding: 36px 20px 44px; }
}



.hero-stats-panel {
  background: rgba(9, 9, 14, 0.50);
  backdrop-filter: blur(40px) saturate(160%);
  -webkit-backdrop-filter: blur(40px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 20px;
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  gap: 0;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    0 24px 64px rgba(0,0,0,0.5),
    0 4px 16px rgba(0,0,0,0.3);
}

.hsp-item {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 20px 0;
}

.hsp-num {
  font-family: var(--font-sans);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 300;
  letter-spacing: -0.04em;
  color: var(--accent);
  line-height: 1;
  white-space: nowrap;
}

.hsp-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.4;
}

.hsp-divider {
  height: 1px;
  background: var(--border);
  margin: 0;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: var(--tracking-mono);
  padding: 0 4px;
}

.hb-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s var(--ease-camera) infinite;
  flex-shrink: 0;
}

.hb-sep { opacity: 0.4; }

@media (max-width: 900px) {
  .hero-layout { padding-top: 60px; }
}

/* --- Floating nav responsive -------------------------------------------- */
@media (max-width: 680px) {
  .nav {
    top: 10px;
    width: calc(100% - 24px);
    padding: 10px 10px 10px 14px;
    border-radius: 14px;
  }
  .nav-links { display: none; }
  .nav-wordmark { display: none; }
}

/* =========================================================================
   HERO SCROLL CUE
   ========================================================================= */
.hero-scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-muted);
  opacity: 0;
  z-index: 2;
  animation: scrollCueFade 3s var(--ease-camera) 2s forwards,
             scrollBob 2.4s var(--ease-camera) 2s infinite;
}
@keyframes scrollCueFade {
  from { opacity: 0; } to { opacity: 0.45; }
}
@keyframes scrollBob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(7px); }
}

/* =========================================================================
   CLOSING STATS BAR
   ========================================================================= */
.closing-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 0 auto 60px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  background: rgba(255,255,255,0.025);
  max-width: 680px;
  overflow: hidden;
}
.cstat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 32px 24px;
}
.cstat-num {
  font-family: var(--font-sans);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 300;
  letter-spacing: -0.04em;
  color: var(--accent);
  line-height: 1;
}
.cstat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--text-muted);
}
.cstat-div {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.08);
  flex-shrink: 0;
}

/* =========================================================================
   SECTION-MARKER AMBER SCAN ON ENTER
   ========================================================================= */
.section-marker {
  position: relative;
  overflow: hidden;
  border-top-color: rgba(255,255,255,0.03);
  transition: border-top-color 0.5s ease 0.1s;
}
.section-marker.in-view {
  border-top-color: var(--border);
}
.section-marker::after {
  content: '';
  position: absolute;
  top: 0;
  left: -70%;
  width: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232,161,90,0.85), transparent);
  transition: left 1.1s cubic-bezier(0.16,0.84,0.24,1) 0.15s;
}
.section-marker.in-view::after { left: 130%; }

/* =========================================================================
   SCROLL REVEAL — fade-up on intersection
   ========================================================================= */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity  0.75s var(--ease-camera),
    transform 0.75s var(--ease-camera);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* staggered children via CSS custom property */
.reveal[data-delay="1"] { transition-delay: 0.10s; }
.reveal[data-delay="2"] { transition-delay: 0.20s; }
.reveal[data-delay="3"] { transition-delay: 0.30s; }
.reveal[data-delay="4"] { transition-delay: 0.40s; }
.reveal[data-delay="5"] { transition-delay: 0.50s; }
.reveal[data-delay="6"] { transition-delay: 0.60s; }
.reveal[data-delay="7"] { transition-delay: 0.70s; }

@media (max-width: 680px) {
  .closing-stats { flex-direction: column; border-radius: 12px; }
  .cstat-div { width: 80%; height: 1px; }
}

/* =========================================================================
   CURSOR GLOW — ambient amber follow cue
   ========================================================================= */
#cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,161,90,0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 9999;
  will-change: transform;
  transition: opacity 0.3s ease;
}

/* =========================================================================
   LARGE SCREEN SCALING — fills 1920p / QHD / 4K at native zoom
   ========================================================================= */

@media (min-width: 1920px) {
  :root {
    --site-max:      1840px;
    --gutter-x:      80px;
    --section-gap:   120px;
    --fs-body:       17px;   --lh-body:       28px;
    --fs-body-lg:    20px;   --lh-body-lg:    32px;
    --fs-h6:         20px;   --lh-h6:         28px;
    --fs-h5:         24px;   --lh-h5:         32px;
    --fs-h4:         30px;   --lh-h4:         38px;
    --fs-h3:         40px;   --lh-h3:         48px;
    --fs-h2:         56px;   --lh-h2:         64px;
    --fs-h1:         80px;   --lh-h1:         88px;
    --fs-display:    112px;  --lh-display:    120px;
    --fs-display-xl: 152px;  --lh-display-xl: 144px;
  }
  body { font-size: 20px; }
  .nav { max-width: 1140px; }
}

@media (min-width: 2560px) {
  :root {
    --site-max:      min(88vw, 2560px);
    --gutter-x:      100px;
    --section-gap:   160px;
    --fs-body:       20px;   --lh-body:       32px;
    --fs-body-lg:    24px;   --lh-body-lg:    38px;
    --fs-h6:         26px;   --lh-h6:         34px;
    --fs-h5:         32px;   --lh-h5:         40px;
    --fs-h4:         40px;   --lh-h4:         50px;
    --fs-h3:         54px;   --lh-h3:         64px;
    --fs-h2:         76px;   --lh-h2:         86px;
    --fs-h1:         108px;  --lh-h1:         116px;
    --fs-display:    152px;  --lh-display:    160px;
    --fs-display-xl: 208px;  --lh-display-xl: 196px;
  }
  body { font-size: 24px; }
  .nav { max-width: 1480px; }
  .hero-sub { font-size: 24px; line-height: 38px; }
  .pillar .pillar-stat .big { font-size: 56px; }
  .team-drawer-name { font-size: 40px; }
  .team-drawer-bio  { font-size: 18px; }
}

@media (min-width: 3200px) {
  :root {
    --site-max:      min(86vw, 3400px);
    --gutter-x:      140px;
    --section-gap:   210px;
    --fs-body:       24px;   --lh-body:       38px;
    --fs-body-lg:    28px;   --lh-body-lg:    44px;
    --fs-h6:         32px;   --lh-h6:         40px;
    --fs-h5:         40px;   --lh-h5:         50px;
    --fs-h4:         52px;   --lh-h4:         62px;
    --fs-h3:         68px;   --lh-h3:         78px;
    --fs-h2:         96px;   --lh-h2:         108px;
    --fs-h1:         136px;  --lh-h1:         148px;
    --fs-display:    192px;  --lh-display:    200px;
    --fs-display-xl: 264px;  --lh-display-xl: 248px;
  }
  body { font-size: 28px; }
  .nav { max-width: 1920px; }
  .hero-sub { font-size: 30px; line-height: 46px; }
  .pillar .pillar-stat .big { font-size: 72px; }
  .team-drawer { width: min(880px, calc(100vw - 40px)); }
  .team-drawer-name { font-size: 52px; }
  .team-drawer-bio  { font-size: 22px; }
}

/* =========================================================================
   REACH-OUT DIALOG
   ========================================================================= */
.reach-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(4, 4, 7, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.32s var(--ease-camera), visibility 0s linear 0.32s;
}
.reach-overlay.open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.32s var(--ease-camera);
}

.reach-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  width: min(480px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -46%) scale(0.96);
  transition:
    transform 0.42s var(--ease-camera),
    opacity 0.28s var(--ease-camera),
    visibility 0s linear 0.42s;
}
.reach-modal.open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
  transition:
    transform 0.42s var(--ease-camera),
    opacity 0.28s var(--ease-camera);
}

.reach-modal-inner {
  position: relative;
  background: rgba(18, 18, 22, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 32px;
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.10),
    0 40px 100px rgba(0, 0, 0, 0.7);
}

.reach-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  cursor: pointer;
  transition: background 160ms var(--ease-camera), color 160ms var(--ease-camera), border-color 160ms var(--ease-camera);
}
.reach-close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.24);
}

.reach-head { margin: 0 0 22px; }
.reach-head h3 {
  font-family: var(--font-sans);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 8px 0 6px;
  line-height: 1.15;
}
.reach-head p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

.reach-form { display: flex; flex-direction: column; gap: 16px; }
.reach-form[hidden] { display: none; }

.reach-field { display: flex; flex-direction: column; gap: 7px; }
.reach-field label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--text-muted);
}
.reach-field input {
  width: 100%;
  font: 400 15px/1.4 var(--font-sans);
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 12px 14px;
  transition: border-color 160ms var(--ease-camera), background 160ms var(--ease-camera), box-shadow 160ms var(--ease-camera);
}
.reach-field input::placeholder,
.reach-field textarea::placeholder { color: rgba(255, 255, 255, 0.28); }
.reach-field input:focus,
.reach-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(232, 161, 90, 0.16);
}
.reach-field input:user-invalid,
.reach-field textarea:user-invalid {
  border-color: rgba(255, 120, 120, 0.6);
}
.reach-field textarea {
  width: 100%;
  font: 400 15px/1.6 var(--font-sans);
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 10px;
  padding: 12px 14px;
  min-height: 100px;
  resize: vertical;
  transition: border-color 160ms var(--ease-camera), background 160ms var(--ease-camera), box-shadow 160ms var(--ease-camera);
}
.reach-error {
  font-size: 13px;
  color: rgba(255, 120, 100, 0.85);
  margin: 0;
}
.reach-error[hidden] { display: none; }

.reach-actions {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}
.reach-cancel { flex: 0 0 auto; }
.reach-save { flex: 1; justify-content: center; }

/* Success state */
.reach-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 20px 8px 8px;
}
.reach-success[hidden] { display: none; }
.reach-success-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  border-radius: 999px;
  color: var(--accent);
  background: rgba(232, 161, 90, 0.12);
  border: 1px solid rgba(232, 161, 90, 0.3);
}
.reach-success h3 {
  font-family: var(--font-sans);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0;
}
.reach-success p {
  font-size: 15px;
  color: var(--text-secondary);
  margin: 0 0 18px;
}

@media (max-width: 680px) {
  .reach-modal-inner { padding: 26px 22px; }
  .reach-head h3 { font-size: 22px; }
}

/* ── About section ── */
.about-wrap {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 80px;
  align-items: start;
  margin-top: 60px;
}
.about-text h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0 0 28px;
  line-height: 1.15;
}
.about-lead {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0 0 20px;
}
.about-text p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin: 0 0 16px;
}
.about-meta {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 8px;
}
.about-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.about-stat-num {
  font-family: var(--font-sans);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--accent);
  line-height: 1;
}
.about-stat-label {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
@media (max-width: 860px) {
  .about-wrap {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .about-meta {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 24px 48px;
  }
}


/* ── Careers section ── */
.careers-head {
  margin-top: 60px;
  margin-bottom: 48px;
  max-width: 600px;
}
.careers-head h2 {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0 0 16px;
  line-height: 1.15;
}
.careers-head p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin: 0;
}
.careers-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.careers-empty {
  font-size: 15px;
  color: var(--text-secondary);
  padding: 48px 0;
}
.career-card {
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 32px 36px;
  background: rgba(255,255,255,0.02);
  transition: border-color 220ms ease, background 220ms ease;
}
.career-card:hover {
  border-color: rgba(232,161,90,0.35);
  background: rgba(232,161,90,0.03);
}
.career-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.career-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}
.career-dept,
.career-type {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}
.career-dept {
  color: var(--accent);
  background: rgba(232,161,90,0.12);
  border: 1px solid rgba(232,161,90,0.25);
}
.career-type {
  color: var(--text-secondary);
  border: 1px solid var(--border-strong);
}
.career-posted {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}
.career-title {
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 10px;
  line-height: 1.2;
}
.career-location {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}
.career-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin: 0 0 24px;
  max-width: 680px;
}
.career-apply {
  display: inline-flex;
}
@media (max-width: 600px) {
  .career-card { padding: 24px 20px; }
  .career-card-top { flex-direction: column; align-items: flex-start; }
}

/* ============================================================================
   MOBILE & TABLET RESPONSIVE — full overhaul
   Portrait mobile: ≤ 480px
   Landscape mobile / small tablet: 481px – 680px
   Tablet: 681px – 900px
   Desktop: 901px – 1199px  (existing breakpoints above cover 1200+)
   ============================================================================ */

/* --------------------------------------------------------------------------
   NAV — hamburger button
   -------------------------------------------------------------------------- */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: background 160ms;
}
.nav-hamburger:hover span { background: var(--text-primary); }

/* --------------------------------------------------------------------------
   MOBILE NAV DRAWER
   -------------------------------------------------------------------------- */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(4,4,7,0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.28s var(--ease-camera);
}
.mobile-nav-overlay.open { display: block; opacity: 1; }

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(320px, 88vw);
  height: 100%;
  z-index: 210;
  background: rgba(10,10,14,0.97);
  backdrop-filter: blur(40px) saturate(160%);
  -webkit-backdrop-filter: blur(40px) saturate(160%);
  border-left: 1px solid rgba(255,255,255,0.10);
  display: flex;
  flex-direction: column;
  transition: right 0.34s cubic-bezier(0.32,0.72,0,1);
  overflow-y: auto;
}
.mobile-nav-drawer.open { right: 0; }

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 20px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-nav-close {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 8px;
  color: var(--text-secondary);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 160ms, color 160ms;
}
.mobile-nav-close:hover { background: rgba(255,255,255,0.12); color: var(--text-primary); }

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  padding: 12px 16px;
  gap: 2px;
  flex: 1;
}
.mobile-nav-link {
  display: block;
  padding: 14px 12px;
  font-size: 17px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 10px;
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: color 140ms, background 140ms;
}
.mobile-nav-link:hover { color: var(--text-primary); background: rgba(255,255,255,0.05); }

.mobile-nav-footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 20px 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* --------------------------------------------------------------------------
   TABLET — 681px to 900px
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  /* Layout variables */
  :root {
    --gutter-x: 32px;
    --section-gap: 72px;
  }

  /* Nav */
  .nav {
    top: 12px;
    width: calc(100% - 32px);
    padding: 10px 12px 10px 16px;
  }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-right { display: flex; align-items: center; gap: 8px; }
  .nav-right .btn { display: none; } /* hide demo btn on tablet, keep hamburger */

  /* Hero */
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 0;
  }
  .hero-fg {
    padding: 120px var(--gutter-x) 56px;
    justify-content: flex-end;
  }
  .hero-headline { font-size: clamp(40px, 9vw, 72px); }
  .hero-sub { font-size: 16px; line-height: 26px; max-width: 100%; }
  .hero-meta { bottom: 48px; right: var(--gutter-x); }
  .hero-watermark { display: none; }
  .hero-stats-panel { display: none; }

  /* Thesis pillars */
  .pillars-head {
    flex-direction: column;
    gap: 20px;
  }
  .pillars-head h2 { font-size: clamp(28px, 5vw, 42px); }
  .pillars-head .pillars-intro { max-width: 100%; }
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  .pillar { border-right: 0; border-bottom: 1px solid var(--border); }
  .pillar:last-child { border-bottom: 0; }
  .pillar { padding: 36px 24px; }

  /* Studio — webverse split */
  .studio-webverse {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Beyond brief grid — already 1col, leave it */

  /* Testimonial */
  .testimonial-quote { font-size: clamp(22px, 4.5vw, 38px); }

  /* Closing */
  .closing { padding: 72px var(--gutter-x) 80px; }
  .closing h2 { font-size: clamp(36px, 8vw, 72px); }
  .closing-stats { max-width: 100%; }

  /* Footer */
  .footer { padding: 56px var(--gutter-x) 40px; }
  .footer-inner.brief {
    grid-template-columns: 1fr 1fr;
    gap: 40px 32px;
  }
  .footer-brand {
    grid-column: 1 / -1;
    padding-right: 0;
  }
  .footer-bottom { flex-direction: column; gap: 8px; }

  /* Team section wrapper padding */
  .team-section-wrap { padding: 0; }
  .team-section-title { font-size: clamp(28px, 5vw, 42px); }
}

/* --------------------------------------------------------------------------
   SMALL TABLET / LANDSCAPE MOBILE — 481px to 680px
   -------------------------------------------------------------------------- */
@media (max-width: 680px) {
  :root {
    --gutter-x: 20px;
    --section-gap: 56px;
  }

  /* Nav — compact pill */
  .nav {
    top: 10px;
    width: calc(100% - 20px);
    padding: 9px 10px 9px 14px;
    border-radius: 14px;
  }
  .nav-wordmark { display: none; }
  .nav-right .btn { display: none; }
  .nav-hamburger { display: flex; }

  /* Hero */
  .hero-fg {
    padding: 100px var(--gutter-x) 48px;
  }
  .hero-headline { font-size: clamp(34px, 10vw, 60px); margin: 16px 0 24px; }
  .hero-sub { font-size: 15px; line-height: 24px; margin-bottom: 36px; }
  .hero-ctas .btn-xl { padding: 16px 22px; font-size: 14px; }
  .hero-meta { bottom: 32px; font-size: 10px; }
  .hero-scroll-cue { bottom: 20px; }

  /* Section markers — hide right label on very small */
  .section-marker span:last-child { display: none; }

  /* Pillars */
  .pillar { padding: 28px 20px; }
  .pillar h3 { font-size: 20px; line-height: 26px; }
  .pillar .pillar-stat .big { font-size: 32px; }

  /* Studio webverse */
  .studio-webverse-text h2 { font-size: clamp(26px, 6vw, 38px); }
  .studio-webverse-text p { font-size: 15px; }

  /* Beyond brief items */
  .beyond-brief-item { padding: 28px 24px 32px; }
  .beyond-brief-item h3 { font-size: 20px; line-height: 26px; }

  /* Beyond brief head */
  .beyond-brief-head {
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
  }
  .beyond-brief-head p { max-width: 100%; }

  /* Team grid — keep 2-col but tighter */
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .team-member.featured { grid-column: span 2; }
  .team-section-title { font-size: clamp(22px, 6vw, 34px); }
  .team-section-sub { font-size: 14px; }
  .tm-name { font-size: 13px !important; }
  .tm-role { font-size: 9px !important; }

  /* Testimonial */
  .testimonial { padding: 48px 0; }
  .testimonial-quote { font-size: clamp(18px, 5vw, 28px); margin-bottom: 32px; }
  .testimonial::before { font-size: 140px; top: 20px; }

  /* Closing */
  .closing { padding: 56px var(--gutter-x) 64px; }
  .closing h2 { font-size: clamp(32px, 9vw, 60px); margin-bottom: 40px; }
  .closing-stats { flex-direction: column; border-radius: 12px; }
  .cstat-div { width: 80%; height: 1px; }
  .cstat { padding: 24px 20px; }
  .cstat-num { font-size: clamp(28px, 8vw, 44px); }

  /* Footer */
  .footer { padding: 48px var(--gutter-x) 32px; }
  .footer-inner.brief {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-brand img { height: 44px; }
  .footer-brand .signature { font-size: 22px; }
  .footer-bottom { margin-top: 48px; }

  /* Reach-out modal */
  .reach-modal-inner { padding: 24px 18px; border-radius: 14px; }
  .reach-head h3 { font-size: 20px; }

  /* Team drawer */
  .team-drawer { width: calc(100vw - 32px); }
  .team-drawer-inner { flex-direction: column; gap: 20px; padding: 20px; }
  .team-drawer-photo { width: 100%; height: 180px; border-radius: 8px; }
  .team-drawer-name { font-size: 22px; }
  .team-drawer-bio { font-size: 13px; }
}

/* --------------------------------------------------------------------------
   PORTRAIT MOBILE — ≤ 480px
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
  :root {
    --gutter-x: 16px;
    --section-gap: 48px;
  }

  /* Hero — vertically centered, full viewport */
  .hero { min-height: 200vh; }
  .hero-stage { height: 100svh; }
  .hero-fg {
    padding: 88px var(--gutter-x) 40px;
    justify-content: flex-end;
  }
  .hero-layout { gap: 24px; }
  .hero-headline {
    font-size: clamp(30px, 11vw, 48px);
    margin: 12px 0 20px;
    line-height: 1.02;
  }
  .hero-sub { font-size: 14px; line-height: 22px; margin-bottom: 28px; }
  .hero-ctas .btn-xl { padding: 14px 20px; font-size: 13px; gap: 8px; }
  .hero-meta { font-size: 9px; bottom: 24px; right: var(--gutter-x); }

  /* Section spacing */
  #thesis { padding-top: 36px; }
  .section-marker { padding-top: 16px; padding-bottom: 20px; margin-bottom: 32px; }

  /* Pillars */
  .pillars-head { margin-bottom: 40px; }
  .pillars-head h2 { font-size: clamp(24px, 7vw, 34px); }
  .pillars-head .pillars-intro { font-size: 14px; }
  .pillar { padding: 24px 16px; gap: 16px; }
  .pillar h3 { font-size: 18px; line-height: 24px; }
  .pillar p { font-size: 14px; }
  .pillar .pillar-stat .big { font-size: 28px; }

  /* Studio */
  .studio-webverse-text .bb-label { margin-bottom: 16px; }
  .studio-webverse-text h2 { font-size: clamp(22px, 7vw, 32px); }
  .studio-webverse-text p { font-size: 14px; margin-bottom: 28px; }

  /* Beyond section margin override */
  [style*="margin-top: 120px"] { margin-top: 56px !important; }
  .beyond-brief-head { margin-bottom: 32px; }
  .beyond-brief-head h2 { font-size: clamp(22px, 7vw, 32px); }
  .beyond-brief-item { padding: 24px 20px 28px; gap: 14px; border-radius: 12px; }
  .bbi-icon { width: 40px; height: 40px; border-radius: 10px; }
  .beyond-brief-item h3 { font-size: 18px; line-height: 24px; }
  .beyond-brief-item p { font-size: 13px; line-height: 22px; }

  /* Team */
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .team-member.featured { grid-column: span 2; }
  .team-member.featured .team-member-photo { aspect-ratio: 4/3; }
  .team-member-body { padding: 12px 12px 14px; }
  .tm-name { font-size: 12px !important; }
  .tm-role { font-size: 8.5px !important; }
  .team-member-expand { width: 22px; height: 22px; }
  .team-section-title { font-size: clamp(20px, 6.5vw, 30px); }
  .team-section-sub { font-size: 13px; line-height: 1.6; }

  /* Testimonial */
  .testimonial { padding: 40px 0; }
  .testimonial-quote { font-size: clamp(16px, 5.5vw, 24px); margin-bottom: 24px; }
  .testimonial-by { gap: 12px; }
  .testimonial-avatar { width: 40px; height: 40px; }
  .tb-name { font-size: 13px; }

  /* Closing CTA */
  .closing { padding: 48px var(--gutter-x) 56px; }
  .closing .eyebrow { margin-bottom: 20px; }
  .closing h2 { font-size: clamp(28px, 9.5vw, 48px); margin-bottom: 32px; }
  .cstat { padding: 20px 16px; }
  .cstat-num { font-size: clamp(24px, 8vw, 36px); }
  .cstat-label { font-size: 9px; }
  .closing-cta { gap: 16px; }

  /* Footer */
  .footer { padding: 40px var(--gutter-x) 28px; }
  .footer-brand img { height: 38px; margin-bottom: 20px; }
  .footer-brand .signature { font-size: 18px; line-height: 26px; margin-bottom: 20px; }
  .footer-brand .contact { font-size: 11px; }
  .footer-col h5 { font-size: 9.5px; }
  .footer-col a { font-size: 13px; }
  .footer-bottom { font-size: 10px; margin-top: 36px; }

  /* Team drawer — full-width bottom sheet feel */
  .team-drawer {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    transform: translate(0, 40px) scale(0.98);
    border-radius: 20px 20px 0 0;
  }
  .team-drawer.open {
    transform: translate(0, 0) scale(1);
  }
  .team-drawer-inner {
    flex-direction: column;
    gap: 16px;
    padding: 16px;
    border-radius: 20px 20px 0 0;
  }
  .team-drawer-photo { width: 100%; height: 160px; }
  .team-drawer-name { font-size: 20px; }
  .team-drawer-role { font-size: 12px; margin-bottom: 12px; }
  .team-drawer-bio { font-size: 13px; line-height: 1.65; }
  .team-drawer-close { top: 12px; right: 12px; }

  /* Buttons — full-width stacks in hero */
  .hero-ctas { flex-direction: column; align-items: flex-start; gap: 12px; }

  /* Reach-out modal */
  .reach-modal { width: calc(100vw - 24px); }
  .reach-modal-inner { padding: 20px 16px; border-radius: 12px; }
  .reach-head h3 { font-size: 18px; }
  .reach-head p { font-size: 13px; }
  .reach-field input, .reach-field textarea { font-size: 14px; padding: 10px 12px; }
  .reach-actions { flex-direction: column-reverse; }
  .reach-cancel { width: 100%; justify-content: center; }
  .reach-save { width: 100%; }
}

/* --------------------------------------------------------------------------
   LANDSCAPE PHONE — short viewport, wide
   -------------------------------------------------------------------------- */
@media (max-height: 500px) and (orientation: landscape) {
  .hero { min-height: 350vh; }
  .hero-stage { height: 100svh; }
  .hero-fg {
    padding: 80px var(--gutter-x) 32px;
    justify-content: flex-end;
  }
  .hero-layout { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero-headline { font-size: clamp(24px, 5vw, 44px); margin: 8px 0 16px; }
  .hero-sub { font-size: 13px; line-height: 20px; margin-bottom: 20px; }
  .hero-stats-panel { display: none; }
  .hero-meta { display: none; }
  .hero-scroll-cue { display: none; }
  .hero-watermark { display: none; }
  :root { --section-gap: 48px; }
}