<mujoco model="argon_m2_valkyrie">
  <compiler angle="radian" coordinate="local" inertiafromgeom="true"/>
  <option timestep="0.002" gravity="0 0 -9.81" integrator="Euler" iterations="25"/>

  <default>
    <joint armature="0.03" damping="2.5" limited="true"/>
    <geom contype="1" conaffinity="1" friction="1.3 0.02 0.01" rgba="0.22 0.26 0.34 1" margin="0.001"/>
    <motor ctrllimited="true" ctrlrange="-120 120"/>
  </default>

  <asset>
    <texture type="skybox" builtin="gradient" rgb1="0.08 0.11 0.16" rgb2="0.02 0.03 0.05" width="512" height="512"/>
    <texture name="grid" type="2d" builtin="checker" rgb1="0.13 0.15 0.19" rgb2="0.18 0.21 0.26" width="512" height="512" mark="edge" markrgb="0.32 0.44 0.56"/>
    <material name="grid_mat" texture="grid" texrepeat="8 8" texuniform="true" reflectance="0.12"/>
    <material name="titanium" rgba="0.82 0.85 0.90 1" specular="0.6" shininess="0.7"/>
    <material name="cobalt" rgba="0.20 0.48 0.86 1" specular="0.5" shininess="0.6"/>
    <material name="carbon" rgba="0.16 0.18 0.22 1" specular="0.4" shininess="0.5"/>
    <material name="cyan_glow" rgba="0.22 0.88 0.96 1" emission="0.45"/>
    <material name="amber_glow" rgba="0.98 0.72 0.18 1" emission="0.40"/>
  </asset>

  <worldbody>
    <light directional="true" diffuse="0.88 0.88 0.92" specular="0.35 0.35 0.40" pos="1.5 -2.0 4.5" dir="-0.3 0.4 -0.85" castshadow="true"/>
    <light directional="true" diffuse="0.42 0.46 0.55" specular="0.1 0.1 0.15" pos="-2.0 2.0 3.0" dir="0.4 -0.4 -0.7" castshadow="false"/>
    <geom name="floor" type="plane" size="12 12 0.1" material="grid_mat" condim="3"/>

    <!-- Pelvis Root (Free-floating 6-DOF base) -->
    <body name="pelvis" pos="0 0 0.82">
      <freejoint name="root"/>
      <geom name="pelvis_core" type="box" size="0.075 0.115 0.055" material="carbon" mass="3.8"/>
      <geom name="pelvis_trim" type="cylinder" pos="0 0 0.0" size="0.06 0.12" euler="1.5708 0 0" material="cobalt" mass="0.4" contype="0" conaffinity="0"/>

      <!-- 2-DOF Articulated Waist & Upper Torso -->
      <body name="torso" pos="0 0 0.08">
        <joint name="waist_yaw" type="hinge" axis="0 0 1" range="-0.9 0.9" damping="3.5"/>
        <joint name="waist_pitch" type="hinge" axis="0 1 0" range="-0.5 0.5" damping="4.5"/>
        <joint name="waist_roll" type="hinge" axis="1 0 0" range="-0.4 0.4" damping="4.5"/>
        <geom name="abdomen" type="capsule" fromto="0 0 0.02 0 0 0.11" size="0.068" material="carbon" mass="2.0"/>
        <geom name="chest_armor" type="box" pos="0.005 0 0.21" size="0.082 0.135 0.105" material="titanium" mass="4.6"/>
        <geom name="shoulder_bar" type="capsule" fromto="0 -0.17 0.27 0 0.17 0.27" size="0.036" material="cobalt" mass="0.8"/>
        <geom name="chest_reactor" type="cylinder" pos="0.086 0 0.22" euler="0 1.5708 0" size="0.038 0.008" material="cyan_glow" mass="0.1" contype="0" conaffinity="0"/>
        <geom name="backpack_thruster" type="box" pos="-0.088 0 0.21" size="0.032 0.085 0.085" material="cobalt" mass="1.0"/>

        <!-- Articulated Head & Sensor Visor -->
        <body name="head" pos="0 0 0.35">
          <joint name="neck_yaw" type="hinge" axis="0 0 1" range="-0.8 0.8" damping="1.0"/>
          <geom name="neck_post" type="cylinder" pos="0 0 0.02" size="0.032 0.035" material="carbon" mass="0.3" contype="0" conaffinity="0"/>
          <geom name="helmet" type="box" pos="0.005 0 0.085" size="0.068 0.065 0.062" material="titanium" mass="1.1"/>
          <geom name="visor" type="box" pos="0.068 0 0.09" size="0.012 0.056 0.024" material="cyan_glow" mass="0.05" contype="0" conaffinity="0"/>
          <geom name="crest" type="box" pos="-0.01 0 0.155" size="0.065 0.014 0.018" material="amber_glow" mass="0.05" contype="0" conaffinity="0"/>
        </body>

        <!-- Left Arm (3-DOF) -->
        <body name="l_upper_arm" pos="0 0.195 0.265">
          <joint name="l_shoulder_pitch" type="hinge" axis="0 1 0" range="-2.4 1.8" damping="2.0"/>
          <joint name="l_shoulder_roll" type="hinge" axis="1 0 0" range="-0.2 1.8" damping="2.0"/>
          <geom name="l_pauldron" type="sphere" pos="0 0.01 0" size="0.048" material="cobalt" mass="0.4" contype="0" conaffinity="0"/>
          <geom name="l_uarm" type="capsule" fromto="0 0 0 0 0 -0.17" size="0.034" material="titanium" mass="1.1"/>
          <body name="l_forearm" pos="0 0 -0.18">
            <joint name="l_elbow" type="hinge" axis="0 1 0" range="-2.1 0.0" damping="1.5"/>
            <geom name="l_farm" type="capsule" fromto="0 0 0 0 0 -0.15" size="0.030" material="carbon" mass="0.8"/>
            <geom name="l_gauntlet" type="box" pos="0 0 -0.17" size="0.038 0.034 0.038" material="amber_glow" mass="0.35"/>
          </body>
        </body>

        <!-- Right Arm (3-DOF) -->
        <body name="r_upper_arm" pos="0 -0.195 0.265">
          <joint name="r_shoulder_pitch" type="hinge" axis="0 1 0" range="-2.4 1.8" damping="2.0"/>
          <joint name="r_shoulder_roll" type="hinge" axis="1 0 0" range="-1.8 0.2" damping="2.0"/>
          <geom name="r_pauldron" type="sphere" pos="0 -0.01 0" size="0.048" material="cobalt" mass="0.4" contype="0" conaffinity="0"/>
          <geom name="r_uarm" type="capsule" fromto="0 0 0 0 0 -0.17" size="0.034" material="titanium" mass="1.1"/>
          <body name="r_forearm" pos="0 0 -0.18">
            <joint name="r_elbow" type="hinge" axis="0 1 0" range="-2.1 0.0" damping="1.5"/>
            <geom name="r_farm" type="capsule" fromto="0 0 0 0 0 -0.15" size="0.030" material="carbon" mass="0.8"/>
            <geom name="r_gauntlet" type="box" pos="0 0 -0.17" size="0.038 0.034 0.038" material="amber_glow" mass="0.35"/>
          </body>
        </body>
      </body>

      <!-- Left Leg (5-DOF: hip_pitch, hip_roll, knee, ankle_pitch, ankle_roll) -->
      <body name="l_thigh" pos="0 0.115 -0.04">
        <joint name="l_hip_pitch" type="hinge" axis="0 1 0" range="-1.6 1.2" damping="4.5"/>
        <joint name="l_hip_roll" type="hinge" axis="1 0 0" range="-0.55 0.65" damping="4.5"/>
        <geom name="l_thigh_geom" type="capsule" fromto="0 0 0 0 0 -0.34" size="0.050" material="titanium" mass="3.2"/>
        <geom name="l_thigh_plate" type="box" pos="0.035 0 -0.16" size="0.024 0.045 0.11" material="cobalt" mass="0.4" contype="0" conaffinity="0"/>
        <body name="l_shin" pos="0 0 -0.35">
          <joint name="l_knee" type="hinge" axis="0 1 0" range="0.0 2.1" damping="4.0"/>
          <geom name="l_shin_geom" type="capsule" fromto="0 0 0 0 0 -0.34" size="0.042" material="carbon" mass="2.2"/>
          <geom name="l_knee_guard" type="sphere" pos="0.04 0 -0.02" size="0.038" material="cyan_glow" mass="0.1" contype="0" conaffinity="0"/>
          <body name="l_foot" pos="0 0 -0.36">
            <joint name="l_ankle_pitch" type="hinge" axis="0 1 0" range="-0.9 0.9" damping="3.5"/>
            <joint name="l_ankle_roll" type="hinge" axis="1 0 0" range="-0.5 0.5" damping="3.5"/>
            <geom name="l_foot_sole" type="box" pos="0.030 0 -0.025" size="0.115 0.062 0.022" material="titanium" mass="1.1"/>
            <geom name="l_foot_toe" type="box" pos="0.115 0 -0.022" size="0.025 0.058 0.016" material="amber_glow" mass="0.15"/>
          </body>
        </body>
      </body>

      <!-- Right Leg (5-DOF: hip_pitch, hip_roll, knee, ankle_pitch, ankle_roll) -->
      <body name="r_thigh" pos="0 -0.115 -0.04">
        <joint name="r_hip_pitch" type="hinge" axis="0 1 0" range="-1.6 1.2" damping="4.5"/>
        <joint name="r_hip_roll" type="hinge" axis="1 0 0" range="-0.65 0.55" damping="4.5"/>
        <geom name="r_thigh_geom" type="capsule" fromto="0 0 0 0 0 -0.34" size="0.050" material="titanium" mass="3.2"/>
        <geom name="r_thigh_plate" type="box" pos="0.035 0 -0.16" size="0.024 0.045 0.11" material="cobalt" mass="0.4" contype="0" conaffinity="0"/>
        <body name="r_shin" pos="0 0 -0.35">
          <joint name="r_knee" type="hinge" axis="0 1 0" range="0.0 2.1" damping="4.0"/>
          <geom name="r_shin_geom" type="capsule" fromto="0 0 0 0 0 -0.34" size="0.042" material="carbon" mass="2.2"/>
          <geom name="r_knee_guard" type="sphere" pos="0.04 0 -0.02" size="0.038" material="cyan_glow" mass="0.1" contype="0" conaffinity="0"/>
          <body name="r_foot" pos="0 0 -0.36">
            <joint name="r_ankle_pitch" type="hinge" axis="0 1 0" range="-0.9 0.9" damping="3.5"/>
            <joint name="r_ankle_roll" type="hinge" axis="1 0 0" range="-0.5 0.5" damping="3.5"/>
            <geom name="r_foot_sole" type="box" pos="0.030 0 -0.025" size="0.115 0.062 0.022" material="titanium" mass="1.1"/>
            <geom name="r_foot_toe" type="box" pos="0.115 0 -0.022" size="0.025 0.058 0.016" material="amber_glow" mass="0.15"/>
          </body>
        </body>
      </body>
    </body>
  </worldbody>

  <actuator>
    <motor name="waist_yaw" joint="waist_yaw" gear="1"/>
    <motor name="waist_pitch" joint="waist_pitch" gear="1"/>
    <motor name="waist_roll" joint="waist_roll" gear="1"/>
    <motor name="neck_yaw" joint="neck_yaw" gear="1"/>
    <motor name="l_shoulder_pitch" joint="l_shoulder_pitch" gear="1"/>
    <motor name="l_shoulder_roll" joint="l_shoulder_roll" gear="1"/>
    <motor name="l_elbow" joint="l_elbow" gear="1"/>
    <motor name="r_shoulder_pitch" joint="r_shoulder_pitch" gear="1"/>
    <motor name="r_shoulder_roll" joint="r_shoulder_roll" gear="1"/>
    <motor name="r_elbow" joint="r_elbow" gear="1"/>
    <motor name="l_hip_pitch" joint="l_hip_pitch" gear="1"/>
    <motor name="l_hip_roll" joint="l_hip_roll" gear="1"/>
    <motor name="l_knee" joint="l_knee" gear="1"/>
    <motor name="l_ankle_pitch" joint="l_ankle_pitch" gear="1"/>
    <motor name="l_ankle_roll" joint="l_ankle_roll" gear="1"/>
    <motor name="r_hip_pitch" joint="r_hip_pitch" gear="1"/>
    <motor name="r_hip_roll" joint="r_hip_roll" gear="1"/>
    <motor name="r_knee" joint="r_knee" gear="1"/>
    <motor name="r_ankle_pitch" joint="r_ankle_pitch" gear="1"/>
    <motor name="r_ankle_roll" joint="r_ankle_roll" gear="1"/>
  </actuator>
</mujoco>
