﻿:root {
        --color-lime: #c6ff33;
        --color-purple: #7d39eb;
        --color-black: #000000;
        --color-white: #ffffff;
        --font-family: "Satoshi", sans-serif;
        --cursor-white: url("../svg/moventus-cursor.svg") 12 12, auto;
        --cursor-black: url("../svg/moventus-cursor-black.svg") 12 12, auto;
        --surface-cursor: var(--cursor-white);
      }

      html,
      body {
        margin: 0;
        min-height: 100%;
        background: var(--color-black);
        color: var(--color-white);
        font-family: var(--font-family);
      }

      body {
        min-height: 100vh;
        min-height: 100dvh;
      }

      body.is-loading {
        overflow: hidden;
        background: var(--color-black);
      }

      button,
      input,
      select,
      textarea {
        font: inherit;
      }

      [hidden] {
        display: none !important;
      }

      .intro-loader {
        position: fixed;
        inset: 0;
        z-index: 1000;
        isolation: isolate;
        overflow: hidden;
        display: grid;
        place-items: center;
        box-sizing: border-box;
        padding: 24px;
        background: var(--color-black);
        color: var(--color-lime);
      }

      .intro-loader__viewport {
        position: relative;
        z-index: 1;
        display: grid;
        align-items: center;
        width: 100%;
        height: 1.3em;
        overflow: hidden;
        font-size: clamp(20px, 4.4vw, 64px);
      }

      .intro-loader__word {
        grid-area: 1 / 1;
        margin: 0;
        font-size: inherit;
        font-weight: 900;
        line-height: 1.2;
        letter-spacing: -0.035em;
        text-align: center;
        white-space: nowrap;
      }

      .intro-loader__progress {
        z-index: 3;
        position: absolute;
        right: 0;
        bottom: 0;
        left: 0;
        height: 4px;
        background: var(--color-lime);
        transform: scaleX(0);
        transform-origin: left center;
        pointer-events: none;
      }

      .intro-loader__progress-value {
        position: absolute;
        z-index: 3;
        left: 50%;
        transform: translateX(-50%);
        bottom: 16px;
        min-width: 3ch;
        color: var(--color-lime);
        font-size: 14px;
        font-weight: 900;
        font-variant-numeric: tabular-nums;
        line-height: 1;
        text-align: center;
        pointer-events: none;
      }

      .intro-loader__star-frame {
        z-index: 2;
        position: absolute;
        top: 50%;
        left: 50%;
        width: clamp(72px, 8vw, 104px);
        aspect-ratio: 1;
        overflow: hidden;
        transform: translate(-50%, -50%);
        pointer-events: none;
      }

      .intro-loader__star-frame--black {
        z-index: 4;
      }

      .intro-loader__star {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
        transform-origin: center;
        pointer-events: none;
      }

      @media (hover: hover) and (pointer: fine) {
        html,
        body,
        body * {
          cursor: var(--surface-cursor);
        }

        .intro-loader {
          --surface-cursor: var(--cursor-white);
        }

        .intro-loader__progress {
          --surface-cursor: var(--cursor-black);
          pointer-events: auto;
        }

        .intro-loader__star path {
          --surface-cursor: var(--cursor-black);
          pointer-events: visiblePainted;
        }

        .intro-loader__star--black path {
          --surface-cursor: var(--cursor-white);
        }
      }
      .site-header {
        display: flex;
        align-items: center;
        padding: clamp(20px, 3vw, 40px);
      }

      .site-brand {
        position: relative;
        display: block;
        width: clamp(180px, 18vw, 240px);
        max-width: 100%;
        aspect-ratio: 640 / 112;
      }

      .site-brand:focus-visible {
        outline: 2px solid var(--color-lime);
        outline-offset: 8px;
      }

      .site-brand__icon-mask,
      .site-brand__wordmark-mask {
        position: absolute;
        top: 0;
        height: 100%;
        overflow: hidden;
      }

      .site-brand__icon-mask {
        left: 0;
        width: 17.5%;
      }

      .site-brand__wordmark-mask {
        left: 22.8125%;
        width: 77.1875%;
      }

      .site-brand__part {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
      }

      .site-session-timer {
        position: fixed;
        z-index: 10;
        left: max(clamp(20px, 3vw, 40px), env(safe-area-inset-left));
        bottom: max(20px, env(safe-area-inset-bottom));
        color: #c6ff34;
        mix-blend-mode: difference;
        font-size: 12px;
        font-weight: 700;
        font-variant-numeric: tabular-nums;
        line-height: 1;
        pointer-events: none;
      }

      .site-header {
        position: relative;
        z-index: 80;
        justify-content: space-between;
      }

      .menu-toggle {
        position: relative;
        z-index: 82;
        display: grid;
        align-content: center;
        justify-items: center;
        gap: 8px;
        width: 48px;
        height: 48px;
        padding: 10px;
        border: 0;
        background: transparent;
        color: var(--color-lime);
      }

      .menu-toggle span {
        display: block;
        width: 28px;
        height: 2px;
        background: currentColor;
        transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
      }

      .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(5px) rotate(45deg); }
      .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-5px) rotate(-45deg); }
      .menu-toggle:focus-visible { outline: 2px solid var(--color-lime); outline-offset: 4px; }

      body.menu-open { overflow: hidden; }

      .menu-backdrop {
        position: fixed;
        z-index: 60;
        inset: 0;
        background: rgb(0 0 0 / 35%);
      }

      .menu-bloom {
        position: fixed;
        z-index: 81;
        background: var(--color-lime);
        pointer-events: none;
        will-change: transform, clip-path;
      }

      .menu-panel {
        position: fixed;
        z-index: 70;
        top: auto;
        bottom: max(clamp(12px, 1.5vw, 20px), env(safe-area-inset-bottom));
        right: clamp(12px, 1.5vw, 20px);
        box-sizing: border-box;
        width: min(290px, calc(100vw - 24px));
        max-height: calc(100dvh - 110px);
        padding: 18px 20px;
        overflow: auto;
        border-radius: 20px;
        background: var(--color-lime);
        color: var(--color-black);
        box-shadow: 0 20px 70px rgb(0 0 0 / 30%);
        --surface-cursor: var(--cursor-black);
      }

      .menu-panel ul {
        display: flex;
        flex-direction: column;
        gap: 4px;
        margin: 0;
        padding: 0;
        list-style: none;
      }

      .menu-panel a {
        display: flex;
        align-items: center;
        gap: 12px;
        box-sizing: border-box;
        min-height: 44px;
        padding: 6px 0;
        color: var(--color-black);
        font-size: clamp(24px, 2vw, 27px);
        font-weight: 700;
        line-height: 1.2;
        letter-spacing: -0.035em;
        text-decoration: none;
      }

      .menu-label {
        display: block;
        flex: 1;
        min-width: 0;
        height: 1.2em;
        overflow: hidden;
      }

      .menu-label__line {
        display: block;
        line-height: 1.2;
        transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
      }

      .menu-panel a:hover .menu-label__line,
      .menu-panel a:focus-visible .menu-label__line { transform: translateY(-100%); }

      .menu-panel a::after {
        content: "";
        width: 6px;
        height: 6px;
        flex: 0 0 6px;
        margin-left: auto;
        border-radius: 50%;
        background: var(--color-black);
        opacity: 0;
        transition: opacity 180ms ease;
      }

      .menu-panel a:hover::after,
      .menu-panel a:focus-visible::after,
      .menu-panel a[aria-current="page"]::after { opacity: 1; }
      .menu-panel a:focus-visible { outline: 2px solid var(--color-black); outline-offset: 3px; }
      @media (max-height: 540px) {
        .menu-panel { top: auto; bottom: max(12px, env(safe-area-inset-bottom)); max-height: calc(100dvh - 92px); padding: 12px 18px; }
        .menu-panel ul { gap: 2px; }
        .menu-panel a { min-height: 38px; font-size: 22px; padding: 4px 0; }
      }

      @media (prefers-reduced-motion: reduce) {
        .menu-toggle span,
        .menu-panel a::after,
        .menu-label__line { transition: none; }
      }

      .home {
        position: relative;
        overflow: hidden;
        background: var(--color-black);
        color: var(--color-white);
        --surface-cursor: var(--cursor-white);
        min-height: 100vh;
        min-height: 100dvh;
      }
