/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[2].use[1]!./node_modules/next/dist/build/webpack/loaders/next-font-loader/index.js??ruleSet[1].rules[14].oneOf[2].use[2]!./node_modules/next/font/google/target.css?{"path":"src/app/layout.tsx","import":"Instrument_Serif","arguments":[{"subsets":["latin"],"weight":"400","style":["normal","italic"],"variable":"--ff-serif","display":"swap"}],"variableName":"instrumentSerif"} ***!
  \*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* latin-ext */
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/5ece437c7024c161-s.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: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/9cc5b37ab1350db7-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/35f3de0ebb1cfc70-s.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: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/e6099e249fd938cc-s.p.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;
}@font-face {font-family: 'Instrument Serif Fallback';src: local("Times New Roman");ascent-override: 117.94%;descent-override: 36.93%;line-gap-override: 0.00%;size-adjust: 83.94%
}.__className_1f5468 {font-family: 'Instrument Serif', 'Instrument Serif Fallback';font-weight: 400
}.__variable_1f5468 {--ff-serif: 'Instrument Serif', 'Instrument Serif Fallback'
}

/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[2].use[1]!./node_modules/next/dist/build/webpack/loaders/next-font-loader/index.js??ruleSet[1].rules[14].oneOf[2].use[2]!./node_modules/next/font/google/target.css?{"path":"src/app/layout.tsx","import":"Inter","arguments":[{"subsets":["latin"],"weight":["400","500","600"],"variable":"--ff-sans","display":"swap"}],"variableName":"inter"} ***!
  \*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/ba9851c3c22cd980-s.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(/_next/static/media/21350d82a1f187e9-s.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(/_next/static/media/c5fe6dc8356a8c31-s.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(/_next/static/media/19cfc7226ec3afaa-s.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(/_next/static/media/df0a9ae256c0569c-s.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(/_next/static/media/8e9860b6e62d6359-s.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(/_next/static/media/e4af272ccee01ff0-s.p.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(/_next/static/media/ba9851c3c22cd980-s.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(/_next/static/media/21350d82a1f187e9-s.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(/_next/static/media/c5fe6dc8356a8c31-s.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(/_next/static/media/19cfc7226ec3afaa-s.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(/_next/static/media/df0a9ae256c0569c-s.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(/_next/static/media/8e9860b6e62d6359-s.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(/_next/static/media/e4af272ccee01ff0-s.p.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(/_next/static/media/ba9851c3c22cd980-s.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(/_next/static/media/21350d82a1f187e9-s.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(/_next/static/media/c5fe6dc8356a8c31-s.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(/_next/static/media/19cfc7226ec3afaa-s.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(/_next/static/media/df0a9ae256c0569c-s.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(/_next/static/media/8e9860b6e62d6359-s.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(/_next/static/media/e4af272ccee01ff0-s.p.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;
}@font-face {font-family: 'Inter Fallback';src: local("Arial");ascent-override: 90.44%;descent-override: 22.52%;line-gap-override: 0.00%;size-adjust: 107.12%
}.__className_37ef13 {font-family: 'Inter', 'Inter Fallback';font-style: normal
}.__variable_37ef13 {--ff-sans: 'Inter', 'Inter Fallback'
}

/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[2].use[1]!./node_modules/next/dist/build/webpack/loaders/next-font-loader/index.js??ruleSet[1].rules[14].oneOf[2].use[2]!./node_modules/next/font/google/target.css?{"path":"src/app/layout.tsx","import":"JetBrains_Mono","arguments":[{"subsets":["latin"],"weight":["400","500","700"],"style":["normal","italic"],"variable":"--ff-mono","display":"swap"}],"variableName":"jetbrainsMono"} ***!
  \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* cyrillic-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/97720168f24d1c28-s.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: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/1bfd2e124e409931-s.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: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/6c0d6f2aea2e0201-s.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: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/1d047d8ec47946ce-s.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: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/7f983c78dddc929c-s.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: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/84c454f7bbb4238a-s.p.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: italic;
  font-weight: 500;
  font-display: swap;
  src: url(/_next/static/media/97720168f24d1c28-s.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: italic;
  font-weight: 500;
  font-display: swap;
  src: url(/_next/static/media/1bfd2e124e409931-s.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: italic;
  font-weight: 500;
  font-display: swap;
  src: url(/_next/static/media/6c0d6f2aea2e0201-s.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: italic;
  font-weight: 500;
  font-display: swap;
  src: url(/_next/static/media/1d047d8ec47946ce-s.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: italic;
  font-weight: 500;
  font-display: swap;
  src: url(/_next/static/media/7f983c78dddc929c-s.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: italic;
  font-weight: 500;
  font-display: swap;
  src: url(/_next/static/media/84c454f7bbb4238a-s.p.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: italic;
  font-weight: 700;
  font-display: swap;
  src: url(/_next/static/media/97720168f24d1c28-s.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: italic;
  font-weight: 700;
  font-display: swap;
  src: url(/_next/static/media/1bfd2e124e409931-s.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: italic;
  font-weight: 700;
  font-display: swap;
  src: url(/_next/static/media/6c0d6f2aea2e0201-s.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: italic;
  font-weight: 700;
  font-display: swap;
  src: url(/_next/static/media/1d047d8ec47946ce-s.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: italic;
  font-weight: 700;
  font-display: swap;
  src: url(/_next/static/media/7f983c78dddc929c-s.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: italic;
  font-weight: 700;
  font-display: swap;
  src: url(/_next/static/media/84c454f7bbb4238a-s.p.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(/_next/static/media/edc640959b0c7826-s.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(/_next/static/media/ac0e76ddaeeb7981-s.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(/_next/static/media/64d784ea54a4acde-s.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(/_next/static/media/ff71da380fbe67dd-s.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(/_next/static/media/6d831b18ae5b01dc-s.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(/_next/static/media/558ca1a6aa3cb55e-s.p.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(/_next/static/media/edc640959b0c7826-s.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(/_next/static/media/ac0e76ddaeeb7981-s.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(/_next/static/media/64d784ea54a4acde-s.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(/_next/static/media/ff71da380fbe67dd-s.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(/_next/static/media/6d831b18ae5b01dc-s.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(/_next/static/media/558ca1a6aa3cb55e-s.p.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: 700;
  font-display: swap;
  src: url(/_next/static/media/edc640959b0c7826-s.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: 700;
  font-display: swap;
  src: url(/_next/static/media/ac0e76ddaeeb7981-s.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: 700;
  font-display: swap;
  src: url(/_next/static/media/64d784ea54a4acde-s.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: 700;
  font-display: swap;
  src: url(/_next/static/media/ff71da380fbe67dd-s.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: 700;
  font-display: swap;
  src: url(/_next/static/media/6d831b18ae5b01dc-s.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: 700;
  font-display: swap;
  src: url(/_next/static/media/558ca1a6aa3cb55e-s.p.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;
}@font-face {font-family: 'JetBrains Mono Fallback';src: local("Arial");ascent-override: 75.79%;descent-override: 22.29%;line-gap-override: 0.00%;size-adjust: 134.59%
}.__className_39aefb {font-family: 'JetBrains Mono', 'JetBrains Mono Fallback'
}.__variable_39aefb {--ff-mono: 'JetBrains Mono', 'JetBrains Mono Fallback'
}

/*!*****************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./src/app/globals.css ***!
  \*****************************************************************************************************************************************************************************************************************************************************************/
/* =============================================================
   Portfolio — "the translation machine"
   Warm paper, ink, one terracotta accent — like the technical
   drawings of an architecture studio.
   Port of the reference design system (light, paper-warm).
   ============================================================= */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html, body { height: 100%; }
html { -webkit-text-size-adjust: 100%; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
::selection { background: rgba(181,71,11,.22); }

/* ---------- Design tokens ---------- */
:root {
  /* one accent, used sparingly (terracotta) + ink + ochre for
     data visualization — the rest is paper and black */
  --accent:   #b5470b;
  --ink:      #161513;
  --ochre:    #a3780a;

  /* surfaces (warm paper white) */
  --bg:        #faf9f7;
  --bg-2:      #f4f2ee;
  --panel:     #ffffff;
  --panel-2:   #f6f4f0;
  --line:      rgba(22, 21, 19, .16);
  --line-2:    rgba(22, 21, 19, .09);

  /* text */
  --fg:        #161513;
  --fg-dim:    #44413c;
  --muted:     #6f6a62;
  --muted-2:   #9b958c;

  /* code syntax — restrained, like a printed specification */
  --tok-comment: #9b958c;
  --tok-kw:      #b5470b;
  --tok-fn:      #161513;
  --tok-str:     #5f7036;
  --tok-num:     #6d5a8e;
  --tok-var:     #2e2c28;
  --tok-punc:    #8d867c;
  --tok-op:      #b5470b;

  /* type (variables injected by next/font on <html>) */
  --font-plain: var(--ff-serif), Georgia, 'Times New Roman', serif;
  --font-sans:  var(--ff-sans), system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono:  var(--ff-mono), ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --radius: 16px;

  /* navigation */
  --nav-h: 58px;
  --nav-top: 14px;
  --nav-w: 1080px;
  --nav-glass: rgba(250, 249, 247, .72);
  --nav-glass-border: rgba(22, 21, 19, .12);
}

/* ---------- Base ---------- */
html { scroll-behavior: auto; scrollbar-width: none; }
html::-webkit-scrollbar, body::-webkit-scrollbar { width: 0; height: 0; display: none; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.5;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
main { position: relative; z-index: 1; }

/* First paint keeps nav + hero hidden until the intro boots */
.mainnav, .hero__inner, .scrollcue { opacity: 0; }
body.booted .mainnav, body.booted .hero__inner, body.booted .scrollcue { opacity: 1; }

/* ---------- Code token colors ---------- */
.tok-comment { color: var(--tok-comment); font-style: italic; }
.tok-kw   { color: var(--tok-kw); }
.tok-fn   { color: var(--tok-fn); }
.tok-str  { color: var(--tok-str); }
.tok-num  { color: var(--tok-num); }
.tok-var  { color: var(--tok-var); }
.tok-punc { color: var(--tok-punc); }
.tok-op   { color: var(--tok-op); }

kbd {
  font-family: var(--font-mono); font-size: 12.5px;
  background: rgba(22,21,19,.05); border: 1px solid var(--line);
  border-radius: 6px; padding: 2px 6px; color: var(--fg-dim);
}

/* scroll progress — ink line at the very top, grows left to right
   (replaces the native scrollbar) */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 90; pointer-events: none;
  background: var(--line-2);
}
.scroll-progress span {
  display: block; height: 100%; width: 0%;
  background: var(--ink);
}

/* "Keep scrolling" hint — only after a menu jump onto a pinned act.
   Editorial: small-caps label + thin terracotta line running down. */
.scrollhint {
  position: fixed; left: 50%; bottom: clamp(24px, 5.5vh, 52px);
  transform: translateX(-50%) translateY(12px); z-index: 95; pointer-events: none;
  display: inline-flex; flex-direction: column; align-items: center; gap: 13px;
  font-family: var(--font-sans); font-size: 11px; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
  opacity: 0; visibility: hidden;
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out), visibility .6s;
}
.scrollhint.is-shown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.scrollhint__label { text-indent: .18em; animation: cue-breathe 2.6s ease-in-out infinite; }
.scrollhint__line {
  width: 1px; height: 44px; transform-origin: top;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: cue-run 2.4s ease-in-out infinite;
}

/* ===================== Navigation: free floating =====================
   No container, no pill: wordmark left, [Menu] right, between them a
   breadcrumb naming the current section. The fullscreen menu
   (a file tree) is the actual navigation. */
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__text { font-family: var(--font-plain); font-size: 22px; letter-spacing: .01em; line-height: 1; color: var(--fg); }

.mainnav {
  position: fixed; inset: var(--nav-top) 0 auto 0; z-index: 80;
  padding: 0 clamp(20px, 4vw, 48px); pointer-events: none;
}
/* soft gradient downward instead of a container — keeps the row
   readable over moving content */
.mainnav::before {
  content: ''; position: absolute; left: 0; right: 0;
  top: calc(-1 * var(--nav-top)); height: calc(var(--nav-top) + var(--nav-h) + 42px);
  background: linear-gradient(to bottom, rgba(250,249,247,.92) 0%, rgba(250,249,247,.5) 55%, transparent 100%);
  pointer-events: none;
}
.mainnav__inner {
  position: relative; height: var(--nav-h);
  /* 3-column grid: brand and menu drive their own width, the breadcrumb
     gets the space between them and can never overlap either side */
  display: grid; grid-template-columns: max-content minmax(0, 1fr) max-content;
  align-items: center;
  grid-gap: clamp(12px, 2vw, 28px);
  gap: clamp(12px, 2vw, 28px);
  pointer-events: none;
}
.mainnav__inner a, .mainnav__inner button { pointer-events: auto; }
.akt, .game, #kontakt { scroll-margin-top: calc(var(--nav-top) + var(--nav-h) + 20px); }

/* section indicator in the middle — small caps row */
.mainnav__crumb {
  justify-self: center; max-width: 100%; min-width: 0;
  overflow: hidden; text-overflow: ellipsis;
  font-family: var(--font-sans); font-size: 12.5px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; white-space: nowrap;
  color: var(--muted);
  opacity: 0; transition: opacity .35s ease;
}
.mainnav__crumb.has { opacity: 1; }

.mainnav__right { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 30px); }
.mainnav__cta {
  font-family: var(--font-sans); font-size: 13.5px; font-weight: 500; letter-spacing: .01em;
  color: var(--fg);
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: border-color .25s ease, color .25s ease;
}
.mainnav__cta:hover { border-color: var(--fg); }
.mainnav__menu {
  font-family: var(--font-sans); font-size: 13.5px; font-weight: 500; letter-spacing: .01em;
  color: var(--muted); padding: 6px 0;
  transition: color .25s ease;
}
.mainnav__menu:hover { color: var(--fg); }

/* ---- fullscreen menu: the table of contents of the page ---- */
.navmenu {
  position: fixed; inset: 0; z-index: 75;
  display: grid; align-content: center; justify-content: center;
  padding: calc(var(--nav-top) + var(--nav-h) + 24px) 24px 40px;
  background: rgba(250,249,247,.94);
  backdrop-filter: blur(22px) saturate(1.05); -webkit-backdrop-filter: blur(22px) saturate(1.05);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .35s var(--ease-out), visibility .35s;
}
.navmenu.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
body.menu-open { overflow: hidden; }
.navmenu__tree { display: grid; grid-gap: 2px; gap: 2px; font-family: var(--font-sans); }
.navmenu__dir {
  font-size: 12.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 12px; padding-left: 12px;
}
.navmenu__tree a {
  display: flex; align-items: center; gap: 16px;
  padding: 10px 12px; border-radius: 10px;
  font-family: var(--font-plain);
  font-size: clamp(22px, 2.8vw, 30px); color: var(--fg-dim);
  transition: color .25s ease, background .25s ease;
}
.navmenu__tree a:hover, .navmenu__tree a:active { background: rgba(22,21,19,.04); color: var(--fg); }
.navmenu__child { padding-left: 12px !important; }
.navmenu__ln {
  flex: none; font-family: var(--font-sans); font-size: 12.5px; font-weight: 600;
  color: var(--muted-2); letter-spacing: .08em;
}
.navmenu__tree a.is-active { color: var(--fg); }
.navmenu__tree a.is-active .navmenu__ln { color: var(--accent); }
.navmenu__item { margin-top: 2px; }
.navmenu__cta { margin-top: 26px; color: var(--accent) !important; }
.navmenu__cta:hover { background: none !important; }
/* entries gently step up when opening */
.navmenu__tree > * { opacity: 0; transform: translateY(10px); transition: opacity .4s ease, transform .4s var(--ease-out); }
.navmenu.is-open .navmenu__tree > * { opacity: 1; transform: translateY(0); }
.navmenu.is-open .navmenu__tree > *:nth-child(2) { transition-delay: .03s; }
.navmenu.is-open .navmenu__tree > *:nth-child(3) { transition-delay: .06s; }
.navmenu.is-open .navmenu__tree > *:nth-child(4) { transition-delay: .09s; }
.navmenu.is-open .navmenu__tree > *:nth-child(5) { transition-delay: .12s; }
.navmenu.is-open .navmenu__tree > *:nth-child(6) { transition-delay: .15s; }
.navmenu.is-open .navmenu__tree > *:nth-child(7) { transition-delay: .18s; }
.navmenu.is-open .navmenu__tree > *:nth-child(8) { transition-delay: .21s; }
.navmenu.is-open .navmenu__tree > *:nth-child(9) { transition-delay: .24s; }

@media (max-width: 900px) {
  .mainnav__crumb { font-size: 11px; letter-spacing: .16em; }
}
@media (max-width: 600px) {
  :root { --nav-h: 52px; --nav-top: 10px; }
  /* 3-column grid: [brand] [crumb] [menu] — crumb fills the middle
     with overflow handling so it can never collide with brand or
     menu button on narrow viewports */
  .mainnav__inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-gap: 12px;
    gap: 12px;
    align-items: center;
    justify-content: stretch;
  }
  .mainnav__crumb {
    position: static;
    transform: none;
    left: auto;
    font-size: 10px;
    letter-spacing: .12em;
    max-width: 100%;
    min-width: 0;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .brand__text { font-size: 16px; }
  .mainnav__cta { display: none; }
}

/* ===================== Shared: caret ===================== */
.caret, .request__caret {
  display: inline-block;
  width: .58ch; height: 1.05em;
  background: var(--accent);
  border-radius: 1px;
  transform: translateY(.14em);
  animation: blink 1.05s steps(1) infinite;
}
@keyframes blink { 0%,50% { opacity: 1; } 50.01%,100% { opacity: 0; } }

/* ===================== HERO ===================== */
.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 12vh 6vw;
  text-align: center;
}
.hero__inner { max-width: min(92vw, 46rem); }
.hero__plain {
  font-family: var(--font-plain);
  font-weight: 400;
  font-size: clamp(2.6rem, 7.6vw, 5.6rem);
  line-height: 1.04;
  letter-spacing: -.01em;
  color: var(--fg);
  white-space: nowrap;
}
@media (max-width: 600px) { .hero__plain { white-space: normal; } }
.hero__plain .char { display: inline-block; will-change: transform, opacity; }
.hero__plain .word { display: inline-block; white-space: nowrap; }
.hero__code {
  margin-top: clamp(18px, 3vw, 30px);
  font-family: var(--font-mono);
  font-size: clamp(1rem, 2.2vw, 1.5rem);
  letter-spacing: -.01em;
  color: #746e63; font-style: italic;
  display: inline-flex; align-items: baseline; gap: .1ch;
}
.hero__code .tok-comment { margin-right: .4ch; color: inherit; }
.hero__typed { white-space: pre; }
.hero__sub {
  margin: clamp(64px, 13vh, 124px) auto 0;
  max-width: 36em;
  font-family: var(--font-sans); font-size: clamp(13.5px, 1.5vw, 15px);
  line-height: 1.65; color: var(--muted);
  opacity: 0;
}
body.reduced .hero__sub { opacity: 1; }

/* scroll cue — thematic, pulsing */
.scrollcue {
  position: absolute; left: 50%; bottom: clamp(26px, 5vh, 54px); transform: translateX(-50%);
  display: inline-flex; flex-direction: column; align-items: center; gap: 12px;
  font-family: var(--font-sans); font-size: 11px; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  color: color-mix(in srgb, var(--muted) 70%, transparent);
}
body.booted .scrollcue { opacity: 1; }
.scrollcue__glyph { text-indent: .18em; animation: cue-breathe 2.6s ease-in-out infinite; white-space: nowrap; }
.scrollcue__line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(22,21,19,.7), transparent);
  animation: cue-run 2.6s ease-in-out infinite;
  transform-origin: top;
}
@keyframes cue-breathe {
  0%,100% { opacity: .55; transform: translateY(0); }
  50%     { opacity: 1;   transform: translateY(3px); }
}
@keyframes cue-run {
  0%   { transform: scaleY(0); opacity: 0; }
  40%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1) translateY(10px); opacity: 0; }
}

/* ===================== AKT (shared) ===================== */
.akt { position: relative; }

/* ---- shared pinned stage (all acts) ---- */
.akt__pin { height: 100svh; overflow: hidden; }
.stage {
  position: relative; height: 100%; width: 100%;
  display: grid; place-items: center;
  perspective: 1100px;
  padding: 0 6vw;
}
/* every phase layer occupies the same centred cell */
.stage > * {
  grid-area: 1 / 1;
  width: 100%; max-width: 760px;
  justify-self: center;
}

/* ---- chat message (act: websites) ---- */
.request__text {
  font-family: var(--font-plain); font-weight: 400;
  font-size: clamp(2rem, 6.2vw, 4.4rem);
  line-height: 1.05; letter-spacing: -.01em;
  color: var(--fg);
  transform-style: preserve-3d;
}
.request__text .word { display: inline-block; }
.request__text .char {
  display: inline-block;
  transform-style: preserve-3d;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  will-change: transform, opacity;
}
.request__caret {
  position: absolute; top: 0; left: 0;
  align-self: auto;
  height: 1.05em; width: .5ch;
  transform: translate(0, 0);
}
.caret.is-hidden, .request__caret.is-hidden { animation: none; opacity: 0; }

/* ---- editor ---- */
.editor {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 30px 80px -36px rgba(22,21,19,.28);
  overflow: hidden;
  opacity: 0; /* JS controls */
}
.editor__chrome {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-2);
  background: var(--panel-2);
}
.dot { width: 11px; height: 11px; border-radius: 50%; background: rgba(22,21,19,.12); }
.dot--r { background: #e0635e; }
.dot--y { background: #e3b23c; }
.dot--g { background: #62b06a; }
.editor__tab {
  margin-left: 10px; font-family: var(--font-mono); font-size: 13px; color: var(--fg-dim);
  padding: 3px 10px; border-radius: 7px; background: rgba(22,21,19,.05);
}
.editor__status {
  margin-left: auto; font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .04em;
  color: var(--muted); opacity: .9; position: relative;
}
.editor__status .st-b {
  position: absolute; right: 0; top: 0; white-space: nowrap;
  color: #188038; opacity: 0;
}
.editor__body { padding: 20px clamp(16px, 3vw, 28px) 24px; overflow: auto; }
.code {
  font-family: var(--font-mono);
  font-size: clamp(12.5px, 1.6vw, 15px);
  line-height: 1.85;
  color: var(--tok-var);
  white-space: pre;
}
.code .ln {
  display: block; position: relative; padding-left: 3ch;
  will-change: transform, opacity;
}
.code .ln::before {
  content: attr(data-ln);
  position: absolute; left: 0; width: 2ch; text-align: right;
  color: var(--muted-2); opacity: .55; font-size: .82em;
}

/* ===================== ACT 03 · WEBSITES ===================== */
.akt1__pin .chatmsg   { z-index: 5; pointer-events: none; }
.akt1__pin .chatmsg   { align-self: start; margin-top: calc(var(--nav-top) + var(--nav-h) + 4svh); }
.akt1__pin .editor    { z-index: 2; align-self: end; margin-bottom: 5svh; pointer-events: none; }
.akt1__pin .browser-wrap { z-index: 3; }
.akt1__pin .browser   { pointer-events: none; }
.browser-wrap {
  position: relative;
  width: calc(1020px * var(--bs, 1));
  height: calc(660px * var(--bs, 1));
  max-width: none;
}
.browser-scale {
  position: absolute; top: 0; left: 0;
  width: 1020px; height: 660px;
  transform: scale(var(--bs, 1));
  transform-origin: top left;
}
.browser { margin: 0 auto; }
.akt1__pin .stichwort { z-index: 6; }

.chatmsg {
  max-width: 640px !important;
  display: flex; flex-direction: column; gap: 10px;
}
.chatmsg__head {
  display: flex; align-items: center; gap: 10px;
  padding-left: 4px;
}
.chatmsg__avatar {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-sans); font-size: 14px; font-weight: 600; color: #faf9f7;
  background: var(--ink);
}
.chatmsg__who { font-size: 13.5px; font-weight: 600; color: var(--fg-dim); }
.chatmsg__who em { font-style: normal; font-weight: 400; color: var(--muted); }
.chatmsg__time { margin-left: auto; font-family: var(--font-mono); font-size: 12.5px; color: var(--muted-2); }
.chatmsg__bubble {
  position: relative;
  padding: clamp(20px, 3vw, 30px) clamp(22px, 3.4vw, 34px);
  transform-style: preserve-3d;
}
.chatmsg__bubblebg {
  position: absolute; inset: 0; z-index: -1;
  border-radius: 22px; border-top-left-radius: 6px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px -30px rgba(22,21,19,.3);
}
.chatmsg__bubblebg::before {
  content: ''; position: absolute; left: -7px; top: 14px;
  width: 14px; height: 14px;
  background: inherit; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transform: rotate(45deg); border-radius: 0 0 0 4px;
}
.chatmsg .request__text {
  font-family: var(--font-plain); font-weight: 400;
  font-size: clamp(1.7rem, 4.4vw, 3.1rem);
  line-height: 1.12; letter-spacing: -.01em;
  color: var(--fg); text-align: left;
  transform-style: preserve-3d;
}
.chatmsg .request__text .word { display: inline-block; white-space: nowrap; }
.chatmsg .request__text .char {
  display: inline-block;
  transform-style: preserve-3d; -webkit-backface-visibility: hidden; backface-visibility: hidden;
  will-change: transform, opacity;
}
.chatmsg .request__caret { position: absolute; top: 0; left: 0; height: 1.05em; width: .5ch; }
.chatmsg__state {
  align-self: flex-end; padding-right: 6px;
  font-family: var(--font-mono); font-size: 12.5px; color: var(--muted-2);
  opacity: 0; transform: translateY(4px);
  transition: opacity .5s ease, transform .5s var(--ease-out);
}
.chatmsg__state.is-on { opacity: 1; transform: none; color: var(--accent); }

.land-word { display: inline; }
.landc { display: inline; will-change: opacity; }

/* ---- browser: the website inside the website ---- */
.browser {
  width: 1020px;
  max-width: none !important;
  height: 660px;
  display: flex; flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 40px 110px -40px rgba(22,21,19,.35);
  overflow: hidden;
  opacity: 0; /* JS controls */
}
.browser__chrome {
  flex: none;
  display: flex; align-items: center; gap: 8px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--line-2);
  background: var(--panel-2);
}
.browser__url {
  margin: 0 auto;
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-mono); font-size: 13px; letter-spacing: .01em;
  color: var(--fg-dim);
  padding: 5px 16px; border-radius: 8px;
  background: rgba(22,21,19,.05);
}
.browser__url svg { color: #188038; flex: none; }
.browser__viewport { flex: 1 1; min-height: 0; position: relative; }

/* The inner site — themed through custom properties. Scrolling scrubs
   the sunrise: JS interpolates the variables step by step from night
   to morning (.site--scrub); .site--light is the finished end state. */
.site {
  --s-bg:     #20262c;
  --s-fg:     #eae6de;
  --s-muted:  #98a0a8;
  --s-line:   rgba(255,255,255,.11);
  --s-card:   #272e35;
  --s-accent: #e2a94e;
  --s-card-shadow: 0px 18px 44px -26px rgba(8,10,14,.62);
  --s-title-shadow: 0px 0px 0px rgba(122,92,40,0);
  --mt: 0;
  position: relative;
  height: 100%;
  display: flex; flex-direction: column;
  background: var(--s-bg); color: var(--s-fg);
  font-family: var(--font-sans);
  transition: background-color .65s ease, color .65s ease;
}
.site--light {
  --s-bg:     #f1ece3;
  --s-fg:     #2c2721;
  --s-muted:  #8e8578;
  --s-line:   rgba(44,39,33,.14);
  --s-card:   #faf6ee;
  --s-accent: #b07a1c;
  --s-card-shadow: -26px 34px 44px -26px rgba(122,92,40,.38);
  --s-title-shadow: -12px 16px 22px rgba(122,92,40,.3);
}
.site--scrub, .site--scrub * { transition-duration: 0s !important; }
.site__pill {
  position: absolute; z-index: 4; top: 14px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 18px;
  max-width: calc(100% - 28px);
  padding: 7px 7px 7px 16px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 15px;
  background: rgba(24,27,32,.52);
  backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 8px 24px -12px rgba(10,12,16,.5);
  transition: background-color .5s var(--ease-out), box-shadow .5s var(--ease-out),
              border-color .5s var(--ease-out);
}
.site.is-scrolled .site__pill {
  background: rgba(23,26,31,.66);
  backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 12px 30px -12px rgba(10,12,16,.6);
}
.site__brand { font-family: var(--font-plain); font-size: 16px; letter-spacing: .01em; color: var(--s-fg); white-space: nowrap; transition: color .65s ease; }
.site__pill .site__brand { color: #f2efe9; }
.site__links { display: flex; gap: 2px; }
.site__links span {
  padding: 7px 11px; border-radius: 10px;
  font-size: 13px; color: #c0c5cb; white-space: nowrap;
  transition: background-color .3s ease;
}
.site__links span.on { color: #f2efe9; background: rgba(255,255,255,.12); }
.site__cta {
  display: inline-flex; align-items: center; padding: 8px 15px;
  border-radius: 10px; font-size: 13px; font-weight: 600; white-space: nowrap;
  background: #f2efe9; color: #22252a;
}
.site__body { flex: 1 1; min-height: 0; position: relative; overflow: hidden; }
.site__scroll {
  position: absolute; left: 0; right: 0; top: 0;
  will-change: transform;
}

.site__hero { position: relative; overflow: hidden; aspect-ratio: 2.9 / 1; }
.site__heroslab { position: absolute; inset: 0; will-change: transform; }
/* sunrise sky — a tall gradient "window" the scroll scrubs upward,
   replacing the reference's banner video with a pure-CSS dawn */
.site__sky {
  position: absolute; left: 0; top: 0; width: 100%; height: 340%;
  background:
    radial-gradient(60% 34% at 50% 82%, rgba(240,180,41,.85) 0%, rgba(240,180,41,0) 62%),
    linear-gradient(to bottom,
      #0e1420 0%, #182433 22%, #2b3b4d 42%,
      #6d5136 60%, #c97f2f 74%, #e8b45c 86%, #f3ddab 100%);
  will-change: transform;
}
.site__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(12,14,18,.62) 0%, rgba(12,14,18,.28) 26%, transparent 58%);
}
.site__hero-copy {
  position: absolute; left: 5.5%; right: 5.5%; bottom: 9%;
  display: flex; flex-direction: column; gap: 8px;
  color: #f6f3ee;
  text-shadow: 0 1px 18px rgba(0,0,0,.35);
}
.site__hero-copy .site__kicker { color: #f6f3ee; }
.site__kicker {
  font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
  opacity: .78;
}
.site__title {
  font-family: var(--font-plain); font-size: 34px;
  line-height: 1.08; letter-spacing: -.01em;
}

.site__section { padding: 60px 5.5%; border-bottom: 1px solid var(--s-line); transition: border-color .65s ease; }
.site__section .site__kicker { color: var(--s-accent); opacity: 1; transition: color .65s ease; }
.site__h {
  margin-top: 12px;
  font-family: var(--font-plain); font-weight: 400;
  font-size: 38px; line-height: 1.14; letter-spacing: -.01em;
  text-shadow: var(--s-title-shadow);
}
.site__text {
  margin-top: 16px; max-width: 46ch;
  font-size: 13.5px; line-height: 1.65; color: var(--s-muted);
  transition: color .65s ease;
}
.site__stats { margin-top: 30px; display: flex; gap: 52px; }
.stat { position: relative; display: flex; flex-direction: column; gap: 5px; padding-top: 13px; min-width: 86px; }
.stat::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 7px;
  --tick: color-mix(in srgb, var(--s-accent) 72%, transparent);
  border-top: 1px solid var(--tick);
  background:
    linear-gradient(var(--tick), var(--tick)) left top / 1px 7px no-repeat,
    linear-gradient(var(--tick), var(--tick)) right top / 1px 7px no-repeat;
}
.stat__n {
  font-family: var(--font-plain); font-size: 30px;
  line-height: 1.1; font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; white-space: nowrap;
}
.stat__l {
  font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--s-muted); transition: color .65s ease; white-space: nowrap;
}
.site__gallery {
  position: relative;
  padding: 52px 0 52px 5.5%;
  display: flex; flex-direction: column; justify-content: center; gap: 20px;
  border-bottom: 1px solid var(--s-line); transition: border-color .65s ease;
}
.site__gallery-head { display: flex; align-items: baseline; gap: 14px; padding-right: 5.5%; }
.site__gallery-head .site__kicker { color: var(--s-accent); opacity: 1; }
.hscroll { overflow: hidden; perspective: 820px; padding: 44px 0 58px; margin: -44px 0 -58px; }
.hscroll__track {
  display: flex; gap: 16px; width: max-content; padding-right: 5.5%;
  will-change: transform; transform-style: preserve-3d;
}
.scard {
  flex: none; width: 240px;
  display: flex; flex-direction: column; gap: 4px;
  padding: 10px; border-radius: 14px;
  background: var(--s-card); border: 1px solid var(--s-line);
  transform-style: preserve-3d; -webkit-backface-visibility: hidden; backface-visibility: hidden;
  box-shadow: var(--s-card-shadow);
  transition: background-color .65s ease, border-color .65s ease;
}
.scard__img {
  aspect-ratio: 4 / 3; border-radius: 9px; margin-bottom: 8px;
  background: #2a2f35 center / cover no-repeat;
}
/* placeholder "project shots" — duotone gradient blocks with a blueprint
   grid, so the mock reads as architecture photography at a glance */
.si-a { background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(160deg, #4a5057, #262c33); background-size: 22px 22px, 22px 22px, cover; }
.si-b { background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(155deg, #6d5a43, #382f25); background-size: 22px 22px, 22px 22px, cover; }
.si-c { background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(150deg, #57616c, #232930); background-size: 22px 22px, 22px 22px, cover; }
.si-d { background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(158deg, #5c5a52, #2b2a26); background-size: 22px 22px, 22px 22px, cover; }
.si-e { background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(152deg, #705c46, #302720); background-size: 22px 22px, 22px 22px, cover; }
.scard__t { font-size: 13.5px; font-weight: 600; }
.scard__m { font-size: 12.5px; color: var(--s-muted); transition: color .65s ease; }

/* timeline ruler under the gallery: index + year marks follow the
   horizontal scroll of the cards */
.gtl { display: flex; align-items: center; gap: 18px; padding: 0 5.5% 16px 0; }
.gtl__idx {
  flex: none; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .12em;
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums; color: var(--s-muted); transition: color .65s ease;
}
.gtl__ruler {
  position: relative; flex: 1 1; height: 1px; background: var(--s-line);
  display: flex; justify-content: space-between;
}
.gtl__fill { position: absolute; left: 0; top: 0; height: 1px; width: 0; background: var(--s-accent); }
.gtl__tick { position: relative; top: -3px; width: 1px; height: 7px; background: color-mix(in srgb, var(--s-fg) 34%, transparent); }
.gtl__tick.on { background: var(--s-accent); }
.gtl__tick::after {
  content: attr(data-y);
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .04em;
  color: var(--s-muted); transition: color .65s ease;
}
.gtl__tick:first-child::after { left: 0; transform: none; }
.gtl__tick:last-child::after { left: auto; right: 0; transform: none; }
.site__footer {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 22px 5.5% 26px;
}
.site__brand--sm { font-size: 14px; }
.site__copy { font-size: 12.5px; color: var(--s-muted); transition: color .65s ease; }

/* assembly at night: blueprint grid + measure tags; the dashed
   outlines on facade and gallery hang on --mt (JS-driven) */
.site__xgrid {
  position: absolute; inset: 0; z-index: 0;
  opacity: 0; pointer-events: none;
  background:
    linear-gradient(color-mix(in srgb, var(--s-fg) 7%, transparent) 1px, transparent 1px) 0 0 / 100% 26px,
    linear-gradient(90deg, color-mix(in srgb, var(--s-fg) 7%, transparent) 1px, transparent 1px) 0 0 / 26px 100%;
}
.site__xtitle {
  position: absolute; z-index: 5; top: 68px; left: 18px;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em;
  color: var(--s-muted);
  padding: 6px 10px; border: 1px solid var(--s-line); border-radius: 8px;
  background: color-mix(in srgb, var(--s-bg) 74%, transparent);
  opacity: 0; pointer-events: none;
}
.site__hero::before,
.site__gallery::before {
  content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  border: 1px dashed color-mix(in srgb, var(--s-accent) 60%, transparent);
  border-radius: 6px;
  opacity: var(--mt);
}
.site__xtag {
  position: absolute; z-index: 3; top: 10px; left: 12px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .07em; white-space: nowrap;
  color: var(--s-fg);
  padding: 4px 9px;
  border: 1px solid color-mix(in srgb, var(--s-accent) 62%, transparent);
  border-radius: 6px;
  background: color-mix(in srgb, var(--s-bg) 82%, transparent);
  opacity: 0; pointer-events: none;
}
.site__hero .site__xtag { left: auto; right: 12px; top: 64px; }

/* ---- stichwort (opening title of each act) ---- */
.stichwort {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  text-align: center; opacity: 0; pointer-events: none;
}
.stichwort__big {
  font-family: var(--font-plain); font-weight: 400;
  font-size: clamp(2.6rem, 9vw, 6.4rem); line-height: 1; letter-spacing: -.015em;
  color: var(--fg);
}

/* ===================== ACT 01 · SOFTWARE (exploded view) ===================== */
.xp { position: relative; width: min(680px, 92vw); height: min(58svh, 470px); opacity: 0; }
.xp__stack { position: absolute; inset: 0; perspective: 1200px; }
.xp__plate {
  position: absolute; left: 50%; top: 50%;
  width: min(340px, 68vw); height: 150px;
  border: 1px solid var(--line); border-radius: 14px;
  background: var(--panel);
  box-shadow: 0 26px 50px -30px rgba(22,21,19,.38);
  will-change: transform;
}
.xp__plate--ui { z-index: 4; }
.xp__plate--logic { z-index: 3; }
.xp__plate--data { z-index: 2; }
.xp__plate--if { z-index: 1; }
.xp__ui {
  position: absolute; inset: 0; padding: 16px 18px;
  display: flex; flex-direction: column; gap: 10px;
  opacity: 0;
}
.xp__ui.is-first { opacity: 1; }
.xp__btn { width: 86px; height: 20px; border-radius: 7px; background: var(--accent); }
.xp__row { display: block; width: var(--w, 100%); height: 10px; border-radius: 5px; background: rgba(22,21,19,.08); }
.xp__cal { display: flex; gap: 6px; flex: 1 1; }
.xp__cal i { flex: 1 1; border-radius: 6px; background: rgba(22,21,19,.06); border: 1px solid var(--line-2); }
.xp__cal i.on { background: rgba(181,71,11,.4); border-color: rgba(181,71,11,.4); }
.xp__cal i.on2 { background: rgba(22,21,19,.22); }
.xp__me { display: flex; align-items: center; gap: 10px; }
.xp__me i { width: 22px; height: 22px; border-radius: 50%; background: rgba(22,21,19,.16); }
.xp__me span { flex: 1 1; height: 10px; border-radius: 5px; background: rgba(181,71,11,.35); }
.xp__btn--ghost { background: transparent; border: 1px dashed rgba(181,71,11,.55); }
.xp__row--ghost { background: transparent; border: 1px dashed rgba(22,21,19,.3); }
.xp__lg {
  position: absolute; inset: 0; padding: 18px 20px;
  display: flex; flex-direction: column; justify-content: center; gap: 11px;
  font-family: var(--font-mono); font-size: 12.5px; color: var(--fg-dim);
  white-space: nowrap;
}
.xp__lg b { font-weight: 500; color: var(--muted); }
.xp__grid {
  position: absolute; inset: 16px;
  display: grid; grid-template-columns: repeat(8, 1fr); grid-gap: 5px; gap: 5px;
}
.xp__grid i { border-radius: 3px; background: rgba(22,21,19,.07); }
.xp__grid i.on { background: rgba(22,21,19,.2); }
.xp__ifs { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-evenly; }
.xp__if {
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; color: var(--muted);
}
.xp__if i { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--fg-dim); background: var(--panel); }
.xp__pulse {
  position: absolute; left: 50%; top: 50%; z-index: 6;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 4px rgba(181,71,11,.15);
  opacity: 0; pointer-events: none;
}
.xp__co {
  position: absolute; top: 50%; left: calc(50% + min(200px, 37vw));
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-sans); font-size: 12px; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
  white-space: nowrap; opacity: 0; pointer-events: none;
}
.xp__co::before { content: ''; width: 46px; height: 1px; background: var(--line); }
.xp__caption { position: absolute; left: 0; right: 0; bottom: -14px; height: 44px; pointer-events: none; }
.xp__caption span {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  font-family: var(--font-sans); font-size: 15px; color: var(--muted);
  white-space: nowrap; opacity: 0;
}
.xp__caption .xp__caption-final {
  font-family: var(--font-plain); font-size: clamp(20px, 2.8vw, 27px);
  color: var(--fg);
}
.xp__caption .xp__caption-your {
  font-family: var(--font-plain); font-size: clamp(17px, 2.3vw, 22px);
  color: var(--fg);
}
@media (max-width: 720px) {
  .xp { height: min(62svh, 470px); }
  .xp__plate, .xp__pulse { left: 50%; }
  .xp__plate { width: min(340px, 84vw); }
  .xp__co {
    left: auto; right: 2px; gap: 0;
    font-size: 9px; letter-spacing: .1em;
    background: var(--bg); border: 1px solid var(--line);
    border-radius: 7px; padding: 3px 7px;
  }
  .xp__co::before { display: none; }
  .xp__lg { font-size: 11px; padding: 12px 14px; }
  /* all four integrations stay visible — evenly spread across the plate */
  .xp__ifs { justify-content: space-between; gap: 8px; padding: 0 10px; }
}

/* ===================== ACT 02 · AI SOLUTIONS ===================== */
.ai { display: flex; flex-direction: column; gap: 22px; align-items: center; }
.ai__editor {
  width: min(620px, 90vw);
  background: var(--panel);
  border: 1px solid var(--line); border-radius: 16px;
  padding: 24px 26px;
  box-shadow: 0 30px 80px -36px rgba(22,21,19,.28);
  opacity: 0;
}
.ai__line { position: relative; font-family: var(--font-mono); font-size: clamp(15px, 2.6vw, 21px); line-height: 1.5; }
.ai__mark { color: var(--accent); margin-right: .6ch; font-weight: 600; }
.ai__typed { color: var(--fg); }
.ai__ghost { color: var(--muted-2); }
.ai__ghost.accepted { color: var(--accent); }
/* mobile: an invisible word-span mirror of the typed line — lets every
   word vanish individually while its chip lifts off (the line itself is
   plain text nodes). Starts hidden, the timeline reveals it via autoAlpha */
.ai__twin {
  position: absolute; left: 0; top: 0;
  opacity: 0; visibility: hidden; pointer-events: none;
  white-space: inherit; font: inherit; letter-spacing: inherit;
}
.ai__twin > span { font: inherit; }
@media (min-width: 720px) { .ai__twin { display: none; } }
.ai__hint {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 16px; font-family: var(--font-mono); font-size: 12.5px; color: var(--muted);
  opacity: 0;
}
.stage > .ai { max-width: min(1000px, 94vw); }
.tf {
  position: relative;
  display: flex; gap: clamp(14px, 2.4vw, 28px); align-items: center;
  width: 100%; height: min(46svh, 400px);
}
.tf__canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.tf__net { position: relative; flex: 1 1; height: 100%; min-width: 0; }
.tf__tok {
  position: absolute; left: 0; top: 0;
  display: inline-flex; flex-direction: column; align-items: center; gap: 2px;
  opacity: 0; pointer-events: none; will-change: transform, opacity;
}
.tf__tok b {
  font-family: var(--font-mono); font-weight: 500; font-size: 12.5px; color: var(--fg);
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 7px; padding: 3px 8px; white-space: nowrap;
}
.tf__tok i { font-style: normal; font-family: var(--font-mono); font-size: 11px; color: var(--muted-2); }
.tf__tok--sub b { border-color: rgba(181,71,11,.5); }
.tf__tag {
  position: absolute; left: 0; top: 0;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em;
  color: var(--muted); white-space: nowrap; opacity: 0; pointer-events: none;
}
/* layer counter on the feed-forward block ("layer 01/12") */
.tf__layerchip {
  position: absolute; left: 0; top: 0;
  font-family: var(--font-mono); font-size: 12px; color: var(--fg-dim);
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 6px; padding: 2px 8px; white-space: nowrap;
  opacity: 0; pointer-events: none;
}
/* embedding: the word as a column of numbers — grows below its chip,
   cells with class .on carry the terracotta accent */
.tf__vec {
  position: absolute; left: 0; top: 0;
  display: flex; flex-direction: column; gap: 2px;
  opacity: 0; pointer-events: none; will-change: transform, opacity;
}
.tf__vec .c { width: 11px; height: 6px; border-radius: 2px; background: rgba(22,21,19,.14); }
.tf__vec .c.on { background: var(--accent); }
/* embedding matrix: 9 token rows × 12 cells — the one-hot lookup table
   every chip dissolves into before it lands as a column of numbers */
.tf__mat {
  position: absolute; left: 0; top: 0;
  display: flex; flex-direction: column; gap: 3px;
  background: var(--panel);
  border: 1px solid var(--line); border-radius: 10px; padding: 10px;
  box-shadow: 0 18px 50px -28px rgba(22,21,19,.3);
  opacity: 0; pointer-events: none; will-change: transform, opacity;
}
.tf__mat .r { display: flex; gap: 3px; border-radius: 3px; padding: 1px; }
.tf__mat .c { width: 7px; height: 7px; border-radius: 2px; }
/* candidate stack: the model weighs the next token next to the card */
.tf__cands {
  position: absolute; right: calc(100% + 10px); top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 3px;
  opacity: 0; pointer-events: none;
}
.tf__cands span {
  font-family: var(--font-mono); font-size: 11px; color: var(--muted);
  background: var(--panel); border: 1px solid var(--line-2);
  border-radius: 5px; padding: 2px 7px; white-space: nowrap;
  opacity: 0;
}
.tf__cands span em { font-style: normal; color: var(--muted-2); margin-left: 6px; }
.tf__cands .is-win { color: var(--accent); border-color: rgba(181,71,11,.5); }
.tf__cands .is-win em { color: rgba(181,71,11,.75); }
.tf__out {
  position: relative; z-index: 1;
  width: min(272px, 34%);
  display: flex; flex-direction: column; justify-content: center; gap: 10px;
}
.tf-card {
  position: relative;
  border: 1px solid var(--line); border-radius: 12px;
  padding: 10px 14px;
  background: var(--panel);
  box-shadow: 0 18px 50px -28px rgba(22,21,19,.25);
  opacity: 0;
}
.tf-card__fn {
  display: block; min-height: 1.35em;
  font-family: var(--font-sans); font-size: 13.5px; font-weight: 600;
  color: var(--fg);
}
.tf-card__meta {
  display: block; margin-top: 2px;
  font-family: var(--font-mono); font-size: 12.5px; color: var(--muted);
}
@media (max-width: 720px) {
  .tf { flex-direction: column; height: auto; gap: 8px; }
  .stage > .ai { position: relative; padding-top: calc(var(--nav-top) + var(--nav-h)); }
  .ai__editor { position: absolute; top: calc(var(--nav-top) + var(--nav-h)); left: 0; right: 0; z-index: 5; }
  /* the machine-completed question stays on ONE line on phones — the
     ghost completion is part of the same row, never wraps */
  .ai__line { font-size: 13px; white-space: nowrap; }
  .tf__vec { gap: 1.5px; }
  .tf__vec .c { width: 7px; height: 4px; }
  .tf__mat { padding: 7px; gap: 2px; }
  .tf__mat .r { gap: 2px; }
  .tf__mat .c { width: 3px; height: 3px; }
  /* candidates hide on phones: the strip next to the cards is too
     narrow — the generation stays legible without them */
  .tf__cands { display: none; }
  .tf__net {
    width: 100%; flex: none;
    height: calc(100svh - var(--nav-top) - var(--nav-h) - 288px);
    min-height: 230px; max-height: 470px;
  }
  .tf-card { box-shadow: 0 5px 12px -10px rgba(22,21,19,.28); }
  .tf__tok b { font-size: 11px; padding: 2px 6px; }
  .tf__tok i { font-size: 10px; }
  .tf__out { width: 100%; display: grid; grid-template-columns: 1fr 1fr; grid-gap: 8px; gap: 8px; }
  .tf-card:last-child { grid-column: 1 / -1; }
  .tf-card { padding: 7px 10px; }
  .tf-card__fn { font-size: 12.5px; }
  /* meta wraps to two lines on narrow cards — reserve the room instead
     of clipping mid-sentence */
  .tf-card__meta { font-size: 11px; line-height: 1.4; min-height: 2.8em; }
  .ai__editor { padding: 14px 16px; }
}

/* ===================== ACT 04 · APP DEVELOPMENT ===================== */
.app {
  position: relative;
  width: min(760px, 94vw); height: min(70svh, 660px);
  display: grid; place-items: center; perspective: 1100px;
  padding-bottom: 34px;
}
.phone { --u: 1px; font-size: var(--u); width: 296em; height: 610em; opacity: 0; will-change: transform; }
.phone__frame {
  position: relative; width: 100%; height: 100%;
  border-radius: 50em; background: #1d1c1a; padding: 9em;
  box-shadow: 0 24em 56em -30em rgba(22,21,19,.5);
}
.phone__frame::before {
  content: ''; position: absolute; inset: 2.5em; border-radius: 47em;
  border: 1px solid rgba(255,255,255,.18); pointer-events: none; z-index: 9;
}
.phone__key { position: absolute; width: 3em; border-radius: 2em; background: #1d1c1a; }
.phone__key--pwr { right: -3em; top: 190em; height: 74em; }
.phone__key--v1 { left: -3em; top: 150em; height: 44em; }
.phone__key--v2 { left: -3em; top: 204em; height: 44em; }
.phone__screen {
  position: absolute; inset: 9em; border-radius: 41em;
  background: #f7f5f1; overflow: hidden;
}
.phone__island {
  position: absolute; top: 13em; left: 50%; transform: translateX(-50%);
  width: 84em; height: 25em; border-radius: 14em; background: #131210; z-index: 8;
}
.phone__status {
  position: absolute; top: 16em; left: 26em; right: 24em; z-index: 7;
  display: flex; justify-content: space-between; align-items: center;
}
.phone__time { font-family: var(--font-sans); font-size: 13em; font-weight: 600; color: var(--fg); }
.phone__glyphs { display: flex; align-items: center; gap: 6em; }
.pg-bars { display: flex; align-items: flex-end; gap: 1.5em; }
.pg-bars b { width: 2.5em; border-radius: 1em; background: var(--fg); }
.pg-bars b:nth-child(1) { height: 4em; } .pg-bars b:nth-child(2) { height: 6em; }
.pg-bars b:nth-child(3) { height: 8em; } .pg-bars b:nth-child(4) { height: 10em; }
.pg-batt {
  width: 20em; height: 10em; border-radius: 3em;
  border: 1.5em solid rgba(22,21,19,.5); position: relative;
}
.pg-batt::after { content: ''; position: absolute; inset: 1.5em; right: 5em; border-radius: 1em; background: var(--fg); }
.phone__homebar {
  position: absolute; bottom: 7em; left: 50%; transform: translateX(-50%);
  width: 104em; height: 4em; border-radius: 2em; background: rgba(22,21,19,.4); z-index: 7;
}
.papp {
  position: absolute; inset: 0; padding: 58em 20em 28em;
  display: flex; flex-direction: column; gap: 13em;
}
.papp__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 3em; }
.papp__title { width: 108em; height: 14em; border-radius: 7em; background: rgba(22,21,19,.85); }
.papp__dot { width: 26em; height: 26em; border-radius: 50%; background: rgba(22,21,19,.1); }
.papp__card {
  height: 96em; border-radius: 16em;
  background: #ffffff; border: 1px solid var(--line-2);
  box-shadow: 0 10em 26em -18em rgba(22,21,19,.3);
}
.papp__row { display: block; width: var(--w, 100%); height: 12em; border-radius: 6em; background: rgba(22,21,19,.08); }
.papp__tabs {
  margin-top: auto; display: flex; justify-content: space-around;
  padding: 12em 20em 6em; border-top: 1px solid var(--line-2);
}
.papp__tabs i { width: 8em; height: 8em; border-radius: 50%; background: rgba(22,21,19,.16); }
.papp__tabs i.on { background: var(--ink); }
.push {
  position: absolute; top: 46em; left: 12em; right: 12em; z-index: 6;
  display: flex; gap: 10em; align-items: center;
  background: rgba(255,255,255,.97); border: 1px solid var(--line); border-radius: 16em;
  padding: 11em 13em;
  box-shadow: 0 16em 36em -16em rgba(22,21,19,.4);
  opacity: 0;
}
.push__icon--mono {
  width: calc(24 * var(--u)); height: calc(24 * var(--u)); border-radius: calc(7 * var(--u)); flex: none;
  display: grid; place-items: center;
  font-size: 12em; line-height: 1;
  background: var(--ink); color: #faf9f7;
}
.push__body { display: flex; flex-direction: column; line-height: 1.35; }
.push__body strong { color: var(--fg); font-size: 12.5em; font-weight: 600; }
.push__body span { color: var(--muted); font-size: 11em; }
.poff {
  position: absolute; top: calc(50 * var(--u)); left: 50%; transform: translateX(-50%); z-index: 5;
  font-family: var(--font-mono); font-size: 10em; letter-spacing: .04em; color: var(--fg-dim);
  background: #ffffff; border: 1px solid var(--line); border-radius: calc(20 * var(--u));
  padding: calc(5 * var(--u)) calc(11 * var(--u)); white-space: nowrap;
  opacity: 0;
}
.pscan {
  position: absolute; left: 0; right: 0; bottom: 0; height: 56%;
  border-radius: 24em 24em 0 0; background: #171613; z-index: 6;
  display: grid; place-items: center;
}
.pscan__vf { position: relative; width: 128em; height: 128em; }
.pscan__vf i { position: absolute; width: 26em; height: 26em; border: 3em solid rgba(250,249,247,.85); }
.pscan__vf i:nth-child(1) { left: 0; top: 0; border-right: 0; border-bottom: 0; border-radius: 8em 0 0 0; }
.pscan__vf i:nth-child(2) { right: 0; top: 0; border-left: 0; border-bottom: 0; border-radius: 0 8em 0 0; }
.pscan__vf i:nth-child(3) { left: 0; bottom: 0; border-right: 0; border-top: 0; border-radius: 0 0 0 8em; }
.pscan__vf i:nth-child(4) { right: 0; bottom: 0; border-left: 0; border-top: 0; border-radius: 0 0 8em 0; }
.pscan__line { position: absolute; left: 8em; right: 8em; top: 12em; height: 2em; border-radius: 1em; background: var(--accent); }
.pscan__tag {
  position: absolute; left: 50%; bottom: calc(22 * var(--u)); transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 10em; color: #faf9f7;
  background: rgba(255,255,255,.14); border-radius: calc(20 * var(--u)); padding: calc(5 * var(--u)) calc(12 * var(--u));
  white-space: nowrap; opacity: 0;
}
.pmap {
  position: absolute; inset: 0; z-index: 4; opacity: 0;
  background:
    linear-gradient(rgba(22,21,19,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22,21,19,.06) 1px, transparent 1px),
    #efece6;
  background-size: 34em 34em;
}
.pmap__pin {
  position: absolute; left: 50%; top: 44%;
  width: 16em; height: 16em; border-radius: 50%;
  background: var(--accent); border: 3em solid #ffffff;
  box-shadow: 0 0 0 2em rgba(22,21,19,.15);
  transform: translate(-50%, -50%);
}
.phome {
  position: absolute; inset: 0; z-index: 5; opacity: 0;
  padding: 66em 26em 60em;
  display: grid; grid-template-columns: repeat(4, 1fr); grid-gap: 20em 16em; gap: 20em 16em;
  align-content: start;
  background: #f7f5f1;
}
.phome i { aspect-ratio: 1; border-radius: 14em; background: rgba(22,21,19,.08); }
.phome i.is-app { background: var(--ink); }
.app__co {
  position: absolute; top: 50%;
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-sans); font-size: 12px; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
  white-space: nowrap; opacity: 0; pointer-events: none;
}
.app__co::before { content: ''; width: 46px; height: 1px; background: var(--line); }
.app__co--r { left: calc(50% + min(190px, 36vw)); }
.app__co--l { right: calc(50% + min(190px, 36vw)); flex-direction: row-reverse; }

/* ===================== GAME · draw with the AI ===================== */
.game { padding: clamp(70px, 12vh, 150px) 6vw clamp(90px, 15vh, 170px); max-width: 760px; margin: 0 auto; text-align: center; }
.game__head { margin-bottom: 8px; }
.game__title { font-family: var(--font-plain); font-size: clamp(2.1rem, 5.4vw, 3.6rem); color: var(--fg); margin-top: 10px; letter-spacing: -.01em; }
.game__desc { color: var(--muted); max-width: 44ch; margin: 14px auto 0; font-size: 15px; line-height: 1.6; }

.oracle__info {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; margin-left: 8px; vertical-align: middle;
  border: 1px solid var(--line); border-radius: 50%; cursor: help;
  font-family: var(--font-sans); font-size: 12px; font-weight: 600; color: var(--muted);
  transition: color .18s ease, border-color .18s ease;
}
.oracle__info:hover, .oracle__info:focus-visible { color: var(--fg); border-color: var(--fg); }
.oracle__tip {
  position: absolute; left: 50%; top: calc(100% + 10px);
  transform: translateX(-50%) translateY(4px);
  width: min(280px, 78vw); z-index: 20; pointer-events: none;
  background: var(--ink); color: #faf9f7;
  font-family: var(--font-sans); font-size: 12.5px; font-weight: 400;
  line-height: 1.5; letter-spacing: 0; text-transform: none; text-align: left;
  padding: 12px 14px; border-radius: 10px;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.5);
  opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.oracle__tip::before {
  content: ""; position: absolute; left: 50%; top: -5px; width: 10px; height: 10px;
  background: var(--ink); transform: translateX(-50%) rotate(45deg);
}
.oracle__info:hover .oracle__tip, .oracle__info:focus-visible .oracle__tip {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
@media (max-width: 480px) {
  .game__head { position: relative; }
  .oracle__info { position: static; }
  .oracle__tip {
    left: 50%; right: auto; top: calc(100% + 8px);
    transform: translateX(-50%) translateY(4px);
    width: min(300px, calc(100vw - 32px));
  }
  .oracle__info:hover .oracle__tip, .oracle__info:focus-visible .oracle__tip {
    transform: translateX(-50%) translateY(0);
  }
  .oracle__tip::before { display: none; }
}

.game__stage {
  position: relative; margin: 32px auto 0; width: min(420px, 92vw); aspect-ratio: 3 / 4;
  border-radius: 22px; overflow: hidden; border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 30px 90px -40px rgba(22,21,19,.3);
  touch-action: manipulation; -webkit-user-select: none; -moz-user-select: none; user-select: none;
}
.game__stage.draw__stage {
  aspect-ratio: auto; width: min(440px, 100%);
  display: flex; flex-direction: column; gap: 14px;
  padding: clamp(18px, 4vw, 26px); text-align: left;
}
.draw__top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.draw__task { font-family: var(--font-sans); font-size: 14px; color: var(--muted); }
.draw__task strong { font-family: var(--font-plain); font-size: clamp(1.5rem, 5vw, 2rem); color: var(--fg); margin-left: 6px; }
.draw__score { font-family: var(--font-sans); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.draw__score strong { color: var(--accent); font-size: 15px; margin-right: 4px; }

.draw__timer { height: 4px; border-radius: 3px; background: var(--line-2); overflow: hidden; }
.draw__timer span { display: block; height: 100%; width: 100%; background: var(--accent); border-radius: 3px; }
.draw__timer span.is-low { background: #c0392b; }

.draw__canvas-wrap {
  position: relative; width: 100%; aspect-ratio: 1 / 1;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
}
.draw__canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block;
  background: transparent; touch-action: none; cursor: crosshair;
}
.draw__net { width: 100%; margin-top: 4px; }
.draw__viz { width: 100%; height: 150px; display: block; }
.draw__hint {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-sans); font-size: 14px; color: var(--muted-2);
  pointer-events: none; transition: opacity .3s ease;
}
.draw__hint.is-gone { opacity: 0; }
.draw__result {
  position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 16px; text-align: center; padding: 24px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  border-radius: 16px;
}
.draw__result[hidden] { display: none; }
.draw__result-head { font-family: var(--font-plain); font-size: clamp(1.5rem, 5vw, 2rem); color: var(--fg); line-height: 1.2; }
.draw__result-head strong { color: var(--accent); }
.draw__result-head span { display: block; font-family: var(--font-sans); font-size: 13px; color: var(--muted); margin-top: 6px; }

.draw__guess { display: flex; flex-direction: column; align-items: center; gap: 4px; min-height: 66px; text-align: center; }
.draw__guess-label { font-family: var(--font-sans); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.draw__guess-word { font-family: var(--font-plain); font-size: clamp(1.5rem, 5vw, 2rem); color: var(--fg-dim); line-height: 1.1; transition: color .2s ease; }
.draw__guess[data-state="idle"] .draw__guess-word { color: var(--muted); }
.draw__guess[data-state="hot"] .draw__guess-word { color: var(--accent); }
.draw__guess-list { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; list-style: none; font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); }

.draw__tools { display: flex; gap: 12px; }
.draw__tool {
  flex: 1 1; padding: 12px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--panel-2); color: var(--fg); font-family: var(--font-sans);
  font-size: 14px; font-weight: 600; cursor: pointer;
  transition: border-color .18s ease, transform .18s var(--ease-out);
}
.draw__tool:hover { border-color: var(--fg); transform: translateY(-1px); }
.oracle__again {
  font-weight: 600; color: #faf9f7; padding: 12px 26px; border-radius: 12px;
  background: var(--ink); cursor: pointer;
  transition: transform .2s var(--ease-out), background .2s ease;
}
.oracle__again:hover { transform: translateY(-2px); background: #000; }

/* ===================== HOW IT WORKS — sticky stacking panels ===================== */
.stack { position: relative; }
.stack__panel {
  position: -webkit-sticky;
  position: sticky; top: 0; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  padding: 12vh 6vw; overflow: hidden;
}
.stack__panel--1 { background: var(--bg); color: var(--ink); }
.stack__panel--2 {
  background: var(--ink); color: #faf9f7;
  border-radius: 30px 30px 0 0; box-shadow: 0 -24px 60px -26px rgba(22,21,19,.55);
}
.stack__panel--3 {
  background: var(--accent); color: #fdf3ea;
  border-radius: 30px 30px 0 0; box-shadow: 0 -24px 60px -26px rgba(22,21,19,.45);
}
/* nav above the dark panels switches to light */
.brand__text, .mainnav__crumb, .mainnav__menu, .mainnav__cta { transition: color .35s ease, border-color .35s ease; }
.mainnav.is-ondark .brand__text,
.mainnav.is-ondark .mainnav__crumb,
.mainnav.is-ondark .mainnav__menu { color: #faf9f7; }
.mainnav.is-ondark .mainnav__cta { color: #faf9f7; border-color: rgba(250,249,247,.45); }
.mainnav.is-ondark::before {
  background: linear-gradient(to bottom, rgba(22,21,19,.6) 0%, rgba(22,21,19,.3) 55%, transparent 100%);
}
.stack__inner { max-width: 900px; text-align: center; will-change: transform, opacity; }
.stack__num { display: block; margin-bottom: 16px; font-family: var(--font-mono); font-size: 15px; letter-spacing: .12em; color: var(--accent); }
.stack__panel--2 .stack__num { color: #e28a4f; }
.stack__panel--3 .stack__num { color: #fdf3ea; }
.stack__h {
  font-family: var(--font-plain); font-weight: 400;
  font-size: clamp(2.6rem, 8vw, 6rem); line-height: 1.03; letter-spacing: -.02em;
}
.stack__p {
  margin: 26px auto 0; max-width: 30ch;
  font-family: var(--font-sans); font-size: clamp(1rem, 2.3vw, 1.35rem); line-height: 1.5; opacity: .82;
}
.stack__panel--3 .stack__p { opacity: .9; }

/* ===================== FINALE / CONTACT ===================== */
.finale { position: relative; min-height: 100vh; min-height: 100dvh; background: var(--bg); display: flex; align-items: center; justify-content: center; padding: 16vh 6vw; }
.finale__inner { width: 100%; max-width: 760px; text-align: center; }
.finale__pre {
  font-family: var(--font-sans); font-size: 12.5px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
  margin-bottom: clamp(24px, 5vh, 44px);
}

/* stage 1 · prompt */
.prompt__line {
  display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: center; gap: .3em;
  font-family: var(--font-plain); font-weight: 400;
  font-size: clamp(1.9rem, 5.4vw, 3.6rem); line-height: 1.16; letter-spacing: -.01em;
  color: var(--fg);
}
.prompt__prefix { white-space: nowrap; }
.prompt__field { position: relative; display: flex; flex: 1 1 8ch; min-width: 8ch; max-width: 100%; }
.prompt__input {
  width: 100%;
  font: inherit; padding: 0; margin: 0; border: 0; outline: 0; resize: none; overflow: hidden;
  background: transparent; color: var(--accent);
  caret-color: var(--accent);
  text-align: left;
}
.prompt__input::placeholder { color: var(--muted-2); }
#promptInput:placeholder-shown:not(:focus)::placeholder { animation: prompt-breathe 2.6s ease-in-out infinite; }
@keyframes prompt-breathe { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
.prompt__tap {
  position: absolute; left: 4.5ch; top: 50%;
  width: 58px; height: 58px; margin: -29px 0 0 -29px;
  pointer-events: none;
}
.prompt__tap::before, .prompt__tap::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  border: 1.5px solid rgba(181,71,11,.5);
  opacity: 0; transform: scale(.25);
  animation: tapwave 2.8s ease-out infinite;
}
.prompt__tap::after { animation-delay: 1.4s; }
@keyframes tapwave {
  0% { transform: scale(.25); opacity: 0; }
  16% { opacity: .5; }
  70%, 100% { transform: scale(1); opacity: 0; }
}
.prompt:focus-within .prompt__tap,
.prompt:has(#promptInput:not(:placeholder-shown)) .prompt__tap { display: none; }
.prompt__cue {
  display: block; margin-top: 18px;
  font-family: var(--font-sans); font-size: 11.5px; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
  opacity: .65; transition: opacity .35s ease;
}
.prompt:focus-within .prompt__cue,
.prompt:has(#promptInput:not(:placeholder-shown)) .prompt__cue { opacity: 0; }
.prompt__send {
  margin-top: clamp(28px, 5vh, 40px);
  font-weight: 600; color: #faf9f7; padding: 13px 28px; border-radius: 12px;
  background: var(--ink);
  opacity: 0; transform: translateY(10px); pointer-events: none;
  transition: opacity .4s var(--ease-out), transform .4s var(--ease-out), background .2s ease;
}
.prompt__send.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.prompt__send:hover { background: #000; }

/* stage 2 · form */
.cform { max-width: 540px; margin: 0 auto; text-align: left; display: flex; flex-direction: column; gap: 16px; }
.cform__grid { display: grid; grid-template-columns: 1fr 1fr; grid-gap: 16px; gap: 16px; }
.cfield { display: flex; flex-direction: column; gap: 8px; }
.cfield > span { font-family: var(--font-mono); font-size: 13px; letter-spacing: .04em; color: var(--muted); }
.cfield input, .cfield textarea {
  font-family: var(--font-sans); font-size: 15px; color: var(--fg);
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 14px; outline: 0; resize: vertical; width: 100%;
  transition: border-color .25s ease, background .25s ease;
}
.cfield input::placeholder, .cfield textarea::placeholder { color: var(--muted-2); }
.cfield input:focus, .cfield textarea:focus { border-color: rgba(22,21,19,.45); }
.cfield textarea { min-height: 128px; line-height: 1.55; }
.cform__actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 4px; }
.cbtn { font-weight: 600; padding: 12px 24px; border-radius: 12px; transition: transform .2s var(--ease-out), background .2s ease, color .2s ease; }
.cbtn--ghost { color: var(--muted); }
.cbtn--ghost:hover { color: var(--fg); }
.cbtn--send { color: #faf9f7; background: var(--ink); }
.cbtn--send:hover { transform: translateY(-2px); background: #000; }
.cform__note { font-family: var(--font-mono); font-size: 12.5px; color: var(--muted-2); text-align: center; margin-top: 2px; }

/* stage 3 · confirmation */
.cdone { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.cdone__check {
  width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%;
  background: var(--ink); color: #faf9f7; font-size: 27px; font-weight: 700;
}
.cdone__title { font-family: var(--font-plain); font-size: clamp(1.7rem, 4vw, 2.6rem); color: var(--fg); }
.cdone__sub { color: var(--muted); max-width: 34ch; }

/* ---- footer ---- */
.sitefooter {
  position: absolute; left: 0; right: 0; bottom: 18px;
  display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap;
  font-size: 12.5px; color: var(--muted);
}
.sitefooter__links { display: flex; gap: 20px; }
.sitefooter a {
  color: var(--muted);
  border-bottom: 1px solid transparent;
  transition: color .25s ease, border-color .25s ease;
}
.sitefooter a:hover { color: var(--fg); border-color: currentColor; }

/* ===================== Responsive ===================== */
@media (max-width: 720px) {
  .editor__body { max-height: 56svh; }
  .chatmsg__who em { display: none; }
  .browser-wrap { --bs: .36; }
  .editor { box-shadow: 0 10px 26px -18px rgba(22,21,19,.26); }
}
@media (max-width: 460px) {
  .code { font-size: 12.5px; }
  .stage { padding: 0 4vw; }
}
@media (max-width: 600px) {
  .cform__grid { grid-template-columns: 1fr; }
  .prompt__line { flex-direction: column; align-items: stretch; gap: .1em; }
  .prompt__field { width: 100%; min-width: 0; flex: 1 1 auto; }
  .prompt__input { text-align: center; }
  .prompt__tap { left: 50%; }
}
@media (max-width: 560px) {
  .phone { --u: .78px; }
  .app__co {
    gap: 0; font-size: 10px; letter-spacing: .12em;
    background: var(--panel); border: 1px solid var(--line);
    border-radius: 7px; padding: 3px 9px;
  }
  .app__co::before { display: none; }
  .app__co--r { left: auto; right: 16px; }
  .app__co--l { right: auto; left: 4px; }
  .ai__editor { padding: 18px; }
}

/* ===================== Reduced motion ===================== */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .caret, .request__caret, .scrollcue__glyph, .scrollcue__line { animation: none !important; }
  .prompt__tap::before, .prompt__tap::after { animation: none !important; opacity: .35; transform: scale(.7); }
  .scrollhint__label, .scrollhint__line { animation: none; }
  .scrollhint { transition: opacity .25s ease, visibility .25s; }
  .oracle__tip, .draw__tool, .draw__hint, .draw__guess-word { transition: none; }
}
/* JS adds body.reduced when the OS asks for reduced motion */
body.reduced .akt__pin { height: auto; overflow: visible; }
body.reduced .stage {
  display: block; padding: 12vh 6vw; perspective: none;
}
body.reduced .stage > * {
  position: static; grid-area: auto; margin: 0 auto clamp(48px, 10vh, 120px);
  opacity: 1 !important; transform: none !important; filter: none !important;
  pointer-events: auto !important;
}
body.reduced .request__caret,
body.reduced .caret { display: none; }
body.reduced .browser { height: auto; opacity: 1; }
body.reduced .browser-wrap { width: auto; height: auto; margin: 0 auto; }
body.reduced .browser-scale { position: static; transform: none; width: auto; height: auto; }
body.reduced .browser__viewport { overflow: visible; }
body.reduced .site__body { overflow: visible; }
body.reduced .site__scroll { position: static; }
body.reduced .hscroll { overflow-x: auto; padding: 0 0 24px; margin: 0; }
body.reduced .site__xgrid,
body.reduced .site__xtitle,
body.reduced .site__xtag { display: none; }
body.reduced .ai__editor { opacity: 1; position: static; }
body.reduced .ai__hint { opacity: 1; }
body.reduced .tf-card, body.reduced .tf-card__meta { opacity: 1 !important; transform: none !important; }
body.reduced .xp { opacity: 1; }
body.reduced .xp__co { opacity: .9; }
body.reduced .xp__caption .xp__caption-final { opacity: 1; }
body.reduced .phone { opacity: 1; margin: 0 auto; }
body.reduced .push { transform: translateY(0); opacity: 1; }
body.reduced .app__co { opacity: .9; }

