@font-face { font-family: 'Exo 2 Variable'; font-style: normal; font-display: swap; font-weight: 100 900; src: url(fonts/exo-2-latin-ext-wght-normal.woff2) format('woff2-variations'); 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; }
@font-face { font-family: 'Exo 2 Variable'; font-style: normal; font-display: swap; font-weight: 100 900; src: url(fonts/exo-2-latin-wght-normal.woff2) format('woff2-variations'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

:root {
  --bg: #020304;
  --glow-1: #0b2230;
  --glow-2: #05101a;
  --accent: #4f95c9;
  --accent-soft: #3d7096;
  --text: #eef3f2;
  --muted: #93a9b8;
}
* { box-sizing: border-box; }
.studio-nav { position: absolute; top: calc(14px + env(safe-area-inset-top, 0px)); left: 0; right: 0; z-index: 2; display: flex; gap: 6px 10px; justify-content: center; align-items: center;
  flex-wrap: wrap; padding: 0 12px; font-size: 0.72rem; letter-spacing: 0.28em; color: var(--muted); }
.studio-nav > :last-child { margin-right: -0.28em; }
.studio-nav a { color: inherit; text-decoration: none; opacity: 0.8; transition: opacity 0.15s, color 0.15s; }
.studio-nav a, .studio-nav span { text-shadow: 0 0 2px var(--bg), 0 0 5px var(--bg), 0 0 9px var(--bg); }
.studio-nav a:hover, .studio-nav a:focus-visible { opacity: 1; color: var(--text); }
.studio-nav [aria-current] { color: var(--text); }
.studio-nav .sep { opacity: 0.5; }
html, body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Exo 2 Variable', ui-sans-serif, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
html { overflow-x: hidden; }
body { position: relative; overflow-x: hidden; overflow-x: clip; }
.glow {
  position: fixed;
  inset: 0;
  background: radial-gradient(farthest-corner at 50% 50%, var(--bg) 0%, var(--bg) 62%, var(--glow-2) 86%, var(--glow-1) 100%);
  z-index: 0;
  pointer-events: none;
}
.scanlines {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,0.012) 0px, rgba(255,255,255,0.012) 1px, transparent 1px, transparent 3px);
  mix-blend-mode: overlay;
}
.bubble {
  position: fixed;
  bottom: -5vh;
  z-index: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, rgba(255,255,255,0.55), rgba(160,210,230,0.08) 70%, transparent 75%);
  animation: rise linear infinite;
  pointer-events: none;
}
@keyframes rise {
  0%   { transform: translateY(0) translateX(0); opacity: 0; }
  8%   { opacity: 0.55; }
  92%  { opacity: 0.35; }
  100% { transform: translateY(-115vh) translateX(var(--drift, 20px)); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .bubble { animation: none; display: none; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
section[id] { scroll-margin-top: 1.5rem; }
@media (prefers-reduced-motion: no-preference) {
  html.leaving body > :is(nav, main) { animation: site-out 200ms cubic-bezier(0.4, 0, 1, 1) both; }
  html.arriving body > :is(nav, main) { animation: site-in 380ms cubic-bezier(0.2, 0.8, 0.2, 1) 30ms both; }
  @keyframes site-out { to { opacity: 0; transform: translateX(calc(var(--dir, 1) * -32px)) scale(0.985); } }
  @keyframes site-in { from { opacity: 0; transform: translateX(calc(var(--dir, 1) * 32px)) scale(1.012); } }
}

.site-lang { position: relative; display: inline-block; }
.sl-btn { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; border-bottom: 1px solid transparent; background: none; color: inherit;
  font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; }
.sl-btn:hover, .sl-btn:focus-visible { border-bottom-color: currentColor; outline: none; }
.sl-btn svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.sl-btn i { font-style: normal; font-size: 9px; opacity: 0.8; }
.sl-menu { position: absolute; z-index: 20; bottom: calc(100% + 10px); left: 50%; transform: translateX(calc(-50% + var(--dx, 0px))); min-width: 180px; padding: 8px;
  display: flex; flex-direction: column; gap: 2px; background: #071019; border: 1px solid #3d7096; border-radius: 12px; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
  text-transform: none; letter-spacing: 0; animation: sl-in 180ms cubic-bezier(0.2, 0.8, 0.2, 1) both; }
@keyframes sl-in { from { opacity: 0; translate: 0 6px; } }
.sl-menu button { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 10px; border: 1px solid transparent; border-radius: 8px;
  background: none; color: #dfe9ef; font: 14px 'Exo 2 Variable', ui-sans-serif, sans-serif; text-align: left; cursor: pointer; }
.sl-menu button:hover, .sl-menu button:focus-visible { border-color: #3d7096; background: rgba(107, 173, 217, 0.12); outline: none; }
.sl-menu button[aria-checked="true"] { color: #9fd3f5; }
.sl-menu small { color: #93a9b8; font-size: 10px; letter-spacing: 0.12em; }
@media (prefers-reduced-motion: reduce) { .sl-menu { animation: none; } }
html.l10n :is([data-t], [data-th]) { visibility: hidden; animation: l10n-late 0s 1.5s forwards; }
@keyframes l10n-late { to { visibility: visible; } }
