/* ===== FONT FACES ===== */

@font-face {
  font-family: 'Anton';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/Anton_1.9613c1c3c8e2.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: 'Anton';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/Anton_2.ab8365836d69.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: 'Anton';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/Anton_3.912c3c9f2621.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: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/Instrument_Serif_1.148ffff0cacc.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("../fonts/Instrument_Serif_2.bc891bdd08ad.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("../fonts/Instrument_Serif_3.b160c869d0b2.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("../fonts/Instrument_Serif_4.9b8dd1ecf641.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: 300;
  font-display: swap;
  src: url("../fonts/JetBrains_Mono_1.742dd0628e01.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: 300;
  font-display: swap;
  src: url("../fonts/JetBrains_Mono_2.615bf869ebeb.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: 300;
  font-display: swap;
  src: url("../fonts/JetBrains_Mono_3.51671ed9eb64.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: 300;
  font-display: swap;
  src: url("../fonts/JetBrains_Mono_4.ddf99e6e35c6.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: 300;
  font-display: swap;
  src: url("../fonts/JetBrains_Mono_5.e36841ed93d5.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: 300;
  font-display: swap;
  src: url("../fonts/JetBrains_Mono_6.b058178d7f30.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("../fonts/JetBrains_Mono_1.742dd0628e01.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("../fonts/JetBrains_Mono_2.615bf869ebeb.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("../fonts/JetBrains_Mono_3.51671ed9eb64.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("../fonts/JetBrains_Mono_4.ddf99e6e35c6.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("../fonts/JetBrains_Mono_5.e36841ed93d5.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("../fonts/JetBrains_Mono_6.b058178d7f30.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("../fonts/JetBrains_Mono_1.742dd0628e01.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("../fonts/JetBrains_Mono_2.615bf869ebeb.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("../fonts/JetBrains_Mono_3.51671ed9eb64.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("../fonts/JetBrains_Mono_4.ddf99e6e35c6.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("../fonts/JetBrains_Mono_5.e36841ed93d5.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("../fonts/JetBrains_Mono_6.b058178d7f30.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: 'Oswald';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/Oswald_1.fd4dcca39bf1.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: 'Oswald';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/Oswald_2.e4645718d3b4.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/Oswald_3.279ec41e5bf7.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: 'Oswald';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/Oswald_4.4276e5fb1957.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: 'Oswald';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/Oswald_5.5f49329007f1.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: 'Oswald';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/Oswald_1.fd4dcca39bf1.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: 'Oswald';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/Oswald_2.e4645718d3b4.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/Oswald_3.279ec41e5bf7.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: 'Oswald';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/Oswald_4.4276e5fb1957.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: 'Oswald';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/Oswald_5.5f49329007f1.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: 'Oswald';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/Oswald_1.fd4dcca39bf1.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: 'Oswald';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/Oswald_2.e4645718d3b4.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/Oswald_3.279ec41e5bf7.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: 'Oswald';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/Oswald_4.4276e5fb1957.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: 'Oswald';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/Oswald_5.5f49329007f1.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;
}

/* ===== MAIN STYLES ===== */
  /* ===== ROOT (shared) ===== */
  :root {
    --bg: #0a0908;
    --bg-2: #11100e;
    --fg: #f5f1e6;
    --mute: #9a9384;
    --line: #2a2723;
    --accent: #e0231d;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
  html, body { background: var(--bg); color: var(--fg); }
  html { scrollbar-width: none; scroll-behavior: smooth; }
  html::-webkit-scrollbar { display: none; }
  body {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 300;
    line-height: 1.55;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
  }
  body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 100;
    opacity: 0.08;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  }
  body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 99;
    background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.55) 100%);
  }
  ::selection { background: var(--accent); color: var(--fg); }
  a { color: inherit; text-decoration: none; }

  /* ===== AUTO-SWITCH ===== */
  .mobile-only { display: none; }
  .desktop-only { display: block; }
  @media (max-width: 768px) {
    .desktop-only { display: none; }
    .mobile-only { display: block; }
  }

  
  /* anims must work across both layouts — keep them unscoped */
  body .anim-1, body .anim-2, body .anim-3, body .anim-4 { opacity: 0; transform: translateY(8px); }
  body.reveal .anim-1 { animation: fadeUp 0.7s 0.10s ease-out forwards; }
  body.reveal .anim-2 { animation: fadeUp 0.7s 0.35s ease-out forwards; }
  body.reveal .anim-3 { animation: fadeUp 0.7s 0.55s ease-out forwards; }
  body.reveal .anim-4 { animation: fadeUp 0.7s 0.80s ease-out forwards; }
  @keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

  /* ===== DESKTOP LAYOUT (scoped) ===== */

  :root {
    --bg: #0a0908;
    --bg-2: #11100e;
    --fg: #f5f1e6;
    --mute: #9a9384;
    --line: #2a2723;
    --accent: #e0231d;
  } * { box-sizing: border-box; margin: 0; padding: 0; } html, body { background: var(--bg); color: var(--fg); } html { scrollbar-width: none; } .desktop-only html::-webkit-scrollbar { width: 0; height: 0; display: none; } body {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 300;
    font-size: 13px;
    line-height: 1.55;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
  } .desktop-only body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 100;
    opacity: 0.08;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  } .desktop-only body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 99;
    background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.55) 100%);
  } .desktop-only ::selection { background: var(--accent); color: var(--fg); } .desktop-only a { color: inherit; text-decoration: none; } .desktop-only /* TOP STRIP */
  .topbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 50;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 28px;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mute);
    background: linear-gradient(to bottom, rgba(10,9,8,0.92), transparent);
  } .desktop-only .topbar .brand {
    color: var(--fg);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  } .desktop-only .topbar .brand .brand-row {
    display: flex;
    align-items: center;
    gap: 10px;
  } .desktop-only .topbar .brand .tagline {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--mute);
    line-height: 1;
  } .desktop-only .topbar .brand .tagline em {
    color: var(--fg);
    font-style: normal;
  } .desktop-only .topbar .brand .tagline .pulse {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse 1.8s ease-in-out infinite;
    flex-shrink: 0;
  }
  @keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(0.7); }
  } .desktop-only .topbar .brand .logo {
    font-family: 'Anton', sans-serif;
    font-size: 18px;
    letter-spacing: -0.02em;
    line-height: 1;
  } .desktop-only .topbar .brand .logo .d {
    display: inline-block;
    width: 5px; height: 5px;
    background: var(--accent);
    border-radius: 50%;
    margin-left: 3px;
    vertical-align: top;
    margin-top: 3px;
  } .desktop-only .topbar .brand .x {
    color: var(--mute);
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-size: 22px;
    line-height: 1;
    margin: 0 4px;
    transform: translateY(-1px);
  } .desktop-only .topbar .brand .mi-logo {
    display: inline-block;
    width: 28px;
    height: 28px;
    background-color: var(--fg);
    -webkit-mask: url("../images/mi-logo.f51edcd5a5c6.svg") center / contain no-repeat;
            mask: url("../images/mi-logo.f51edcd5a5c6.svg") center / contain no-repeat;
  } .desktop-only .topbar .clock { font-variant-numeric: tabular-nums; } .desktop-only main {
    padding: 64px 56px 40px;
    max-width: 1280px;
    margin: 0 auto;
  } .desktop-only /* HERO */
  .hero {
    padding: 32px 0 28px;
    max-width: 720px;
  } .desktop-only .hero .lab {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--mute);
  } .desktop-only .hero .lab .pulse {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse 1.8s ease-in-out infinite;
    flex-shrink: 0;
  } .desktop-only .hero .lab span { color: var(--fg); } .desktop-only .hero .lab {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--mute);
  } .desktop-only .hero .lab .pulse {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse 1.8s ease-in-out infinite;
    flex-shrink: 0;
  }
  @keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(0.7); }
  } .desktop-only .hero .lab span { color: var(--fg); } .desktop-only .hero .crumb {
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--mute);
    margin-bottom: 14px;
  } .desktop-only .hero .crumb span { color: var(--fg); } .desktop-only .hero h1 {
    font-family: 'Anton', sans-serif;
    font-weight: 400;
    font-size: 64px;
    line-height: 1;
    letter-spacing: -0.015em;
    margin-bottom: 14px;
  } .desktop-only .hero h1 .it {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    color: var(--accent);
    text-transform: lowercase;
    font-size: 0.55em;
    letter-spacing: 0;
    margin-left: 0.15em;
  } .desktop-only .hero .lead {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-size: 18px;
    color: var(--mute);
    line-height: 1.5;
    max-width: 620px;
  } .desktop-only .hero .lead em { color: var(--accent); font-style: italic; } .desktop-only /* FILTER */
  .filter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
    gap: 16px;
  } .desktop-only .filter .tabs { display: flex; flex-wrap: wrap; border-top: 1px solid var(--line); border-left: 1px solid var(--line); } .desktop-only .filter .tabs button {
    background: transparent;
    color: var(--mute);
    border: none;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 14px 20px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
  } .desktop-only .filter .tabs button:hover { color: var(--fg); } .desktop-only .filter .tabs button.active { background: var(--fg); color: var(--bg); } .desktop-only .filter .tabs button .count { font-size: 11px; opacity: 0.6; } .desktop-only .filter .meta {
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
  } .desktop-only /* DEPT SECTION */
  .dept-section { padding: 40px 0 12px; } .desktop-only .dept-section + .dept-section { border-top: 1px solid var(--line); } .desktop-only .dept-head {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 24px;
    align-items: baseline;
    margin-bottom: 18px;
  } .desktop-only .dept-head .num {
    font-family: 'Anton', sans-serif;
    font-size: 22px;
    line-height: 1;
    color: var(--accent);
    letter-spacing: 0.05em;
  } .desktop-only .dept-head .name {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-size: 28px;
    color: var(--fg);
  } .desktop-only .dept-head .name .accent { color: inherit; } .desktop-only .dept-head .info {
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--mute);
    text-align: right;
  } .desktop-only /* JOB ROW */
  .jobs { display: flex; flex-direction: column; } .desktop-only .job {
    display: grid;
    grid-template-columns: 60px 1fr auto 32px;
    gap: 24px;
    align-items: center;
    padding: 18px 8px;
    border-top: 1px solid var(--line);
    cursor: pointer;
    transition: background 0.25s;
    position: relative;
  } .desktop-only .job:last-child { border-bottom: 1px solid var(--line); } .desktop-only .job:hover { background: var(--bg-2); } .desktop-only .job.open .toggle { transform: rotate(45deg); } .desktop-only .job .num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.18em;
    color: var(--accent);
  } .desktop-only .job .info .title {
    font-family: 'Anton', sans-serif;
    font-size: 26px;
    line-height: 1;
    margin-bottom: 4px;
    letter-spacing: -0.005em;
  } .desktop-only .job .info .title .it {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    color: inherit;
    text-transform: lowercase;
    font-size: 0.6em;
    letter-spacing: 0;
    margin-left: 0.15em;
  } .desktop-only .job .info .sub {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    color: var(--mute);
    font-size: 13px;
    line-height: 1.35;
    max-width: 480px;
  } .desktop-only .job .col {
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mute);
    text-align: right;
    min-width: 90px;
  } .desktop-only .job .col-rate { min-width: 110px; margin-right: -8px; } .desktop-only .job .col .k {
    display: block;
    font-size: 10px;
    letter-spacing: 0.22em;
    color: var(--accent);
    margin-bottom: 3px;
    opacity: 0.8;
  } .desktop-only .job .col .v { color: var(--fg); } .desktop-only .job .badge {
    justify-self: end;
    font-size: 9px;
    letter-spacing: 0.22em;
    padding: 3px 7px;
    color: var(--fg);
    background: var(--accent);
  } .desktop-only .job .badge.urgent { background: var(--fg); color: var(--bg); } .desktop-only .job .toggle {
    width: 40px; height: 40px;
    background: transparent;
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--fg);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.3s, background 0.2s, border-color 0.2s, color 0.2s;
    justify-self: end;
    padding: 0;
  } .desktop-only .job:hover .toggle { background: var(--bg-2); border-color: var(--mute); } .desktop-only .job.open .toggle { background: var(--accent); border-color: var(--accent); color: var(--fg); } .desktop-only /* JOB DETAILS — collapsible */
  .job-details {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.5s cubic-bezier(.2,.7,.2,1), opacity 0.3s, padding 0.3s;
    grid-column: 1 / -1;
  } .desktop-only .job.open + .job-details {
    max-height: 1200px;
    opacity: 1;
    padding: 24px 8px 32px;
    border-bottom: 1px solid var(--line);
  } .desktop-only .job.open + .job-details + .job { border-top: none; } .desktop-only .details-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 24px;
    padding-left: 84px;
  } .desktop-only .details-grid .marker {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--mute);
    padding-top: 4px;
  } .desktop-only .details-grid .body { max-width: 640px; } .desktop-only .details-grid .body p {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 500;
    font-size: 15px;
    line-height: 1.6;
    color: var(--fg);
    padding: 4px 0 4px 18px;
    border-left: 2px solid var(--accent);
    margin-bottom: 6px;
  } .desktop-only .details-grid .body p em {
    color: var(--accent);
    font-style: normal;
  } .desktop-only .details-grid .body h4 {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 500;
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--mute);
    margin: 22px 0 10px;
  } .desktop-only .details-grid .body ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
  } .desktop-only .details-grid .body ul li {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    line-height: 1.55;
    color: var(--fg);
    padding-left: 18px;
    position: relative;
  } .desktop-only .details-grid .body ul li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--accent);
  } .desktop-only .details-grid .side {
    display: flex;
    flex-direction: column;
    gap: 16px;
  } .desktop-only .details-grid .side .specs {
    border: 1px solid var(--line);
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  } .desktop-only .details-grid .side .specs .row {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed var(--line);
    padding-bottom: 8px;
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--mute);
  } .desktop-only .details-grid .side .specs .row:last-child {
    border-bottom: none;
    padding-bottom: 0;
  } .desktop-only .details-grid .side .specs .row .v {
    color: var(--fg);
    font-family: 'JetBrains Mono', monospace;
  } .desktop-only .details-grid .side .apply {
    background: var(--accent);
    color: var(--fg);
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: background 0.25s;
  } .desktop-only .details-grid .side .apply:hover { background: var(--fg); color: var(--bg); } .desktop-only .details-grid .side .apply .kicker {
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    opacity: 0.7;
  } .desktop-only .details-grid .side .apply .label {
    font-family: 'Anton', sans-serif;
    font-size: 34px;
    line-height: 1;
    letter-spacing: -0.005em;
    display: flex;
    justify-content: space-between;
    align-items: center;
  } .desktop-only .details-grid .side .apply .label .arr {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-size: 26px;
    transition: transform 0.3s;
  } .desktop-only .details-grid .side .apply:hover .label .arr { transform: translateX(6px); } .desktop-only .details-grid .side .apply .foot {
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    opacity: 0.75;
    border-top: 1px solid rgba(245,241,230,0.25);
    padding-top: 10px;
  } .desktop-only .details-grid .side .apply:hover .foot { border-color: rgba(0,0,0,0.25); opacity: 1; } .desktop-only /* EMPTY DEPT */
  .empty-dept {
    padding: 28px 8px 8px;
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-size: 18px;
    color: var(--mute);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: baseline;
  } .desktop-only .empty-dept .accent { color: var(--accent); } .desktop-only .empty-dept .open-call {
    font-family: 'JetBrains Mono', monospace;
    font-style: normal;
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--fg);
    border-bottom: 1px solid var(--accent);
    padding-bottom: 3px;
    cursor: pointer;
  } .desktop-only .empty-dept .open-call:hover { color: var(--accent); } .desktop-only /* CONTACT FOOT */
  .contact {
    margin: 60px 0 30px;
    padding: 40px 36px;
    border: 1px solid var(--line);
    background: var(--bg-2);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 30px;
    align-items: center;
  } .desktop-only .contact .ck {
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--mute);
    margin-bottom: 8px;
  } .desktop-only .contact h3 {
    font-family: 'Anton', sans-serif;
    font-size: 36px;
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
  } .desktop-only .contact h3 .it {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    color: var(--accent);
    text-transform: lowercase;
    font-size: 0.7em;
  } .desktop-only .contact .desc {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    color: var(--mute);
    font-size: 15px;
    max-width: 460px;
  } .desktop-only .contact a.mail {
    font-family: 'Anton', sans-serif;
    font-size: 28px;
    color: var(--fg);
    border-bottom: 1px solid var(--accent);
    padding-bottom: 4px;
    transition: color 0.2s;
    letter-spacing: -0.005em;
  } .desktop-only .contact a.mail:hover { color: var(--accent); } .desktop-only /* FOOT STRIP */
  footer.foot-strip {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--mute);
    margin-top: 32px;
    padding-bottom: 20px;
  } .desktop-only /* anims */
  .anim-1, .desktop-only .anim-2, .desktop-only .anim-3 { opacity: 0; transform: translateY(8px); } body.reveal .desktop-only .anim-1 { animation: fadeUp 0.7s 0.1s ease-out forwards; } body.reveal .desktop-only .anim-2 { animation: fadeUp 0.7s 0.35s ease-out forwards; } body.reveal .desktop-only .anim-3 { animation: fadeUp 0.7s 0.6s ease-out forwards; }
  @keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

  /* NARROW LAPTOPS */
  @media (max-width: 1440px) {
    main { padding: 60px 40px 32px; } .desktop-only .hero h1 { font-size: 56px; } .desktop-only .job { grid-template-columns: 48px 1fr auto 32px; gap: 18px;} .desktop-only .details-grid { grid-template-columns: 1fr 280px; gap: 20px; padding-left: 66px; }
  }
  @media (max-width: 1280px) {
    main { padding: 56px 28px 28px; } .desktop-only .hero h1 { font-size: 48px; } .desktop-only .job {
      grid-template-columns: 40px 1fr auto 32px;
      gap: 14px;
    } .desktop-only .job .col-rate { display: none; } .desktop-only .details-grid { grid-template-columns: 1fr; gap: 18px; padding-left: 54px; }
  }

  /* TABLETS */
  @media (max-width: 900px) {
    .topbar { padding: 14px 18px; font-size: 10px; } .desktop-only .topbar .brand .logo { font-size: 16px; } .desktop-only main { padding: 56px 22px 24px; } .desktop-only .hero { padding: 26px 0 22px; } .desktop-only .hero h1 { font-size: 42px; } .desktop-only .filter {
      flex-direction: column;
      align-items: flex-start;
      padding: 18px 0;
    } .desktop-only .filter .tabs { width: 100%; flex-wrap: wrap; } .desktop-only .filter .tabs button { flex: 1 1 50%; justify-content: space-between; padding: 12px 14px; } .desktop-only .filter .meta { display: none; } .desktop-only .dept-section { padding: 30px 0 8px; } .desktop-only .dept-head { grid-template-columns: auto 1fr auto; gap: 14px; } .desktop-only .dept-head .name { font-size: 22px; } .desktop-only .dept-head .info { font-size: 9px; } .desktop-only .job {
      grid-template-columns: 1fr auto;
      gap: 10px 14px;
      padding: 16px 6px;
      align-items: start;
    } .desktop-only .job .num { grid-column: 1 / -1; font-size: 9px; } .desktop-only .job .info { grid-column: 1; } .desktop-only .job .info .title { font-size: 22px; line-height: 1.05; } .desktop-only .job .col {
      text-align: left;
      min-width: 0;
    } .desktop-only .job .col-type, .desktop-only .job .col-rate {
      grid-column: 1;
      display: inline-block;
      margin-right: 12px;
    } .desktop-only .job .col-rate { margin-right: 0; } .desktop-only .job .col .k { display: inline; margin-right: 6px; opacity: 0.6; } .desktop-only .job .col .v { display: inline; } .desktop-only .job .toggle {
      grid-column: 2;
      grid-row: 1 / span 3;
      align-self: center;
    } .desktop-only .details-grid {
      grid-template-columns: 1fr;
      gap: 16px;
      padding-left: 0;
    } .desktop-only .details-grid .body p { font-size: 16px; } .desktop-only .details-grid .side .specs { padding: 14px 16px; } .desktop-only .details-grid .side .apply { padding: 16px; } .desktop-only .details-grid .side .apply .label { font-size: 24px; } .desktop-only .job.open + .job-details { padding: 18px 6px 24px; }
  }

  /* PHONES */
  @media (max-width: 560px) {
    .topbar { padding: 12px 14px; } .desktop-only .topbar .brand span:last-child { display: none; } .desktop-only .topbar .clock { display: none; } .desktop-only main { padding: 50px 16px 20px; } .desktop-only .hero h1 { font-size: 34px; line-height: 1; } .desktop-only .filter .tabs button {
      flex: 1 1 100%;
      font-size: 10px;
      letter-spacing: 0.12em;
      padding: 10px 12px;
      border-right: none;
      border-bottom: 1px solid var(--line);
    } .desktop-only .filter .tabs button:last-child { border-bottom: none; } .desktop-only .dept-head {
      grid-template-columns: 1fr;
      gap: 4px;
    } .desktop-only .dept-head .info { text-align: left; } .desktop-only .dept-head .name { font-size: 20px; } .desktop-only .job .info .title { font-size: 19px; } .desktop-only .job .col {
      font-size: 10px;
      letter-spacing: 0.1em;
    } .desktop-only .job .toggle { width: 28px; height: 28px; font-size: 16px; } .desktop-only .empty-dept {
      flex-direction: column;
      gap: 12px;
      align-items: flex-start;
      font-size: 15px;
    } .desktop-only .details-grid .body p { font-size: 15px; } .desktop-only .details-grid .body ul li { font-size: 12px; } .desktop-only .details-grid .side .specs .row {
      font-size: 9px;
      letter-spacing: 0.14em;
    } .desktop-only footer.foot-strip {
      flex-direction: column;
      gap: 8px;
      text-align: center;
      font-size: 9px;
    }
  } .desktop-only /* LANG SWITCHER */
  .lang-switch {
    display: flex;
    border: 1px solid var(--line);
    margin-right: 16px;
  } .desktop-only .lang-switch button {
    background: transparent;
    color: var(--mute);
    border: none;
    border-right: 1px solid var(--line);
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 8px 14px;
    cursor: pointer;
    transition: color 0.2s, background 0.2s;
  } .desktop-only .lang-switch button:last-child { border-right: none; } .desktop-only .lang-switch button:hover { color: var(--fg); } .desktop-only .lang-switch button.on { background: var(--fg); color: var(--bg); } .desktop-only .topbar .right {
    display: flex;
    align-items: center;
  } .desktop-only /* RU type — swap Anton (Cyrillic is too thin) for Oswald 700, .desktop-only which has matching condensed display feel but proper heavy Cyrillic. */
  html[lang="ru"] .hero h1, html[lang="ru"] .dept-head .num, html[lang="ru"] .job .info .title, html[lang="ru"] .details-grid .side .apply .label {
    font-family: 'Oswald', 'Anton', sans-serif;
    font-weight: 700;
    letter-spacing: -0.005em;
  } html[lang="ru"] .hero h1 { letter-spacing: -0.01em; } html[lang="ru"] .hero .lab { font-weight: 500; color: #c8c1b1; } .desktop-only /* PAST EVENT FEATURED CARD */
  .past-event-wrap {
    margin: 40px 0 40px;
    padding-top: 32px;
    border-top: 1px solid var(--line);
  } .desktop-only .past-event-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin: 0 auto 14px;
    max-width: 680px;
  } .desktop-only .past-event-head h2 {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-weight: 400;
    font-size: 18px;
  } .desktop-only .past-event-head h2 .accent { color: var(--accent); } .desktop-only .past-event-head .meta {
    font-size: 9px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--mute);
  } .desktop-only .past-event {
    display: block;
    max-width: 680px;
    margin: 0 auto;
    border: 1px solid var(--line);
    background: var(--bg-2);
    padding: 10px;
    cursor: pointer;
    transition: background 0.3s, border-color 0.3s;
    position: relative;
    color: inherit;
    text-decoration: none;
  } .desktop-only .past-event:hover { background: #15130f; border-color: var(--mute); } .desktop-only .past-event .pe-img {
    position: relative;
    aspect-ratio: 21 / 9;
    background: var(--bg);
    overflow: hidden;
    border: 1px solid var(--line);
    filter: grayscale(0.6) contrast(1.05) brightness(0.85);
    transition: filter 0.4s;
    margin-bottom: 12px;
  } .desktop-only .past-event:hover .pe-img {
    filter: grayscale(0) contrast(1) brightness(1);
  } .desktop-only .past-event .pe-img .frame {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.9s ease-in-out;
  } .desktop-only .past-event .pe-img .frame.on { opacity: 1; } .desktop-only .past-event .pe-img .frame svg, .desktop-only .past-event .pe-img .frame img {
    display: block;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
  } .desktop-only .past-event .pe-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.22em;
    padding: 4px 7px;
    color: var(--fg);
    background: var(--accent);
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
  } .desktop-only .past-event .pe-counter {
    position: absolute;
    bottom: 10px;
    right: 12px;
    display: flex;
    gap: 6px;
    z-index: 2;
  } .desktop-only .past-event .pe-counter span {
    width: 22px;
    height: 2px;
    background: rgba(245,241,230,0.25);
    transition: background 0.3s;
  } .desktop-only .past-event .pe-counter span.on { background: var(--fg); } .desktop-only .past-event .pe-body { padding: 2px 4px; } .desktop-only .past-event .pe-top {
    display: flex;
    justify-content: space-between;
    font-size: 8px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--mute);
    padding-bottom: 8px;
    border-bottom: 1px solid var(--line);
  } .desktop-only .past-event .pe-top span:first-child { color: var(--fg); } .desktop-only .past-event .pe-row {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 24px;
    align-items: end;
    padding: 10px 0 4px;
  } .desktop-only .past-event .pe-title {
    font-family: 'Anton', sans-serif;
    font-weight: 400;
    font-size: 26px;
    line-height: 1;
    letter-spacing: -0.01em;
    margin: 0 0 4px;
  } html[lang="ru"] .past-event .pe-title {
    font-family: 'Oswald', 'Anton', sans-serif;
    font-weight: 700;
  } .desktop-only .past-event .pe-title .it {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    color: var(--accent);
    text-transform: lowercase;
    font-size: 0.55em;
    letter-spacing: 0;
    margin-left: 0.15em;
  } .desktop-only .past-event .pe-sub {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-size: 12px;
    color: var(--mute);
    line-height: 1.4;
  } .desktop-only .past-event .pe-grid {
    display: flex;
    gap: 0;
    justify-content: flex-end;
  } .desktop-only .past-event .pe-grid > div {
    flex: 0 0 auto;
    padding: 0 10px 0 0;
    border-right: 1px dashed var(--line);
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
  } .desktop-only .past-event .pe-grid > div:last-child {
    border-right: none;
    padding-right: 0;
  } .desktop-only .past-event .pe-grid > div + div { padding-left: 10px; } .desktop-only .past-event .pe-grid .k {
    font-size: 8px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--mute);
  } .desktop-only .past-event .pe-grid .v {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: var(--fg);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  } .desktop-only .past-event .pe-grid .v.big {
    font-family: 'Anton', sans-serif;
    font-size: 14px;
    letter-spacing: 0;
  } html[lang="ru"] .past-event .pe-grid .v.big {
    font-family: 'Oswald', 'Anton', sans-serif;
    font-weight: 700;
  } .desktop-only .past-event .pe-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    margin-top: 8px;
    border-top: 1px solid var(--line);
    font-size: 9px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--mute);
  } .desktop-only .past-event .pe-cta .recap {
    color: var(--fg);
    border-bottom: 1px solid var(--accent);
    padding-bottom: 3px;
    transition: color 0.2s;
  } .desktop-only .past-event:hover .pe-cta .recap { color: var(--accent); } .desktop-only .past-event .pe-cta .arrow {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-size: 20px;
    color: var(--fg);
    transition: transform 0.3s;
  } .desktop-only .past-event:hover .pe-cta .arrow { transform: translateX(4px); }
  /* ============================================
     MOBILE — XL: each block fills the screen
     ============================================ */
  @media (max-width: 640px) {
    body { font-size: 15px; } .desktop-only /* TOPBAR — keep compact, .desktop-only the real action starts below */
    .topbar {
      padding: 14px 18px;
      flex-wrap: wrap;
      gap: 10px;
      align-items: center;
    } .desktop-only .topbar .brand .logo { font-size: 24px; } .desktop-only .topbar .brand .x { font-size: 24px; } .desktop-only .topbar .brand .mi-logo { width: 32px; height: 32px; } .desktop-only .topbar .clock { display: none; } .desktop-only .topbar .right { order: 2; } .desktop-only .lang-switch { margin-right: 0; } .desktop-only .lang-switch button {
      font-size: 14px;
      padding: 12px 18px;
    } .desktop-only main { padding: 80px 20px 40px; } .desktop-only /* HERO — fills the first screen */
    .hero {
      padding: 32px 0 48px;
      max-width: 100%;
      min-height: 50vh;
      display: flex;
      flex-direction: column;
      justify-content: center;
    } .desktop-only .hero h1 {
      font-size: 96px;
      line-height: 0.92;
      letter-spacing: -0.025em;
    } html[lang="ru"] .hero h1 {
      font-size: 84px;
      letter-spacing: -0.015em;
    } .desktop-only .hero .lab {
      font-size: 16px;
      letter-spacing: 0.18em;
      margin-top: 22px;
    } .desktop-only /* FILTER — full-width chunky pills, .desktop-only one per row */
    .filter {
      flex-direction: column;
      gap: 0;
      padding: 24px 0;
      align-items: stretch;
      border-bottom: none;
    } .desktop-only .filter .tabs {
      width: 100%;
      flex-direction: column;
      border: none;
    } .desktop-only .filter .tabs button {
      width: 100%;
      font-size: 18px;
      letter-spacing: 0.18em;
      padding: 26px 20px;
      justify-content: space-between;
      border: 1px solid var(--line);
      border-bottom: none;
    } .desktop-only .filter .tabs button:last-child { border-bottom: 1px solid var(--line); } .desktop-only .filter .tabs button .count { font-size: 14px; opacity: 0.6; } .desktop-only .filter .meta { display: none; } .desktop-only /* DEPT HEAD — big chunk of breathing room */
    .dept-section {
      padding: 56px 0 16px;
    } .desktop-only .dept-head {
      grid-template-columns: 1fr;
      gap: 8px;
      margin-bottom: 26px;
    } .desktop-only .dept-head .num {
      font-size: 22px;
      color: var(--accent);
    } .desktop-only .dept-head .name {
      font-size: 42px;
      line-height: 1;
    } .desktop-only .dept-head .info {
      text-align: left;
      font-size: 12px;
      letter-spacing: 0.2em;
      padding-top: 8px;
    } .desktop-only /* JOB CARD — half a screen each */
    .job {
      display: flex;
      flex-direction: column;
      align-items: stretch;
      gap: 28px;
      padding: 36px 4px;
      border-top: 1px solid var(--line);
      min-height: 38vh;
      justify-content: center;
    } .desktop-only .job .num {
      font-size: 13px;
      color: var(--accent);
      letter-spacing: 0.22em;
    } .desktop-only .job .info { max-width: none; } .desktop-only .job .info .title {
      font-size: 56px;
      line-height: 0.98;
      letter-spacing: -0.015em;
      margin-bottom: 0;
    } html[lang="ru"] .job .info .title {
      font-size: 50px;
    } .desktop-only .job .col {
      text-align: left;
      min-width: 0;
      font-size: 14px;
      letter-spacing: 0.12em;
      padding: 0;
    } .desktop-only .job .col .k {
      display: inline;
      margin-right: 10px;
      opacity: 0.7;
      font-size: 11px;
      letter-spacing: 0.22em;
    } .desktop-only .job .col .v {
      display: inline;
      color: var(--fg);
      font-size: 15px;
    } .desktop-only /* push toggle below text, .desktop-only full-width as a big tap target */
    .job .toggle {
      width: 100%;
      height: 64px;
      font-size: 32px;
      margin-top: 4px;
      border-color: var(--mute);
    } .desktop-only /* JOB DETAILS */
    .job.open + .job-details {
      padding: 32px 4px 44px;
    } .desktop-only .details-grid {
      grid-template-columns: 1fr;
      gap: 36px;
      padding-left: 0;
    } .desktop-only .details-grid .body p {
      font-size: 18px;
      font-weight: 500;
      line-height: 1.5;
      padding: 10px 0 10px 18px;
      border-left-width: 3px;
      margin-bottom: 10px;
    } .desktop-only .details-grid .body h4 {
      font-size: 13px;
      letter-spacing: 0.24em;
      margin: 30px 0 16px;
    } .desktop-only .details-grid .body ul { gap: 14px; } .desktop-only .details-grid .body ul li {
      font-size: 16px;
      line-height: 1.55;
      padding-left: 24px;
    } .desktop-only .details-grid .body ul li::before {
      font-size: 18px;
    } .desktop-only .details-grid .side .apply {
      padding: 32px 24px;
    } .desktop-only .details-grid .side .apply .label {
      font-size: 48px;
      line-height: 1;
    } html[lang="ru"] .details-grid .side .apply .label { font-size: 42px; } .desktop-only .details-grid .side .apply .label .arr { font-size: 38px; } .desktop-only /* EMPTY DEPT */
    .empty-dept {
      flex-direction: column;
      gap: 18px;
      align-items: flex-start;
      font-size: 22px;
      padding: 40px 6px 24px;
      line-height: 1.4;
    } .desktop-only .empty-dept .open-call {
      font-size: 14px;
      padding-bottom: 5px;
      letter-spacing: 0.2em;
    } .desktop-only /* PAST EVENT — fills another big chunk */
    .past-event-wrap {
      margin: 70px 0 40px;
      padding-top: 40px;
    } .desktop-only .past-event-head {
      flex-direction: column;
      align-items: flex-start;
      gap: 6px;
      margin-bottom: 22px;
    } .desktop-only .past-event-head h2 { font-size: 30px; } .desktop-only .past-event-head .meta { font-size: 12px; letter-spacing: 0.22em; } .desktop-only .past-event { padding: 12px; } .desktop-only .past-event .pe-img {
      aspect-ratio: 4 / 3;
    } .desktop-only .past-event .pe-badge {
      font-size: 12px;
      padding: 6px 10px;
      top: 14px;
      left: 14px;
    } .desktop-only .past-event .pe-counter span {
      width: 32px;
      height: 3px;
    } .desktop-only .past-event .pe-row {
      grid-template-columns: 1fr;
      gap: 16px;
      padding: 16px 4px 12px;
    } .desktop-only .past-event .pe-title { font-size: 48px; line-height: 0.98; } html[lang="ru"] .past-event .pe-title { font-size: 42px; } .desktop-only .past-event .pe-grid {
      justify-content: flex-start;
      gap: 16px;
    } .desktop-only .past-event .pe-grid > div + div { padding-left: 16px; } .desktop-only .past-event .pe-grid > div { padding-right: 16px; } .desktop-only .past-event .pe-grid .k { font-size: 11px; letter-spacing: 0.22em; } .desktop-only .past-event .pe-grid .v { font-size: 15px; } .desktop-only .past-event .pe-cta {
      font-size: 13px;
      padding-top: 18px;
      margin-top: 14px;
      letter-spacing: 0.22em;
    } .desktop-only .past-event .pe-cta .arrow { font-size: 28px; } .desktop-only /* FOOTER */
    footer.foot-strip {
      flex-direction: column;
      gap: 14px;
      text-align: center;
      font-size: 12px;
      letter-spacing: 0.22em;
      padding-top: 16px;
    }
  }

  /* ==== smaller phones ==== */
  @media (max-width: 380px) {
    .hero h1 { font-size: 76px; } html[lang="ru"] .hero h1 { font-size: 68px; } .desktop-only .job .info .title { font-size: 46px; } html[lang="ru"] .job .info .title { font-size: 42px; } .desktop-only .past-event .pe-title { font-size: 40px; } html[lang="ru"] .past-event .pe-title { font-size: 36px; } .desktop-only .details-grid .side .apply .label { font-size: 40px; } html[lang="ru"] .details-grid .side .apply .label { font-size: 36px; }
  }


  /* ===== MOBILE LAYOUT (scoped) ===== */

  :root {
    --bg: #0a0908;
    --bg-2: #11100e;
    --fg: #f5f1e6;
    --mute: #9a9384;
    --line: #2a2723;
    --accent: #e0231d;
  } * { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; } html, body { background: var(--bg); color: var(--fg); } html { scrollbar-width: none; scroll-behavior: smooth; } .mobile-only html::-webkit-scrollbar { display: none; } body {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.5;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
  } .mobile-only body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 100;
    opacity: 0.08;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  } .mobile-only body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 99;
    background: radial-gradient(ellipse at center, transparent 50%, rgba(0,0,0,0.6) 100%);
  } .mobile-only ::selection { background: var(--accent); color: var(--fg); } .mobile-only a { color: inherit; text-decoration: none; } .mobile-only /* ============ TOPBAR ============ */
  .topbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 50;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: rgba(10,9,8,0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
  } .mobile-only .topbar .brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--fg);
  } .mobile-only .topbar .brand .logo {
    font-family: 'Anton', sans-serif;
    font-size: 24px;
    letter-spacing: -0.02em;
    line-height: 1;
  } .mobile-only .topbar .brand .logo .d {
    display: inline-block;
    width: 6px; height: 6px;
    background: var(--accent);
    border-radius: 50%;
    margin-left: 4px;
    vertical-align: top;
    margin-top: 4px;
  } .mobile-only .topbar .brand .x {
    color: var(--mute);
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-size: 24px;
    line-height: 1;
  } .mobile-only .topbar .brand .mi-logo {
    display: inline-block;
    width: 32px;
    height: 32px;
    background-color: var(--fg);
    -webkit-mask: url("../images/mi-logo.f51edcd5a5c6.svg") center / contain no-repeat;
            mask: url("../images/mi-logo.f51edcd5a5c6.svg") center / contain no-repeat;
  } .mobile-only .lang-switch {
    display: flex;
    border: 1px solid var(--line);
  } .mobile-only .lang-switch button {
    background: transparent;
    color: var(--mute);
    border: none;
    border-right: 1px solid var(--line);
    font-family: 'JetBrains Mono', monospace;
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 12px 16px;
    cursor: pointer;
    transition: color 0.2s, background 0.2s;
  } .mobile-only .lang-switch button:last-child { border-right: none; } .mobile-only .lang-switch button.on {
    background: var(--fg);
    color: var(--bg);
  } .mobile-only /* ============ MAIN ============ */
  main { padding: clamp(72px, 22vw, 90px) clamp(14px, 5vw, 22px) clamp(20px, 7vw, 30px); } .mobile-only /* ============ HERO — fills first screen ============ */
  .hero {
    min-height: 65vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 0 60px;
    border-bottom: 1px solid var(--line);
  } .mobile-only .hero h1 {
    font-family: 'Anton', sans-serif;
    font-weight: 400;
    font-size: clamp(56px, 22vw, 88px);
    line-height: 0.9;
    letter-spacing: -0.025em;
  } html[lang="ru"] .hero h1 {
    font-family: 'Oswald', 'Anton', sans-serif;
    font-weight: 700;
    font-size: clamp(36px, 13vw, 58px);
    letter-spacing: -0.02em;
    word-break: break-word;
    overflow-wrap: anywhere;
  } .mobile-only .hero .lab {
    font-family: 'JetBrains Mono', monospace;
    font-size: clamp(12px, 3.6vw, 15px);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--mute);
    margin-top: clamp(16px, 5vw, 24px);
  } .mobile-only .hero .lab span {
    color: var(--fg);
  } .mobile-only .hero .scroll-cue {
    margin-top: 56px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    letter-spacing: 0.22em;
    color: var(--mute);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 12px;
  } .mobile-only .hero .scroll-cue .arrow {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-size: 28px;
    color: var(--accent);
    animation: bob 2s ease-in-out infinite;
  }
  @keyframes bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
  } .mobile-only /* ============ FILTER ============ */
  .filter {
    padding: 36px 0;
    border-bottom: 1px solid var(--line);
  } .mobile-only .filter-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--mute);
    margin-bottom: 14px;
  } .mobile-only .tabs {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
  } .mobile-only .tabs button {
    width: 100%;
    background: transparent;
    color: var(--mute);
    border: none;
    border-bottom: 1px solid var(--line);
    font-family: 'JetBrains Mono', monospace;
    font-weight: 400;
    font-size: clamp(13px, 4.4vw, 17px);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: clamp(16px, 5.5vw, 22px) clamp(14px, 5vw, 20px);
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  } .mobile-only .tabs button:last-child { border-bottom: none; } .mobile-only .tabs button.active {
    background: var(--fg);
    color: var(--bg);
  } .mobile-only .tabs button .count {
    font-size: 14px;
    opacity: 0.6;
  } .mobile-only /* ============ DEPT SECTION ============ */
  .dept-section { padding: 60px 0 12px; } .mobile-only .dept-section + .dept-section { border-top: 1px solid var(--line); } .mobile-only .dept-head { margin-bottom: 32px; } .mobile-only .dept-head .num {
    font-family: 'Anton', sans-serif;
    font-size: 26px;
    color: var(--accent);
    letter-spacing: -0.005em;
    margin-bottom: 8px;
  } .mobile-only .dept-head .name {
    font-family: 'Anton', sans-serif;
    font-size: clamp(36px, 13vw, 48px);
    line-height: 0.95;
    letter-spacing: -0.015em;
  } html[lang="ru"] .mobile-only .dept-head .name {
    font-family: 'Oswald', 'Anton', sans-serif;
    font-weight: 700;
    font-size: clamp(30px, 11vw, 40px);
  } .mobile-only .dept-head .name .it {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    color: inherit;
    text-transform: lowercase;
    font-size: 0.6em;
    letter-spacing: 0;
    margin-left: 6px;
    font-weight: 400;
  } html[lang="ru"] .mobile-only .dept-head .name .it {
    font-family: 'Instrument Serif', serif;
    font-weight: 400;
  } .mobile-only .dept-head .info {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--mute);
    margin-top: 16px;
  } .mobile-only /* ============ JOB CARD — half-screen each ============ */
  .jobs { display: flex; flex-direction: column; } .mobile-only .job {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 50px 6px;
    border-top: 1px solid var(--line);
    min-height: 50vh;
    justify-content: center;
    cursor: pointer;
  } .mobile-only .job .num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    color: var(--accent);
    letter-spacing: 0.22em;
    text-transform: uppercase;
  } .mobile-only .job .title {
    font-family: 'Anton', sans-serif;
    font-weight: 400;
    font-size: clamp(38px, 14vw, 52px);
    line-height: 0.98;
    letter-spacing: -0.02em;
  } html[lang="ru"] .job .title {
    font-family: 'Oswald', 'Anton', sans-serif;
    font-weight: 700;
    font-size: clamp(32px, 12vw, 44px);
  } .mobile-only .job .meta {
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 16px;
    color: var(--mute);
    letter-spacing: 0.1em;
    text-transform: uppercase;
  } .mobile-only .job .meta .row {
    display: flex;
    align-items: baseline;
    gap: 14px;
  } .mobile-only .job .meta .row .k {
    color: var(--mute);
    font-size: 12px;
    letter-spacing: 0.22em;
    min-width: 64px;
  } .mobile-only .job .meta .row .v { color: var(--fg); } .mobile-only .job .toggle {
    width: 100%;
    background: transparent;
    color: var(--fg);
    border: 1px solid var(--mute);
    font-family: 'JetBrains Mono', monospace;
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    padding: 22px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
  } .mobile-only .job .toggle .sign {
    font-family: 'Anton', sans-serif;
    font-size: 26px;
    line-height: 1;
    transition: transform 0.3s;
  } .mobile-only .job.open .toggle {
    background: var(--accent);
    border-color: var(--accent);
  } .mobile-only .job.open .toggle .sign { transform: rotate(45deg); } .mobile-only /* DETAILS */
  .details {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.5s cubic-bezier(.2,.7,.2,1), opacity 0.3s, padding 0.3s;
  } .mobile-only .job.open + .details {
    max-height: 3000px;
    opacity: 1;
    padding: 36px 6px 50px;
    border-bottom: 1px solid var(--line);
  } .mobile-only .job.open + .details + .job { border-top: none; } .mobile-only .details .lead {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 500;
    font-size: clamp(15px, 4.6vw, 18px);
    line-height: 1.55;
    color: var(--fg);
    padding: 12px 0 12px 20px;
    border-left: 4px solid var(--accent);
    margin-bottom: 32px;
  } .mobile-only .details h4 {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--mute);
    margin: 28px 0 16px;
  } .mobile-only .details ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
  } .mobile-only .details ul li {
    font-family: 'JetBrains Mono', monospace;
    font-size: clamp(14px, 4.2vw, 16px);
    line-height: 1.55;
    color: var(--fg);
    padding-left: 22px;
    position: relative;
  } .mobile-only .details ul li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 18px;
  } .mobile-only .apply {
    margin-top: 36px;
    background: var(--accent);
    color: var(--fg);
    padding: 32px 22px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    transition: background 0.25s, color 0.25s;
  } .mobile-only .apply:hover { background: var(--fg); color: var(--bg); } .mobile-only .apply .label {
    font-family: 'Anton', sans-serif;
    font-size: clamp(28px, 10vw, 40px);
    line-height: 0.95;
    letter-spacing: -0.005em;
  } .mobile-only .details .apply .label {
    display: flex;
    justify-content: space-between;
    align-items: center;
  } html[lang="ru"] .apply .label {
    font-family: 'Oswald', 'Anton', sans-serif;
    font-weight: 700;
    font-size: clamp(26px, 9vw, 36px);
  } html[lang="ru"] .mobile-only .details .apply .label {
    display: flex;
    justify-content: space-between;
    align-items: center;
  } .mobile-only .apply .label .arr {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-size: 40px;
    font-weight: 400;
  } .mobile-only /* EMPTY DEPT */
  .empty-dept {
    padding: 36px 6px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-size: 22px;
    color: var(--mute);
    line-height: 1.4;
  } .mobile-only .empty-dept .accent { color: var(--accent); } .mobile-only .empty-dept .open-call {
    font-family: 'JetBrains Mono', monospace;
    font-style: normal;
    font-size: 14px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--fg);
    border-bottom: 1px solid var(--accent);
    padding-bottom: 5px;
    align-self: flex-start;
  } .mobile-only /* ============ PAST EVENT ============ */
  .past-event-wrap {
    margin: 80px 0 50px;
    padding-top: 40px;
    border-top: 1px solid var(--line);
  } .mobile-only .past-event-head { margin-bottom: 24px; } .mobile-only .past-event-head h2 {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-weight: 400;
    font-size: 32px;
    margin-bottom: 8px;
  } .mobile-only .past-event-head h2 .accent { color: var(--accent); } .mobile-only .past-event-head .meta {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--mute);
  } .mobile-only .past-event {
    display: block;
    border: 1px solid var(--line);
    background: var(--bg-2);
    padding: 14px;
  } .mobile-only .past-event .pe-img {
    position: relative;
    aspect-ratio: 4 / 3;
    background: var(--bg);
    overflow: hidden;
    border: 1px solid var(--line);
    margin-bottom: 18px;
    filter: grayscale(0.5) contrast(1.05);
  } .mobile-only .past-event .pe-img .frame {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.9s ease-in-out;
  } .mobile-only .past-event .pe-img .frame.on { opacity: 1; } .mobile-only .past-event .pe-img .frame svg, .mobile-only .past-event .pe-img .frame img {
    display: block;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
  } .mobile-only .past-event .pe-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.22em;
    padding: 6px 10px;
    color: var(--fg);
    background: var(--accent);
    z-index: 2;
  } .mobile-only .past-event .pe-counter {
    position: absolute;
    bottom: 14px;
    right: 16px;
    display: flex;
    gap: 6px;
    z-index: 2;
  } .mobile-only .past-event .pe-counter span {
    width: 32px;
    height: 3px;
    background: rgba(245,241,230,0.25);
    transition: background 0.3s;
  } .mobile-only .past-event .pe-counter span.on { background: var(--fg); } .mobile-only .past-event .pe-body { padding: 4px 4px 8px; } .mobile-only .past-event .pe-title {
    font-family: 'Anton', sans-serif;
    font-size: clamp(32px, 11vw, 44px);
    line-height: 0.95;
    letter-spacing: -0.015em;
    margin-bottom: 18px;
  } html[lang="ru"] .past-event .pe-title {
    font-family: 'Oswald', 'Anton', sans-serif;
    font-weight: 700;
    font-size: clamp(28px, 10vw, 38px);
  } .mobile-only .past-event .pe-info {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    color: var(--mute);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 22px;
  } .mobile-only .past-event .pe-info .k {
    display: block;
    font-size: 11px;
    letter-spacing: 0.22em;
    color: var(--mute);
    margin-bottom: 4px;
    opacity: 0.7;
  } .mobile-only .past-event .pe-info .v { color: var(--fg); } .mobile-only .past-event .pe-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
  } .mobile-only .past-event .pe-cta .recap {
    color: var(--fg);
    border-bottom: 1px solid var(--accent);
    padding-bottom: 4px;
  } .mobile-only .past-event .pe-cta .arrow {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-size: 28px;
    color: var(--fg);
  } .mobile-only /* ============ FOOTER ============ */
  footer {
    border-top: 1px solid var(--line);
    padding: 30px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    text-align: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--mute);
  } .mobile-only /* ============ INTRO ANIM ============ */
  .anim-1, .mobile-only .anim-2, .mobile-only .anim-3 { opacity: 0; transform: translateY(10px); } .mobile-only .reveal .anim-1 { animation: fadeUp 0.7s 0.1s ease-out forwards; } .mobile-only .reveal .anim-2 { animation: fadeUp 0.7s 0.35s ease-out forwards; } .mobile-only .reveal .anim-3 { animation: fadeUp 0.7s 0.6s ease-out forwards; }
  @keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

  /* small phones */
  @media (max-width: 380px) {
    /* small extra trim for narrow phones; clamp already handles most of it */
    .topbar { padding: 14px 14px; } .mobile-only .topbar .brand .logo { font-size: 20px; } .mobile-only .topbar .brand .x { font-size: 20px; } .mobile-only .topbar .brand .mi-logo { width: 26px; height: 26px; } .mobile-only .lang-switch button { padding: 10px 12px; font-size: 12px; }
  }
  /* show desktop a friendly “open on phone” notice if viewed on big screen */
  @media (min-width: 800px) {
    main {
      max-width: 440px;
      margin: 0 auto;
      box-shadow: 0 0 60px rgba(0,0,0,0.6);
    }
  }
