    /* ═══════════════════════════════════════════════════════
       ROOT & RESET
    ═══════════════════════════════════════════════════════ */
    *,
    *::before,
    *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    :root {
      --bg: #040608;
      --bg2: #070b0f;
      --surface: #0b1018;
      --border: rgba(0, 255, 180, 0.12);
      --border2: rgba(0, 255, 180, 0.06);
      --text: #c8ffe8;
      --muted: rgba(180, 240, 210, 0.45);
      --dim: rgba(180, 240, 210, 0.18);

      --neon: #00ffb4;
      --neon2: #00d4ff;
      --neon3: #ff003c;
      --neon4: #ffe600;
      --neon-glow: 0 0 12px rgba(0, 255, 180, 0.6), 0 0 40px rgba(0, 255, 180, 0.2);
      --neon2-glow: 0 0 12px rgba(0, 212, 255, 0.6), 0 0 40px rgba(0, 212, 255, 0.2);

      --font-term: 'Share Tech Mono', monospace;
      --font-display: 'Orbitron', sans-serif;
      --font-body: 'Space Grotesk', sans-serif;
      --ease: cubic-bezier(0.16, 1, 0.3, 1);
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      background: var(--bg);
      color: var(--text);
      font-family: var(--font-body);
      overflow-x: hidden;
      cursor: none;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    /* ═══════════════════════════════════════════════════════
       SCANLINES
    ═══════════════════════════════════════════════════════ */
    body::before {
      content: '';
      position: fixed;
      inset: 0;
      background: repeating-linear-gradient(0deg,
          transparent,
          transparent 2px,
          rgba(0, 0, 0, 0.18) 2px,
          rgba(0, 0, 0, 0.18) 4px);
      pointer-events: none;
      z-index: 9990;
      animation: scanMove 8s linear infinite;
    }

    @keyframes scanMove {
      0% {
        background-position: 0 0;
      }

      100% {
        background-position: 0 100px;
      }
    }

    /* ═══════════════════════════════════════════════════════
       CURSOR
    ═══════════════════════════════════════════════════════ */
    #cur {
      position: fixed;
      top: 0;
      left: 0;
      width: 6px;
      height: 20px;
      background: var(--neon);
      box-shadow: var(--neon-glow);
      pointer-events: none;
      z-index: 9999;
      transform: translate(-50%, -50%);
      transition: width 0.2s, height 0.2s, background 0.2s;
      animation: curBlink 1.1s step-end infinite;
    }

    @keyframes curBlink {

      0%,
      100% {
        opacity: 1
      }

      50% {
        opacity: 0
      }
    }

    #cur-cross {
      position: fixed;
      top: 0;
      left: 0;
      pointer-events: none;
      z-index: 9998;
      transform: translate(-50%, -50%);
    }

    #cur-cross::before,
    #cur-cross::after {
      content: '';
      position: absolute;
      background: rgba(0, 255, 180, 0.35);
    }

    #cur-cross::before {
      width: 24px;
      height: 1px;
      top: 0;
      left: -12px;
    }

    #cur-cross::after {
      width: 1px;
      height: 24px;
      left: 0;
      top: -12px;
    }

    /* ═══════════════════════════════════════════════════════
       NAV
    ═══════════════════════════════════════════════════════ */


    nav {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 100;
      padding: 20px 48px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      border-bottom: 1px solid var(--border2);
      background: rgba(4, 6, 8, 0.85);
      backdrop-filter: blur(12px);
    }

    .nav-logo {
      font-family: var(--font-display);
      font-size: 1.1rem;
      font-weight: 900;
      letter-spacing: 0.12em;
      color: var(--neon);
      text-shadow: var(--neon-glow);
      position: relative;
    }

    .nav-logo::after {
      content: '_';
      animation: curBlink 1s step-end infinite;
      color: var(--neon);
    }

    .nav-status {
      display: flex;
      align-items: center;
      gap: 32px;
    }

    .status-chip {
      display: flex;
      align-items: center;
      gap: 8px;
      font-family: var(--font-term);
      font-size: 0.72rem;
      letter-spacing: 0.08em;
      color: var(--muted);
    }

    .status-dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--neon);
      box-shadow: var(--neon-glow);
      animation: pulse 2s ease-in-out infinite;
    }

    .status-dot.red {
      background: var(--neon3);
      box-shadow: 0 0 10px var(--neon3);
    }

    .nav-cta {
      font-family: var(--font-term);
      font-size: 0.72rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      padding: 9px 22px;
      border: 1px solid var(--neon);
      color: var(--neon);
      text-shadow: var(--neon-glow);
      box-shadow: inset 0 0 0 0 var(--neon);
      transition: box-shadow 0.3s, color 0.3s;
      clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
    }

    .nav-cta:hover {
      box-shadow: inset 0 0 0 40px var(--neon);
      color: var(--bg);
    }

    .nav-links {
      display: flex;
      gap: 32px;
      list-style: none;
    }

    .nav-links a {
      font-family: var(--font-term);
      font-size: 0.72rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--muted);
      transition: color 0.2s, text-shadow 0.2s;
    }

    .nav-links a::before {
      content: '// ';
      opacity: 0.4;
    }

    .nav-links a:hover {
      color: var(--neon);
      text-shadow: var(--neon-glow);
    }

    /* ═══════════════════════════════════════════════════════
       HERO
    ═══════════════════════════════════════════════════════ */
    .hero {
      min-height: 100svh;
      display: grid;
      grid-template-rows: 1fr auto;
      padding: 140px 48px 64px;
      position: relative;
      overflow: hidden;
    }

    /* grid bg */
    .hero::after {
      content: '';
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(rgba(0, 255, 180, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 180, 0.04) 1px, transparent 1px);
      background-size: 60px 60px;
      pointer-events: none;
      mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 100%);
    }

    /* vignette */
    .hero::before {
      content: '';
      position: absolute;
      inset: 0;
      background: radial-gradient(ellipse 70% 70% at 50% 30%, transparent 40%, var(--bg) 100%);
      pointer-events: none;
      z-index: 1;
    }

    .hero-content {
      position: relative;
      z-index: 2;
    }

    .hero-sys {
      font-family: var(--font-term);
      font-size: 0.78rem;
      letter-spacing: 0.1em;
      color: var(--neon);
      margin-bottom: 40px;
      opacity: 0;
      animation: fadeIn 0.5s ease 0.2s forwards;
    }

    .hero-sys span {
      color: var(--muted);
    }

    .hero-title {
      font-family: var(--font-display);
      font-size: clamp(44px, 8.5vw, 118px);
      font-weight: 900;
      line-height: 0.95;
      letter-spacing: -0.01em;
      text-transform: uppercase;
      position: relative;
      opacity: 0;
      animation: fadeIn 0.6s ease 0.4s forwards;
    }

    .hero-title .line-main {
      display: block;
      color: var(--text);
      position: relative;
    }

    .hero-title .line-sub {
      display: block;
      color: transparent;
      -webkit-text-stroke: 1px rgba(0, 255, 180, 0.4);
      letter-spacing: 0.06em;
    }

    .hero-title .neon-word {
      color: var(--neon);
      text-shadow: var(--neon-glow);
      position: relative;
    }

    /* glitch effect on hover title */
    .hero-title .line-main {
      position: relative;
    }

    .glitch {
      position: relative;
    }

    .glitch::before,
    .glitch::after {
      content: attr(data-text);
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      font-family: inherit;
      font-size: inherit;
      font-weight: inherit;
      line-height: inherit;
    }

    .glitch::before {
      color: var(--neon3);
      clip-path: polygon(0 30%, 100% 30%, 100% 50%, 0 50%);
      animation: glitch1 4s infinite;
    }

    .glitch::after {
      color: var(--neon2);
      clip-path: polygon(0 60%, 100% 60%, 100% 80%, 0 80%);
      animation: glitch2 4s infinite;
    }

    @keyframes glitch1 {

      0%,
      94%,
      100% {
        transform: translate(0);
        opacity: 0;
      }

      95% {
        transform: translate(-4px, 2px);
        opacity: 0.8;
      }

      97% {
        transform: translate(4px, -2px);
        opacity: 0.8;
      }

      99% {
        transform: translate(-2px, 0);
        opacity: 0.5;
      }
    }

    @keyframes glitch2 {

      0%,
      94%,
      100% {
        transform: translate(0);
        opacity: 0;
      }

      95% {
        transform: translate(3px, -1px);
        opacity: 0.7;
      }

      97% {
        transform: translate(-3px, 1px);
        opacity: 0.7;
      }

      99% {
        transform: translate(1px, 0);
        opacity: 0.4;
      }
    }

    .hero-tagline {
      margin-top: 40px;
      display: flex;
      align-items: flex-start;
      gap: 48px;
      opacity: 0;
      animation: fadeIn 0.7s ease 0.7s forwards;
    }

    .hero-tagline-text {
      font-family: var(--font-term);
      font-size: 1.0rem;
      line-height: 1.75;
      color: var(--muted);
      max-width: 420px;
    }

    .hero-metrics {
      display: flex;
      gap: 40px;
      flex-wrap: wrap;
    }

    .metric {
      border-left: 2px solid var(--border);
      padding-left: 20px;
    }

    .metric-val {
      font-family: var(--font-display);
      font-size: 2.2rem;
      font-weight: 900;
      color: var(--neon);
      text-shadow: var(--neon-glow);
      line-height: 1;
    }

    .metric-val-second-color {
      font-family: var(--font-display);
      font-size: 2.2rem;
      font-weight: 900;
      color: var(--neon2);
      text-shadow: var(--neon-glow);
      line-height: 1;
      margin-top: 1em;
    }

    .metric-label {
      font-family: var(--font-term);
      font-size: 0.72rem;
      color: var(--muted);
      letter-spacing: 0.08em;
      margin-top: 4px;
    }

    .hero-bottom {
      position: relative;
      z-index: 2;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding-top: 48px;
      border-top: 1px solid var(--border2);
      opacity: 0;
      animation: fadeIn 0.6s ease 1s forwards;
    }

    .hero-bottom-left {
      font-family: var(--font-term);
      font-size: 0.72rem;
      color: var(--dim);
      letter-spacing: 0.08em;
    }

    .hero-scroll-hint {
      display: flex;
      align-items: center;
      gap: 12px;
      font-family: var(--font-term);
      font-size: 0.72rem;
      color: var(--muted);
      letter-spacing: 0.1em;
    }

    .scroll-arrow {
      width: 24px;
      height: 24px;
      border-right: 1px solid var(--neon);
      border-bottom: 1px solid var(--neon);
      transform: rotate(45deg);
      animation: arrowPulse 1.5s ease-in-out infinite;
    }

    @keyframes arrowPulse {

      0%,
      100% {
        opacity: 0.3;
        transform: rotate(45deg) translate(0, 0);
      }

      50% {
        opacity: 1;
        transform: rotate(45deg) translate(3px, 3px);
      }
    }

    /* ═══════════════════════════════════════════════════════
       TERMINAL SECTION
    ═══════════════════════════════════════════════════════ */
    .terminal-strip {
      background: var(--surface);
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
      padding: 0;
      overflow: hidden;
    }

    .terminal-header {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 10px 20px;
      border-bottom: 1px solid var(--border2);
      background: rgba(0, 255, 180, 0.04);
    }

    .t-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
    }

    .t-dot:nth-child(1) {
      background: var(--neon3);
      box-shadow: 0 0 6px var(--neon3);
    }

    .t-dot:nth-child(2) {
      background: var(--neon4);
      box-shadow: 0 0 6px var(--neon4);
    }

    .t-dot:nth-child(3) {
      background: var(--neon);
      box-shadow: 0 0 6px var(--neon);
    }

    .t-title {
      font-family: var(--font-term);
      font-size: 0.7rem;
      color: var(--muted);
      letter-spacing: 0.1em;
      margin-left: 8px;
    }

    .terminal-body {
      padding: 20px 24px;
      font-family: var(--font-term);
      font-size: 0.88rem;
      line-height: 2;
      color: var(--neon);
      overflow: hidden;
    }

    .t-line {
      display: flex;
      gap: 12px;
    }

    .t-prompt {
      color: var(--neon2);
      opacity: 0.7;
    }

    .t-cmd {
      color: var(--text);
    }

    .t-out {
      color: var(--muted);
      padding-left: 20px;
    }

    .t-out.accent {
      color: var(--neon);
    }

    /* ═══════════════════════════════════════════════════════
       SERVICES
    ═══════════════════════════════════════════════════════ */
    #services {
      padding: 120px 48px;
    }

    .sec-label {
      font-family: var(--font-term);
      font-size: 0.72rem;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--neon);
      text-shadow: var(--neon-glow);
      margin-bottom: 16px;
    }

    .sec-label::before {
      content: '> ';
    }

    .sec-title {
      font-family: var(--font-display);
      font-size: clamp(28px, 4vw, 56px);
      font-weight: 900;
      letter-spacing: 0.02em;
      text-transform: uppercase;
      line-height: 1.05;
      margin-bottom: 72px;
      color: var(--text);
    }

    .services-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 2px;
      background: var(--border);
    }

    .svc-card {
      background: var(--bg2);
      padding: 44px 40px;
      position: relative;
      overflow: hidden;
      transition: background 0.3s;
      cursor: pointer;
    }

    .svc-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 2px;
      background: linear-gradient(90deg, var(--neon), transparent);
      transform: scaleX(0);
      transform-origin: left;
      transition: transform 0.4s var(--ease);
    }

    .svc-card:hover {
      background: var(--surface);
    }

    .svc-card:hover::before {
      transform: scaleX(1);
    }

    /* corner bracket */
    .svc-card::after {
      content: '';
      position: absolute;
      bottom: 16px;
      right: 16px;
      width: 20px;
      height: 20px;
      border-right: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
      transition: border-color 0.3s, width 0.3s, height 0.3s;
    }

    .svc-card:hover::after {
      border-color: var(--neon);
      width: 28px;
      height: 28px;
    }

    .svc-num {
      font-family: var(--font-term);
      font-size: 0.68rem;
      letter-spacing: 0.12em;
      color: var(--neon);
      opacity: 0.6;
      margin-bottom: 20px;
    }

    .svc-name {
      font-family: var(--font-display);
      font-size: clamp(17px, 1.8vw, 24px);
      font-weight: 700;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      margin-bottom: 16px;
      transition: color 0.2s, text-shadow 0.2s;
    }

    .svc-card:hover .svc-name {
      color: var(--neon);
      text-shadow: var(--neon-glow);
    }

    .svc-desc {
      font-family: var(--font-term);
      font-size: 0.88rem;
      line-height: 1.75;
      color: var(--muted);
      margin-bottom: 24px;
    }

    .svc-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .svc-tag {
      font-family: var(--font-term);
      font-size: 0.72rem;
      letter-spacing: 0.06em;
      padding: 4px 12px;
      border: 1px solid var(--border);
      color: var(--dim);
      clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
      transition: border-color 0.2s, color 0.2s;
    }

    .svc-card:hover .svc-tag {
      border-color: rgba(0, 255, 180, 0.3);
      color: var(--neon);
    }

    /* ═══════════════════════════════════════════════════════
       ABOUT / MANIFESTO
    ═══════════════════════════════════════════════════════ */
    #about {
      padding: 120px 48px;
      background: var(--surface);
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 80px;
      align-items: center;
    }

    .about-hex {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .hex-ring {
      width: clamp(220px, 28vw, 380px);
      height: clamp(220px, 28vw, 380px);
      border: 1px solid var(--border);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      animation: spinSlow 20s linear infinite;
    }

    .hex-ring::before {
      content: '';
      position: absolute;
      inset: 16px;
      border: 1px solid rgba(0, 255, 180, 0.08);
      border-radius: 50%;
    }

    @keyframes spinSlow {
      from {
        transform: rotate(0deg)
      }

      to {
        transform: rotate(360deg)
      }
    }

    .hex-tick {
      position: absolute;
      width: 10px;
      height: 2px;
      background: var(--neon);
      box-shadow: var(--neon-glow);
    }

    .hex-center {
      animation: spinSlow 20s linear infinite reverse;
      text-align: center;
    }

    .hex-num {
      font-family: var(--font-display);
      font-size: clamp(48px, 7vw, 88px);
      font-weight: 900;
      color: var(--neon);
      text-shadow: var(--neon-glow);
      line-height: 1;
      display: block;
    }

    .hex-label {
      font-family: var(--font-term);
      font-size: 0.72rem;
      letter-spacing: 0.15em;
      color: var(--muted);
      text-transform: uppercase;
    }

    .about-right {}

    .about-body {
      font-family: var(--font-term);
      font-size: 1.0rem;
      line-height: 1.85;
      color: var(--muted);
      margin: 24px 0 40px;
    }

    .about-body strong {
      color: var(--neon);
      font-weight: 400;
      text-shadow: var(--neon-glow);
    }

    .about-list {
      display: flex;
      flex-direction: column;
      gap: 0;
    }

    .about-list-item {
      display: flex;
      align-items: center;
      gap: 16px;
      padding: 18px 0;
      border-bottom: 1px solid var(--border2);
      font-family: var(--font-term);
      font-size: 0.95rem;
      color: var(--muted);
      transition: color 0.2s, padding-left 0.3s var(--ease);
    }

    .about-list-item:hover {
      color: var(--text);
      padding-left: 8px;
    }

    .about-list-item::before {
      content: '▸';
      color: var(--neon);
      font-size: 0.8rem;
      flex-shrink: 0;
    }

    /* ═══════════════════════════════════════════════════════
       TEAM
    ═══════════════════════════════════════════════════════ */
    #team {
      padding: 120px 48px;
      border-top: 1px solid var(--border);
    }

    .team-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
      gap: 32px;
      margin-top: 64px;
    }

    .team-card {
      background: rgba(0, 255, 180, 0.02);
      border: 1px solid var(--border);
      padding: 32px;
      position: relative;
      transition: all 0.3s var(--ease);
      clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
    }

    .team-card:hover {
      border-color: var(--neon);
      background: rgba(0, 255, 180, 0.05);
      transform: scale(1.02);
      box-shadow: 0 0 30px rgba(0, 255, 180, 0.05);
    }

    .team-role {
      font-family: var(--font-term);
      font-size: 0.65rem;
      letter-spacing: 0.15em;
      color: var(--neon);
      margin-bottom: 16px;
      opacity: 0.7;
    }

    .team-name {
      font-family: var(--font-display);
      font-size: 1.25rem;
      font-weight: 700;
      color: var(--text);
      margin-bottom: 12px;
      text-transform: uppercase;
    }

    .team-desc {
      font-family: var(--font-term);
      font-size: 0.88rem;
      line-height: 1.6;
      color: var(--muted);
      margin-bottom: 24px;
    }

    .team-status {
      font-family: var(--font-term);
      font-size: 0.6rem;
      color: var(--dim);
      letter-spacing: 0.05em;
    }

    .team-manifesto {
      margin-top: 80px;
      max-width: 600px;
    }

    .manifesto-line {
      width: 60px;
      height: 2px;
      background: var(--neon);
      margin-bottom: 24px;
      box-shadow: var(--neon-glow);
    }

    .team-manifesto p {
      font-family: var(--font-term);
      font-size: 1.1rem;
      line-height: 1.6;
      color: var(--muted);
      text-transform: uppercase;
    }

    .team-manifesto strong {
      color: var(--neon);
      font-weight: 400;
      text-shadow: var(--neon-glow);
    }

    /* ═══════════════════════════════════════════════════════
       APPROACH STRIP
    ═══════════════════════════════════════════════════════ */
    #approach {
      padding: 120px 48px;
    }

    .approach-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 2px;
      background: var(--border);
      margin-top: 64px;
    }

    .appr-card {
      background: var(--bg);
      padding: 48px 36px;
      position: relative;
      overflow: hidden;
    }

    .appr-card-index {
      font-family: var(--font-display);
      font-size: 5rem;
      font-weight: 900;
      color: transparent;
      -webkit-text-stroke: 1px rgba(0, 255, 180, 0.08);
      line-height: 1;
      margin-bottom: 24px;
      display: block;
      transition: -webkit-text-stroke-color 0.3s;
    }

    .appr-card:hover .appr-card-index {
      -webkit-text-stroke-color: rgba(0, 255, 180, 0.25);
    }

    .appr-card h3 {
      font-family: var(--font-display);
      font-size: 1.0rem;
      font-weight: 700;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      margin-bottom: 14px;
      color: var(--text);
      transition: color 0.2s;
    }

    .appr-card:hover h3 {
      color: var(--neon);
      text-shadow: var(--neon-glow);
    }

    .appr-card p {
      font-family: var(--font-term);
      font-size: 0.92rem;
      line-height: 1.8;
      color: var(--muted);
    }

    .appr-line {
      width: 0;
      height: 2px;
      background: linear-gradient(90deg, var(--neon), var(--neon2));
      margin-bottom: 20px;
      transition: width 0.5s var(--ease);
    }

    .appr-card:hover .appr-line {
      width: 40px;
    }

    /* ═══════════════════════════════════════════════════════
       PORTFOLIO & ARTICLES
    ═══════════════════════════════════════════════════════ */
    #portfolio {
      margin-bottom: 32px;
    }

    /* ═════ NDA & MODAL ═════ */
    .art-card.nda .art-thumb,
    .art-card.nda .art-title,
    .art-card.nda .art-desc,
    .art-card.nda .art-more {
      filter: blur(20px);
      pointer-events: none;
    }

    .art-card.nda::after {
      content: 'CLASSIFIED // ACCESS RESTRICTED';
      position: absolute;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: var(--font-term);
      font-size: 0.8rem;
      color: var(--neon);
      text-align: center;
      padding: 40px;
      background: rgba(4, 6, 8, 0.8);
      border: 1px dashed var(--neon);
      margin: 10px;
      z-index: 5;
    }

    .art-card.nda.unlocked .art-thumb,
    .art-card.nda.unlocked .art-title,
    .art-card.nda.unlocked .art-desc,
    .art-card.nda.unlocked .art-more {
      filter: none;
      opacity: 1;
      pointer-events: auto;
    }

    .art-card.nda.unlocked::after {
      display: none;
    }

    .modal-overlay {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.8);
      backdrop-filter: blur(10px);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 1000;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s;
    }

    .modal-overlay.active {
      opacity: 1;
      pointer-events: auto;
    }

    .modal-content {
      background: var(--bg2);
      border: 1px solid var(--neon);
      padding: 40px;
      max-width: 400px;
      width: 90%;
      position: relative;
    }

    .modal-content h3 {
      font-family: var(--font-display);
      color: var(--neon);
      margin-bottom: 20px;
      font-size: 1rem;
    }

    .modal-content input {
      width: 100%;
      padding: 12px;
      background: var(--bg);
      border: 1px solid var(--border);
      color: var(--neon);
      font-family: var(--font-term);
      margin-bottom: 20px;
      outline: none;
    }

    .unlock-btn {
      width: 100%;
      padding: 12px;
      background: var(--neon);
      color: var(--bg);
      font-family: var(--font-term);
      border: none;
      cursor: pointer;
    }

    #articles {
      padding: 120px 0;
      border-top: 1px solid var(--border);
    }

    .articles-grid {
      display: grid;
      grid-template-columns: repeat(8, 1fr);
      gap: 24px;
      padding: 64px 48px 0;
    }

    .art-card {
      background: var(--bg2);
      border: 1px solid var(--border);
      display: flex;
      flex-direction: column;
      position: relative;
      overflow: hidden;
      transition: border-color 0.3s, transform 0.3s;
    }

    .art-card:hover {
      border-color: var(--neon);
      transform: translateY(-8px);
    }

    .art-thumb {
      width: 100%;
      aspect-ratio: 16/9;
      position: relative;
      overflow: hidden;
      background: var(--surface);
    }

    .art-thumb img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.6s var(--ease);
      filter: grayscale(0.5) contrast(1.2);
    }

    .art-card:hover .art-thumb img {
      transform: scale(1.1);
      filter: grayscale(0) contrast(1.2);
    }

    .art-thumb-placeholder {
      width: 100%;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      background: repeating-linear-gradient(45deg, var(--bg2), var(--bg2) 10px, var(--surface) 10px, var(--surface) 20px);
      font-family: var(--font-display);
      font-size: 1.2rem;
      color: var(--dim);
    }

    .art-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(transparent 50%, rgba(4, 6, 8, 0.8));
    }

    .art-date {
      position: absolute;
      bottom: 12px;
      left: 16px;
      font-family: var(--font-term);
      font-size: 0.65rem;
      color: var(--neon);
      letter-spacing: 0.1em;
      text-shadow: 0 0 5px rgba(0, 255, 180, 0.5);
    }

    .art-content {
      padding: 24px;
      flex: 1;
      display: flex;
      flex-direction: column;
    }

    .art-tag {
      font-family: var(--font-term);
      font-size: 0.62rem;
      letter-spacing: 0.12em;
      color: var(--muted);
      margin-bottom: 12px;
      padding: 2px 8px;
      border: 1px solid var(--border);
      align-self: flex-start;
      clip-path: polygon(4px 0, 100% 0, calc(100% - 4px) 100%, 0 100%);
    }

    .art-title {
      font-family: var(--font-display);
      font-size: 1.15rem;
      font-weight: 700;
      line-height: 1.35;
      margin-bottom: 16px;
      color: var(--text);
      transition: color 0.2s;
    }

    .art-card:hover .art-title {
      color: var(--neon);
    }

    .art-desc {
      font-family: var(--font-term);
      font-size: 0.88rem;
      line-height: 1.6;
      color: var(--muted);
      margin-bottom: 24px;
      flex: 1;
    }

    .art-more {
      font-family: var(--font-term);
      font-size: 0.72rem;
      letter-spacing: 0.1em;
      color: var(--neon);
      text-transform: uppercase;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .art-more:hover {
      text-decoration: underline;
    }

    /* ═══════════════════════════════════════════════════════
       CONTACT
    ═══════════════════════════════════════════════════════ */
    #contact {
      padding: 120px 48px;
      background: var(--surface);
      border-top: 1px solid var(--border);
      position: relative;
      overflow: hidden;
    }

    #contact::before {
      content: '';
      position: absolute;
      bottom: -100px;
      right: -100px;
      width: 500px;
      height: 500px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(0, 255, 180, 0.04) 0%, transparent 70%);
      pointer-events: none;
    }

    .contact-wrap {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 80px;
      align-items: center;
      position: relative;
      z-index: 1;
    }

    .contact-big {
      font-family: var(--font-display);
      font-size: clamp(36px, 5.5vw, 76px);
      font-weight: 900;
      text-transform: uppercase;
      line-height: 1.0;
      letter-spacing: 0.02em;
    }

    .contact-big .ln {
      display: block;
    }

    .contact-big .ln-2 {
      color: var(--neon);
      text-shadow: var(--neon-glow);
    }

    .contact-sub {
      font-family: var(--font-term);
      font-size: 1.0rem;
      line-height: 1.75;
      color: var(--muted);
      margin-top: 24px;
    }

    .online-badge {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      margin-top: 32px;
      padding: 10px 20px;
      border: 1px solid rgba(0, 255, 180, 0.3);
      font-family: var(--font-term);
      font-size: 0.78rem;
      letter-spacing: 0.1em;
      color: var(--neon);
      text-shadow: var(--neon-glow);
      clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
    }

    .online-dot {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: var(--neon);
      box-shadow: var(--neon-glow);
      animation: pulse 2s ease-in-out infinite;
    }

    @keyframes pulse {

      0%,
      100% {
        box-shadow: 0 0 6px var(--neon);
        opacity: 1;
      }

      50% {
        box-shadow: 0 0 20px var(--neon), 0 0 40px var(--neon);
        opacity: 0.7;
      }
    }

    .contact-links {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    .c-link {
      display: flex;
      align-items: center;
      gap: 20px;
      padding: 24px 28px;
      border: 1px solid var(--border);
      background: rgba(0, 255, 180, 0.02);
      position: relative;
      overflow: hidden;
      transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease);
      clip-path: polygon(14px 0%, 100% 0%, calc(100% - 14px) 100%, 0% 100%);
    }

    .c-link::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg, rgba(0, 255, 180, 0.06), transparent);
      transform: translateX(-100%);
      transition: transform 0.4s var(--ease);
    }

    .c-link:hover {
      border-color: var(--neon);
      transform: translateX(10px);
    }

    .c-link:hover::before {
      transform: translateX(0);
    }

    .c-link:nth-child(2):hover {
      border-color: var(--neon2);
    }

    .c-link:nth-child(2)::before {
      background: linear-gradient(90deg, rgba(0, 212, 255, 0.06), transparent);
    }

    .c-icon {
      font-family: var(--font-display);
      font-size: 0.7rem;
      letter-spacing: 0.1em;
      color: var(--neon);
      text-shadow: var(--neon-glow);
      flex-shrink: 0;
      min-width: 40px;
    }

    .c-link:nth-child(2) .c-icon {
      color: var(--neon2);
      text-shadow: var(--neon2-glow);
    }

    .c-body {
      flex: 1;
    }

    .c-type {
      font-family: var(--font-term);
      font-size: 0.68rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--muted);
      margin-bottom: 4px;
    }

    .c-val {
      font-family: var(--font-term);
      font-size: 1.0rem;
      color: var(--text);
      letter-spacing: 0.02em;
    }

    .c-arrow {
      font-size: 1.2rem;
      color: var(--muted);
      transition: color 0.2s, transform 0.3s;
    }

    .c-link:hover .c-arrow {
      color: var(--neon);
      transform: translate(4px, -4px);
    }

    /* ═══════════════════════════════════════════════════════
       FOOTER
    ═══════════════════════════════════════════════════════ */
    footer {
      padding: 24px 48px;
      border-top: 1px solid var(--border);
      display: flex;
      justify-content: space-between;
      align-items: center;
      background: var(--bg);
    }

    footer p {
      font-family: var(--font-term);
      font-size: 0.7rem;
      color: var(--dim);
      letter-spacing: 0.08em;
    }

    footer p span {
      color: var(--neon);
    }

    /* ═══════════════════════════════════════════════════════
       ANIMATIONS & REVEAL
    ═══════════════════════════════════════════════════════ */
    @keyframes fadeIn {
      from {
        opacity: 0;
        transform: translateY(16px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .reveal {
      opacity: 0.2;
      transform: translateY(28px);
      transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
    }

    .reveal.visible {
      opacity: 1;
      transform: none;
    }

    .reveal-d1 {
      transition-delay: 0.1s;
    }

    .reveal-d2 {
      transition-delay: 0.22s;
    }

    .reveal-d3 {
      transition-delay: 0.34s;
    }

    .reveal-d4 {
      transition-delay: 0.46s;
    }

    /* ═══════════════════════════════════════════════════════
       RESPONSIVE
    ═══════════════════════════════════════════════════════ */
    @media (max-width: 900px) {
      nav {
        padding: 16px 20px;
      }

      .nav-links,
      .nav-status {
        display: none;
      }

      section,
      #about,
      #approach,
      #contact {
        padding: 72px 24px;
      }

      .hero {
        padding: 120px 24px 48px;
      }

      .hero-metrics {
        display: none;
      }

      .services-grid {
        grid-template-columns: 1fr;
      }

      #about {
        grid-template-columns: 1fr;
      }

      .about-hex {
        display: none;
      }

      .approach-grid {
        grid-template-columns: 1fr;
      }

      .portfolio-grid,
      .articles-grid {
        grid-template-columns: 1fr;
        padding: 48px 24px 0;
      }

      #portfolio,
      #articles {
        padding: 72px 0;
      }

      #portfolio .sec-label,
      #portfolio .sec-title,
      #articles .sec-label,
      #articles .sec-title {
        padding: 0 24px;
      }

      .contact-wrap {
        grid-template-columns: 1fr;
        gap: 48px;
      }

      footer {
        flex-direction: column;
        gap: 8px;
        text-align: center;
      }
    }

    /* ═══════════════════════════════════════════════════════
       PORTFOLIO CAROUSEL
    ═══════════════════════════════════════════════════════ */
    .portfolio-carousel-wrap {
      position: relative;
      padding: 0 80px;
      margin-top: 40px;
    }

    .portfolio-carousel {
      overflow: hidden;
    }

    .carousel-track {
      display: flex;
      transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .carousel-slide {
      min-width: 100%;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0;
      background: var(--bg2);
      border: 1px solid var(--border);
    }

    .carousel-slide .art-thumb {
      width: 100%;
      aspect-ratio: 16/9;
      background: var(--surface);
      position: relative;
      overflow: hidden;
    }

    .carousel-slide .art-thumb img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      filter: grayscale(0.4) contrast(1.1);
      transition: transform 0.6s var(--ease), filter 0.5s;
    }

    .carousel-slide:hover .art-thumb img {
      transform: scale(1.06);
      filter: grayscale(0) contrast(1.1);
    }

    .carousel-slide .art-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(120deg, rgba(0, 255, 180, 0.04), transparent);
      pointer-events: none;
    }

    .carousel-slide .art-date {
      position: absolute;
      bottom: 12px;
      left: 16px;
      font-family: var(--font-term);
      font-size: 0.65rem;
      color: var(--neon);
      background: rgba(4, 6, 8, 0.75);
      padding: 2px 8px;
    }

    .carousel-slide .art-content {
      padding: 48px 40px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 16px;
    }

    .carousel-slide .art-tag {
      font-family: var(--font-term);
      font-size: 0.6rem;
      color: var(--muted);
      letter-spacing: 0.12em;
      text-transform: uppercase;
      padding: 3px 10px;
      border: 1px solid var(--border);
      align-self: flex-start;
    }

    .carousel-slide .art-title {
      font-family: var(--font-display);
      font-size: clamp(1.1rem, 2vw, 1.6rem);
      font-weight: 700;
      color: var(--text);
      line-height: 1.25;
    }

    .carousel-slide .art-desc {
      font-family: var(--font-term);
      font-size: 0.88rem;
      color: var(--muted);
      line-height: 1.7;
    }

    .carousel-slide .art-more {
      font-family: var(--font-term);
      font-size: 0.78rem;
      color: var(--neon);
      text-transform: uppercase;
      letter-spacing: 0.08em;
      margin-top: 8px;
      transition: text-shadow 0.2s;
    }

    .carousel-slide .art-more:hover {
      text-shadow: var(--neon-glow);
    }

    .carousel-btn {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 48px;
      height: 48px;
      background: var(--surface);
      border: 1px solid var(--border);
      color: var(--neon);
      font-size: 1.3rem;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
      clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
      z-index: 10;
    }

    .carousel-btn:hover {
      background: var(--neon);
      color: var(--bg);
      border-color: var(--neon);
      box-shadow: var(--neon-glow);
    }

    .carousel-prev {
      left: 0;
    }

    .carousel-next {
      right: 0;
    }

    .carousel-dots {
      display: flex;
      justify-content: center;
      gap: 10px;
      padding: 24px 0 8px;
    }

    .carousel-dot {
      width: 28px;
      height: 3px;
      background: var(--border);
      border: none;
      cursor: pointer;
      transition: background 0.25s, box-shadow 0.25s;
      clip-path: none;
    }

    .carousel-dot.active {
      background: var(--neon);
      box-shadow: var(--neon-glow);
    }

    @media (max-width: 768px) {
      .portfolio-carousel-wrap {
        padding: 0 40px;
      }

      .carousel-slide {
        grid-template-columns: 1fr;
      }

      .carousel-slide .art-thumb {
        aspect-ratio: 16/9;
      }

      .carousel-slide .art-content {
        padding: 24px;
      }

      .carousel-btn {
        width: 36px;
        height: 36px;
        font-size: 1rem;
      }
    }

    /* ═══════════════════════════════════════════════════
   COOKIE BANNER STYLES
   Compatible with cyberpunk/scifi theme
   ═══════════════════════════════════════════════════ */

    /* Override custom cursor when banner is visible */
    body.consent-active,
    body.consent-active * {
      cursor: auto !important;
    }

    body.consent-active #cur,
    body.consent-active #cur-cross {
      display: none !important;
    }

    /* Overlay */
    .cookie-overlay {
      position: fixed;
      inset: 0;
      background: rgba(4, 6, 8, 0.85);
      backdrop-filter: blur(12px);
      z-index: 1000;
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.5s var(--ease);
    }

    .cookie-overlay.active {
      opacity: 1;
      pointer-events: auto;
    }

    /* Banner */
    .cookie-banner {
      background: var(--bg2);
      border: 1px solid var(--border);
      clip-path: polygon(14px 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
      padding: 40px;
      max-width: 560px;
      width: 90%;
      position: relative;
      transform: translateY(20px);
      transition: transform 0.5s var(--ease), border-color 0.3s;
      overflow: hidden;
    }

    .cookie-overlay.active .cookie-banner {
      transform: translateY(0);
    }

    .cookie-banner:hover {
      border-color: var(--neon);
      box-shadow: 0 0 30px rgba(0, 255, 180, 0.1);
    }

    /* Заголовок с глитчем */
    .cookie-header {
      margin-bottom: 28px;
    }

    .cookie-title {
      font-family: var(--font-display);
      font-size: 1.8rem;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: var(--neon);
      text-shadow: var(--neon-glow);
      margin-bottom: 8px;
      position: relative;
      display: inline-block;
    }

    /* glitch эффект (повторяем логику) */
    .cookie-title.glitch::before,
    .cookie-title.glitch::after {
      content: attr(data-text);
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      font-family: inherit;
      font-weight: inherit;
    }

    .cookie-title.glitch::before {
      color: var(--neon3);
      clip-path: polygon(0 30%, 100% 30%, 100% 50%, 0 50%);
      animation: glitch1 4s infinite;
    }

    .cookie-title.glitch::after {
      color: var(--neon2);
      clip-path: polygon(0 60%, 100% 60%, 100% 80%, 0 80%);
      animation: glitch2 4s infinite;
    }

    .cookie-subtitle {
      font-family: var(--font-term);
      font-size: 0.78rem;
      color: var(--muted);
    }

    .cookie-subtitle .t-prompt {
      color: var(--neon2);
      opacity: 0.7;
    }

    /* Описание */
    .cookie-desc {
      font-family: var(--font-term);
      font-size: 0.92rem;
      line-height: 1.7;
      color: var(--muted);
      margin-bottom: 32px;
    }

    .cookie-desc strong {
      color: var(--neon);
      font-weight: 400;
      text-shadow: var(--neon-glow);
    }

    /* Список опций */
    .cookie-options {
      display: flex;
      flex-direction: column;
      gap: 16px;
      margin-bottom: 36px;
    }

    .cookie-option {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 12px 16px;
      border: 1px solid var(--border2);
      background: rgba(0, 255, 180, 0.02);
      transition: border-color 0.2s, background 0.2s;
    }

    .cookie-option:hover {
      border-color: var(--border);
    }

    .option-info {
      display: flex;
      flex-direction: column;
      gap: 2px;
    }

    .option-name {
      font-family: var(--font-term);
      font-size: 0.82rem;
      color: var(--text);
      letter-spacing: 0.04em;
    }

    .option-desc {
      font-family: var(--font-term);
      font-size: 0.7rem;
      color: var(--dim);
    }

    .disabled-option .option-name {
      color: var(--neon);
      text-shadow: var(--neon-glow);
    }

    /* Кастомный switch (toggle) */
    .switch {
      position: relative;
      display: inline-flex;
      align-items: center;
    }

    .switch input {
      display: none;
    }

    .slider {
      width: 48px;
      height: 26px;
      background: var(--border);
      border-radius: 13px;
      position: relative;
      transition: background 0.3s, box-shadow 0.3s;
      border: 1px solid transparent;
    }

    .slider::before {
      content: '';
      position: absolute;
      width: 20px;
      height: 20px;
      background: var(--muted);
      border-radius: 50%;
      top: 2px;
      left: 2px;
      transition: transform 0.3s, background 0.3s, box-shadow 0.3s;
    }

    input:checked+.slider {
      background: rgba(0, 255, 180, 0.15);
      border-color: var(--neon);
      box-shadow: 0 0 8px rgba(0, 255, 180, 0.3);
    }

    input:checked+.slider::before {
      transform: translateX(22px);
      background: var(--neon);
      box-shadow: var(--neon-glow);
    }

    input:disabled+.slider {
      opacity: 0.4;
      border-color: var(--neon);
    }

    /* Кнопки */
    .cookie-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-bottom: 24px;
    }

    .cookie-btn {
      font-family: var(--font-term);
      font-size: 0.75rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      padding: 10px 24px;
      border: 1px solid;
      background: transparent;
      cursor: pointer;
      transition: all 0.3s;
      flex: 1 1 auto;
      clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
    }

    .cookie-btn-primary {
      border-color: var(--neon);
      color: var(--bg);
      background: var(--neon);
      text-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
    }

    .cookie-btn-primary:hover {
      background: var(--neon2);
      border-color: var(--neon2);
      box-shadow: var(--neon2-glow);
    }

    .cookie-btn-ghost {
      border-color: var(--border);
      color: var(--muted);
    }

    .cookie-btn-ghost:hover {
      border-color: var(--neon);
      color: var(--neon);
      text-shadow: var(--neon-glow);
    }

    .cookie-btn-save {
      border-color: var(--neon);
      color: var(--neon);
      background: rgba(0, 255, 180, 0.05);
    }

    .cookie-btn-save:hover {
      background: rgba(0, 255, 180, 0.1);
      box-shadow: var(--neon-glow);
    }

    /* Ссылки */
    .cookie-footer-text {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 16px;
      font-family: var(--font-term);
      font-size: 0.7rem;
    }

    .cookie-policy-link {
      color: var(--muted);
      letter-spacing: 0.08em;
      transition: color 0.2s;
    }

    .cookie-policy-link:hover {
      color: var(--neon);
      text-shadow: var(--neon-glow);
    }

    .cookie-separator {
      color: var(--border);
    }

    /* Декоративные угловые скобки */
    .cookie-corner {
      position: absolute;
      width: 20px;
      height: 20px;
      border: 1px solid var(--border);
      transition: border-color 0.3s, box-shadow 0.3s;
      pointer-events: none;
    }

    .cookie-banner:hover .cookie-corner {
      border-color: var(--neon);
      box-shadow: var(--neon-glow);
    }

    .corner-tl {
      top: 0;
      left: 0;
      border-right: none;
      border-bottom: none;
    }

    .corner-tr {
      top: 0;
      right: 0;
      border-left: none;
      border-bottom: none;
    }

    .corner-bl {
      bottom: 0;
      left: 0;
      border-right: none;
      border-top: none;
    }

    .corner-br {
      bottom: 0;
      right: 0;
      border-left: none;
      border-top: none;
    }

    /* Responsive */
    @media (max-width: 600px) {
      .cookie-banner {
        padding: 28px 24px;
      }

      .cookie-actions {
        flex-direction: column;
      }
    }